Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-mga 1.4.8.
      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-mga'
    730 PACKAGE_TARNAME='xf86-video-mga'
    731 PACKAGE_VERSION='1.4.8'
    732 PACKAGE_STRING='xf86-video-mga 1.4.8'
    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 PCIACCESS_CFLAGS
    885 PCIACCESS_LIBS
    886 XSERVER_LIBPCIACCESS_TRUE
    887 XSERVER_LIBPCIACCESS_FALSE
    888 USE_XAA_TRUE
    889 USE_XAA_FALSE
    890 USE_EXA_TRUE
    891 USE_EXA_FALSE
    892 moduledir
    893 DRIVER_NAME
    894 APP_MAN_SUFFIX
    895 LIB_MAN_SUFFIX
    896 FILE_MAN_SUFFIX
    897 MISC_MAN_SUFFIX
    898 DRIVER_MAN_SUFFIX
    899 ADMIN_MAN_SUFFIX
    900 APP_MAN_DIR
    901 LIB_MAN_DIR
    902 FILE_MAN_DIR
    903 MISC_MAN_DIR
    904 DRIVER_MAN_DIR
    905 ADMIN_MAN_DIR
    906 LIBOBJS
    907 LTLIBOBJS'
    908 ac_subst_files=''
    909       ac_precious_vars='build_alias
    910 host_alias
    911 target_alias
    912 CC
    913 CFLAGS
    914 LDFLAGS
    915 LIBS
    916 CPPFLAGS
    917 CPP
    918 CXX
    919 CXXFLAGS
    920 CCC
    921 CXXCPP
    922 F77
    923 FFLAGS
    924 PKG_CONFIG
    925 XORG_CFLAGS
    926 XORG_LIBS
    927 DRI_CFLAGS
    928 DRI_LIBS
    929 PCIACCESS_CFLAGS
    930 PCIACCESS_LIBS'
    931 
    932 
    933 # Initialize some variables set by options.
    934 ac_init_help=
    935 ac_init_version=false
    936 # The variables have the same names as the options, with
    937 # dashes changed to underlines.
    938 cache_file=/dev/null
    939 exec_prefix=NONE
    940 no_create=
    941 no_recursion=
    942 prefix=NONE
    943 program_prefix=NONE
    944 program_suffix=NONE
    945 program_transform_name=s,x,x,
    946 silent=
    947 site=
    948 srcdir=
    949 verbose=
    950 x_includes=NONE
    951 x_libraries=NONE
    952 
    953 # Installation directory options.
    954 # These are left unexpanded so users can "make install exec_prefix=/foo"
    955 # and all the variables that are supposed to be based on exec_prefix
    956 # by default will actually change.
    957 # Use braces instead of parens because sh, perl, etc. also accept them.
    958 # (The list follows the same order as the GNU Coding Standards.)
    959 bindir='${exec_prefix}/bin'
    960 sbindir='${exec_prefix}/sbin'
    961 libexecdir='${exec_prefix}/libexec'
    962 datarootdir='${prefix}/share'
    963 datadir='${datarootdir}'
    964 sysconfdir='${prefix}/etc'
    965 sharedstatedir='${prefix}/com'
    966 localstatedir='${prefix}/var'
    967 includedir='${prefix}/include'
    968 oldincludedir='/usr/include'
    969 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    970 infodir='${datarootdir}/info'
    971 htmldir='${docdir}'
    972 dvidir='${docdir}'
    973 pdfdir='${docdir}'
    974 psdir='${docdir}'
    975 libdir='${exec_prefix}/lib'
    976 localedir='${datarootdir}/locale'
    977 mandir='${datarootdir}/man'
    978 
    979 ac_prev=
    980 ac_dashdash=
    981 for ac_option
    982 do
    983   # If the previous option needs an argument, assign it.
    984   if test -n "$ac_prev"; then
    985     eval $ac_prev=\$ac_option
    986     ac_prev=
    987     continue
    988   fi
    989 
    990   case $ac_option in
    991   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    992   *)	ac_optarg=yes ;;
    993   esac
    994 
    995   # Accept the important Cygnus configure options, so we can diagnose typos.
    996 
    997   case $ac_dashdash$ac_option in
    998   --)
    999     ac_dashdash=yes ;;
   1000 
   1001   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1002     ac_prev=bindir ;;
   1003   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1004     bindir=$ac_optarg ;;
   1005 
   1006   -build | --build | --buil | --bui | --bu)
   1007     ac_prev=build_alias ;;
   1008   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1009     build_alias=$ac_optarg ;;
   1010 
   1011   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1012   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1013     ac_prev=cache_file ;;
   1014   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1015   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1016     cache_file=$ac_optarg ;;
   1017 
   1018   --config-cache | -C)
   1019     cache_file=config.cache ;;
   1020 
   1021   -datadir | --datadir | --datadi | --datad)
   1022     ac_prev=datadir ;;
   1023   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1024     datadir=$ac_optarg ;;
   1025 
   1026   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1027   | --dataroo | --dataro | --datar)
   1028     ac_prev=datarootdir ;;
   1029   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1030   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1031     datarootdir=$ac_optarg ;;
   1032 
   1033   -disable-* | --disable-*)
   1034     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1035     # Reject names that are not valid shell variable names.
   1036     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1037       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1038    { (exit 1); exit 1; }; }
   1039     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1040     eval enable_$ac_feature=no ;;
   1041 
   1042   -docdir | --docdir | --docdi | --doc | --do)
   1043     ac_prev=docdir ;;
   1044   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1045     docdir=$ac_optarg ;;
   1046 
   1047   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1048     ac_prev=dvidir ;;
   1049   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1050     dvidir=$ac_optarg ;;
   1051 
   1052   -enable-* | --enable-*)
   1053     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1054     # Reject names that are not valid shell variable names.
   1055     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1056       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1057    { (exit 1); exit 1; }; }
   1058     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1059     eval enable_$ac_feature=\$ac_optarg ;;
   1060 
   1061   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1062   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1063   | --exec | --exe | --ex)
   1064     ac_prev=exec_prefix ;;
   1065   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1066   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1067   | --exec=* | --exe=* | --ex=*)
   1068     exec_prefix=$ac_optarg ;;
   1069 
   1070   -gas | --gas | --ga | --g)
   1071     # Obsolete; use --with-gas.
   1072     with_gas=yes ;;
   1073 
   1074   -help | --help | --hel | --he | -h)
   1075     ac_init_help=long ;;
   1076   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1077     ac_init_help=recursive ;;
   1078   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1079     ac_init_help=short ;;
   1080 
   1081   -host | --host | --hos | --ho)
   1082     ac_prev=host_alias ;;
   1083   -host=* | --host=* | --hos=* | --ho=*)
   1084     host_alias=$ac_optarg ;;
   1085 
   1086   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1087     ac_prev=htmldir ;;
   1088   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1089   | --ht=*)
   1090     htmldir=$ac_optarg ;;
   1091 
   1092   -includedir | --includedir | --includedi | --included | --include \
   1093   | --includ | --inclu | --incl | --inc)
   1094     ac_prev=includedir ;;
   1095   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1096   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1097     includedir=$ac_optarg ;;
   1098 
   1099   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1100     ac_prev=infodir ;;
   1101   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1102     infodir=$ac_optarg ;;
   1103 
   1104   -libdir | --libdir | --libdi | --libd)
   1105     ac_prev=libdir ;;
   1106   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1107     libdir=$ac_optarg ;;
   1108 
   1109   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1110   | --libexe | --libex | --libe)
   1111     ac_prev=libexecdir ;;
   1112   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1113   | --libexe=* | --libex=* | --libe=*)
   1114     libexecdir=$ac_optarg ;;
   1115 
   1116   -localedir | --localedir | --localedi | --localed | --locale)
   1117     ac_prev=localedir ;;
   1118   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1119     localedir=$ac_optarg ;;
   1120 
   1121   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1122   | --localstate | --localstat | --localsta | --localst | --locals)
   1123     ac_prev=localstatedir ;;
   1124   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1125   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1126     localstatedir=$ac_optarg ;;
   1127 
   1128   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1129     ac_prev=mandir ;;
   1130   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1131     mandir=$ac_optarg ;;
   1132 
   1133   -nfp | --nfp | --nf)
   1134     # Obsolete; use --without-fp.
   1135     with_fp=no ;;
   1136 
   1137   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1138   | --no-cr | --no-c | -n)
   1139     no_create=yes ;;
   1140 
   1141   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1142   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1143     no_recursion=yes ;;
   1144 
   1145   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1146   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1147   | --oldin | --oldi | --old | --ol | --o)
   1148     ac_prev=oldincludedir ;;
   1149   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1150   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1151   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1152     oldincludedir=$ac_optarg ;;
   1153 
   1154   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1155     ac_prev=prefix ;;
   1156   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1157     prefix=$ac_optarg ;;
   1158 
   1159   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1160   | --program-pre | --program-pr | --program-p)
   1161     ac_prev=program_prefix ;;
   1162   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1163   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1164     program_prefix=$ac_optarg ;;
   1165 
   1166   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1167   | --program-suf | --program-su | --program-s)
   1168     ac_prev=program_suffix ;;
   1169   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1170   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1171     program_suffix=$ac_optarg ;;
   1172 
   1173   -program-transform-name | --program-transform-name \
   1174   | --program-transform-nam | --program-transform-na \
   1175   | --program-transform-n | --program-transform- \
   1176   | --program-transform | --program-transfor \
   1177   | --program-transfo | --program-transf \
   1178   | --program-trans | --program-tran \
   1179   | --progr-tra | --program-tr | --program-t)
   1180     ac_prev=program_transform_name ;;
   1181   -program-transform-name=* | --program-transform-name=* \
   1182   | --program-transform-nam=* | --program-transform-na=* \
   1183   | --program-transform-n=* | --program-transform-=* \
   1184   | --program-transform=* | --program-transfor=* \
   1185   | --program-transfo=* | --program-transf=* \
   1186   | --program-trans=* | --program-tran=* \
   1187   | --progr-tra=* | --program-tr=* | --program-t=*)
   1188     program_transform_name=$ac_optarg ;;
   1189 
   1190   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1191     ac_prev=pdfdir ;;
   1192   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1193     pdfdir=$ac_optarg ;;
   1194 
   1195   -psdir | --psdir | --psdi | --psd | --ps)
   1196     ac_prev=psdir ;;
   1197   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1198     psdir=$ac_optarg ;;
   1199 
   1200   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1201   | -silent | --silent | --silen | --sile | --sil)
   1202     silent=yes ;;
   1203 
   1204   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1205     ac_prev=sbindir ;;
   1206   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1207   | --sbi=* | --sb=*)
   1208     sbindir=$ac_optarg ;;
   1209 
   1210   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1211   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1212   | --sharedst | --shareds | --shared | --share | --shar \
   1213   | --sha | --sh)
   1214     ac_prev=sharedstatedir ;;
   1215   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1216   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1217   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1218   | --sha=* | --sh=*)
   1219     sharedstatedir=$ac_optarg ;;
   1220 
   1221   -site | --site | --sit)
   1222     ac_prev=site ;;
   1223   -site=* | --site=* | --sit=*)
   1224     site=$ac_optarg ;;
   1225 
   1226   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1227     ac_prev=srcdir ;;
   1228   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1229     srcdir=$ac_optarg ;;
   1230 
   1231   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1232   | --syscon | --sysco | --sysc | --sys | --sy)
   1233     ac_prev=sysconfdir ;;
   1234   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1235   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1236     sysconfdir=$ac_optarg ;;
   1237 
   1238   -target | --target | --targe | --targ | --tar | --ta | --t)
   1239     ac_prev=target_alias ;;
   1240   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1241     target_alias=$ac_optarg ;;
   1242 
   1243   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1244     verbose=yes ;;
   1245 
   1246   -version | --version | --versio | --versi | --vers | -V)
   1247     ac_init_version=: ;;
   1248 
   1249   -with-* | --with-*)
   1250     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1251     # Reject names that are not valid shell variable names.
   1252     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1253       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1254    { (exit 1); exit 1; }; }
   1255     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1256     eval with_$ac_package=\$ac_optarg ;;
   1257 
   1258   -without-* | --without-*)
   1259     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1260     # Reject names that are not valid shell variable names.
   1261     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1262       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1263    { (exit 1); exit 1; }; }
   1264     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1265     eval with_$ac_package=no ;;
   1266 
   1267   --x)
   1268     # Obsolete; use --with-x.
   1269     with_x=yes ;;
   1270 
   1271   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1272   | --x-incl | --x-inc | --x-in | --x-i)
   1273     ac_prev=x_includes ;;
   1274   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1275   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1276     x_includes=$ac_optarg ;;
   1277 
   1278   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1279   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1280     ac_prev=x_libraries ;;
   1281   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1282   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1283     x_libraries=$ac_optarg ;;
   1284 
   1285   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1286 Try \`$0 --help' for more information." >&2
   1287    { (exit 1); exit 1; }; }
   1288     ;;
   1289 
   1290   *=*)
   1291     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1292     # Reject names that are not valid shell variable names.
   1293     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1294       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1295    { (exit 1); exit 1; }; }
   1296     eval $ac_envvar=\$ac_optarg
   1297     export $ac_envvar ;;
   1298 
   1299   *)
   1300     # FIXME: should be removed in autoconf 3.0.
   1301     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1302     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1303       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1304     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1305     ;;
   1306 
   1307   esac
   1308 done
   1309 
   1310 if test -n "$ac_prev"; then
   1311   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1312   { echo "$as_me: error: missing argument to $ac_option" >&2
   1313    { (exit 1); exit 1; }; }
   1314 fi
   1315 
   1316 # Be sure to have absolute directory names.
   1317 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1318 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1319 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1320 		libdir localedir mandir
   1321 do
   1322   eval ac_val=\$$ac_var
   1323   case $ac_val in
   1324     [\\/$]* | ?:[\\/]* )  continue;;
   1325     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1326   esac
   1327   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1328    { (exit 1); exit 1; }; }
   1329 done
   1330 
   1331 # There might be people who depend on the old broken behavior: `$host'
   1332 # used to hold the argument of --host etc.
   1333 # FIXME: To remove some day.
   1334 build=$build_alias
   1335 host=$host_alias
   1336 target=$target_alias
   1337 
   1338 # FIXME: To remove some day.
   1339 if test "x$host_alias" != x; then
   1340   if test "x$build_alias" = x; then
   1341     cross_compiling=maybe
   1342     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1343     If a cross compiler is detected then cross compile mode will be used." >&2
   1344   elif test "x$build_alias" != "x$host_alias"; then
   1345     cross_compiling=yes
   1346   fi
   1347 fi
   1348 
   1349 ac_tool_prefix=
   1350 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1351 
   1352 test "$silent" = yes && exec 6>/dev/null
   1353 
   1354 
   1355 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1356 ac_ls_di=`ls -di .` &&
   1357 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1358   { echo "$as_me: error: Working directory cannot be determined" >&2
   1359    { (exit 1); exit 1; }; }
   1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1361   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1362    { (exit 1); exit 1; }; }
   1363 
   1364 
   1365 # Find the source files, if location was not specified.
   1366 if test -z "$srcdir"; then
   1367   ac_srcdir_defaulted=yes
   1368   # Try the directory containing this script, then the parent directory.
   1369   ac_confdir=`$as_dirname -- "$0" ||
   1370 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1371 	 X"$0" : 'X\(//\)[^/]' \| \
   1372 	 X"$0" : 'X\(//\)$' \| \
   1373 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1374 echo X"$0" |
   1375     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1376 	    s//\1/
   1377 	    q
   1378 	  }
   1379 	  /^X\(\/\/\)[^/].*/{
   1380 	    s//\1/
   1381 	    q
   1382 	  }
   1383 	  /^X\(\/\/\)$/{
   1384 	    s//\1/
   1385 	    q
   1386 	  }
   1387 	  /^X\(\/\).*/{
   1388 	    s//\1/
   1389 	    q
   1390 	  }
   1391 	  s/.*/./; q'`
   1392   srcdir=$ac_confdir
   1393   if test ! -r "$srcdir/$ac_unique_file"; then
   1394     srcdir=..
   1395   fi
   1396 else
   1397   ac_srcdir_defaulted=no
   1398 fi
   1399 if test ! -r "$srcdir/$ac_unique_file"; then
   1400   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1401   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1402    { (exit 1); exit 1; }; }
   1403 fi
   1404 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1405 ac_abs_confdir=`(
   1406 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1407    { (exit 1); exit 1; }; }
   1408 	pwd)`
   1409 # When building in place, set srcdir=.
   1410 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1411   srcdir=.
   1412 fi
   1413 # Remove unnecessary trailing slashes from srcdir.
   1414 # Double slashes in file names in object file debugging info
   1415 # mess up M-x gdb in Emacs.
   1416 case $srcdir in
   1417 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1418 esac
   1419 for ac_var in $ac_precious_vars; do
   1420   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1421   eval ac_env_${ac_var}_value=\$${ac_var}
   1422   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1423   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1424 done
   1425 
   1426 #
   1427 # Report the --help message.
   1428 #
   1429 if test "$ac_init_help" = "long"; then
   1430   # Omit some internal or obsolete options to make the list less imposing.
   1431   # This message is too long to be a string in the A/UX 3.1 sh.
   1432   cat <<_ACEOF
   1433 \`configure' configures xf86-video-mga 1.4.8 to adapt to many kinds of systems.
   1434 
   1435 Usage: $0 [OPTION]... [VAR=VALUE]...
   1436 
   1437 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1438 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1439 
   1440 Defaults for the options are specified in brackets.
   1441 
   1442 Configuration:
   1443   -h, --help              display this help and exit
   1444       --help=short        display options specific to this package
   1445       --help=recursive    display the short help of all the included packages
   1446   -V, --version           display version information and exit
   1447   -q, --quiet, --silent   do not print \`checking...' messages
   1448       --cache-file=FILE   cache test results in FILE [disabled]
   1449   -C, --config-cache      alias for \`--cache-file=config.cache'
   1450   -n, --no-create         do not create output files
   1451       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1452 
   1453 Installation directories:
   1454   --prefix=PREFIX         install architecture-independent files in PREFIX
   1455 			  [$ac_default_prefix]
   1456   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1457 			  [PREFIX]
   1458 
   1459 By default, \`make install' will install all the files in
   1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1461 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1462 for instance \`--prefix=\$HOME'.
   1463 
   1464 For better control, use the options below.
   1465 
   1466 Fine tuning of the installation directories:
   1467   --bindir=DIR           user executables [EPREFIX/bin]
   1468   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1469   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1470   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1471   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1472   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1473   --libdir=DIR           object code libraries [EPREFIX/lib]
   1474   --includedir=DIR       C header files [PREFIX/include]
   1475   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1476   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1477   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1478   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1479   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1480   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1481   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-mga]
   1482   --htmldir=DIR          html documentation [DOCDIR]
   1483   --dvidir=DIR           dvi documentation [DOCDIR]
   1484   --pdfdir=DIR           pdf documentation [DOCDIR]
   1485   --psdir=DIR            ps documentation [DOCDIR]
   1486 _ACEOF
   1487 
   1488   cat <<\_ACEOF
   1489 
   1490 Program names:
   1491   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1492   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1493   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1494 
   1495 System types:
   1496   --build=BUILD     configure for building on BUILD [guessed]
   1497   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1498 _ACEOF
   1499 fi
   1500 
   1501 if test -n "$ac_init_help"; then
   1502   case $ac_init_help in
   1503      short | recursive ) echo "Configuration of xf86-video-mga 1.4.8:";;
   1504    esac
   1505   cat <<\_ACEOF
   1506 
   1507 Optional Features:
   1508   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1509   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1510   --enable-maintainer-mode  enable make rules and dependencies not useful
   1511 			  (and sometimes confusing) to the casual installer
   1512   --enable-static[=PKGS]  build static libraries [default=no]
   1513   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1514   --enable-fast-install[=PKGS]
   1515                           optimize for fast installation [default=yes]
   1516   --disable-dependency-tracking  speeds up one-time build
   1517   --enable-dependency-tracking   do not reject slow dependency extractors
   1518   --disable-libtool-lock  avoid locking (might break parallel builds)
   1519   --disable-dri           Disable DRI support [default=auto]
   1520   --disable-exa           Disable EXA support [default=enabled]
   1521 
   1522 Optional Packages:
   1523   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1524   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1525   --with-release-version=STRING
   1526                           Use release version string in package name
   1527   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1528   --with-pic              try to use only PIC/non-PIC objects [default=use
   1529                           both]
   1530   --with-tags[=TAGS]      include additional configurations [automatic]
   1531   --with-xorg-module-dir=DIR
   1532                           Default xorg module directory
   1533                           [default=$libdir/xorg/modules]
   1534 
   1535 Some influential environment variables:
   1536   CC          C compiler command
   1537   CFLAGS      C compiler flags
   1538   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1539               nonstandard directory <lib dir>
   1540   LIBS        libraries to pass to the linker, e.g. -l<library>
   1541   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1542               you have headers in a nonstandard directory <include dir>
   1543   CPP         C preprocessor
   1544   CXX         C++ compiler command
   1545   CXXFLAGS    C++ compiler flags
   1546   CXXCPP      C++ preprocessor
   1547   F77         Fortran 77 compiler command
   1548   FFLAGS      Fortran 77 compiler flags
   1549   PKG_CONFIG  path to pkg-config utility
   1550   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1551   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1552   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1553   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1554   PCIACCESS_CFLAGS
   1555               C compiler flags for PCIACCESS, overriding pkg-config
   1556   PCIACCESS_LIBS
   1557               linker flags for PCIACCESS, overriding pkg-config
   1558 
   1559 Use these variables to override the choices made by `configure' or to help
   1560 it to find libraries and programs with nonstandard names/locations.
   1561 
   1562 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1563 _ACEOF
   1564 ac_status=$?
   1565 fi
   1566 
   1567 if test "$ac_init_help" = "recursive"; then
   1568   # If there are subdirs, report their specific --help.
   1569   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1570     test -d "$ac_dir" || continue
   1571     ac_builddir=.
   1572 
   1573 case "$ac_dir" in
   1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1575 *)
   1576   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1577   # A ".." for each directory in $ac_dir_suffix.
   1578   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1579   case $ac_top_builddir_sub in
   1580   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1581   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1582   esac ;;
   1583 esac
   1584 ac_abs_top_builddir=$ac_pwd
   1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1586 # for backward compatibility:
   1587 ac_top_builddir=$ac_top_build_prefix
   1588 
   1589 case $srcdir in
   1590   .)  # We are building in place.
   1591     ac_srcdir=.
   1592     ac_top_srcdir=$ac_top_builddir_sub
   1593     ac_abs_top_srcdir=$ac_pwd ;;
   1594   [\\/]* | ?:[\\/]* )  # Absolute name.
   1595     ac_srcdir=$srcdir$ac_dir_suffix;
   1596     ac_top_srcdir=$srcdir
   1597     ac_abs_top_srcdir=$srcdir ;;
   1598   *) # Relative name.
   1599     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1600     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1601     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1602 esac
   1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1604 
   1605     cd "$ac_dir" || { ac_status=$?; continue; }
   1606     # Check for guested configure.
   1607     if test -f "$ac_srcdir/configure.gnu"; then
   1608       echo &&
   1609       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1610     elif test -f "$ac_srcdir/configure"; then
   1611       echo &&
   1612       $SHELL "$ac_srcdir/configure" --help=recursive
   1613     else
   1614       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1615     fi || ac_status=$?
   1616     cd "$ac_pwd" || { ac_status=$?; break; }
   1617   done
   1618 fi
   1619 
   1620 test -n "$ac_init_help" && exit $ac_status
   1621 if $ac_init_version; then
   1622   cat <<\_ACEOF
   1623 xf86-video-mga configure 1.4.8
   1624 generated by GNU Autoconf 2.61
   1625 
   1626 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1627 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1628 This configure script is free software; the Free Software Foundation
   1629 gives unlimited permission to copy, distribute and modify it.
   1630 _ACEOF
   1631   exit
   1632 fi
   1633 cat >config.log <<_ACEOF
   1634 This file contains any messages produced by compilers while
   1635 running configure, to aid debugging if configure makes a mistake.
   1636 
   1637 It was created by xf86-video-mga $as_me 1.4.8, which was
   1638 generated by GNU Autoconf 2.61.  Invocation command line was
   1639 
   1640   $ $0 $@
   1641 
   1642 _ACEOF
   1643 exec 5>>config.log
   1644 {
   1645 cat <<_ASUNAME
   1646 ## --------- ##
   1647 ## Platform. ##
   1648 ## --------- ##
   1649 
   1650 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1651 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1652 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1653 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1654 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1655 
   1656 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1657 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1658 
   1659 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1660 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1661 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1662 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1663 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1664 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1665 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1666 
   1667 _ASUNAME
   1668 
   1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1670 for as_dir in $PATH
   1671 do
   1672   IFS=$as_save_IFS
   1673   test -z "$as_dir" && as_dir=.
   1674   echo "PATH: $as_dir"
   1675 done
   1676 IFS=$as_save_IFS
   1677 
   1678 } >&5
   1679 
   1680 cat >&5 <<_ACEOF
   1681 
   1682 
   1683 ## ----------- ##
   1684 ## Core tests. ##
   1685 ## ----------- ##
   1686 
   1687 _ACEOF
   1688 
   1689 
   1690 # Keep a trace of the command line.
   1691 # Strip out --no-create and --no-recursion so they do not pile up.
   1692 # Strip out --silent because we don't want to record it for future runs.
   1693 # Also quote any args containing shell meta-characters.
   1694 # Make two passes to allow for proper duplicate-argument suppression.
   1695 ac_configure_args=
   1696 ac_configure_args0=
   1697 ac_configure_args1=
   1698 ac_must_keep_next=false
   1699 for ac_pass in 1 2
   1700 do
   1701   for ac_arg
   1702   do
   1703     case $ac_arg in
   1704     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1705     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1706     | -silent | --silent | --silen | --sile | --sil)
   1707       continue ;;
   1708     *\'*)
   1709       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1710     esac
   1711     case $ac_pass in
   1712     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1713     2)
   1714       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1715       if test $ac_must_keep_next = true; then
   1716 	ac_must_keep_next=false # Got value, back to normal.
   1717       else
   1718 	case $ac_arg in
   1719 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1720 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1721 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1722 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1723 	    case "$ac_configure_args0 " in
   1724 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1725 	    esac
   1726 	    ;;
   1727 	  -* ) ac_must_keep_next=true ;;
   1728 	esac
   1729       fi
   1730       ac_configure_args="$ac_configure_args '$ac_arg'"
   1731       ;;
   1732     esac
   1733   done
   1734 done
   1735 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1736 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1737 
   1738 # When interrupted or exit'd, cleanup temporary files, and complete
   1739 # config.log.  We remove comments because anyway the quotes in there
   1740 # would cause problems or look ugly.
   1741 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1742 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1743 trap 'exit_status=$?
   1744   # Save into config.log some information that might help in debugging.
   1745   {
   1746     echo
   1747 
   1748     cat <<\_ASBOX
   1749 ## ---------------- ##
   1750 ## Cache variables. ##
   1751 ## ---------------- ##
   1752 _ASBOX
   1753     echo
   1754     # The following way of writing the cache mishandles newlines in values,
   1755 (
   1756   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1757     eval ac_val=\$$ac_var
   1758     case $ac_val in #(
   1759     *${as_nl}*)
   1760       case $ac_var in #(
   1761       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1762 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1763       esac
   1764       case $ac_var in #(
   1765       _ | IFS | as_nl) ;; #(
   1766       *) $as_unset $ac_var ;;
   1767       esac ;;
   1768     esac
   1769   done
   1770   (set) 2>&1 |
   1771     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1772     *${as_nl}ac_space=\ *)
   1773       sed -n \
   1774 	"s/'\''/'\''\\\\'\'''\''/g;
   1775 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1776       ;; #(
   1777     *)
   1778       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1779       ;;
   1780     esac |
   1781     sort
   1782 )
   1783     echo
   1784 
   1785     cat <<\_ASBOX
   1786 ## ----------------- ##
   1787 ## Output variables. ##
   1788 ## ----------------- ##
   1789 _ASBOX
   1790     echo
   1791     for ac_var in $ac_subst_vars
   1792     do
   1793       eval ac_val=\$$ac_var
   1794       case $ac_val in
   1795       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1796       esac
   1797       echo "$ac_var='\''$ac_val'\''"
   1798     done | sort
   1799     echo
   1800 
   1801     if test -n "$ac_subst_files"; then
   1802       cat <<\_ASBOX
   1803 ## ------------------- ##
   1804 ## File substitutions. ##
   1805 ## ------------------- ##
   1806 _ASBOX
   1807       echo
   1808       for ac_var in $ac_subst_files
   1809       do
   1810 	eval ac_val=\$$ac_var
   1811 	case $ac_val in
   1812 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1813 	esac
   1814 	echo "$ac_var='\''$ac_val'\''"
   1815       done | sort
   1816       echo
   1817     fi
   1818 
   1819     if test -s confdefs.h; then
   1820       cat <<\_ASBOX
   1821 ## ----------- ##
   1822 ## confdefs.h. ##
   1823 ## ----------- ##
   1824 _ASBOX
   1825       echo
   1826       cat confdefs.h
   1827       echo
   1828     fi
   1829     test "$ac_signal" != 0 &&
   1830       echo "$as_me: caught signal $ac_signal"
   1831     echo "$as_me: exit $exit_status"
   1832   } >&5
   1833   rm -f core *.core core.conftest.* &&
   1834     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1835     exit $exit_status
   1836 ' 0
   1837 for ac_signal in 1 2 13 15; do
   1838   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1839 done
   1840 ac_signal=0
   1841 
   1842 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1843 rm -f -r conftest* confdefs.h
   1844 
   1845 # Predefined preprocessor variables.
   1846 
   1847 cat >>confdefs.h <<_ACEOF
   1848 #define PACKAGE_NAME "$PACKAGE_NAME"
   1849 _ACEOF
   1850 
   1851 
   1852 cat >>confdefs.h <<_ACEOF
   1853 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1854 _ACEOF
   1855 
   1856 
   1857 cat >>confdefs.h <<_ACEOF
   1858 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1859 _ACEOF
   1860 
   1861 
   1862 cat >>confdefs.h <<_ACEOF
   1863 #define PACKAGE_STRING "$PACKAGE_STRING"
   1864 _ACEOF
   1865 
   1866 
   1867 cat >>confdefs.h <<_ACEOF
   1868 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1869 _ACEOF
   1870 
   1871 
   1872 # Let the site file select an alternate cache file if it wants to.
   1873 # Prefer explicitly selected file to automatically selected ones.
   1874 if test -n "$CONFIG_SITE"; then
   1875   set x "$CONFIG_SITE"
   1876 elif test "x$prefix" != xNONE; then
   1877   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1878 else
   1879   set x "$ac_default_prefix/share/config.site" \
   1880 	"$ac_default_prefix/etc/config.site"
   1881 fi
   1882 shift
   1883 for ac_site_file
   1884 do
   1885   if test -r "$ac_site_file"; then
   1886     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1887 echo "$as_me: loading site script $ac_site_file" >&6;}
   1888     sed 's/^/| /' "$ac_site_file" >&5
   1889     . "$ac_site_file"
   1890   fi
   1891 done
   1892 
   1893 if test -r "$cache_file"; then
   1894   # Some versions of bash will fail to source /dev/null (special
   1895   # files actually), so we avoid doing that.
   1896   if test -f "$cache_file"; then
   1897     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1898 echo "$as_me: loading cache $cache_file" >&6;}
   1899     case $cache_file in
   1900       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1901       *)                      . "./$cache_file";;
   1902     esac
   1903   fi
   1904 else
   1905   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1906 echo "$as_me: creating cache $cache_file" >&6;}
   1907   >$cache_file
   1908 fi
   1909 
   1910 # Check that the precious variables saved in the cache have kept the same
   1911 # value.
   1912 ac_cache_corrupted=false
   1913 for ac_var in $ac_precious_vars; do
   1914   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1915   eval ac_new_set=\$ac_env_${ac_var}_set
   1916   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1917   eval ac_new_val=\$ac_env_${ac_var}_value
   1918   case $ac_old_set,$ac_new_set in
   1919     set,)
   1920       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1921 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1922       ac_cache_corrupted=: ;;
   1923     ,set)
   1924       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1925 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1926       ac_cache_corrupted=: ;;
   1927     ,);;
   1928     *)
   1929       if test "x$ac_old_val" != "x$ac_new_val"; then
   1930 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1931 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1932 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1933 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1934 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1935 echo "$as_me:   current value: $ac_new_val" >&2;}
   1936 	ac_cache_corrupted=:
   1937       fi;;
   1938   esac
   1939   # Pass precious variables to config.status.
   1940   if test "$ac_new_set" = set; then
   1941     case $ac_new_val in
   1942     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1943     *) ac_arg=$ac_var=$ac_new_val ;;
   1944     esac
   1945     case " $ac_configure_args " in
   1946       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1947       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1948     esac
   1949   fi
   1950 done
   1951 if $ac_cache_corrupted; then
   1952   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1953 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1954   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1955 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1956    { (exit 1); exit 1; }; }
   1957 fi
   1958 
   1959 
   1960 
   1961 
   1962 
   1963 
   1964 
   1965 
   1966 
   1967 
   1968 
   1969 
   1970 
   1971 
   1972 
   1973 
   1974 
   1975 
   1976 
   1977 
   1978 
   1979 
   1980 
   1981 
   1982 
   1983 ac_ext=c
   1984 ac_cpp='$CPP $CPPFLAGS'
   1985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1988 
   1989 
   1990 
   1991 
   1992 
   1993 # Check whether --with-release-version was given.
   1994 if test "${with_release_version+set}" = set; then
   1995   withval=$with_release_version; RELEASE_VERSION="$withval"
   1996 else
   1997   RELEASE_VERSION=""
   1998 fi
   1999 
   2000 	if test "x$RELEASE_VERSION" != "x"; then
   2001 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   2002 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   2003 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   2004 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   2005 	fi
   2006 
   2007 cat >>confdefs.h <<_ACEOF
   2008 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   2009 _ACEOF
   2010 
   2011 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
   2012 	if test "x$PVM" = "x"; then
   2013 		PVM="0"
   2014 	fi
   2015 
   2016 cat >>confdefs.h <<_ACEOF
   2017 #define PACKAGE_VERSION_MINOR $PVM
   2018 _ACEOF
   2019 
   2020 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
   2021 	if test "x$PVP" = "x"; then
   2022 		PVP="0"
   2023 	fi
   2024 
   2025 cat >>confdefs.h <<_ACEOF
   2026 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   2027 _ACEOF
   2028 
   2029 
   2030 
   2031 
   2032 ac_config_headers="$ac_config_headers config.h"
   2033 
   2034 ac_aux_dir=
   2035 for ac_dir in . "$srcdir"/.; do
   2036   if test -f "$ac_dir/install-sh"; then
   2037     ac_aux_dir=$ac_dir
   2038     ac_install_sh="$ac_aux_dir/install-sh -c"
   2039     break
   2040   elif test -f "$ac_dir/install.sh"; then
   2041     ac_aux_dir=$ac_dir
   2042     ac_install_sh="$ac_aux_dir/install.sh -c"
   2043     break
   2044   elif test -f "$ac_dir/shtool"; then
   2045     ac_aux_dir=$ac_dir
   2046     ac_install_sh="$ac_aux_dir/shtool install -c"
   2047     break
   2048   fi
   2049 done
   2050 if test -z "$ac_aux_dir"; then
   2051   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2052 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2053    { (exit 1); exit 1; }; }
   2054 fi
   2055 
   2056 # These three variables are undocumented and unsupported,
   2057 # and are intended to be withdrawn in a future Autoconf release.
   2058 # They can cause serious problems if a builder's source tree is in a directory
   2059 # whose full name contains unusual characters.
   2060 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2061 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2062 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2063 
   2064 
   2065 
   2066 am__api_version='1.10'
   2067 
   2068 # Find a good install program.  We prefer a C program (faster),
   2069 # so one script is as good as another.  But avoid the broken or
   2070 # incompatible versions:
   2071 # SysV /etc/install, /usr/sbin/install
   2072 # SunOS /usr/etc/install
   2073 # IRIX /sbin/install
   2074 # AIX /bin/install
   2075 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2079 # OS/2's system install, which has a completely different semantic
   2080 # ./install, which can be erroneously created by make from ./install.sh.
   2081 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2082 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2083 if test -z "$INSTALL"; then
   2084 if test "${ac_cv_path_install+set}" = set; then
   2085   echo $ECHO_N "(cached) $ECHO_C" >&6
   2086 else
   2087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2088 for as_dir in $PATH
   2089 do
   2090   IFS=$as_save_IFS
   2091   test -z "$as_dir" && as_dir=.
   2092   # Account for people who put trailing slashes in PATH elements.
   2093 case $as_dir/ in
   2094   ./ | .// | /cC/* | \
   2095   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2096   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2097   /usr/ucb/* ) ;;
   2098   *)
   2099     # OSF1 and SCO ODT 3.0 have their own names for install.
   2100     # Don't use installbsd from OSF since it installs stuff as root
   2101     # by default.
   2102     for ac_prog in ginstall scoinst install; do
   2103       for ac_exec_ext in '' $ac_executable_extensions; do
   2104 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2105 	  if test $ac_prog = install &&
   2106 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2107 	    # AIX install.  It has an incompatible calling convention.
   2108 	    :
   2109 	  elif test $ac_prog = install &&
   2110 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2111 	    # program-specific install script used by HP pwplus--don't use.
   2112 	    :
   2113 	  else
   2114 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2115 	    break 3
   2116 	  fi
   2117 	fi
   2118       done
   2119     done
   2120     ;;
   2121 esac
   2122 done
   2123 IFS=$as_save_IFS
   2124 
   2125 
   2126 fi
   2127   if test "${ac_cv_path_install+set}" = set; then
   2128     INSTALL=$ac_cv_path_install
   2129   else
   2130     # As a last resort, use the slow shell script.  Don't cache a
   2131     # value for INSTALL within a source directory, because that will
   2132     # break other packages using the cache if that directory is
   2133     # removed, or if the value is a relative name.
   2134     INSTALL=$ac_install_sh
   2135   fi
   2136 fi
   2137 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2138 echo "${ECHO_T}$INSTALL" >&6; }
   2139 
   2140 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2141 # It thinks the first close brace ends the variable substitution.
   2142 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2143 
   2144 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2145 
   2146 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2147 
   2148 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2149 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2150 # Just in case
   2151 sleep 1
   2152 echo timestamp > conftest.file
   2153 # Do `set' in a subshell so we don't clobber the current shell's
   2154 # arguments.  Must try -L first in case configure is actually a
   2155 # symlink; some systems play weird games with the mod time of symlinks
   2156 # (eg FreeBSD returns the mod time of the symlink's containing
   2157 # directory).
   2158 if (
   2159    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2160    if test "$*" = "X"; then
   2161       # -L didn't work.
   2162       set X `ls -t $srcdir/configure conftest.file`
   2163    fi
   2164    rm -f conftest.file
   2165    if test "$*" != "X $srcdir/configure conftest.file" \
   2166       && test "$*" != "X conftest.file $srcdir/configure"; then
   2167 
   2168       # If neither matched, then we have a broken ls.  This can happen
   2169       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2170       # broken ls alias from the environment.  This has actually
   2171       # happened.  Such a system could not be considered "sane".
   2172       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2173 alias in your environment" >&5
   2174 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2175 alias in your environment" >&2;}
   2176    { (exit 1); exit 1; }; }
   2177    fi
   2178 
   2179    test "$2" = conftest.file
   2180    )
   2181 then
   2182    # Ok.
   2183    :
   2184 else
   2185    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2186 Check your system clock" >&5
   2187 echo "$as_me: error: newly created file is older than distributed files!
   2188 Check your system clock" >&2;}
   2189    { (exit 1); exit 1; }; }
   2190 fi
   2191 { echo "$as_me:$LINENO: result: yes" >&5
   2192 echo "${ECHO_T}yes" >&6; }
   2193 test "$program_prefix" != NONE &&
   2194   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2195 # Use a double $ so make ignores it.
   2196 test "$program_suffix" != NONE &&
   2197   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2198 # Double any \ or $.  echo might interpret backslashes.
   2199 # By default was `s,x,x', remove it if useless.
   2200 cat <<\_ACEOF >conftest.sed
   2201 s/[\\$]/&&/g;s/;s,x,x,$//
   2202 _ACEOF
   2203 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2204 rm -f conftest.sed
   2205 
   2206 # expand $ac_aux_dir to an absolute path
   2207 am_aux_dir=`cd $ac_aux_dir && pwd`
   2208 
   2209 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2210 # Use eval to expand $SHELL
   2211 if eval "$MISSING --run true"; then
   2212   am_missing_run="$MISSING --run "
   2213 else
   2214   am_missing_run=
   2215   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2216 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2217 fi
   2218 
   2219 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2220 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2221 if test -z "$MKDIR_P"; then
   2222   if test "${ac_cv_path_mkdir+set}" = set; then
   2223   echo $ECHO_N "(cached) $ECHO_C" >&6
   2224 else
   2225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2226 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2227 do
   2228   IFS=$as_save_IFS
   2229   test -z "$as_dir" && as_dir=.
   2230   for ac_prog in mkdir gmkdir; do
   2231 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2232 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2233 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2234 	     'mkdir (GNU coreutils) '* | \
   2235 	     'mkdir (coreutils) '* | \
   2236 	     'mkdir (fileutils) '4.1*)
   2237 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2238 	       break 3;;
   2239 	   esac
   2240 	 done
   2241        done
   2242 done
   2243 IFS=$as_save_IFS
   2244 
   2245 fi
   2246 
   2247   if test "${ac_cv_path_mkdir+set}" = set; then
   2248     MKDIR_P="$ac_cv_path_mkdir -p"
   2249   else
   2250     # As a last resort, use the slow shell script.  Don't cache a
   2251     # value for MKDIR_P within a source directory, because that will
   2252     # break other packages using the cache if that directory is
   2253     # removed, or if the value is a relative name.
   2254     test -d ./--version && rmdir ./--version
   2255     MKDIR_P="$ac_install_sh -d"
   2256   fi
   2257 fi
   2258 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2259 echo "${ECHO_T}$MKDIR_P" >&6; }
   2260 
   2261 mkdir_p="$MKDIR_P"
   2262 case $mkdir_p in
   2263   [\\/$]* | ?:[\\/]*) ;;
   2264   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2265 esac
   2266 
   2267 for ac_prog in gawk mawk nawk awk
   2268 do
   2269   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2270 set dummy $ac_prog; ac_word=$2
   2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2273 if test "${ac_cv_prog_AWK+set}" = set; then
   2274   echo $ECHO_N "(cached) $ECHO_C" >&6
   2275 else
   2276   if test -n "$AWK"; then
   2277   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2278 else
   2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284   for ac_exec_ext in '' $ac_executable_extensions; do
   2285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2286     ac_cv_prog_AWK="$ac_prog"
   2287     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2288     break 2
   2289   fi
   2290 done
   2291 done
   2292 IFS=$as_save_IFS
   2293 
   2294 fi
   2295 fi
   2296 AWK=$ac_cv_prog_AWK
   2297 if test -n "$AWK"; then
   2298   { echo "$as_me:$LINENO: result: $AWK" >&5
   2299 echo "${ECHO_T}$AWK" >&6; }
   2300 else
   2301   { echo "$as_me:$LINENO: result: no" >&5
   2302 echo "${ECHO_T}no" >&6; }
   2303 fi
   2304 
   2305 
   2306   test -n "$AWK" && break
   2307 done
   2308 
   2309 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2310 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2311 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2312 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2313   echo $ECHO_N "(cached) $ECHO_C" >&6
   2314 else
   2315   cat >conftest.make <<\_ACEOF
   2316 SHELL = /bin/sh
   2317 all:
   2318 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2319 _ACEOF
   2320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2321 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2322   *@@@%%%=?*=@@@%%%*)
   2323     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2324   *)
   2325     eval ac_cv_prog_make_${ac_make}_set=no;;
   2326 esac
   2327 rm -f conftest.make
   2328 fi
   2329 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2330   { echo "$as_me:$LINENO: result: yes" >&5
   2331 echo "${ECHO_T}yes" >&6; }
   2332   SET_MAKE=
   2333 else
   2334   { echo "$as_me:$LINENO: result: no" >&5
   2335 echo "${ECHO_T}no" >&6; }
   2336   SET_MAKE="MAKE=${MAKE-make}"
   2337 fi
   2338 
   2339 rm -rf .tst 2>/dev/null
   2340 mkdir .tst 2>/dev/null
   2341 if test -d .tst; then
   2342   am__leading_dot=.
   2343 else
   2344   am__leading_dot=_
   2345 fi
   2346 rmdir .tst 2>/dev/null
   2347 
   2348 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2349   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2350   # is not polluted with repeated "-I."
   2351   am__isrc=' -I$(srcdir)'
   2352   # test to see if srcdir already configured
   2353   if test -f $srcdir/config.status; then
   2354     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2355 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2356    { (exit 1); exit 1; }; }
   2357   fi
   2358 fi
   2359 
   2360 # test whether we have cygpath
   2361 if test -z "$CYGPATH_W"; then
   2362   if (cygpath --version) >/dev/null 2>/dev/null; then
   2363     CYGPATH_W='cygpath -w'
   2364   else
   2365     CYGPATH_W=echo
   2366   fi
   2367 fi
   2368 
   2369 
   2370 # Define the identity of the package.
   2371  PACKAGE='xf86-video-mga'
   2372  VERSION='1.4.8'
   2373 
   2374 
   2375 cat >>confdefs.h <<_ACEOF
   2376 #define PACKAGE "$PACKAGE"
   2377 _ACEOF
   2378 
   2379 
   2380 cat >>confdefs.h <<_ACEOF
   2381 #define VERSION "$VERSION"
   2382 _ACEOF
   2383 
   2384 # Some tools Automake needs.
   2385 
   2386 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2387 
   2388 
   2389 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2390 
   2391 
   2392 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2393 
   2394 
   2395 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2396 
   2397 
   2398 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2399 
   2400 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2401 
   2402 # Installed binaries are usually stripped using `strip' when the user
   2403 # run `make install-strip'.  However `strip' might not be the right
   2404 # tool to use in cross-compilation environments, therefore Automake
   2405 # will honor the `STRIP' environment variable to overrule this program.
   2406 if test "$cross_compiling" != no; then
   2407   if test -n "$ac_tool_prefix"; then
   2408   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2409 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2412 if test "${ac_cv_prog_STRIP+set}" = set; then
   2413   echo $ECHO_N "(cached) $ECHO_C" >&6
   2414 else
   2415   if test -n "$STRIP"; then
   2416   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2417 else
   2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2419 for as_dir in $PATH
   2420 do
   2421   IFS=$as_save_IFS
   2422   test -z "$as_dir" && as_dir=.
   2423   for ac_exec_ext in '' $ac_executable_extensions; do
   2424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2425     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2426     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2427     break 2
   2428   fi
   2429 done
   2430 done
   2431 IFS=$as_save_IFS
   2432 
   2433 fi
   2434 fi
   2435 STRIP=$ac_cv_prog_STRIP
   2436 if test -n "$STRIP"; then
   2437   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2438 echo "${ECHO_T}$STRIP" >&6; }
   2439 else
   2440   { echo "$as_me:$LINENO: result: no" >&5
   2441 echo "${ECHO_T}no" >&6; }
   2442 fi
   2443 
   2444 
   2445 fi
   2446 if test -z "$ac_cv_prog_STRIP"; then
   2447   ac_ct_STRIP=$STRIP
   2448   # Extract the first word of "strip", so it can be a program name with args.
   2449 set dummy strip; ac_word=$2
   2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2452 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2453   echo $ECHO_N "(cached) $ECHO_C" >&6
   2454 else
   2455   if test -n "$ac_ct_STRIP"; then
   2456   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2457 else
   2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2459 for as_dir in $PATH
   2460 do
   2461   IFS=$as_save_IFS
   2462   test -z "$as_dir" && as_dir=.
   2463   for ac_exec_ext in '' $ac_executable_extensions; do
   2464   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2465     ac_cv_prog_ac_ct_STRIP="strip"
   2466     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2467     break 2
   2468   fi
   2469 done
   2470 done
   2471 IFS=$as_save_IFS
   2472 
   2473 fi
   2474 fi
   2475 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2476 if test -n "$ac_ct_STRIP"; then
   2477   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2478 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2479 else
   2480   { echo "$as_me:$LINENO: result: no" >&5
   2481 echo "${ECHO_T}no" >&6; }
   2482 fi
   2483 
   2484   if test "x$ac_ct_STRIP" = x; then
   2485     STRIP=":"
   2486   else
   2487     case $cross_compiling:$ac_tool_warned in
   2488 yes:)
   2489 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2490 whose name does not start with the host triplet.  If you think this
   2491 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2492 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2493 whose name does not start with the host triplet.  If you think this
   2494 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2495 ac_tool_warned=yes ;;
   2496 esac
   2497     STRIP=$ac_ct_STRIP
   2498   fi
   2499 else
   2500   STRIP="$ac_cv_prog_STRIP"
   2501 fi
   2502 
   2503 fi
   2504 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2505 
   2506 # We need awk for the "check" target.  The system "awk" is bad on
   2507 # some platforms.
   2508 # Always define AMTAR for backward compatibility.
   2509 
   2510 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2511 
   2512 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2513 
   2514 
   2515 
   2516 
   2517 
   2518 
   2519 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2520 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2521     # Check whether --enable-maintainer-mode was given.
   2522 if test "${enable_maintainer_mode+set}" = set; then
   2523   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2524 else
   2525   USE_MAINTAINER_MODE=no
   2526 fi
   2527 
   2528   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2529 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2530    if test $USE_MAINTAINER_MODE = yes; then
   2531   MAINTAINER_MODE_TRUE=
   2532   MAINTAINER_MODE_FALSE='#'
   2533 else
   2534   MAINTAINER_MODE_TRUE='#'
   2535   MAINTAINER_MODE_FALSE=
   2536 fi
   2537 
   2538   MAINT=$MAINTAINER_MODE_TRUE
   2539 
   2540 
   2541 
   2542 # Checks for programs.
   2543 # Check whether --enable-static was given.
   2544 if test "${enable_static+set}" = set; then
   2545   enableval=$enable_static; p=${PACKAGE-default}
   2546     case $enableval in
   2547     yes) enable_static=yes ;;
   2548     no) enable_static=no ;;
   2549     *)
   2550      enable_static=no
   2551       # Look at the argument we got.  We use all the common list separators.
   2552       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2553       for pkg in $enableval; do
   2554 	IFS="$lt_save_ifs"
   2555 	if test "X$pkg" = "X$p"; then
   2556 	  enable_static=yes
   2557 	fi
   2558       done
   2559       IFS="$lt_save_ifs"
   2560       ;;
   2561     esac
   2562 else
   2563   enable_static=no
   2564 fi
   2565 
   2566 
   2567 
   2568 # Check whether --enable-shared was given.
   2569 if test "${enable_shared+set}" = set; then
   2570   enableval=$enable_shared; p=${PACKAGE-default}
   2571     case $enableval in
   2572     yes) enable_shared=yes ;;
   2573     no) enable_shared=no ;;
   2574     *)
   2575       enable_shared=no
   2576       # Look at the argument we got.  We use all the common list separators.
   2577       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2578       for pkg in $enableval; do
   2579 	IFS="$lt_save_ifs"
   2580 	if test "X$pkg" = "X$p"; then
   2581 	  enable_shared=yes
   2582 	fi
   2583       done
   2584       IFS="$lt_save_ifs"
   2585       ;;
   2586     esac
   2587 else
   2588   enable_shared=yes
   2589 fi
   2590 
   2591 
   2592 # Check whether --enable-fast-install was given.
   2593 if test "${enable_fast_install+set}" = set; then
   2594   enableval=$enable_fast_install; p=${PACKAGE-default}
   2595     case $enableval in
   2596     yes) enable_fast_install=yes ;;
   2597     no) enable_fast_install=no ;;
   2598     *)
   2599       enable_fast_install=no
   2600       # Look at the argument we got.  We use all the common list separators.
   2601       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2602       for pkg in $enableval; do
   2603 	IFS="$lt_save_ifs"
   2604 	if test "X$pkg" = "X$p"; then
   2605 	  enable_fast_install=yes
   2606 	fi
   2607       done
   2608       IFS="$lt_save_ifs"
   2609       ;;
   2610     esac
   2611 else
   2612   enable_fast_install=yes
   2613 fi
   2614 
   2615 
   2616 # Make sure we can run config.sub.
   2617 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2618   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2619 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2620    { (exit 1); exit 1; }; }
   2621 
   2622 { echo "$as_me:$LINENO: checking build system type" >&5
   2623 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2624 if test "${ac_cv_build+set}" = set; then
   2625   echo $ECHO_N "(cached) $ECHO_C" >&6
   2626 else
   2627   ac_build_alias=$build_alias
   2628 test "x$ac_build_alias" = x &&
   2629   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2630 test "x$ac_build_alias" = x &&
   2631   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2632 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2633    { (exit 1); exit 1; }; }
   2634 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2635   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2636 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2637    { (exit 1); exit 1; }; }
   2638 
   2639 fi
   2640 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2641 echo "${ECHO_T}$ac_cv_build" >&6; }
   2642 case $ac_cv_build in
   2643 *-*-*) ;;
   2644 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2645 echo "$as_me: error: invalid value of canonical build" >&2;}
   2646    { (exit 1); exit 1; }; };;
   2647 esac
   2648 build=$ac_cv_build
   2649 ac_save_IFS=$IFS; IFS='-'
   2650 set x $ac_cv_build
   2651 shift
   2652 build_cpu=$1
   2653 build_vendor=$2
   2654 shift; shift
   2655 # Remember, the first character of IFS is used to create $*,
   2656 # except with old shells:
   2657 build_os=$*
   2658 IFS=$ac_save_IFS
   2659 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2660 
   2661 
   2662 { echo "$as_me:$LINENO: checking host system type" >&5
   2663 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2664 if test "${ac_cv_host+set}" = set; then
   2665   echo $ECHO_N "(cached) $ECHO_C" >&6
   2666 else
   2667   if test "x$host_alias" = x; then
   2668   ac_cv_host=$ac_cv_build
   2669 else
   2670   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2671     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2672 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2673    { (exit 1); exit 1; }; }
   2674 fi
   2675 
   2676 fi
   2677 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2678 echo "${ECHO_T}$ac_cv_host" >&6; }
   2679 case $ac_cv_host in
   2680 *-*-*) ;;
   2681 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2682 echo "$as_me: error: invalid value of canonical host" >&2;}
   2683    { (exit 1); exit 1; }; };;
   2684 esac
   2685 host=$ac_cv_host
   2686 ac_save_IFS=$IFS; IFS='-'
   2687 set x $ac_cv_host
   2688 shift
   2689 host_cpu=$1
   2690 host_vendor=$2
   2691 shift; shift
   2692 # Remember, the first character of IFS is used to create $*,
   2693 # except with old shells:
   2694 host_os=$*
   2695 IFS=$ac_save_IFS
   2696 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2697 
   2698 
   2699 DEPDIR="${am__leading_dot}deps"
   2700 
   2701 ac_config_commands="$ac_config_commands depfiles"
   2702 
   2703 
   2704 am_make=${MAKE-make}
   2705 cat > confinc << 'END'
   2706 am__doit:
   2707 	@echo done
   2708 .PHONY: am__doit
   2709 END
   2710 # If we don't find an include directive, just comment out the code.
   2711 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2712 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2713 am__include="#"
   2714 am__quote=
   2715 _am_result=none
   2716 # First try GNU make style include.
   2717 echo "include confinc" > confmf
   2718 # We grep out `Entering directory' and `Leaving directory'
   2719 # messages which can occur if `w' ends up in MAKEFLAGS.
   2720 # In particular we don't look at `^make:' because GNU make might
   2721 # be invoked under some other name (usually "gmake"), in which
   2722 # case it prints its new name instead of `make'.
   2723 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2724    am__include=include
   2725    am__quote=
   2726    _am_result=GNU
   2727 fi
   2728 # Now try BSD make style include.
   2729 if test "$am__include" = "#"; then
   2730    echo '.include "confinc"' > confmf
   2731    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2732       am__include=.include
   2733       am__quote="\""
   2734       _am_result=BSD
   2735    fi
   2736 fi
   2737 
   2738 
   2739 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2740 echo "${ECHO_T}$_am_result" >&6; }
   2741 rm -f confinc confmf
   2742 
   2743 # Check whether --enable-dependency-tracking was given.
   2744 if test "${enable_dependency_tracking+set}" = set; then
   2745   enableval=$enable_dependency_tracking;
   2746 fi
   2747 
   2748 if test "x$enable_dependency_tracking" != xno; then
   2749   am_depcomp="$ac_aux_dir/depcomp"
   2750   AMDEPBACKSLASH='\'
   2751 fi
   2752  if test "x$enable_dependency_tracking" != xno; then
   2753   AMDEP_TRUE=
   2754   AMDEP_FALSE='#'
   2755 else
   2756   AMDEP_TRUE='#'
   2757   AMDEP_FALSE=
   2758 fi
   2759 
   2760 
   2761 ac_ext=c
   2762 ac_cpp='$CPP $CPPFLAGS'
   2763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2766 if test -n "$ac_tool_prefix"; then
   2767   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2768 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2771 if test "${ac_cv_prog_CC+set}" = set; then
   2772   echo $ECHO_N "(cached) $ECHO_C" >&6
   2773 else
   2774   if test -n "$CC"; then
   2775   ac_cv_prog_CC="$CC" # Let the user override the test.
   2776 else
   2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2778 for as_dir in $PATH
   2779 do
   2780   IFS=$as_save_IFS
   2781   test -z "$as_dir" && as_dir=.
   2782   for ac_exec_ext in '' $ac_executable_extensions; do
   2783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2784     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2785     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2786     break 2
   2787   fi
   2788 done
   2789 done
   2790 IFS=$as_save_IFS
   2791 
   2792 fi
   2793 fi
   2794 CC=$ac_cv_prog_CC
   2795 if test -n "$CC"; then
   2796   { echo "$as_me:$LINENO: result: $CC" >&5
   2797 echo "${ECHO_T}$CC" >&6; }
   2798 else
   2799   { echo "$as_me:$LINENO: result: no" >&5
   2800 echo "${ECHO_T}no" >&6; }
   2801 fi
   2802 
   2803 
   2804 fi
   2805 if test -z "$ac_cv_prog_CC"; then
   2806   ac_ct_CC=$CC
   2807   # Extract the first word of "gcc", so it can be a program name with args.
   2808 set dummy gcc; ac_word=$2
   2809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2812   echo $ECHO_N "(cached) $ECHO_C" >&6
   2813 else
   2814   if test -n "$ac_ct_CC"; then
   2815   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2816 else
   2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2818 for as_dir in $PATH
   2819 do
   2820   IFS=$as_save_IFS
   2821   test -z "$as_dir" && as_dir=.
   2822   for ac_exec_ext in '' $ac_executable_extensions; do
   2823   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2824     ac_cv_prog_ac_ct_CC="gcc"
   2825     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2826     break 2
   2827   fi
   2828 done
   2829 done
   2830 IFS=$as_save_IFS
   2831 
   2832 fi
   2833 fi
   2834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2835 if test -n "$ac_ct_CC"; then
   2836   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2837 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2838 else
   2839   { echo "$as_me:$LINENO: result: no" >&5
   2840 echo "${ECHO_T}no" >&6; }
   2841 fi
   2842 
   2843   if test "x$ac_ct_CC" = x; then
   2844     CC=""
   2845   else
   2846     case $cross_compiling:$ac_tool_warned in
   2847 yes:)
   2848 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2849 whose name does not start with the host triplet.  If you think this
   2850 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2851 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2852 whose name does not start with the host triplet.  If you think this
   2853 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2854 ac_tool_warned=yes ;;
   2855 esac
   2856     CC=$ac_ct_CC
   2857   fi
   2858 else
   2859   CC="$ac_cv_prog_CC"
   2860 fi
   2861 
   2862 if test -z "$CC"; then
   2863           if test -n "$ac_tool_prefix"; then
   2864     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2865 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2868 if test "${ac_cv_prog_CC+set}" = set; then
   2869   echo $ECHO_N "(cached) $ECHO_C" >&6
   2870 else
   2871   if test -n "$CC"; then
   2872   ac_cv_prog_CC="$CC" # Let the user override the test.
   2873 else
   2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2875 for as_dir in $PATH
   2876 do
   2877   IFS=$as_save_IFS
   2878   test -z "$as_dir" && as_dir=.
   2879   for ac_exec_ext in '' $ac_executable_extensions; do
   2880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2881     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2882     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2883     break 2
   2884   fi
   2885 done
   2886 done
   2887 IFS=$as_save_IFS
   2888 
   2889 fi
   2890 fi
   2891 CC=$ac_cv_prog_CC
   2892 if test -n "$CC"; then
   2893   { echo "$as_me:$LINENO: result: $CC" >&5
   2894 echo "${ECHO_T}$CC" >&6; }
   2895 else
   2896   { echo "$as_me:$LINENO: result: no" >&5
   2897 echo "${ECHO_T}no" >&6; }
   2898 fi
   2899 
   2900 
   2901   fi
   2902 fi
   2903 if test -z "$CC"; then
   2904   # Extract the first word of "cc", so it can be a program name with args.
   2905 set dummy cc; ac_word=$2
   2906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2908 if test "${ac_cv_prog_CC+set}" = set; then
   2909   echo $ECHO_N "(cached) $ECHO_C" >&6
   2910 else
   2911   if test -n "$CC"; then
   2912   ac_cv_prog_CC="$CC" # Let the user override the test.
   2913 else
   2914   ac_prog_rejected=no
   2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2916 for as_dir in $PATH
   2917 do
   2918   IFS=$as_save_IFS
   2919   test -z "$as_dir" && as_dir=.
   2920   for ac_exec_ext in '' $ac_executable_extensions; do
   2921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2922     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2923        ac_prog_rejected=yes
   2924        continue
   2925      fi
   2926     ac_cv_prog_CC="cc"
   2927     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2928     break 2
   2929   fi
   2930 done
   2931 done
   2932 IFS=$as_save_IFS
   2933 
   2934 if test $ac_prog_rejected = yes; then
   2935   # We found a bogon in the path, so make sure we never use it.
   2936   set dummy $ac_cv_prog_CC
   2937   shift
   2938   if test $# != 0; then
   2939     # We chose a different compiler from the bogus one.
   2940     # However, it has the same basename, so the bogon will be chosen
   2941     # first if we set CC to just the basename; use the full file name.
   2942     shift
   2943     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2944   fi
   2945 fi
   2946 fi
   2947 fi
   2948 CC=$ac_cv_prog_CC
   2949 if test -n "$CC"; then
   2950   { echo "$as_me:$LINENO: result: $CC" >&5
   2951 echo "${ECHO_T}$CC" >&6; }
   2952 else
   2953   { echo "$as_me:$LINENO: result: no" >&5
   2954 echo "${ECHO_T}no" >&6; }
   2955 fi
   2956 
   2957 
   2958 fi
   2959 if test -z "$CC"; then
   2960   if test -n "$ac_tool_prefix"; then
   2961   for ac_prog in cl.exe
   2962   do
   2963     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2967 if test "${ac_cv_prog_CC+set}" = set; then
   2968   echo $ECHO_N "(cached) $ECHO_C" >&6
   2969 else
   2970   if test -n "$CC"; then
   2971   ac_cv_prog_CC="$CC" # Let the user override the test.
   2972 else
   2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2974 for as_dir in $PATH
   2975 do
   2976   IFS=$as_save_IFS
   2977   test -z "$as_dir" && as_dir=.
   2978   for ac_exec_ext in '' $ac_executable_extensions; do
   2979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2980     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2981     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2982     break 2
   2983   fi
   2984 done
   2985 done
   2986 IFS=$as_save_IFS
   2987 
   2988 fi
   2989 fi
   2990 CC=$ac_cv_prog_CC
   2991 if test -n "$CC"; then
   2992   { echo "$as_me:$LINENO: result: $CC" >&5
   2993 echo "${ECHO_T}$CC" >&6; }
   2994 else
   2995   { echo "$as_me:$LINENO: result: no" >&5
   2996 echo "${ECHO_T}no" >&6; }
   2997 fi
   2998 
   2999 
   3000     test -n "$CC" && break
   3001   done
   3002 fi
   3003 if test -z "$CC"; then
   3004   ac_ct_CC=$CC
   3005   for ac_prog in cl.exe
   3006 do
   3007   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3008 set dummy $ac_prog; ac_word=$2
   3009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3011 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3012   echo $ECHO_N "(cached) $ECHO_C" >&6
   3013 else
   3014   if test -n "$ac_ct_CC"; then
   3015   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3016 else
   3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH
   3019 do
   3020   IFS=$as_save_IFS
   3021   test -z "$as_dir" && as_dir=.
   3022   for ac_exec_ext in '' $ac_executable_extensions; do
   3023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3024     ac_cv_prog_ac_ct_CC="$ac_prog"
   3025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3026     break 2
   3027   fi
   3028 done
   3029 done
   3030 IFS=$as_save_IFS
   3031 
   3032 fi
   3033 fi
   3034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3035 if test -n "$ac_ct_CC"; then
   3036   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3037 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3038 else
   3039   { echo "$as_me:$LINENO: result: no" >&5
   3040 echo "${ECHO_T}no" >&6; }
   3041 fi
   3042 
   3043 
   3044   test -n "$ac_ct_CC" && break
   3045 done
   3046 
   3047   if test "x$ac_ct_CC" = x; then
   3048     CC=""
   3049   else
   3050     case $cross_compiling:$ac_tool_warned in
   3051 yes:)
   3052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3053 whose name does not start with the host triplet.  If you think this
   3054 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3056 whose name does not start with the host triplet.  If you think this
   3057 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3058 ac_tool_warned=yes ;;
   3059 esac
   3060     CC=$ac_ct_CC
   3061   fi
   3062 fi
   3063 
   3064 fi
   3065 
   3066 
   3067 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3068 See \`config.log' for more details." >&5
   3069 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3070 See \`config.log' for more details." >&2;}
   3071    { (exit 1); exit 1; }; }
   3072 
   3073 # Provide some information about the compiler.
   3074 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3075 ac_compiler=`set X $ac_compile; echo $2`
   3076 { (ac_try="$ac_compiler --version >&5"
   3077 case "(($ac_try" in
   3078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3079   *) ac_try_echo=$ac_try;;
   3080 esac
   3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3082   (eval "$ac_compiler --version >&5") 2>&5
   3083   ac_status=$?
   3084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3085   (exit $ac_status); }
   3086 { (ac_try="$ac_compiler -v >&5"
   3087 case "(($ac_try" in
   3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3089   *) ac_try_echo=$ac_try;;
   3090 esac
   3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3092   (eval "$ac_compiler -v >&5") 2>&5
   3093   ac_status=$?
   3094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3095   (exit $ac_status); }
   3096 { (ac_try="$ac_compiler -V >&5"
   3097 case "(($ac_try" in
   3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3099   *) ac_try_echo=$ac_try;;
   3100 esac
   3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3102   (eval "$ac_compiler -V >&5") 2>&5
   3103   ac_status=$?
   3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3105   (exit $ac_status); }
   3106 
   3107 cat >conftest.$ac_ext <<_ACEOF
   3108 /* confdefs.h.  */
   3109 _ACEOF
   3110 cat confdefs.h >>conftest.$ac_ext
   3111 cat >>conftest.$ac_ext <<_ACEOF
   3112 /* end confdefs.h.  */
   3113 
   3114 int
   3115 main ()
   3116 {
   3117 
   3118   ;
   3119   return 0;
   3120 }
   3121 _ACEOF
   3122 ac_clean_files_save=$ac_clean_files
   3123 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3124 # Try to create an executable without -o first, disregard a.out.
   3125 # It will help us diagnose broken compilers, and finding out an intuition
   3126 # of exeext.
   3127 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3128 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3129 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3130 #
   3131 # List of possible output files, starting from the most likely.
   3132 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3133 # only as a last resort.  b.out is created by i960 compilers.
   3134 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3135 #
   3136 # The IRIX 6 linker writes into existing files which may not be
   3137 # executable, retaining their permissions.  Remove them first so a
   3138 # subsequent execution test works.
   3139 ac_rmfiles=
   3140 for ac_file in $ac_files
   3141 do
   3142   case $ac_file in
   3143     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3144     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3145   esac
   3146 done
   3147 rm -f $ac_rmfiles
   3148 
   3149 if { (ac_try="$ac_link_default"
   3150 case "(($ac_try" in
   3151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3152   *) ac_try_echo=$ac_try;;
   3153 esac
   3154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3155   (eval "$ac_link_default") 2>&5
   3156   ac_status=$?
   3157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3158   (exit $ac_status); }; then
   3159   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3160 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3161 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3162 # so that the user can short-circuit this test for compilers unknown to
   3163 # Autoconf.
   3164 for ac_file in $ac_files ''
   3165 do
   3166   test -f "$ac_file" || continue
   3167   case $ac_file in
   3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3169 	;;
   3170     [ab].out )
   3171 	# We found the default executable, but exeext='' is most
   3172 	# certainly right.
   3173 	break;;
   3174     *.* )
   3175         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3176 	then :; else
   3177 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3178 	fi
   3179 	# We set ac_cv_exeext here because the later test for it is not
   3180 	# safe: cross compilers may not add the suffix if given an `-o'
   3181 	# argument, so we may need to know it at that point already.
   3182 	# Even if this section looks crufty: it has the advantage of
   3183 	# actually working.
   3184 	break;;
   3185     * )
   3186 	break;;
   3187   esac
   3188 done
   3189 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3190 
   3191 else
   3192   ac_file=''
   3193 fi
   3194 
   3195 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3196 echo "${ECHO_T}$ac_file" >&6; }
   3197 if test -z "$ac_file"; then
   3198   echo "$as_me: failed program was:" >&5
   3199 sed 's/^/| /' conftest.$ac_ext >&5
   3200 
   3201 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3202 See \`config.log' for more details." >&5
   3203 echo "$as_me: error: C compiler cannot create executables
   3204 See \`config.log' for more details." >&2;}
   3205    { (exit 77); exit 77; }; }
   3206 fi
   3207 
   3208 ac_exeext=$ac_cv_exeext
   3209 
   3210 # Check that the compiler produces executables we can run.  If not, either
   3211 # the compiler is broken, or we cross compile.
   3212 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3213 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3214 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3215 # If not cross compiling, check that we can run a simple program.
   3216 if test "$cross_compiling" != yes; then
   3217   if { ac_try='./$ac_file'
   3218   { (case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3223   (eval "$ac_try") 2>&5
   3224   ac_status=$?
   3225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3226   (exit $ac_status); }; }; then
   3227     cross_compiling=no
   3228   else
   3229     if test "$cross_compiling" = maybe; then
   3230 	cross_compiling=yes
   3231     else
   3232 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3233 If you meant to cross compile, use \`--host'.
   3234 See \`config.log' for more details." >&5
   3235 echo "$as_me: error: cannot run C compiled programs.
   3236 If you meant to cross compile, use \`--host'.
   3237 See \`config.log' for more details." >&2;}
   3238    { (exit 1); exit 1; }; }
   3239     fi
   3240   fi
   3241 fi
   3242 { echo "$as_me:$LINENO: result: yes" >&5
   3243 echo "${ECHO_T}yes" >&6; }
   3244 
   3245 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3246 ac_clean_files=$ac_clean_files_save
   3247 # Check that the compiler produces executables we can run.  If not, either
   3248 # the compiler is broken, or we cross compile.
   3249 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3250 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3251 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3252 echo "${ECHO_T}$cross_compiling" >&6; }
   3253 
   3254 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3255 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3256 if { (ac_try="$ac_link"
   3257 case "(($ac_try" in
   3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3259   *) ac_try_echo=$ac_try;;
   3260 esac
   3261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3262   (eval "$ac_link") 2>&5
   3263   ac_status=$?
   3264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3265   (exit $ac_status); }; then
   3266   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3267 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3268 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3269 # `rm'.
   3270 for ac_file in conftest.exe conftest conftest.*; do
   3271   test -f "$ac_file" || continue
   3272   case $ac_file in
   3273     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3274     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3275 	  break;;
   3276     * ) break;;
   3277   esac
   3278 done
   3279 else
   3280   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3281 See \`config.log' for more details." >&5
   3282 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3283 See \`config.log' for more details." >&2;}
   3284    { (exit 1); exit 1; }; }
   3285 fi
   3286 
   3287 rm -f conftest$ac_cv_exeext
   3288 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3289 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3290 
   3291 rm -f conftest.$ac_ext
   3292 EXEEXT=$ac_cv_exeext
   3293 ac_exeext=$EXEEXT
   3294 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3295 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3296 if test "${ac_cv_objext+set}" = set; then
   3297   echo $ECHO_N "(cached) $ECHO_C" >&6
   3298 else
   3299   cat >conftest.$ac_ext <<_ACEOF
   3300 /* confdefs.h.  */
   3301 _ACEOF
   3302 cat confdefs.h >>conftest.$ac_ext
   3303 cat >>conftest.$ac_ext <<_ACEOF
   3304 /* end confdefs.h.  */
   3305 
   3306 int
   3307 main ()
   3308 {
   3309 
   3310   ;
   3311   return 0;
   3312 }
   3313 _ACEOF
   3314 rm -f conftest.o conftest.obj
   3315 if { (ac_try="$ac_compile"
   3316 case "(($ac_try" in
   3317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3318   *) ac_try_echo=$ac_try;;
   3319 esac
   3320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3321   (eval "$ac_compile") 2>&5
   3322   ac_status=$?
   3323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3324   (exit $ac_status); }; then
   3325   for ac_file in conftest.o conftest.obj conftest.*; do
   3326   test -f "$ac_file" || continue;
   3327   case $ac_file in
   3328     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3329     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3330        break;;
   3331   esac
   3332 done
   3333 else
   3334   echo "$as_me: failed program was:" >&5
   3335 sed 's/^/| /' conftest.$ac_ext >&5
   3336 
   3337 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3338 See \`config.log' for more details." >&5
   3339 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3340 See \`config.log' for more details." >&2;}
   3341    { (exit 1); exit 1; }; }
   3342 fi
   3343 
   3344 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3345 fi
   3346 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3347 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3348 OBJEXT=$ac_cv_objext
   3349 ac_objext=$OBJEXT
   3350 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3351 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3352 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3353   echo $ECHO_N "(cached) $ECHO_C" >&6
   3354 else
   3355   cat >conftest.$ac_ext <<_ACEOF
   3356 /* confdefs.h.  */
   3357 _ACEOF
   3358 cat confdefs.h >>conftest.$ac_ext
   3359 cat >>conftest.$ac_ext <<_ACEOF
   3360 /* end confdefs.h.  */
   3361 
   3362 int
   3363 main ()
   3364 {
   3365 #ifndef __GNUC__
   3366        choke me
   3367 #endif
   3368 
   3369   ;
   3370   return 0;
   3371 }
   3372 _ACEOF
   3373 rm -f conftest.$ac_objext
   3374 if { (ac_try="$ac_compile"
   3375 case "(($ac_try" in
   3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3377   *) ac_try_echo=$ac_try;;
   3378 esac
   3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3380   (eval "$ac_compile") 2>conftest.er1
   3381   ac_status=$?
   3382   grep -v '^ *+' conftest.er1 >conftest.err
   3383   rm -f conftest.er1
   3384   cat conftest.err >&5
   3385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3386   (exit $ac_status); } && {
   3387 	 test -z "$ac_c_werror_flag" ||
   3388 	 test ! -s conftest.err
   3389        } && test -s conftest.$ac_objext; then
   3390   ac_compiler_gnu=yes
   3391 else
   3392   echo "$as_me: failed program was:" >&5
   3393 sed 's/^/| /' conftest.$ac_ext >&5
   3394 
   3395 	ac_compiler_gnu=no
   3396 fi
   3397 
   3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3399 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3400 
   3401 fi
   3402 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3403 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3404 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3405 ac_test_CFLAGS=${CFLAGS+set}
   3406 ac_save_CFLAGS=$CFLAGS
   3407 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3408 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3409 if test "${ac_cv_prog_cc_g+set}" = set; then
   3410   echo $ECHO_N "(cached) $ECHO_C" >&6
   3411 else
   3412   ac_save_c_werror_flag=$ac_c_werror_flag
   3413    ac_c_werror_flag=yes
   3414    ac_cv_prog_cc_g=no
   3415    CFLAGS="-g"
   3416    cat >conftest.$ac_ext <<_ACEOF
   3417 /* confdefs.h.  */
   3418 _ACEOF
   3419 cat confdefs.h >>conftest.$ac_ext
   3420 cat >>conftest.$ac_ext <<_ACEOF
   3421 /* end confdefs.h.  */
   3422 
   3423 int
   3424 main ()
   3425 {
   3426 
   3427   ;
   3428   return 0;
   3429 }
   3430 _ACEOF
   3431 rm -f conftest.$ac_objext
   3432 if { (ac_try="$ac_compile"
   3433 case "(($ac_try" in
   3434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3435   *) ac_try_echo=$ac_try;;
   3436 esac
   3437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3438   (eval "$ac_compile") 2>conftest.er1
   3439   ac_status=$?
   3440   grep -v '^ *+' conftest.er1 >conftest.err
   3441   rm -f conftest.er1
   3442   cat conftest.err >&5
   3443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3444   (exit $ac_status); } && {
   3445 	 test -z "$ac_c_werror_flag" ||
   3446 	 test ! -s conftest.err
   3447        } && test -s conftest.$ac_objext; then
   3448   ac_cv_prog_cc_g=yes
   3449 else
   3450   echo "$as_me: failed program was:" >&5
   3451 sed 's/^/| /' conftest.$ac_ext >&5
   3452 
   3453 	CFLAGS=""
   3454       cat >conftest.$ac_ext <<_ACEOF
   3455 /* confdefs.h.  */
   3456 _ACEOF
   3457 cat confdefs.h >>conftest.$ac_ext
   3458 cat >>conftest.$ac_ext <<_ACEOF
   3459 /* end confdefs.h.  */
   3460 
   3461 int
   3462 main ()
   3463 {
   3464 
   3465   ;
   3466   return 0;
   3467 }
   3468 _ACEOF
   3469 rm -f conftest.$ac_objext
   3470 if { (ac_try="$ac_compile"
   3471 case "(($ac_try" in
   3472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3473   *) ac_try_echo=$ac_try;;
   3474 esac
   3475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3476   (eval "$ac_compile") 2>conftest.er1
   3477   ac_status=$?
   3478   grep -v '^ *+' conftest.er1 >conftest.err
   3479   rm -f conftest.er1
   3480   cat conftest.err >&5
   3481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3482   (exit $ac_status); } && {
   3483 	 test -z "$ac_c_werror_flag" ||
   3484 	 test ! -s conftest.err
   3485        } && test -s conftest.$ac_objext; then
   3486   :
   3487 else
   3488   echo "$as_me: failed program was:" >&5
   3489 sed 's/^/| /' conftest.$ac_ext >&5
   3490 
   3491 	ac_c_werror_flag=$ac_save_c_werror_flag
   3492 	 CFLAGS="-g"
   3493 	 cat >conftest.$ac_ext <<_ACEOF
   3494 /* confdefs.h.  */
   3495 _ACEOF
   3496 cat confdefs.h >>conftest.$ac_ext
   3497 cat >>conftest.$ac_ext <<_ACEOF
   3498 /* end confdefs.h.  */
   3499 
   3500 int
   3501 main ()
   3502 {
   3503 
   3504   ;
   3505   return 0;
   3506 }
   3507 _ACEOF
   3508 rm -f conftest.$ac_objext
   3509 if { (ac_try="$ac_compile"
   3510 case "(($ac_try" in
   3511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3512   *) ac_try_echo=$ac_try;;
   3513 esac
   3514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3515   (eval "$ac_compile") 2>conftest.er1
   3516   ac_status=$?
   3517   grep -v '^ *+' conftest.er1 >conftest.err
   3518   rm -f conftest.er1
   3519   cat conftest.err >&5
   3520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3521   (exit $ac_status); } && {
   3522 	 test -z "$ac_c_werror_flag" ||
   3523 	 test ! -s conftest.err
   3524        } && test -s conftest.$ac_objext; then
   3525   ac_cv_prog_cc_g=yes
   3526 else
   3527   echo "$as_me: failed program was:" >&5
   3528 sed 's/^/| /' conftest.$ac_ext >&5
   3529 
   3530 
   3531 fi
   3532 
   3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3534 fi
   3535 
   3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3537 fi
   3538 
   3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3540    ac_c_werror_flag=$ac_save_c_werror_flag
   3541 fi
   3542 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3543 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3544 if test "$ac_test_CFLAGS" = set; then
   3545   CFLAGS=$ac_save_CFLAGS
   3546 elif test $ac_cv_prog_cc_g = yes; then
   3547   if test "$GCC" = yes; then
   3548     CFLAGS="-g -O2"
   3549   else
   3550     CFLAGS="-g"
   3551   fi
   3552 else
   3553   if test "$GCC" = yes; then
   3554     CFLAGS="-O2"
   3555   else
   3556     CFLAGS=
   3557   fi
   3558 fi
   3559 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3560 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3561 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3562   echo $ECHO_N "(cached) $ECHO_C" >&6
   3563 else
   3564   ac_cv_prog_cc_c89=no
   3565 ac_save_CC=$CC
   3566 cat >conftest.$ac_ext <<_ACEOF
   3567 /* confdefs.h.  */
   3568 _ACEOF
   3569 cat confdefs.h >>conftest.$ac_ext
   3570 cat >>conftest.$ac_ext <<_ACEOF
   3571 /* end confdefs.h.  */
   3572 #include <stdarg.h>
   3573 #include <stdio.h>
   3574 #include <sys/types.h>
   3575 #include <sys/stat.h>
   3576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3577 struct buf { int x; };
   3578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3579 static char *e (p, i)
   3580      char **p;
   3581      int i;
   3582 {
   3583   return p[i];
   3584 }
   3585 static char *f (char * (*g) (char **, int), char **p, ...)
   3586 {
   3587   char *s;
   3588   va_list v;
   3589   va_start (v,p);
   3590   s = g (p, va_arg (v,int));
   3591   va_end (v);
   3592   return s;
   3593 }
   3594 
   3595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3596    function prototypes and stuff, but not '\xHH' hex character constants.
   3597    These don't provoke an error unfortunately, instead are silently treated
   3598    as 'x'.  The following induces an error, until -std is added to get
   3599    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3600    array size at least.  It's necessary to write '\x00'==0 to get something
   3601    that's true only with -std.  */
   3602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3603 
   3604 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3605    inside strings and character constants.  */
   3606 #define FOO(x) 'x'
   3607 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3608 
   3609 int test (int i, double x);
   3610 struct s1 {int (*f) (int a);};
   3611 struct s2 {int (*f) (double a);};
   3612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3613 int argc;
   3614 char **argv;
   3615 int
   3616 main ()
   3617 {
   3618 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3619   ;
   3620   return 0;
   3621 }
   3622 _ACEOF
   3623 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3624 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3625 do
   3626   CC="$ac_save_CC $ac_arg"
   3627   rm -f conftest.$ac_objext
   3628 if { (ac_try="$ac_compile"
   3629 case "(($ac_try" in
   3630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3631   *) ac_try_echo=$ac_try;;
   3632 esac
   3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3634   (eval "$ac_compile") 2>conftest.er1
   3635   ac_status=$?
   3636   grep -v '^ *+' conftest.er1 >conftest.err
   3637   rm -f conftest.er1
   3638   cat conftest.err >&5
   3639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3640   (exit $ac_status); } && {
   3641 	 test -z "$ac_c_werror_flag" ||
   3642 	 test ! -s conftest.err
   3643        } && test -s conftest.$ac_objext; then
   3644   ac_cv_prog_cc_c89=$ac_arg
   3645 else
   3646   echo "$as_me: failed program was:" >&5
   3647 sed 's/^/| /' conftest.$ac_ext >&5
   3648 
   3649 
   3650 fi
   3651 
   3652 rm -f core conftest.err conftest.$ac_objext
   3653   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3654 done
   3655 rm -f conftest.$ac_ext
   3656 CC=$ac_save_CC
   3657 
   3658 fi
   3659 # AC_CACHE_VAL
   3660 case "x$ac_cv_prog_cc_c89" in
   3661   x)
   3662     { echo "$as_me:$LINENO: result: none needed" >&5
   3663 echo "${ECHO_T}none needed" >&6; } ;;
   3664   xno)
   3665     { echo "$as_me:$LINENO: result: unsupported" >&5
   3666 echo "${ECHO_T}unsupported" >&6; } ;;
   3667   *)
   3668     CC="$CC $ac_cv_prog_cc_c89"
   3669     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3670 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3671 esac
   3672 
   3673 
   3674 ac_ext=c
   3675 ac_cpp='$CPP $CPPFLAGS'
   3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3679 
   3680 depcc="$CC"   am_compiler_list=
   3681 
   3682 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3683 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3684 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3685   echo $ECHO_N "(cached) $ECHO_C" >&6
   3686 else
   3687   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3688   # We make a subdir and do the tests there.  Otherwise we can end up
   3689   # making bogus files that we don't know about and never remove.  For
   3690   # instance it was reported that on HP-UX the gcc test will end up
   3691   # making a dummy file named `D' -- because `-MD' means `put the output
   3692   # in D'.
   3693   mkdir conftest.dir
   3694   # Copy depcomp to subdir because otherwise we won't find it if we're
   3695   # using a relative directory.
   3696   cp "$am_depcomp" conftest.dir
   3697   cd conftest.dir
   3698   # We will build objects and dependencies in a subdirectory because
   3699   # it helps to detect inapplicable dependency modes.  For instance
   3700   # both Tru64's cc and ICC support -MD to output dependencies as a
   3701   # side effect of compilation, but ICC will put the dependencies in
   3702   # the current directory while Tru64 will put them in the object
   3703   # directory.
   3704   mkdir sub
   3705 
   3706   am_cv_CC_dependencies_compiler_type=none
   3707   if test "$am_compiler_list" = ""; then
   3708      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3709   fi
   3710   for depmode in $am_compiler_list; do
   3711     # Setup a source with many dependencies, because some compilers
   3712     # like to wrap large dependency lists on column 80 (with \), and
   3713     # we should not choose a depcomp mode which is confused by this.
   3714     #
   3715     # We need to recreate these files for each test, as the compiler may
   3716     # overwrite some of them when testing with obscure command lines.
   3717     # This happens at least with the AIX C compiler.
   3718     : > sub/conftest.c
   3719     for i in 1 2 3 4 5 6; do
   3720       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3721       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3722       # Solaris 8's {/usr,}/bin/sh.
   3723       touch sub/conftst$i.h
   3724     done
   3725     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3726 
   3727     case $depmode in
   3728     nosideeffect)
   3729       # after this tag, mechanisms are not by side-effect, so they'll
   3730       # only be used when explicitly requested
   3731       if test "x$enable_dependency_tracking" = xyes; then
   3732 	continue
   3733       else
   3734 	break
   3735       fi
   3736       ;;
   3737     none) break ;;
   3738     esac
   3739     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3740     # mode.  It turns out that the SunPro C++ compiler does not properly
   3741     # handle `-M -o', and we need to detect this.
   3742     if depmode=$depmode \
   3743        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3744        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3745        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3746          >/dev/null 2>conftest.err &&
   3747        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3748        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3749        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3750        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3751       # icc doesn't choke on unknown options, it will just issue warnings
   3752       # or remarks (even with -Werror).  So we grep stderr for any message
   3753       # that says an option was ignored or not supported.
   3754       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3755       #   icc: Command line warning: ignoring option '-M'; no argument required
   3756       # The diagnosis changed in icc 8.0:
   3757       #   icc: Command line remark: option '-MP' not supported
   3758       if (grep 'ignoring option' conftest.err ||
   3759           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3760         am_cv_CC_dependencies_compiler_type=$depmode
   3761         break
   3762       fi
   3763     fi
   3764   done
   3765 
   3766   cd ..
   3767   rm -rf conftest.dir
   3768 else
   3769   am_cv_CC_dependencies_compiler_type=none
   3770 fi
   3771 
   3772 fi
   3773 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3774 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3775 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3776 
   3777  if
   3778   test "x$enable_dependency_tracking" != xno \
   3779   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3780   am__fastdepCC_TRUE=
   3781   am__fastdepCC_FALSE='#'
   3782 else
   3783   am__fastdepCC_TRUE='#'
   3784   am__fastdepCC_FALSE=
   3785 fi
   3786 
   3787 
   3788 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3789 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3790 if test "${lt_cv_path_SED+set}" = set; then
   3791   echo $ECHO_N "(cached) $ECHO_C" >&6
   3792 else
   3793   # Loop through the user's path and test for sed and gsed.
   3794 # Then use that list of sed's as ones to test for truncation.
   3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3796 for as_dir in $PATH
   3797 do
   3798   IFS=$as_save_IFS
   3799   test -z "$as_dir" && as_dir=.
   3800   for lt_ac_prog in sed gsed; do
   3801     for ac_exec_ext in '' $ac_executable_extensions; do
   3802       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3803         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3804       fi
   3805     done
   3806   done
   3807 done
   3808 IFS=$as_save_IFS
   3809 lt_ac_max=0
   3810 lt_ac_count=0
   3811 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3812 # along with /bin/sed that truncates output.
   3813 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3814   test ! -f $lt_ac_sed && continue
   3815   cat /dev/null > conftest.in
   3816   lt_ac_count=0
   3817   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3818   # Check for GNU sed and select it if it is found.
   3819   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3820     lt_cv_path_SED=$lt_ac_sed
   3821     break
   3822   fi
   3823   while true; do
   3824     cat conftest.in conftest.in >conftest.tmp
   3825     mv conftest.tmp conftest.in
   3826     cp conftest.in conftest.nl
   3827     echo >>conftest.nl
   3828     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3829     cmp -s conftest.out conftest.nl || break
   3830     # 10000 chars as input seems more than enough
   3831     test $lt_ac_count -gt 10 && break
   3832     lt_ac_count=`expr $lt_ac_count + 1`
   3833     if test $lt_ac_count -gt $lt_ac_max; then
   3834       lt_ac_max=$lt_ac_count
   3835       lt_cv_path_SED=$lt_ac_sed
   3836     fi
   3837   done
   3838 done
   3839 
   3840 fi
   3841 
   3842 SED=$lt_cv_path_SED
   3843 
   3844 { echo "$as_me:$LINENO: result: $SED" >&5
   3845 echo "${ECHO_T}$SED" >&6; }
   3846 
   3847 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3848 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3849 if test "${ac_cv_path_GREP+set}" = set; then
   3850   echo $ECHO_N "(cached) $ECHO_C" >&6
   3851 else
   3852   # Extract the first word of "grep ggrep" to use in msg output
   3853 if test -z "$GREP"; then
   3854 set dummy grep ggrep; ac_prog_name=$2
   3855 if test "${ac_cv_path_GREP+set}" = set; then
   3856   echo $ECHO_N "(cached) $ECHO_C" >&6
   3857 else
   3858   ac_path_GREP_found=false
   3859 # Loop through the user's path and test for each of PROGNAME-LIST
   3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3862 do
   3863   IFS=$as_save_IFS
   3864   test -z "$as_dir" && as_dir=.
   3865   for ac_prog in grep ggrep; do
   3866   for ac_exec_ext in '' $ac_executable_extensions; do
   3867     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3868     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3869     # Check for GNU ac_path_GREP and select it if it is found.
   3870   # Check for GNU $ac_path_GREP
   3871 case `"$ac_path_GREP" --version 2>&1` in
   3872 *GNU*)
   3873   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3874 *)
   3875   ac_count=0
   3876   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3877   while :
   3878   do
   3879     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3880     mv "conftest.tmp" "conftest.in"
   3881     cp "conftest.in" "conftest.nl"
   3882     echo 'GREP' >> "conftest.nl"
   3883     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3884     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3885     ac_count=`expr $ac_count + 1`
   3886     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3887       # Best one so far, save it but keep looking for a better one
   3888       ac_cv_path_GREP="$ac_path_GREP"
   3889       ac_path_GREP_max=$ac_count
   3890     fi
   3891     # 10*(2^10) chars as input seems more than enough
   3892     test $ac_count -gt 10 && break
   3893   done
   3894   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3895 esac
   3896 
   3897 
   3898     $ac_path_GREP_found && break 3
   3899   done
   3900 done
   3901 
   3902 done
   3903 IFS=$as_save_IFS
   3904 
   3905 
   3906 fi
   3907 
   3908 GREP="$ac_cv_path_GREP"
   3909 if test -z "$GREP"; then
   3910   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3911 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3912    { (exit 1); exit 1; }; }
   3913 fi
   3914 
   3915 else
   3916   ac_cv_path_GREP=$GREP
   3917 fi
   3918 
   3919 
   3920 fi
   3921 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3922 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3923  GREP="$ac_cv_path_GREP"
   3924 
   3925 
   3926 { echo "$as_me:$LINENO: checking for egrep" >&5
   3927 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3928 if test "${ac_cv_path_EGREP+set}" = set; then
   3929   echo $ECHO_N "(cached) $ECHO_C" >&6
   3930 else
   3931   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3932    then ac_cv_path_EGREP="$GREP -E"
   3933    else
   3934      # Extract the first word of "egrep" to use in msg output
   3935 if test -z "$EGREP"; then
   3936 set dummy egrep; ac_prog_name=$2
   3937 if test "${ac_cv_path_EGREP+set}" = set; then
   3938   echo $ECHO_N "(cached) $ECHO_C" >&6
   3939 else
   3940   ac_path_EGREP_found=false
   3941 # Loop through the user's path and test for each of PROGNAME-LIST
   3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3944 do
   3945   IFS=$as_save_IFS
   3946   test -z "$as_dir" && as_dir=.
   3947   for ac_prog in egrep; do
   3948   for ac_exec_ext in '' $ac_executable_extensions; do
   3949     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3950     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3951     # Check for GNU ac_path_EGREP and select it if it is found.
   3952   # Check for GNU $ac_path_EGREP
   3953 case `"$ac_path_EGREP" --version 2>&1` in
   3954 *GNU*)
   3955   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3956 *)
   3957   ac_count=0
   3958   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3959   while :
   3960   do
   3961     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3962     mv "conftest.tmp" "conftest.in"
   3963     cp "conftest.in" "conftest.nl"
   3964     echo 'EGREP' >> "conftest.nl"
   3965     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3966     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3967     ac_count=`expr $ac_count + 1`
   3968     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3969       # Best one so far, save it but keep looking for a better one
   3970       ac_cv_path_EGREP="$ac_path_EGREP"
   3971       ac_path_EGREP_max=$ac_count
   3972     fi
   3973     # 10*(2^10) chars as input seems more than enough
   3974     test $ac_count -gt 10 && break
   3975   done
   3976   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3977 esac
   3978 
   3979 
   3980     $ac_path_EGREP_found && break 3
   3981   done
   3982 done
   3983 
   3984 done
   3985 IFS=$as_save_IFS
   3986 
   3987 
   3988 fi
   3989 
   3990 EGREP="$ac_cv_path_EGREP"
   3991 if test -z "$EGREP"; then
   3992   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3993 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3994    { (exit 1); exit 1; }; }
   3995 fi
   3996 
   3997 else
   3998   ac_cv_path_EGREP=$EGREP
   3999 fi
   4000 
   4001 
   4002    fi
   4003 fi
   4004 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4005 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4006  EGREP="$ac_cv_path_EGREP"
   4007 
   4008 
   4009 
   4010 # Check whether --with-gnu-ld was given.
   4011 if test "${with_gnu_ld+set}" = set; then
   4012   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4013 else
   4014   with_gnu_ld=no
   4015 fi
   4016 
   4017 ac_prog=ld
   4018 if test "$GCC" = yes; then
   4019   # Check if gcc -print-prog-name=ld gives a path.
   4020   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4021 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4022   case $host in
   4023   *-*-mingw*)
   4024     # gcc leaves a trailing carriage return which upsets mingw
   4025     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4026   *)
   4027     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4028   esac
   4029   case $ac_prog in
   4030     # Accept absolute paths.
   4031     [\\/]* | ?:[\\/]*)
   4032       re_direlt='/[^/][^/]*/\.\./'
   4033       # Canonicalize the pathname of ld
   4034       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4035       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4036 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4037       done
   4038       test -z "$LD" && LD="$ac_prog"
   4039       ;;
   4040   "")
   4041     # If it fails, then pretend we aren't using GCC.
   4042     ac_prog=ld
   4043     ;;
   4044   *)
   4045     # If it is relative, then search for the first ld in PATH.
   4046     with_gnu_ld=unknown
   4047     ;;
   4048   esac
   4049 elif test "$with_gnu_ld" = yes; then
   4050   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4051 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4052 else
   4053   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4054 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4055 fi
   4056 if test "${lt_cv_path_LD+set}" = set; then
   4057   echo $ECHO_N "(cached) $ECHO_C" >&6
   4058 else
   4059   if test -z "$LD"; then
   4060   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4061   for ac_dir in $PATH; do
   4062     IFS="$lt_save_ifs"
   4063     test -z "$ac_dir" && ac_dir=.
   4064     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4065       lt_cv_path_LD="$ac_dir/$ac_prog"
   4066       # Check to see if the program is GNU ld.  I'd rather use --version,
   4067       # but apparently some variants of GNU ld only accept -v.
   4068       # Break only if it was the GNU/non-GNU ld that we prefer.
   4069       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4070       *GNU* | *'with BFD'*)
   4071 	test "$with_gnu_ld" != no && break
   4072 	;;
   4073       *)
   4074 	test "$with_gnu_ld" != yes && break
   4075 	;;
   4076       esac
   4077     fi
   4078   done
   4079   IFS="$lt_save_ifs"
   4080 else
   4081   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4082 fi
   4083 fi
   4084 
   4085 LD="$lt_cv_path_LD"
   4086 if test -n "$LD"; then
   4087   { echo "$as_me:$LINENO: result: $LD" >&5
   4088 echo "${ECHO_T}$LD" >&6; }
   4089 else
   4090   { echo "$as_me:$LINENO: result: no" >&5
   4091 echo "${ECHO_T}no" >&6; }
   4092 fi
   4093 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4094 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4095    { (exit 1); exit 1; }; }
   4096 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4097 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4098 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4099   echo $ECHO_N "(cached) $ECHO_C" >&6
   4100 else
   4101   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4102 case `$LD -v 2>&1 </dev/null` in
   4103 *GNU* | *'with BFD'*)
   4104   lt_cv_prog_gnu_ld=yes
   4105   ;;
   4106 *)
   4107   lt_cv_prog_gnu_ld=no
   4108   ;;
   4109 esac
   4110 fi
   4111 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4112 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4113 with_gnu_ld=$lt_cv_prog_gnu_ld
   4114 
   4115 
   4116 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4117 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4118 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4119   echo $ECHO_N "(cached) $ECHO_C" >&6
   4120 else
   4121   lt_cv_ld_reload_flag='-r'
   4122 fi
   4123 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4124 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4125 reload_flag=$lt_cv_ld_reload_flag
   4126 case $reload_flag in
   4127 "" | " "*) ;;
   4128 *) reload_flag=" $reload_flag" ;;
   4129 esac
   4130 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4131 case $host_os in
   4132   darwin*)
   4133     if test "$GCC" = yes; then
   4134       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4135     else
   4136       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4137     fi
   4138     ;;
   4139 esac
   4140 
   4141 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4142 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4143 if test "${lt_cv_path_NM+set}" = set; then
   4144   echo $ECHO_N "(cached) $ECHO_C" >&6
   4145 else
   4146   if test -n "$NM"; then
   4147   # Let the user override the test.
   4148   lt_cv_path_NM="$NM"
   4149 else
   4150   lt_nm_to_check="${ac_tool_prefix}nm"
   4151   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4152     lt_nm_to_check="$lt_nm_to_check nm"
   4153   fi
   4154   for lt_tmp_nm in $lt_nm_to_check; do
   4155     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4156     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4157       IFS="$lt_save_ifs"
   4158       test -z "$ac_dir" && ac_dir=.
   4159       tmp_nm="$ac_dir/$lt_tmp_nm"
   4160       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4161 	# Check to see if the nm accepts a BSD-compat flag.
   4162 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4163 	#   nm: unknown option "B" ignored
   4164 	# Tru64's nm complains that /dev/null is an invalid object file
   4165 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4166 	*/dev/null* | *'Invalid file or object type'*)
   4167 	  lt_cv_path_NM="$tmp_nm -B"
   4168 	  break
   4169 	  ;;
   4170 	*)
   4171 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4172 	  */dev/null*)
   4173 	    lt_cv_path_NM="$tmp_nm -p"
   4174 	    break
   4175 	    ;;
   4176 	  *)
   4177 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4178 	    continue # so that we can try to find one that supports BSD flags
   4179 	    ;;
   4180 	  esac
   4181 	  ;;
   4182 	esac
   4183       fi
   4184     done
   4185     IFS="$lt_save_ifs"
   4186   done
   4187   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4188 fi
   4189 fi
   4190 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4191 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4192 NM="$lt_cv_path_NM"
   4193 
   4194 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4195 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4196 LN_S=$as_ln_s
   4197 if test "$LN_S" = "ln -s"; then
   4198   { echo "$as_me:$LINENO: result: yes" >&5
   4199 echo "${ECHO_T}yes" >&6; }
   4200 else
   4201   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4202 echo "${ECHO_T}no, using $LN_S" >&6; }
   4203 fi
   4204 
   4205 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4206 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4207 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4208   echo $ECHO_N "(cached) $ECHO_C" >&6
   4209 else
   4210   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4211 lt_cv_file_magic_test_file=
   4212 lt_cv_deplibs_check_method='unknown'
   4213 # Need to set the preceding variable on all platforms that support
   4214 # interlibrary dependencies.
   4215 # 'none' -- dependencies not supported.
   4216 # `unknown' -- same as none, but documents that we really don't know.
   4217 # 'pass_all' -- all dependencies passed with no checks.
   4218 # 'test_compile' -- check by making test program.
   4219 # 'file_magic [[regex]]' -- check by looking for files in library path
   4220 # which responds to the $file_magic_cmd with a given extended regex.
   4221 # If you have `file' or equivalent on your system and you're not sure
   4222 # whether `pass_all' will *always* work, you probably want this one.
   4223 
   4224 case $host_os in
   4225 aix4* | aix5*)
   4226   lt_cv_deplibs_check_method=pass_all
   4227   ;;
   4228 
   4229 beos*)
   4230   lt_cv_deplibs_check_method=pass_all
   4231   ;;
   4232 
   4233 bsdi[45]*)
   4234   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4235   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4236   lt_cv_file_magic_test_file=/shlib/libc.so
   4237   ;;
   4238 
   4239 cygwin*)
   4240   # func_win32_libid is a shell function defined in ltmain.sh
   4241   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4242   lt_cv_file_magic_cmd='func_win32_libid'
   4243   ;;
   4244 
   4245 mingw* | pw32*)
   4246   # Base MSYS/MinGW do not provide the 'file' command needed by
   4247   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4248   # unless we find 'file', for example because we are cross-compiling.
   4249   if ( file / ) >/dev/null 2>&1; then
   4250     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4251     lt_cv_file_magic_cmd='func_win32_libid'
   4252   else
   4253     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4254     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4255   fi
   4256   ;;
   4257 
   4258 darwin* | rhapsody*)
   4259   lt_cv_deplibs_check_method=pass_all
   4260   ;;
   4261 
   4262 freebsd* | dragonfly*)
   4263   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4264     case $host_cpu in
   4265     i*86 )
   4266       # Not sure whether the presence of OpenBSD here was a mistake.
   4267       # Let's accept both of them until this is cleared up.
   4268       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4269       lt_cv_file_magic_cmd=/usr/bin/file
   4270       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4271       ;;
   4272     esac
   4273   else
   4274     lt_cv_deplibs_check_method=pass_all
   4275   fi
   4276   ;;
   4277 
   4278 gnu*)
   4279   lt_cv_deplibs_check_method=pass_all
   4280   ;;
   4281 
   4282 hpux10.20* | hpux11*)
   4283   lt_cv_file_magic_cmd=/usr/bin/file
   4284   case $host_cpu in
   4285   ia64*)
   4286     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4287     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4288     ;;
   4289   hppa*64*)
   4290     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]'
   4291     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4292     ;;
   4293   *)
   4294     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4295     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4296     ;;
   4297   esac
   4298   ;;
   4299 
   4300 interix[3-9]*)
   4301   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4302   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4303   ;;
   4304 
   4305 irix5* | irix6* | nonstopux*)
   4306   case $LD in
   4307   *-32|*"-32 ") libmagic=32-bit;;
   4308   *-n32|*"-n32 ") libmagic=N32;;
   4309   *-64|*"-64 ") libmagic=64-bit;;
   4310   *) libmagic=never-match;;
   4311   esac
   4312   lt_cv_deplibs_check_method=pass_all
   4313   ;;
   4314 
   4315 # This must be Linux ELF.
   4316 linux* | k*bsd*-gnu)
   4317   lt_cv_deplibs_check_method=pass_all
   4318   ;;
   4319 
   4320 netbsd*)
   4321   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4322     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4323   else
   4324     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4325   fi
   4326   ;;
   4327 
   4328 newos6*)
   4329   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4330   lt_cv_file_magic_cmd=/usr/bin/file
   4331   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4332   ;;
   4333 
   4334 nto-qnx*)
   4335   lt_cv_deplibs_check_method=unknown
   4336   ;;
   4337 
   4338 openbsd*)
   4339   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4340     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4341   else
   4342     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4343   fi
   4344   ;;
   4345 
   4346 osf3* | osf4* | osf5*)
   4347   lt_cv_deplibs_check_method=pass_all
   4348   ;;
   4349 
   4350 rdos*)
   4351   lt_cv_deplibs_check_method=pass_all
   4352   ;;
   4353 
   4354 solaris*)
   4355   lt_cv_deplibs_check_method=pass_all
   4356   ;;
   4357 
   4358 sysv4 | sysv4.3*)
   4359   case $host_vendor in
   4360   motorola)
   4361     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]'
   4362     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4363     ;;
   4364   ncr)
   4365     lt_cv_deplibs_check_method=pass_all
   4366     ;;
   4367   sequent)
   4368     lt_cv_file_magic_cmd='/bin/file'
   4369     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4370     ;;
   4371   sni)
   4372     lt_cv_file_magic_cmd='/bin/file'
   4373     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4374     lt_cv_file_magic_test_file=/lib/libc.so
   4375     ;;
   4376   siemens)
   4377     lt_cv_deplibs_check_method=pass_all
   4378     ;;
   4379   pc)
   4380     lt_cv_deplibs_check_method=pass_all
   4381     ;;
   4382   esac
   4383   ;;
   4384 
   4385 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4386   lt_cv_deplibs_check_method=pass_all
   4387   ;;
   4388 esac
   4389 
   4390 fi
   4391 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4392 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4393 file_magic_cmd=$lt_cv_file_magic_cmd
   4394 deplibs_check_method=$lt_cv_deplibs_check_method
   4395 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4396 
   4397 
   4398 
   4399 
   4400 # If no C compiler was specified, use CC.
   4401 LTCC=${LTCC-"$CC"}
   4402 
   4403 # If no C compiler flags were specified, use CFLAGS.
   4404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4405 
   4406 # Allow CC to be a program name with arguments.
   4407 compiler=$CC
   4408 
   4409 
   4410 # Check whether --enable-libtool-lock was given.
   4411 if test "${enable_libtool_lock+set}" = set; then
   4412   enableval=$enable_libtool_lock;
   4413 fi
   4414 
   4415 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4416 
   4417 # Some flags need to be propagated to the compiler or linker for good
   4418 # libtool support.
   4419 case $host in
   4420 ia64-*-hpux*)
   4421   # Find out which ABI we are using.
   4422   echo 'int i;' > conftest.$ac_ext
   4423   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4424   (eval $ac_compile) 2>&5
   4425   ac_status=$?
   4426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4427   (exit $ac_status); }; then
   4428     case `/usr/bin/file conftest.$ac_objext` in
   4429     *ELF-32*)
   4430       HPUX_IA64_MODE="32"
   4431       ;;
   4432     *ELF-64*)
   4433       HPUX_IA64_MODE="64"
   4434       ;;
   4435     esac
   4436   fi
   4437   rm -rf conftest*
   4438   ;;
   4439 *-*-irix6*)
   4440   # Find out which ABI we are using.
   4441   echo '#line 4441 "configure"' > conftest.$ac_ext
   4442   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4443   (eval $ac_compile) 2>&5
   4444   ac_status=$?
   4445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4446   (exit $ac_status); }; then
   4447    if test "$lt_cv_prog_gnu_ld" = yes; then
   4448     case `/usr/bin/file conftest.$ac_objext` in
   4449     *32-bit*)
   4450       LD="${LD-ld} -melf32bsmip"
   4451       ;;
   4452     *N32*)
   4453       LD="${LD-ld} -melf32bmipn32"
   4454       ;;
   4455     *64-bit*)
   4456       LD="${LD-ld} -melf64bmip"
   4457       ;;
   4458     esac
   4459    else
   4460     case `/usr/bin/file conftest.$ac_objext` in
   4461     *32-bit*)
   4462       LD="${LD-ld} -32"
   4463       ;;
   4464     *N32*)
   4465       LD="${LD-ld} -n32"
   4466       ;;
   4467     *64-bit*)
   4468       LD="${LD-ld} -64"
   4469       ;;
   4470     esac
   4471    fi
   4472   fi
   4473   rm -rf conftest*
   4474   ;;
   4475 
   4476 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4477 s390*-*linux*|sparc*-*linux*)
   4478   # Find out which ABI we are using.
   4479   echo 'int i;' > conftest.$ac_ext
   4480   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4481   (eval $ac_compile) 2>&5
   4482   ac_status=$?
   4483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4484   (exit $ac_status); }; then
   4485     case `/usr/bin/file conftest.o` in
   4486     *32-bit*)
   4487       case $host in
   4488         x86_64-*kfreebsd*-gnu)
   4489           LD="${LD-ld} -m elf_i386_fbsd"
   4490           ;;
   4491         x86_64-*linux*)
   4492           LD="${LD-ld} -m elf_i386"
   4493           ;;
   4494         ppc64-*linux*|powerpc64-*linux*)
   4495           LD="${LD-ld} -m elf32ppclinux"
   4496           ;;
   4497         s390x-*linux*)
   4498           LD="${LD-ld} -m elf_s390"
   4499           ;;
   4500         sparc64-*linux*)
   4501           LD="${LD-ld} -m elf32_sparc"
   4502           ;;
   4503       esac
   4504       ;;
   4505     *64-bit*)
   4506       case $host in
   4507         x86_64-*kfreebsd*-gnu)
   4508           LD="${LD-ld} -m elf_x86_64_fbsd"
   4509           ;;
   4510         x86_64-*linux*)
   4511           LD="${LD-ld} -m elf_x86_64"
   4512           ;;
   4513         ppc*-*linux*|powerpc*-*linux*)
   4514           LD="${LD-ld} -m elf64ppc"
   4515           ;;
   4516         s390*-*linux*)
   4517           LD="${LD-ld} -m elf64_s390"
   4518           ;;
   4519         sparc*-*linux*)
   4520           LD="${LD-ld} -m elf64_sparc"
   4521           ;;
   4522       esac
   4523       ;;
   4524     esac
   4525   fi
   4526   rm -rf conftest*
   4527   ;;
   4528 
   4529 *-*-sco3.2v5*)
   4530   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4531   SAVE_CFLAGS="$CFLAGS"
   4532   CFLAGS="$CFLAGS -belf"
   4533   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4534 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4535 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4536   echo $ECHO_N "(cached) $ECHO_C" >&6
   4537 else
   4538   ac_ext=c
   4539 ac_cpp='$CPP $CPPFLAGS'
   4540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4543 
   4544      cat >conftest.$ac_ext <<_ACEOF
   4545 /* confdefs.h.  */
   4546 _ACEOF
   4547 cat confdefs.h >>conftest.$ac_ext
   4548 cat >>conftest.$ac_ext <<_ACEOF
   4549 /* end confdefs.h.  */
   4550 
   4551 int
   4552 main ()
   4553 {
   4554 
   4555   ;
   4556   return 0;
   4557 }
   4558 _ACEOF
   4559 rm -f conftest.$ac_objext conftest$ac_exeext
   4560 if { (ac_try="$ac_link"
   4561 case "(($ac_try" in
   4562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4563   *) ac_try_echo=$ac_try;;
   4564 esac
   4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4566   (eval "$ac_link") 2>conftest.er1
   4567   ac_status=$?
   4568   grep -v '^ *+' conftest.er1 >conftest.err
   4569   rm -f conftest.er1
   4570   cat conftest.err >&5
   4571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4572   (exit $ac_status); } && {
   4573 	 test -z "$ac_c_werror_flag" ||
   4574 	 test ! -s conftest.err
   4575        } && test -s conftest$ac_exeext &&
   4576        $as_test_x conftest$ac_exeext; then
   4577   lt_cv_cc_needs_belf=yes
   4578 else
   4579   echo "$as_me: failed program was:" >&5
   4580 sed 's/^/| /' conftest.$ac_ext >&5
   4581 
   4582 	lt_cv_cc_needs_belf=no
   4583 fi
   4584 
   4585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4586       conftest$ac_exeext conftest.$ac_ext
   4587      ac_ext=c
   4588 ac_cpp='$CPP $CPPFLAGS'
   4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4592 
   4593 fi
   4594 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4595 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4596   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4597     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4598     CFLAGS="$SAVE_CFLAGS"
   4599   fi
   4600   ;;
   4601 sparc*-*solaris*)
   4602   # Find out which ABI we are using.
   4603   echo 'int i;' > conftest.$ac_ext
   4604   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4605   (eval $ac_compile) 2>&5
   4606   ac_status=$?
   4607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4608   (exit $ac_status); }; then
   4609     case `/usr/bin/file conftest.o` in
   4610     *64-bit*)
   4611       case $lt_cv_prog_gnu_ld in
   4612       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4613       *)    LD="${LD-ld} -64" ;;
   4614       esac
   4615       ;;
   4616     esac
   4617   fi
   4618   rm -rf conftest*
   4619   ;;
   4620 
   4621 
   4622 esac
   4623 
   4624 need_locks="$enable_libtool_lock"
   4625 
   4626 
   4627 ac_ext=c
   4628 ac_cpp='$CPP $CPPFLAGS'
   4629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4632 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4633 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4634 # On Suns, sometimes $CPP names a directory.
   4635 if test -n "$CPP" && test -d "$CPP"; then
   4636   CPP=
   4637 fi
   4638 if test -z "$CPP"; then
   4639   if test "${ac_cv_prog_CPP+set}" = set; then
   4640   echo $ECHO_N "(cached) $ECHO_C" >&6
   4641 else
   4642       # Double quotes because CPP needs to be expanded
   4643     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4644     do
   4645       ac_preproc_ok=false
   4646 for ac_c_preproc_warn_flag in '' yes
   4647 do
   4648   # Use a header file that comes with gcc, so configuring glibc
   4649   # with a fresh cross-compiler works.
   4650   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4651   # <limits.h> exists even on freestanding compilers.
   4652   # On the NeXT, cc -E runs the code through the compiler's parser,
   4653   # not just through cpp. "Syntax error" is here to catch this case.
   4654   cat >conftest.$ac_ext <<_ACEOF
   4655 /* confdefs.h.  */
   4656 _ACEOF
   4657 cat confdefs.h >>conftest.$ac_ext
   4658 cat >>conftest.$ac_ext <<_ACEOF
   4659 /* end confdefs.h.  */
   4660 #ifdef __STDC__
   4661 # include <limits.h>
   4662 #else
   4663 # include <assert.h>
   4664 #endif
   4665 		     Syntax error
   4666 _ACEOF
   4667 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4668 case "(($ac_try" in
   4669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4670   *) ac_try_echo=$ac_try;;
   4671 esac
   4672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4673   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4674   ac_status=$?
   4675   grep -v '^ *+' conftest.er1 >conftest.err
   4676   rm -f conftest.er1
   4677   cat conftest.err >&5
   4678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4679   (exit $ac_status); } >/dev/null && {
   4680 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4681 	 test ! -s conftest.err
   4682        }; then
   4683   :
   4684 else
   4685   echo "$as_me: failed program was:" >&5
   4686 sed 's/^/| /' conftest.$ac_ext >&5
   4687 
   4688   # Broken: fails on valid input.
   4689 continue
   4690 fi
   4691 
   4692 rm -f conftest.err conftest.$ac_ext
   4693 
   4694   # OK, works on sane cases.  Now check whether nonexistent headers
   4695   # can be detected and how.
   4696   cat >conftest.$ac_ext <<_ACEOF
   4697 /* confdefs.h.  */
   4698 _ACEOF
   4699 cat confdefs.h >>conftest.$ac_ext
   4700 cat >>conftest.$ac_ext <<_ACEOF
   4701 /* end confdefs.h.  */
   4702 #include <ac_nonexistent.h>
   4703 _ACEOF
   4704 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4705 case "(($ac_try" in
   4706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4707   *) ac_try_echo=$ac_try;;
   4708 esac
   4709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4710   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4711   ac_status=$?
   4712   grep -v '^ *+' conftest.er1 >conftest.err
   4713   rm -f conftest.er1
   4714   cat conftest.err >&5
   4715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4716   (exit $ac_status); } >/dev/null && {
   4717 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4718 	 test ! -s conftest.err
   4719        }; then
   4720   # Broken: success on invalid input.
   4721 continue
   4722 else
   4723   echo "$as_me: failed program was:" >&5
   4724 sed 's/^/| /' conftest.$ac_ext >&5
   4725 
   4726   # Passes both tests.
   4727 ac_preproc_ok=:
   4728 break
   4729 fi
   4730 
   4731 rm -f conftest.err conftest.$ac_ext
   4732 
   4733 done
   4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4735 rm -f conftest.err conftest.$ac_ext
   4736 if $ac_preproc_ok; then
   4737   break
   4738 fi
   4739 
   4740     done
   4741     ac_cv_prog_CPP=$CPP
   4742 
   4743 fi
   4744   CPP=$ac_cv_prog_CPP
   4745 else
   4746   ac_cv_prog_CPP=$CPP
   4747 fi
   4748 { echo "$as_me:$LINENO: result: $CPP" >&5
   4749 echo "${ECHO_T}$CPP" >&6; }
   4750 ac_preproc_ok=false
   4751 for ac_c_preproc_warn_flag in '' yes
   4752 do
   4753   # Use a header file that comes with gcc, so configuring glibc
   4754   # with a fresh cross-compiler works.
   4755   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4756   # <limits.h> exists even on freestanding compilers.
   4757   # On the NeXT, cc -E runs the code through the compiler's parser,
   4758   # not just through cpp. "Syntax error" is here to catch this case.
   4759   cat >conftest.$ac_ext <<_ACEOF
   4760 /* confdefs.h.  */
   4761 _ACEOF
   4762 cat confdefs.h >>conftest.$ac_ext
   4763 cat >>conftest.$ac_ext <<_ACEOF
   4764 /* end confdefs.h.  */
   4765 #ifdef __STDC__
   4766 # include <limits.h>
   4767 #else
   4768 # include <assert.h>
   4769 #endif
   4770 		     Syntax error
   4771 _ACEOF
   4772 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4773 case "(($ac_try" in
   4774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4775   *) ac_try_echo=$ac_try;;
   4776 esac
   4777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4778   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4779   ac_status=$?
   4780   grep -v '^ *+' conftest.er1 >conftest.err
   4781   rm -f conftest.er1
   4782   cat conftest.err >&5
   4783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4784   (exit $ac_status); } >/dev/null && {
   4785 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4786 	 test ! -s conftest.err
   4787        }; then
   4788   :
   4789 else
   4790   echo "$as_me: failed program was:" >&5
   4791 sed 's/^/| /' conftest.$ac_ext >&5
   4792 
   4793   # Broken: fails on valid input.
   4794 continue
   4795 fi
   4796 
   4797 rm -f conftest.err conftest.$ac_ext
   4798 
   4799   # OK, works on sane cases.  Now check whether nonexistent headers
   4800   # can be detected and how.
   4801   cat >conftest.$ac_ext <<_ACEOF
   4802 /* confdefs.h.  */
   4803 _ACEOF
   4804 cat confdefs.h >>conftest.$ac_ext
   4805 cat >>conftest.$ac_ext <<_ACEOF
   4806 /* end confdefs.h.  */
   4807 #include <ac_nonexistent.h>
   4808 _ACEOF
   4809 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4810 case "(($ac_try" in
   4811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4812   *) ac_try_echo=$ac_try;;
   4813 esac
   4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4815   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4816   ac_status=$?
   4817   grep -v '^ *+' conftest.er1 >conftest.err
   4818   rm -f conftest.er1
   4819   cat conftest.err >&5
   4820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4821   (exit $ac_status); } >/dev/null && {
   4822 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4823 	 test ! -s conftest.err
   4824        }; then
   4825   # Broken: success on invalid input.
   4826 continue
   4827 else
   4828   echo "$as_me: failed program was:" >&5
   4829 sed 's/^/| /' conftest.$ac_ext >&5
   4830 
   4831   # Passes both tests.
   4832 ac_preproc_ok=:
   4833 break
   4834 fi
   4835 
   4836 rm -f conftest.err conftest.$ac_ext
   4837 
   4838 done
   4839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4840 rm -f conftest.err conftest.$ac_ext
   4841 if $ac_preproc_ok; then
   4842   :
   4843 else
   4844   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4845 See \`config.log' for more details." >&5
   4846 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4847 See \`config.log' for more details." >&2;}
   4848    { (exit 1); exit 1; }; }
   4849 fi
   4850 
   4851 ac_ext=c
   4852 ac_cpp='$CPP $CPPFLAGS'
   4853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4856 
   4857 
   4858 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4859 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4860 if test "${ac_cv_header_stdc+set}" = set; then
   4861   echo $ECHO_N "(cached) $ECHO_C" >&6
   4862 else
   4863   cat >conftest.$ac_ext <<_ACEOF
   4864 /* confdefs.h.  */
   4865 _ACEOF
   4866 cat confdefs.h >>conftest.$ac_ext
   4867 cat >>conftest.$ac_ext <<_ACEOF
   4868 /* end confdefs.h.  */
   4869 #include <stdlib.h>
   4870 #include <stdarg.h>
   4871 #include <string.h>
   4872 #include <float.h>
   4873 
   4874 int
   4875 main ()
   4876 {
   4877 
   4878   ;
   4879   return 0;
   4880 }
   4881 _ACEOF
   4882 rm -f conftest.$ac_objext
   4883 if { (ac_try="$ac_compile"
   4884 case "(($ac_try" in
   4885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4886   *) ac_try_echo=$ac_try;;
   4887 esac
   4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4889   (eval "$ac_compile") 2>conftest.er1
   4890   ac_status=$?
   4891   grep -v '^ *+' conftest.er1 >conftest.err
   4892   rm -f conftest.er1
   4893   cat conftest.err >&5
   4894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4895   (exit $ac_status); } && {
   4896 	 test -z "$ac_c_werror_flag" ||
   4897 	 test ! -s conftest.err
   4898        } && test -s conftest.$ac_objext; then
   4899   ac_cv_header_stdc=yes
   4900 else
   4901   echo "$as_me: failed program was:" >&5
   4902 sed 's/^/| /' conftest.$ac_ext >&5
   4903 
   4904 	ac_cv_header_stdc=no
   4905 fi
   4906 
   4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4908 
   4909 if test $ac_cv_header_stdc = yes; then
   4910   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4911   cat >conftest.$ac_ext <<_ACEOF
   4912 /* confdefs.h.  */
   4913 _ACEOF
   4914 cat confdefs.h >>conftest.$ac_ext
   4915 cat >>conftest.$ac_ext <<_ACEOF
   4916 /* end confdefs.h.  */
   4917 #include <string.h>
   4918 
   4919 _ACEOF
   4920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4921   $EGREP "memchr" >/dev/null 2>&1; then
   4922   :
   4923 else
   4924   ac_cv_header_stdc=no
   4925 fi
   4926 rm -f conftest*
   4927 
   4928 fi
   4929 
   4930 if test $ac_cv_header_stdc = yes; then
   4931   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4932   cat >conftest.$ac_ext <<_ACEOF
   4933 /* confdefs.h.  */
   4934 _ACEOF
   4935 cat confdefs.h >>conftest.$ac_ext
   4936 cat >>conftest.$ac_ext <<_ACEOF
   4937 /* end confdefs.h.  */
   4938 #include <stdlib.h>
   4939 
   4940 _ACEOF
   4941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4942   $EGREP "free" >/dev/null 2>&1; then
   4943   :
   4944 else
   4945   ac_cv_header_stdc=no
   4946 fi
   4947 rm -f conftest*
   4948 
   4949 fi
   4950 
   4951 if test $ac_cv_header_stdc = yes; then
   4952   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4953   if test "$cross_compiling" = yes; then
   4954   :
   4955 else
   4956   cat >conftest.$ac_ext <<_ACEOF
   4957 /* confdefs.h.  */
   4958 _ACEOF
   4959 cat confdefs.h >>conftest.$ac_ext
   4960 cat >>conftest.$ac_ext <<_ACEOF
   4961 /* end confdefs.h.  */
   4962 #include <ctype.h>
   4963 #include <stdlib.h>
   4964 #if ((' ' & 0x0FF) == 0x020)
   4965 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4966 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4967 #else
   4968 # define ISLOWER(c) \
   4969 		   (('a' <= (c) && (c) <= 'i') \
   4970 		     || ('j' <= (c) && (c) <= 'r') \
   4971 		     || ('s' <= (c) && (c) <= 'z'))
   4972 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4973 #endif
   4974 
   4975 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4976 int
   4977 main ()
   4978 {
   4979   int i;
   4980   for (i = 0; i < 256; i++)
   4981     if (XOR (islower (i), ISLOWER (i))
   4982 	|| toupper (i) != TOUPPER (i))
   4983       return 2;
   4984   return 0;
   4985 }
   4986 _ACEOF
   4987 rm -f conftest$ac_exeext
   4988 if { (ac_try="$ac_link"
   4989 case "(($ac_try" in
   4990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4991   *) ac_try_echo=$ac_try;;
   4992 esac
   4993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4994   (eval "$ac_link") 2>&5
   4995   ac_status=$?
   4996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4997   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4998   { (case "(($ac_try" in
   4999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5000   *) ac_try_echo=$ac_try;;
   5001 esac
   5002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5003   (eval "$ac_try") 2>&5
   5004   ac_status=$?
   5005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5006   (exit $ac_status); }; }; then
   5007   :
   5008 else
   5009   echo "$as_me: program exited with status $ac_status" >&5
   5010 echo "$as_me: failed program was:" >&5
   5011 sed 's/^/| /' conftest.$ac_ext >&5
   5012 
   5013 ( exit $ac_status )
   5014 ac_cv_header_stdc=no
   5015 fi
   5016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5017 fi
   5018 
   5019 
   5020 fi
   5021 fi
   5022 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5023 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5024 if test $ac_cv_header_stdc = yes; then
   5025 
   5026 cat >>confdefs.h <<\_ACEOF
   5027 #define STDC_HEADERS 1
   5028 _ACEOF
   5029 
   5030 fi
   5031 
   5032 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5043 		  inttypes.h stdint.h unistd.h
   5044 do
   5045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5046 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5048 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5049   echo $ECHO_N "(cached) $ECHO_C" >&6
   5050 else
   5051   cat >conftest.$ac_ext <<_ACEOF
   5052 /* confdefs.h.  */
   5053 _ACEOF
   5054 cat confdefs.h >>conftest.$ac_ext
   5055 cat >>conftest.$ac_ext <<_ACEOF
   5056 /* end confdefs.h.  */
   5057 $ac_includes_default
   5058 
   5059 #include <$ac_header>
   5060 _ACEOF
   5061 rm -f conftest.$ac_objext
   5062 if { (ac_try="$ac_compile"
   5063 case "(($ac_try" in
   5064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5065   *) ac_try_echo=$ac_try;;
   5066 esac
   5067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5068   (eval "$ac_compile") 2>conftest.er1
   5069   ac_status=$?
   5070   grep -v '^ *+' conftest.er1 >conftest.err
   5071   rm -f conftest.er1
   5072   cat conftest.err >&5
   5073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5074   (exit $ac_status); } && {
   5075 	 test -z "$ac_c_werror_flag" ||
   5076 	 test ! -s conftest.err
   5077        } && test -s conftest.$ac_objext; then
   5078   eval "$as_ac_Header=yes"
   5079 else
   5080   echo "$as_me: failed program was:" >&5
   5081 sed 's/^/| /' conftest.$ac_ext >&5
   5082 
   5083 	eval "$as_ac_Header=no"
   5084 fi
   5085 
   5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5087 fi
   5088 ac_res=`eval echo '${'$as_ac_Header'}'`
   5089 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5090 echo "${ECHO_T}$ac_res" >&6; }
   5091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5092   cat >>confdefs.h <<_ACEOF
   5093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5094 _ACEOF
   5095 
   5096 fi
   5097 
   5098 done
   5099 
   5100 
   5101 
   5102 for ac_header in dlfcn.h
   5103 do
   5104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5106   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5109   echo $ECHO_N "(cached) $ECHO_C" >&6
   5110 fi
   5111 ac_res=`eval echo '${'$as_ac_Header'}'`
   5112 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5113 echo "${ECHO_T}$ac_res" >&6; }
   5114 else
   5115   # Is the header compilable?
   5116 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5118 cat >conftest.$ac_ext <<_ACEOF
   5119 /* confdefs.h.  */
   5120 _ACEOF
   5121 cat confdefs.h >>conftest.$ac_ext
   5122 cat >>conftest.$ac_ext <<_ACEOF
   5123 /* end confdefs.h.  */
   5124 $ac_includes_default
   5125 #include <$ac_header>
   5126 _ACEOF
   5127 rm -f conftest.$ac_objext
   5128 if { (ac_try="$ac_compile"
   5129 case "(($ac_try" in
   5130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5131   *) ac_try_echo=$ac_try;;
   5132 esac
   5133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5134   (eval "$ac_compile") 2>conftest.er1
   5135   ac_status=$?
   5136   grep -v '^ *+' conftest.er1 >conftest.err
   5137   rm -f conftest.er1
   5138   cat conftest.err >&5
   5139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5140   (exit $ac_status); } && {
   5141 	 test -z "$ac_c_werror_flag" ||
   5142 	 test ! -s conftest.err
   5143        } && test -s conftest.$ac_objext; then
   5144   ac_header_compiler=yes
   5145 else
   5146   echo "$as_me: failed program was:" >&5
   5147 sed 's/^/| /' conftest.$ac_ext >&5
   5148 
   5149 	ac_header_compiler=no
   5150 fi
   5151 
   5152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5153 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5154 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5155 
   5156 # Is the header present?
   5157 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5159 cat >conftest.$ac_ext <<_ACEOF
   5160 /* confdefs.h.  */
   5161 _ACEOF
   5162 cat confdefs.h >>conftest.$ac_ext
   5163 cat >>conftest.$ac_ext <<_ACEOF
   5164 /* end confdefs.h.  */
   5165 #include <$ac_header>
   5166 _ACEOF
   5167 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5168 case "(($ac_try" in
   5169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5170   *) ac_try_echo=$ac_try;;
   5171 esac
   5172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5173   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5174   ac_status=$?
   5175   grep -v '^ *+' conftest.er1 >conftest.err
   5176   rm -f conftest.er1
   5177   cat conftest.err >&5
   5178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5179   (exit $ac_status); } >/dev/null && {
   5180 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5181 	 test ! -s conftest.err
   5182        }; then
   5183   ac_header_preproc=yes
   5184 else
   5185   echo "$as_me: failed program was:" >&5
   5186 sed 's/^/| /' conftest.$ac_ext >&5
   5187 
   5188   ac_header_preproc=no
   5189 fi
   5190 
   5191 rm -f conftest.err conftest.$ac_ext
   5192 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5193 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5194 
   5195 # So?  What about this header?
   5196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5197   yes:no: )
   5198     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5200     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5202     ac_header_preproc=yes
   5203     ;;
   5204   no:yes:* )
   5205     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5207     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5208 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5209     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5211     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5212 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5213     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5215     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5217     ( cat <<\_ASBOX
   5218 ## ---------------------------------------------------------------------- ##
   5219 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5220 ## ---------------------------------------------------------------------- ##
   5221 _ASBOX
   5222      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5223     ;;
   5224 esac
   5225 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5228   echo $ECHO_N "(cached) $ECHO_C" >&6
   5229 else
   5230   eval "$as_ac_Header=\$ac_header_preproc"
   5231 fi
   5232 ac_res=`eval echo '${'$as_ac_Header'}'`
   5233 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5234 echo "${ECHO_T}$ac_res" >&6; }
   5235 
   5236 fi
   5237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5238   cat >>confdefs.h <<_ACEOF
   5239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5240 _ACEOF
   5241 
   5242 fi
   5243 
   5244 done
   5245 
   5246 ac_ext=cpp
   5247 ac_cpp='$CXXCPP $CPPFLAGS'
   5248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5251 if test -z "$CXX"; then
   5252   if test -n "$CCC"; then
   5253     CXX=$CCC
   5254   else
   5255     if test -n "$ac_tool_prefix"; then
   5256   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5257   do
   5258     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5259 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5262 if test "${ac_cv_prog_CXX+set}" = set; then
   5263   echo $ECHO_N "(cached) $ECHO_C" >&6
   5264 else
   5265   if test -n "$CXX"; then
   5266   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5267 else
   5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5269 for as_dir in $PATH
   5270 do
   5271   IFS=$as_save_IFS
   5272   test -z "$as_dir" && as_dir=.
   5273   for ac_exec_ext in '' $ac_executable_extensions; do
   5274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5275     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5276     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5277     break 2
   5278   fi
   5279 done
   5280 done
   5281 IFS=$as_save_IFS
   5282 
   5283 fi
   5284 fi
   5285 CXX=$ac_cv_prog_CXX
   5286 if test -n "$CXX"; then
   5287   { echo "$as_me:$LINENO: result: $CXX" >&5
   5288 echo "${ECHO_T}$CXX" >&6; }
   5289 else
   5290   { echo "$as_me:$LINENO: result: no" >&5
   5291 echo "${ECHO_T}no" >&6; }
   5292 fi
   5293 
   5294 
   5295     test -n "$CXX" && break
   5296   done
   5297 fi
   5298 if test -z "$CXX"; then
   5299   ac_ct_CXX=$CXX
   5300   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5301 do
   5302   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5303 set dummy $ac_prog; ac_word=$2
   5304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5306 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5307   echo $ECHO_N "(cached) $ECHO_C" >&6
   5308 else
   5309   if test -n "$ac_ct_CXX"; then
   5310   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5311 else
   5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5313 for as_dir in $PATH
   5314 do
   5315   IFS=$as_save_IFS
   5316   test -z "$as_dir" && as_dir=.
   5317   for ac_exec_ext in '' $ac_executable_extensions; do
   5318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5319     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5320     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5321     break 2
   5322   fi
   5323 done
   5324 done
   5325 IFS=$as_save_IFS
   5326 
   5327 fi
   5328 fi
   5329 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5330 if test -n "$ac_ct_CXX"; then
   5331   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5332 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5333 else
   5334   { echo "$as_me:$LINENO: result: no" >&5
   5335 echo "${ECHO_T}no" >&6; }
   5336 fi
   5337 
   5338 
   5339   test -n "$ac_ct_CXX" && break
   5340 done
   5341 
   5342   if test "x$ac_ct_CXX" = x; then
   5343     CXX="g++"
   5344   else
   5345     case $cross_compiling:$ac_tool_warned in
   5346 yes:)
   5347 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5348 whose name does not start with the host triplet.  If you think this
   5349 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5350 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5351 whose name does not start with the host triplet.  If you think this
   5352 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5353 ac_tool_warned=yes ;;
   5354 esac
   5355     CXX=$ac_ct_CXX
   5356   fi
   5357 fi
   5358 
   5359   fi
   5360 fi
   5361 # Provide some information about the compiler.
   5362 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5363 ac_compiler=`set X $ac_compile; echo $2`
   5364 { (ac_try="$ac_compiler --version >&5"
   5365 case "(($ac_try" in
   5366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5367   *) ac_try_echo=$ac_try;;
   5368 esac
   5369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5370   (eval "$ac_compiler --version >&5") 2>&5
   5371   ac_status=$?
   5372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5373   (exit $ac_status); }
   5374 { (ac_try="$ac_compiler -v >&5"
   5375 case "(($ac_try" in
   5376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5377   *) ac_try_echo=$ac_try;;
   5378 esac
   5379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5380   (eval "$ac_compiler -v >&5") 2>&5
   5381   ac_status=$?
   5382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5383   (exit $ac_status); }
   5384 { (ac_try="$ac_compiler -V >&5"
   5385 case "(($ac_try" in
   5386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5387   *) ac_try_echo=$ac_try;;
   5388 esac
   5389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5390   (eval "$ac_compiler -V >&5") 2>&5
   5391   ac_status=$?
   5392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5393   (exit $ac_status); }
   5394 
   5395 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5396 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5397 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5398   echo $ECHO_N "(cached) $ECHO_C" >&6
   5399 else
   5400   cat >conftest.$ac_ext <<_ACEOF
   5401 /* confdefs.h.  */
   5402 _ACEOF
   5403 cat confdefs.h >>conftest.$ac_ext
   5404 cat >>conftest.$ac_ext <<_ACEOF
   5405 /* end confdefs.h.  */
   5406 
   5407 int
   5408 main ()
   5409 {
   5410 #ifndef __GNUC__
   5411        choke me
   5412 #endif
   5413 
   5414   ;
   5415   return 0;
   5416 }
   5417 _ACEOF
   5418 rm -f conftest.$ac_objext
   5419 if { (ac_try="$ac_compile"
   5420 case "(($ac_try" in
   5421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5422   *) ac_try_echo=$ac_try;;
   5423 esac
   5424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5425   (eval "$ac_compile") 2>conftest.er1
   5426   ac_status=$?
   5427   grep -v '^ *+' conftest.er1 >conftest.err
   5428   rm -f conftest.er1
   5429   cat conftest.err >&5
   5430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5431   (exit $ac_status); } && {
   5432 	 test -z "$ac_cxx_werror_flag" ||
   5433 	 test ! -s conftest.err
   5434        } && test -s conftest.$ac_objext; then
   5435   ac_compiler_gnu=yes
   5436 else
   5437   echo "$as_me: failed program was:" >&5
   5438 sed 's/^/| /' conftest.$ac_ext >&5
   5439 
   5440 	ac_compiler_gnu=no
   5441 fi
   5442 
   5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5444 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5445 
   5446 fi
   5447 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5448 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5449 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5450 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5451 ac_save_CXXFLAGS=$CXXFLAGS
   5452 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5454 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5455   echo $ECHO_N "(cached) $ECHO_C" >&6
   5456 else
   5457   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5458    ac_cxx_werror_flag=yes
   5459    ac_cv_prog_cxx_g=no
   5460    CXXFLAGS="-g"
   5461    cat >conftest.$ac_ext <<_ACEOF
   5462 /* confdefs.h.  */
   5463 _ACEOF
   5464 cat confdefs.h >>conftest.$ac_ext
   5465 cat >>conftest.$ac_ext <<_ACEOF
   5466 /* end confdefs.h.  */
   5467 
   5468 int
   5469 main ()
   5470 {
   5471 
   5472   ;
   5473   return 0;
   5474 }
   5475 _ACEOF
   5476 rm -f conftest.$ac_objext
   5477 if { (ac_try="$ac_compile"
   5478 case "(($ac_try" in
   5479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5480   *) ac_try_echo=$ac_try;;
   5481 esac
   5482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5483   (eval "$ac_compile") 2>conftest.er1
   5484   ac_status=$?
   5485   grep -v '^ *+' conftest.er1 >conftest.err
   5486   rm -f conftest.er1
   5487   cat conftest.err >&5
   5488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5489   (exit $ac_status); } && {
   5490 	 test -z "$ac_cxx_werror_flag" ||
   5491 	 test ! -s conftest.err
   5492        } && test -s conftest.$ac_objext; then
   5493   ac_cv_prog_cxx_g=yes
   5494 else
   5495   echo "$as_me: failed program was:" >&5
   5496 sed 's/^/| /' conftest.$ac_ext >&5
   5497 
   5498 	CXXFLAGS=""
   5499       cat >conftest.$ac_ext <<_ACEOF
   5500 /* confdefs.h.  */
   5501 _ACEOF
   5502 cat confdefs.h >>conftest.$ac_ext
   5503 cat >>conftest.$ac_ext <<_ACEOF
   5504 /* end confdefs.h.  */
   5505 
   5506 int
   5507 main ()
   5508 {
   5509 
   5510   ;
   5511   return 0;
   5512 }
   5513 _ACEOF
   5514 rm -f conftest.$ac_objext
   5515 if { (ac_try="$ac_compile"
   5516 case "(($ac_try" in
   5517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5518   *) ac_try_echo=$ac_try;;
   5519 esac
   5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5521   (eval "$ac_compile") 2>conftest.er1
   5522   ac_status=$?
   5523   grep -v '^ *+' conftest.er1 >conftest.err
   5524   rm -f conftest.er1
   5525   cat conftest.err >&5
   5526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5527   (exit $ac_status); } && {
   5528 	 test -z "$ac_cxx_werror_flag" ||
   5529 	 test ! -s conftest.err
   5530        } && test -s conftest.$ac_objext; then
   5531   :
   5532 else
   5533   echo "$as_me: failed program was:" >&5
   5534 sed 's/^/| /' conftest.$ac_ext >&5
   5535 
   5536 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5537 	 CXXFLAGS="-g"
   5538 	 cat >conftest.$ac_ext <<_ACEOF
   5539 /* confdefs.h.  */
   5540 _ACEOF
   5541 cat confdefs.h >>conftest.$ac_ext
   5542 cat >>conftest.$ac_ext <<_ACEOF
   5543 /* end confdefs.h.  */
   5544 
   5545 int
   5546 main ()
   5547 {
   5548 
   5549   ;
   5550   return 0;
   5551 }
   5552 _ACEOF
   5553 rm -f conftest.$ac_objext
   5554 if { (ac_try="$ac_compile"
   5555 case "(($ac_try" in
   5556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5557   *) ac_try_echo=$ac_try;;
   5558 esac
   5559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5560   (eval "$ac_compile") 2>conftest.er1
   5561   ac_status=$?
   5562   grep -v '^ *+' conftest.er1 >conftest.err
   5563   rm -f conftest.er1
   5564   cat conftest.err >&5
   5565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5566   (exit $ac_status); } && {
   5567 	 test -z "$ac_cxx_werror_flag" ||
   5568 	 test ! -s conftest.err
   5569        } && test -s conftest.$ac_objext; then
   5570   ac_cv_prog_cxx_g=yes
   5571 else
   5572   echo "$as_me: failed program was:" >&5
   5573 sed 's/^/| /' conftest.$ac_ext >&5
   5574 
   5575 
   5576 fi
   5577 
   5578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5579 fi
   5580 
   5581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5582 fi
   5583 
   5584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5585    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5586 fi
   5587 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5588 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5589 if test "$ac_test_CXXFLAGS" = set; then
   5590   CXXFLAGS=$ac_save_CXXFLAGS
   5591 elif test $ac_cv_prog_cxx_g = yes; then
   5592   if test "$GXX" = yes; then
   5593     CXXFLAGS="-g -O2"
   5594   else
   5595     CXXFLAGS="-g"
   5596   fi
   5597 else
   5598   if test "$GXX" = yes; then
   5599     CXXFLAGS="-O2"
   5600   else
   5601     CXXFLAGS=
   5602   fi
   5603 fi
   5604 ac_ext=cpp
   5605 ac_cpp='$CXXCPP $CPPFLAGS'
   5606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5609 
   5610 depcc="$CXX"  am_compiler_list=
   5611 
   5612 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5613 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5614 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5615   echo $ECHO_N "(cached) $ECHO_C" >&6
   5616 else
   5617   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5618   # We make a subdir and do the tests there.  Otherwise we can end up
   5619   # making bogus files that we don't know about and never remove.  For
   5620   # instance it was reported that on HP-UX the gcc test will end up
   5621   # making a dummy file named `D' -- because `-MD' means `put the output
   5622   # in D'.
   5623   mkdir conftest.dir
   5624   # Copy depcomp to subdir because otherwise we won't find it if we're
   5625   # using a relative directory.
   5626   cp "$am_depcomp" conftest.dir
   5627   cd conftest.dir
   5628   # We will build objects and dependencies in a subdirectory because
   5629   # it helps to detect inapplicable dependency modes.  For instance
   5630   # both Tru64's cc and ICC support -MD to output dependencies as a
   5631   # side effect of compilation, but ICC will put the dependencies in
   5632   # the current directory while Tru64 will put them in the object
   5633   # directory.
   5634   mkdir sub
   5635 
   5636   am_cv_CXX_dependencies_compiler_type=none
   5637   if test "$am_compiler_list" = ""; then
   5638      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5639   fi
   5640   for depmode in $am_compiler_list; do
   5641     # Setup a source with many dependencies, because some compilers
   5642     # like to wrap large dependency lists on column 80 (with \), and
   5643     # we should not choose a depcomp mode which is confused by this.
   5644     #
   5645     # We need to recreate these files for each test, as the compiler may
   5646     # overwrite some of them when testing with obscure command lines.
   5647     # This happens at least with the AIX C compiler.
   5648     : > sub/conftest.c
   5649     for i in 1 2 3 4 5 6; do
   5650       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5651       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5652       # Solaris 8's {/usr,}/bin/sh.
   5653       touch sub/conftst$i.h
   5654     done
   5655     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5656 
   5657     case $depmode in
   5658     nosideeffect)
   5659       # after this tag, mechanisms are not by side-effect, so they'll
   5660       # only be used when explicitly requested
   5661       if test "x$enable_dependency_tracking" = xyes; then
   5662 	continue
   5663       else
   5664 	break
   5665       fi
   5666       ;;
   5667     none) break ;;
   5668     esac
   5669     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5670     # mode.  It turns out that the SunPro C++ compiler does not properly
   5671     # handle `-M -o', and we need to detect this.
   5672     if depmode=$depmode \
   5673        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5674        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5675        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5676          >/dev/null 2>conftest.err &&
   5677        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5678        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5679        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5680        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5681       # icc doesn't choke on unknown options, it will just issue warnings
   5682       # or remarks (even with -Werror).  So we grep stderr for any message
   5683       # that says an option was ignored or not supported.
   5684       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5685       #   icc: Command line warning: ignoring option '-M'; no argument required
   5686       # The diagnosis changed in icc 8.0:
   5687       #   icc: Command line remark: option '-MP' not supported
   5688       if (grep 'ignoring option' conftest.err ||
   5689           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5690         am_cv_CXX_dependencies_compiler_type=$depmode
   5691         break
   5692       fi
   5693     fi
   5694   done
   5695 
   5696   cd ..
   5697   rm -rf conftest.dir
   5698 else
   5699   am_cv_CXX_dependencies_compiler_type=none
   5700 fi
   5701 
   5702 fi
   5703 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5704 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5705 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5706 
   5707  if
   5708   test "x$enable_dependency_tracking" != xno \
   5709   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5710   am__fastdepCXX_TRUE=
   5711   am__fastdepCXX_FALSE='#'
   5712 else
   5713   am__fastdepCXX_TRUE='#'
   5714   am__fastdepCXX_FALSE=
   5715 fi
   5716 
   5717 
   5718 
   5719 
   5720 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5721     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5722     (test "X$CXX" != "Xg++"))) ; then
   5723   ac_ext=cpp
   5724 ac_cpp='$CXXCPP $CPPFLAGS'
   5725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5728 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5729 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5730 if test -z "$CXXCPP"; then
   5731   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5732   echo $ECHO_N "(cached) $ECHO_C" >&6
   5733 else
   5734       # Double quotes because CXXCPP needs to be expanded
   5735     for CXXCPP in "$CXX -E" "/lib/cpp"
   5736     do
   5737       ac_preproc_ok=false
   5738 for ac_cxx_preproc_warn_flag in '' yes
   5739 do
   5740   # Use a header file that comes with gcc, so configuring glibc
   5741   # with a fresh cross-compiler works.
   5742   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5743   # <limits.h> exists even on freestanding compilers.
   5744   # On the NeXT, cc -E runs the code through the compiler's parser,
   5745   # not just through cpp. "Syntax error" is here to catch this case.
   5746   cat >conftest.$ac_ext <<_ACEOF
   5747 /* confdefs.h.  */
   5748 _ACEOF
   5749 cat confdefs.h >>conftest.$ac_ext
   5750 cat >>conftest.$ac_ext <<_ACEOF
   5751 /* end confdefs.h.  */
   5752 #ifdef __STDC__
   5753 # include <limits.h>
   5754 #else
   5755 # include <assert.h>
   5756 #endif
   5757 		     Syntax error
   5758 _ACEOF
   5759 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5760 case "(($ac_try" in
   5761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5762   *) ac_try_echo=$ac_try;;
   5763 esac
   5764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5765   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5766   ac_status=$?
   5767   grep -v '^ *+' conftest.er1 >conftest.err
   5768   rm -f conftest.er1
   5769   cat conftest.err >&5
   5770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5771   (exit $ac_status); } >/dev/null && {
   5772 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5773 	 test ! -s conftest.err
   5774        }; then
   5775   :
   5776 else
   5777   echo "$as_me: failed program was:" >&5
   5778 sed 's/^/| /' conftest.$ac_ext >&5
   5779 
   5780   # Broken: fails on valid input.
   5781 continue
   5782 fi
   5783 
   5784 rm -f conftest.err conftest.$ac_ext
   5785 
   5786   # OK, works on sane cases.  Now check whether nonexistent headers
   5787   # can be detected and how.
   5788   cat >conftest.$ac_ext <<_ACEOF
   5789 /* confdefs.h.  */
   5790 _ACEOF
   5791 cat confdefs.h >>conftest.$ac_ext
   5792 cat >>conftest.$ac_ext <<_ACEOF
   5793 /* end confdefs.h.  */
   5794 #include <ac_nonexistent.h>
   5795 _ACEOF
   5796 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5797 case "(($ac_try" in
   5798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5799   *) ac_try_echo=$ac_try;;
   5800 esac
   5801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5802   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5803   ac_status=$?
   5804   grep -v '^ *+' conftest.er1 >conftest.err
   5805   rm -f conftest.er1
   5806   cat conftest.err >&5
   5807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5808   (exit $ac_status); } >/dev/null && {
   5809 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5810 	 test ! -s conftest.err
   5811        }; then
   5812   # Broken: success on invalid input.
   5813 continue
   5814 else
   5815   echo "$as_me: failed program was:" >&5
   5816 sed 's/^/| /' conftest.$ac_ext >&5
   5817 
   5818   # Passes both tests.
   5819 ac_preproc_ok=:
   5820 break
   5821 fi
   5822 
   5823 rm -f conftest.err conftest.$ac_ext
   5824 
   5825 done
   5826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5827 rm -f conftest.err conftest.$ac_ext
   5828 if $ac_preproc_ok; then
   5829   break
   5830 fi
   5831 
   5832     done
   5833     ac_cv_prog_CXXCPP=$CXXCPP
   5834 
   5835 fi
   5836   CXXCPP=$ac_cv_prog_CXXCPP
   5837 else
   5838   ac_cv_prog_CXXCPP=$CXXCPP
   5839 fi
   5840 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5841 echo "${ECHO_T}$CXXCPP" >&6; }
   5842 ac_preproc_ok=false
   5843 for ac_cxx_preproc_warn_flag in '' yes
   5844 do
   5845   # Use a header file that comes with gcc, so configuring glibc
   5846   # with a fresh cross-compiler works.
   5847   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5848   # <limits.h> exists even on freestanding compilers.
   5849   # On the NeXT, cc -E runs the code through the compiler's parser,
   5850   # not just through cpp. "Syntax error" is here to catch this case.
   5851   cat >conftest.$ac_ext <<_ACEOF
   5852 /* confdefs.h.  */
   5853 _ACEOF
   5854 cat confdefs.h >>conftest.$ac_ext
   5855 cat >>conftest.$ac_ext <<_ACEOF
   5856 /* end confdefs.h.  */
   5857 #ifdef __STDC__
   5858 # include <limits.h>
   5859 #else
   5860 # include <assert.h>
   5861 #endif
   5862 		     Syntax error
   5863 _ACEOF
   5864 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5865 case "(($ac_try" in
   5866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5867   *) ac_try_echo=$ac_try;;
   5868 esac
   5869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5870   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5871   ac_status=$?
   5872   grep -v '^ *+' conftest.er1 >conftest.err
   5873   rm -f conftest.er1
   5874   cat conftest.err >&5
   5875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5876   (exit $ac_status); } >/dev/null && {
   5877 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5878 	 test ! -s conftest.err
   5879        }; then
   5880   :
   5881 else
   5882   echo "$as_me: failed program was:" >&5
   5883 sed 's/^/| /' conftest.$ac_ext >&5
   5884 
   5885   # Broken: fails on valid input.
   5886 continue
   5887 fi
   5888 
   5889 rm -f conftest.err conftest.$ac_ext
   5890 
   5891   # OK, works on sane cases.  Now check whether nonexistent headers
   5892   # can be detected and how.
   5893   cat >conftest.$ac_ext <<_ACEOF
   5894 /* confdefs.h.  */
   5895 _ACEOF
   5896 cat confdefs.h >>conftest.$ac_ext
   5897 cat >>conftest.$ac_ext <<_ACEOF
   5898 /* end confdefs.h.  */
   5899 #include <ac_nonexistent.h>
   5900 _ACEOF
   5901 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5902 case "(($ac_try" in
   5903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5904   *) ac_try_echo=$ac_try;;
   5905 esac
   5906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5907   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5908   ac_status=$?
   5909   grep -v '^ *+' conftest.er1 >conftest.err
   5910   rm -f conftest.er1
   5911   cat conftest.err >&5
   5912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5913   (exit $ac_status); } >/dev/null && {
   5914 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5915 	 test ! -s conftest.err
   5916        }; then
   5917   # Broken: success on invalid input.
   5918 continue
   5919 else
   5920   echo "$as_me: failed program was:" >&5
   5921 sed 's/^/| /' conftest.$ac_ext >&5
   5922 
   5923   # Passes both tests.
   5924 ac_preproc_ok=:
   5925 break
   5926 fi
   5927 
   5928 rm -f conftest.err conftest.$ac_ext
   5929 
   5930 done
   5931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5932 rm -f conftest.err conftest.$ac_ext
   5933 if $ac_preproc_ok; then
   5934   :
   5935 else
   5936   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5937 See \`config.log' for more details." >&5
   5938 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5939 See \`config.log' for more details." >&2;}
   5940    { (exit 1); exit 1; }; }
   5941 fi
   5942 
   5943 ac_ext=cpp
   5944 ac_cpp='$CXXCPP $CPPFLAGS'
   5945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5948 
   5949 fi
   5950 
   5951 
   5952 ac_ext=f
   5953 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5954 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5955 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5956 if test -n "$ac_tool_prefix"; then
   5957   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
   5958   do
   5959     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5963 if test "${ac_cv_prog_F77+set}" = set; then
   5964   echo $ECHO_N "(cached) $ECHO_C" >&6
   5965 else
   5966   if test -n "$F77"; then
   5967   ac_cv_prog_F77="$F77" # Let the user override the test.
   5968 else
   5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5970 for as_dir in $PATH
   5971 do
   5972   IFS=$as_save_IFS
   5973   test -z "$as_dir" && as_dir=.
   5974   for ac_exec_ext in '' $ac_executable_extensions; do
   5975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5976     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5977     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5978     break 2
   5979   fi
   5980 done
   5981 done
   5982 IFS=$as_save_IFS
   5983 
   5984 fi
   5985 fi
   5986 F77=$ac_cv_prog_F77
   5987 if test -n "$F77"; then
   5988   { echo "$as_me:$LINENO: result: $F77" >&5
   5989 echo "${ECHO_T}$F77" >&6; }
   5990 else
   5991   { echo "$as_me:$LINENO: result: no" >&5
   5992 echo "${ECHO_T}no" >&6; }
   5993 fi
   5994 
   5995 
   5996     test -n "$F77" && break
   5997   done
   5998 fi
   5999 if test -z "$F77"; then
   6000   ac_ct_F77=$F77
   6001   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
   6002 do
   6003   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6004 set dummy $ac_prog; ac_word=$2
   6005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6007 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6008   echo $ECHO_N "(cached) $ECHO_C" >&6
   6009 else
   6010   if test -n "$ac_ct_F77"; then
   6011   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6012 else
   6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6014 for as_dir in $PATH
   6015 do
   6016   IFS=$as_save_IFS
   6017   test -z "$as_dir" && as_dir=.
   6018   for ac_exec_ext in '' $ac_executable_extensions; do
   6019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6020     ac_cv_prog_ac_ct_F77="$ac_prog"
   6021     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6022     break 2
   6023   fi
   6024 done
   6025 done
   6026 IFS=$as_save_IFS
   6027 
   6028 fi
   6029 fi
   6030 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6031 if test -n "$ac_ct_F77"; then
   6032   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6033 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6034 else
   6035   { echo "$as_me:$LINENO: result: no" >&5
   6036 echo "${ECHO_T}no" >&6; }
   6037 fi
   6038 
   6039 
   6040   test -n "$ac_ct_F77" && break
   6041 done
   6042 
   6043   if test "x$ac_ct_F77" = x; then
   6044     F77=""
   6045   else
   6046     case $cross_compiling:$ac_tool_warned in
   6047 yes:)
   6048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6049 whose name does not start with the host triplet.  If you think this
   6050 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6052 whose name does not start with the host triplet.  If you think this
   6053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6054 ac_tool_warned=yes ;;
   6055 esac
   6056     F77=$ac_ct_F77
   6057   fi
   6058 fi
   6059 
   6060 
   6061 # Provide some information about the compiler.
   6062 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6063 ac_compiler=`set X $ac_compile; echo $2`
   6064 { (ac_try="$ac_compiler --version >&5"
   6065 case "(($ac_try" in
   6066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6067   *) ac_try_echo=$ac_try;;
   6068 esac
   6069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6070   (eval "$ac_compiler --version >&5") 2>&5
   6071   ac_status=$?
   6072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6073   (exit $ac_status); }
   6074 { (ac_try="$ac_compiler -v >&5"
   6075 case "(($ac_try" in
   6076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6077   *) ac_try_echo=$ac_try;;
   6078 esac
   6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6080   (eval "$ac_compiler -v >&5") 2>&5
   6081   ac_status=$?
   6082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6083   (exit $ac_status); }
   6084 { (ac_try="$ac_compiler -V >&5"
   6085 case "(($ac_try" in
   6086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6087   *) ac_try_echo=$ac_try;;
   6088 esac
   6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6090   (eval "$ac_compiler -V >&5") 2>&5
   6091   ac_status=$?
   6092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6093   (exit $ac_status); }
   6094 rm -f a.out
   6095 
   6096 # If we don't use `.F' as extension, the preprocessor is not run on the
   6097 # input file.  (Note that this only needs to work for GNU compilers.)
   6098 ac_save_ext=$ac_ext
   6099 ac_ext=F
   6100 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6101 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6102 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6103   echo $ECHO_N "(cached) $ECHO_C" >&6
   6104 else
   6105   cat >conftest.$ac_ext <<_ACEOF
   6106       program main
   6107 #ifndef __GNUC__
   6108        choke me
   6109 #endif
   6110 
   6111       end
   6112 _ACEOF
   6113 rm -f conftest.$ac_objext
   6114 if { (ac_try="$ac_compile"
   6115 case "(($ac_try" in
   6116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6117   *) ac_try_echo=$ac_try;;
   6118 esac
   6119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6120   (eval "$ac_compile") 2>conftest.er1
   6121   ac_status=$?
   6122   grep -v '^ *+' conftest.er1 >conftest.err
   6123   rm -f conftest.er1
   6124   cat conftest.err >&5
   6125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6126   (exit $ac_status); } && {
   6127 	 test -z "$ac_f77_werror_flag" ||
   6128 	 test ! -s conftest.err
   6129        } && test -s conftest.$ac_objext; then
   6130   ac_compiler_gnu=yes
   6131 else
   6132   echo "$as_me: failed program was:" >&5
   6133 sed 's/^/| /' conftest.$ac_ext >&5
   6134 
   6135 	ac_compiler_gnu=no
   6136 fi
   6137 
   6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6139 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6140 
   6141 fi
   6142 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6143 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6144 ac_ext=$ac_save_ext
   6145 ac_test_FFLAGS=${FFLAGS+set}
   6146 ac_save_FFLAGS=$FFLAGS
   6147 FFLAGS=
   6148 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6149 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6150 if test "${ac_cv_prog_f77_g+set}" = set; then
   6151   echo $ECHO_N "(cached) $ECHO_C" >&6
   6152 else
   6153   FFLAGS=-g
   6154 cat >conftest.$ac_ext <<_ACEOF
   6155       program main
   6156 
   6157       end
   6158 _ACEOF
   6159 rm -f conftest.$ac_objext
   6160 if { (ac_try="$ac_compile"
   6161 case "(($ac_try" in
   6162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6163   *) ac_try_echo=$ac_try;;
   6164 esac
   6165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6166   (eval "$ac_compile") 2>conftest.er1
   6167   ac_status=$?
   6168   grep -v '^ *+' conftest.er1 >conftest.err
   6169   rm -f conftest.er1
   6170   cat conftest.err >&5
   6171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6172   (exit $ac_status); } && {
   6173 	 test -z "$ac_f77_werror_flag" ||
   6174 	 test ! -s conftest.err
   6175        } && test -s conftest.$ac_objext; then
   6176   ac_cv_prog_f77_g=yes
   6177 else
   6178   echo "$as_me: failed program was:" >&5
   6179 sed 's/^/| /' conftest.$ac_ext >&5
   6180 
   6181 	ac_cv_prog_f77_g=no
   6182 fi
   6183 
   6184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6185 
   6186 fi
   6187 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6188 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6189 if test "$ac_test_FFLAGS" = set; then
   6190   FFLAGS=$ac_save_FFLAGS
   6191 elif test $ac_cv_prog_f77_g = yes; then
   6192   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6193     FFLAGS="-g -O2"
   6194   else
   6195     FFLAGS="-g"
   6196   fi
   6197 else
   6198   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6199     FFLAGS="-O2"
   6200   else
   6201     FFLAGS=
   6202   fi
   6203 fi
   6204 
   6205 G77=`test $ac_compiler_gnu = yes && echo yes`
   6206 ac_ext=c
   6207 ac_cpp='$CPP $CPPFLAGS'
   6208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6211 
   6212 
   6213 
   6214 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6215 
   6216 # find the maximum length of command line arguments
   6217 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6218 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6219 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6220   echo $ECHO_N "(cached) $ECHO_C" >&6
   6221 else
   6222     i=0
   6223   teststring="ABCD"
   6224 
   6225   case $build_os in
   6226   msdosdjgpp*)
   6227     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6228     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6229     # during glob expansion).  Even if it were fixed, the result of this
   6230     # check would be larger than it should be.
   6231     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6232     ;;
   6233 
   6234   gnu*)
   6235     # Under GNU Hurd, this test is not required because there is
   6236     # no limit to the length of command line arguments.
   6237     # Libtool will interpret -1 as no limit whatsoever
   6238     lt_cv_sys_max_cmd_len=-1;
   6239     ;;
   6240 
   6241   cygwin* | mingw*)
   6242     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6243     # about 5 minutes as the teststring grows exponentially.
   6244     # Worse, since 9x/ME are not pre-emptively multitasking,
   6245     # you end up with a "frozen" computer, even though with patience
   6246     # the test eventually succeeds (with a max line length of 256k).
   6247     # Instead, let's just punt: use the minimum linelength reported by
   6248     # all of the supported platforms: 8192 (on NT/2K/XP).
   6249     lt_cv_sys_max_cmd_len=8192;
   6250     ;;
   6251 
   6252   amigaos*)
   6253     # On AmigaOS with pdksh, this test takes hours, literally.
   6254     # So we just punt and use a minimum line length of 8192.
   6255     lt_cv_sys_max_cmd_len=8192;
   6256     ;;
   6257 
   6258   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6259     # This has been around since 386BSD, at least.  Likely further.
   6260     if test -x /sbin/sysctl; then
   6261       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6262     elif test -x /usr/sbin/sysctl; then
   6263       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6264     else
   6265       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6266     fi
   6267     # And add a safety zone
   6268     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6269     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6270     ;;
   6271 
   6272   interix*)
   6273     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6274     lt_cv_sys_max_cmd_len=196608
   6275     ;;
   6276 
   6277   osf*)
   6278     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6279     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6280     # nice to cause kernel panics so lets avoid the loop below.
   6281     # First set a reasonable default.
   6282     lt_cv_sys_max_cmd_len=16384
   6283     #
   6284     if test -x /sbin/sysconfig; then
   6285       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6286         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6287       esac
   6288     fi
   6289     ;;
   6290   sco3.2v5*)
   6291     lt_cv_sys_max_cmd_len=102400
   6292     ;;
   6293   sysv5* | sco5v6* | sysv4.2uw2*)
   6294     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6295     if test -n "$kargmax"; then
   6296       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6297     else
   6298       lt_cv_sys_max_cmd_len=32768
   6299     fi
   6300     ;;
   6301   *)
   6302     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6303     if test -n "$lt_cv_sys_max_cmd_len"; then
   6304       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6305       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6306     else
   6307       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6308       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6309 	       = "XX$teststring") >/dev/null 2>&1 &&
   6310 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6311 	      lt_cv_sys_max_cmd_len=$new_result &&
   6312 	      test $i != 17 # 1/2 MB should be enough
   6313       do
   6314         i=`expr $i + 1`
   6315         teststring=$teststring$teststring
   6316       done
   6317       teststring=
   6318       # Add a significant safety factor because C++ compilers can tack on massive
   6319       # amounts of additional arguments before passing them to the linker.
   6320       # It appears as though 1/2 is a usable value.
   6321       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6322     fi
   6323     ;;
   6324   esac
   6325 
   6326 fi
   6327 
   6328 if test -n $lt_cv_sys_max_cmd_len ; then
   6329   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6330 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6331 else
   6332   { echo "$as_me:$LINENO: result: none" >&5
   6333 echo "${ECHO_T}none" >&6; }
   6334 fi
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6341 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6342 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6343 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6344   echo $ECHO_N "(cached) $ECHO_C" >&6
   6345 else
   6346 
   6347 # These are sane defaults that work on at least a few old systems.
   6348 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6349 
   6350 # Character class describing NM global symbol codes.
   6351 symcode='[BCDEGRST]'
   6352 
   6353 # Regexp to match symbols that can be accessed directly from C.
   6354 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6355 
   6356 # Transform an extracted symbol line into a proper C declaration
   6357 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6358 
   6359 # Transform an extracted symbol line into symbol name and symbol address
   6360 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'"
   6361 
   6362 # Define system-specific variables.
   6363 case $host_os in
   6364 aix*)
   6365   symcode='[BCDT]'
   6366   ;;
   6367 cygwin* | mingw* | pw32*)
   6368   symcode='[ABCDGISTW]'
   6369   ;;
   6370 hpux*) # Its linker distinguishes data from code symbols
   6371   if test "$host_cpu" = ia64; then
   6372     symcode='[ABCDEGRST]'
   6373   fi
   6374   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6375   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'"
   6376   ;;
   6377 linux* | k*bsd*-gnu)
   6378   if test "$host_cpu" = ia64; then
   6379     symcode='[ABCDGIRSTW]'
   6380     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6381     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'"
   6382   fi
   6383   ;;
   6384 irix* | nonstopux*)
   6385   symcode='[BCDEGRST]'
   6386   ;;
   6387 osf*)
   6388   symcode='[BCDEGQRST]'
   6389   ;;
   6390 solaris*)
   6391   symcode='[BDRT]'
   6392   ;;
   6393 sco3.2v5*)
   6394   symcode='[DT]'
   6395   ;;
   6396 sysv4.2uw2*)
   6397   symcode='[DT]'
   6398   ;;
   6399 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6400   symcode='[ABDT]'
   6401   ;;
   6402 sysv4)
   6403   symcode='[DFNSTU]'
   6404   ;;
   6405 esac
   6406 
   6407 # Handle CRLF in mingw tool chain
   6408 opt_cr=
   6409 case $build_os in
   6410 mingw*)
   6411   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6412   ;;
   6413 esac
   6414 
   6415 # If we're using GNU nm, then use its standard symbol codes.
   6416 case `$NM -V 2>&1` in
   6417 *GNU* | *'with BFD'*)
   6418   symcode='[ABCDGIRSTW]' ;;
   6419 esac
   6420 
   6421 # Try without a prefix undercore, then with it.
   6422 for ac_symprfx in "" "_"; do
   6423 
   6424   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6425   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6426 
   6427   # Write the raw and C identifiers.
   6428   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6429 
   6430   # Check to see that the pipe works correctly.
   6431   pipe_works=no
   6432 
   6433   rm -f conftest*
   6434   cat > conftest.$ac_ext <<EOF
   6435 #ifdef __cplusplus
   6436 extern "C" {
   6437 #endif
   6438 char nm_test_var;
   6439 void nm_test_func(){}
   6440 #ifdef __cplusplus
   6441 }
   6442 #endif
   6443 int main(){nm_test_var='a';nm_test_func();return(0);}
   6444 EOF
   6445 
   6446   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6447   (eval $ac_compile) 2>&5
   6448   ac_status=$?
   6449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6450   (exit $ac_status); }; then
   6451     # Now try to grab the symbols.
   6452     nlist=conftest.nm
   6453     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6454   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6455   ac_status=$?
   6456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6457   (exit $ac_status); } && test -s "$nlist"; then
   6458       # Try sorting and uniquifying the output.
   6459       if sort "$nlist" | uniq > "$nlist"T; then
   6460 	mv -f "$nlist"T "$nlist"
   6461       else
   6462 	rm -f "$nlist"T
   6463       fi
   6464 
   6465       # Make sure that we snagged all the symbols we need.
   6466       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6467 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6468 	  cat <<EOF > conftest.$ac_ext
   6469 #ifdef __cplusplus
   6470 extern "C" {
   6471 #endif
   6472 
   6473 EOF
   6474 	  # Now generate the symbol file.
   6475 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6476 
   6477 	  cat <<EOF >> conftest.$ac_ext
   6478 #if defined (__STDC__) && __STDC__
   6479 # define lt_ptr_t void *
   6480 #else
   6481 # define lt_ptr_t char *
   6482 # define const
   6483 #endif
   6484 
   6485 /* The mapping between symbol names and symbols. */
   6486 const struct {
   6487   const char *name;
   6488   lt_ptr_t address;
   6489 }
   6490 lt_preloaded_symbols[] =
   6491 {
   6492 EOF
   6493 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6494 	  cat <<\EOF >> conftest.$ac_ext
   6495   {0, (lt_ptr_t) 0}
   6496 };
   6497 
   6498 #ifdef __cplusplus
   6499 }
   6500 #endif
   6501 EOF
   6502 	  # Now try linking the two files.
   6503 	  mv conftest.$ac_objext conftstm.$ac_objext
   6504 	  lt_save_LIBS="$LIBS"
   6505 	  lt_save_CFLAGS="$CFLAGS"
   6506 	  LIBS="conftstm.$ac_objext"
   6507 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6508 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6509   (eval $ac_link) 2>&5
   6510   ac_status=$?
   6511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6512   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6513 	    pipe_works=yes
   6514 	  fi
   6515 	  LIBS="$lt_save_LIBS"
   6516 	  CFLAGS="$lt_save_CFLAGS"
   6517 	else
   6518 	  echo "cannot find nm_test_func in $nlist" >&5
   6519 	fi
   6520       else
   6521 	echo "cannot find nm_test_var in $nlist" >&5
   6522       fi
   6523     else
   6524       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6525     fi
   6526   else
   6527     echo "$progname: failed program was:" >&5
   6528     cat conftest.$ac_ext >&5
   6529   fi
   6530   rm -f conftest* conftst*
   6531 
   6532   # Do not use the global_symbol_pipe unless it works.
   6533   if test "$pipe_works" = yes; then
   6534     break
   6535   else
   6536     lt_cv_sys_global_symbol_pipe=
   6537   fi
   6538 done
   6539 
   6540 fi
   6541 
   6542 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6543   lt_cv_sys_global_symbol_to_cdecl=
   6544 fi
   6545 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6546   { echo "$as_me:$LINENO: result: failed" >&5
   6547 echo "${ECHO_T}failed" >&6; }
   6548 else
   6549   { echo "$as_me:$LINENO: result: ok" >&5
   6550 echo "${ECHO_T}ok" >&6; }
   6551 fi
   6552 
   6553 { echo "$as_me:$LINENO: checking for objdir" >&5
   6554 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6555 if test "${lt_cv_objdir+set}" = set; then
   6556   echo $ECHO_N "(cached) $ECHO_C" >&6
   6557 else
   6558   rm -f .libs 2>/dev/null
   6559 mkdir .libs 2>/dev/null
   6560 if test -d .libs; then
   6561   lt_cv_objdir=.libs
   6562 else
   6563   # MS-DOS does not allow filenames that begin with a dot.
   6564   lt_cv_objdir=_libs
   6565 fi
   6566 rmdir .libs 2>/dev/null
   6567 fi
   6568 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6569 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6570 objdir=$lt_cv_objdir
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 case $host_os in
   6577 aix3*)
   6578   # AIX sometimes has problems with the GCC collect2 program.  For some
   6579   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6580   # vanish in a puff of smoke.
   6581   if test "X${COLLECT_NAMES+set}" != Xset; then
   6582     COLLECT_NAMES=
   6583     export COLLECT_NAMES
   6584   fi
   6585   ;;
   6586 esac
   6587 
   6588 # Sed substitution that helps us do robust quoting.  It backslashifies
   6589 # metacharacters that are still active within double-quoted strings.
   6590 Xsed='sed -e 1s/^X//'
   6591 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6592 
   6593 # Same as above, but do not quote variable references.
   6594 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6595 
   6596 # Sed substitution to delay expansion of an escaped shell variable in a
   6597 # double_quote_subst'ed string.
   6598 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6599 
   6600 # Sed substitution to avoid accidental globbing in evaled expressions
   6601 no_glob_subst='s/\*/\\\*/g'
   6602 
   6603 # Constants:
   6604 rm="rm -f"
   6605 
   6606 # Global variables:
   6607 default_ofile=libtool
   6608 can_build_shared=yes
   6609 
   6610 # All known linkers require a `.a' archive for static linking (except MSVC,
   6611 # which needs '.lib').
   6612 libext=a
   6613 ltmain="$ac_aux_dir/ltmain.sh"
   6614 ofile="$default_ofile"
   6615 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6616 
   6617 if test -n "$ac_tool_prefix"; then
   6618   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6619 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6622 if test "${ac_cv_prog_AR+set}" = set; then
   6623   echo $ECHO_N "(cached) $ECHO_C" >&6
   6624 else
   6625   if test -n "$AR"; then
   6626   ac_cv_prog_AR="$AR" # Let the user override the test.
   6627 else
   6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6629 for as_dir in $PATH
   6630 do
   6631   IFS=$as_save_IFS
   6632   test -z "$as_dir" && as_dir=.
   6633   for ac_exec_ext in '' $ac_executable_extensions; do
   6634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6635     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6636     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6637     break 2
   6638   fi
   6639 done
   6640 done
   6641 IFS=$as_save_IFS
   6642 
   6643 fi
   6644 fi
   6645 AR=$ac_cv_prog_AR
   6646 if test -n "$AR"; then
   6647   { echo "$as_me:$LINENO: result: $AR" >&5
   6648 echo "${ECHO_T}$AR" >&6; }
   6649 else
   6650   { echo "$as_me:$LINENO: result: no" >&5
   6651 echo "${ECHO_T}no" >&6; }
   6652 fi
   6653 
   6654 
   6655 fi
   6656 if test -z "$ac_cv_prog_AR"; then
   6657   ac_ct_AR=$AR
   6658   # Extract the first word of "ar", so it can be a program name with args.
   6659 set dummy ar; ac_word=$2
   6660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6662 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6663   echo $ECHO_N "(cached) $ECHO_C" >&6
   6664 else
   6665   if test -n "$ac_ct_AR"; then
   6666   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6667 else
   6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6669 for as_dir in $PATH
   6670 do
   6671   IFS=$as_save_IFS
   6672   test -z "$as_dir" && as_dir=.
   6673   for ac_exec_ext in '' $ac_executable_extensions; do
   6674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6675     ac_cv_prog_ac_ct_AR="ar"
   6676     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6677     break 2
   6678   fi
   6679 done
   6680 done
   6681 IFS=$as_save_IFS
   6682 
   6683 fi
   6684 fi
   6685 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6686 if test -n "$ac_ct_AR"; then
   6687   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6688 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6689 else
   6690   { echo "$as_me:$LINENO: result: no" >&5
   6691 echo "${ECHO_T}no" >&6; }
   6692 fi
   6693 
   6694   if test "x$ac_ct_AR" = x; then
   6695     AR="false"
   6696   else
   6697     case $cross_compiling:$ac_tool_warned in
   6698 yes:)
   6699 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6700 whose name does not start with the host triplet.  If you think this
   6701 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6702 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6703 whose name does not start with the host triplet.  If you think this
   6704 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6705 ac_tool_warned=yes ;;
   6706 esac
   6707     AR=$ac_ct_AR
   6708   fi
   6709 else
   6710   AR="$ac_cv_prog_AR"
   6711 fi
   6712 
   6713 if test -n "$ac_tool_prefix"; then
   6714   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6715 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6718 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6719   echo $ECHO_N "(cached) $ECHO_C" >&6
   6720 else
   6721   if test -n "$RANLIB"; then
   6722   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6723 else
   6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6725 for as_dir in $PATH
   6726 do
   6727   IFS=$as_save_IFS
   6728   test -z "$as_dir" && as_dir=.
   6729   for ac_exec_ext in '' $ac_executable_extensions; do
   6730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6731     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6732     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6733     break 2
   6734   fi
   6735 done
   6736 done
   6737 IFS=$as_save_IFS
   6738 
   6739 fi
   6740 fi
   6741 RANLIB=$ac_cv_prog_RANLIB
   6742 if test -n "$RANLIB"; then
   6743   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6744 echo "${ECHO_T}$RANLIB" >&6; }
   6745 else
   6746   { echo "$as_me:$LINENO: result: no" >&5
   6747 echo "${ECHO_T}no" >&6; }
   6748 fi
   6749 
   6750 
   6751 fi
   6752 if test -z "$ac_cv_prog_RANLIB"; then
   6753   ac_ct_RANLIB=$RANLIB
   6754   # Extract the first word of "ranlib", so it can be a program name with args.
   6755 set dummy ranlib; ac_word=$2
   6756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6758 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6759   echo $ECHO_N "(cached) $ECHO_C" >&6
   6760 else
   6761   if test -n "$ac_ct_RANLIB"; then
   6762   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6763 else
   6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6765 for as_dir in $PATH
   6766 do
   6767   IFS=$as_save_IFS
   6768   test -z "$as_dir" && as_dir=.
   6769   for ac_exec_ext in '' $ac_executable_extensions; do
   6770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6771     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6772     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6773     break 2
   6774   fi
   6775 done
   6776 done
   6777 IFS=$as_save_IFS
   6778 
   6779 fi
   6780 fi
   6781 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6782 if test -n "$ac_ct_RANLIB"; then
   6783   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6784 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6785 else
   6786   { echo "$as_me:$LINENO: result: no" >&5
   6787 echo "${ECHO_T}no" >&6; }
   6788 fi
   6789 
   6790   if test "x$ac_ct_RANLIB" = x; then
   6791     RANLIB=":"
   6792   else
   6793     case $cross_compiling:$ac_tool_warned in
   6794 yes:)
   6795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6796 whose name does not start with the host triplet.  If you think this
   6797 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6799 whose name does not start with the host triplet.  If you think this
   6800 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6801 ac_tool_warned=yes ;;
   6802 esac
   6803     RANLIB=$ac_ct_RANLIB
   6804   fi
   6805 else
   6806   RANLIB="$ac_cv_prog_RANLIB"
   6807 fi
   6808 
   6809 if test -n "$ac_tool_prefix"; then
   6810   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6811 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6814 if test "${ac_cv_prog_STRIP+set}" = set; then
   6815   echo $ECHO_N "(cached) $ECHO_C" >&6
   6816 else
   6817   if test -n "$STRIP"; then
   6818   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6819 else
   6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6821 for as_dir in $PATH
   6822 do
   6823   IFS=$as_save_IFS
   6824   test -z "$as_dir" && as_dir=.
   6825   for ac_exec_ext in '' $ac_executable_extensions; do
   6826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6827     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6828     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6829     break 2
   6830   fi
   6831 done
   6832 done
   6833 IFS=$as_save_IFS
   6834 
   6835 fi
   6836 fi
   6837 STRIP=$ac_cv_prog_STRIP
   6838 if test -n "$STRIP"; then
   6839   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6840 echo "${ECHO_T}$STRIP" >&6; }
   6841 else
   6842   { echo "$as_me:$LINENO: result: no" >&5
   6843 echo "${ECHO_T}no" >&6; }
   6844 fi
   6845 
   6846 
   6847 fi
   6848 if test -z "$ac_cv_prog_STRIP"; then
   6849   ac_ct_STRIP=$STRIP
   6850   # Extract the first word of "strip", so it can be a program name with args.
   6851 set dummy strip; ac_word=$2
   6852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6854 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6855   echo $ECHO_N "(cached) $ECHO_C" >&6
   6856 else
   6857   if test -n "$ac_ct_STRIP"; then
   6858   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6859 else
   6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6861 for as_dir in $PATH
   6862 do
   6863   IFS=$as_save_IFS
   6864   test -z "$as_dir" && as_dir=.
   6865   for ac_exec_ext in '' $ac_executable_extensions; do
   6866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6867     ac_cv_prog_ac_ct_STRIP="strip"
   6868     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6869     break 2
   6870   fi
   6871 done
   6872 done
   6873 IFS=$as_save_IFS
   6874 
   6875 fi
   6876 fi
   6877 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6878 if test -n "$ac_ct_STRIP"; then
   6879   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6880 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6881 else
   6882   { echo "$as_me:$LINENO: result: no" >&5
   6883 echo "${ECHO_T}no" >&6; }
   6884 fi
   6885 
   6886   if test "x$ac_ct_STRIP" = x; then
   6887     STRIP=":"
   6888   else
   6889     case $cross_compiling:$ac_tool_warned in
   6890 yes:)
   6891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6892 whose name does not start with the host triplet.  If you think this
   6893 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6895 whose name does not start with the host triplet.  If you think this
   6896 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6897 ac_tool_warned=yes ;;
   6898 esac
   6899     STRIP=$ac_ct_STRIP
   6900   fi
   6901 else
   6902   STRIP="$ac_cv_prog_STRIP"
   6903 fi
   6904 
   6905 
   6906 old_CC="$CC"
   6907 old_CFLAGS="$CFLAGS"
   6908 
   6909 # Set sane defaults for various variables
   6910 test -z "$AR" && AR=ar
   6911 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6912 test -z "$AS" && AS=as
   6913 test -z "$CC" && CC=cc
   6914 test -z "$LTCC" && LTCC=$CC
   6915 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6916 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6917 test -z "$LD" && LD=ld
   6918 test -z "$LN_S" && LN_S="ln -s"
   6919 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6920 test -z "$NM" && NM=nm
   6921 test -z "$SED" && SED=sed
   6922 test -z "$OBJDUMP" && OBJDUMP=objdump
   6923 test -z "$RANLIB" && RANLIB=:
   6924 test -z "$STRIP" && STRIP=:
   6925 test -z "$ac_objext" && ac_objext=o
   6926 
   6927 # Determine commands to create old-style static archives.
   6928 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6929 old_postinstall_cmds='chmod 644 $oldlib'
   6930 old_postuninstall_cmds=
   6931 
   6932 if test -n "$RANLIB"; then
   6933   case $host_os in
   6934   openbsd*)
   6935     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6936     ;;
   6937   *)
   6938     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6939     ;;
   6940   esac
   6941   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6942 fi
   6943 
   6944 for cc_temp in $compiler""; do
   6945   case $cc_temp in
   6946     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6947     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6948     \-*) ;;
   6949     *) break;;
   6950   esac
   6951 done
   6952 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6953 
   6954 
   6955 # Only perform the check for file, if the check method requires it
   6956 case $deplibs_check_method in
   6957 file_magic*)
   6958   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6959     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6960 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6961 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6962   echo $ECHO_N "(cached) $ECHO_C" >&6
   6963 else
   6964   case $MAGIC_CMD in
   6965 [\\/*] |  ?:[\\/]*)
   6966   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6967   ;;
   6968 *)
   6969   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6970   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6971   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6972   for ac_dir in $ac_dummy; do
   6973     IFS="$lt_save_ifs"
   6974     test -z "$ac_dir" && ac_dir=.
   6975     if test -f $ac_dir/${ac_tool_prefix}file; then
   6976       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6977       if test -n "$file_magic_test_file"; then
   6978 	case $deplibs_check_method in
   6979 	"file_magic "*)
   6980 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6981 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6982 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6983 	    $EGREP "$file_magic_regex" > /dev/null; then
   6984 	    :
   6985 	  else
   6986 	    cat <<EOF 1>&2
   6987 
   6988 *** Warning: the command libtool uses to detect shared libraries,
   6989 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6990 *** The result is that libtool may fail to recognize shared libraries
   6991 *** as such.  This will affect the creation of libtool libraries that
   6992 *** depend on shared libraries, but programs linked with such libtool
   6993 *** libraries will work regardless of this problem.  Nevertheless, you
   6994 *** may want to report the problem to your system manager and/or to
   6995 *** bug-libtool@gnu.org
   6996 
   6997 EOF
   6998 	  fi ;;
   6999 	esac
   7000       fi
   7001       break
   7002     fi
   7003   done
   7004   IFS="$lt_save_ifs"
   7005   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7006   ;;
   7007 esac
   7008 fi
   7009 
   7010 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7011 if test -n "$MAGIC_CMD"; then
   7012   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7013 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7014 else
   7015   { echo "$as_me:$LINENO: result: no" >&5
   7016 echo "${ECHO_T}no" >&6; }
   7017 fi
   7018 
   7019 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7020   if test -n "$ac_tool_prefix"; then
   7021     { echo "$as_me:$LINENO: checking for file" >&5
   7022 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7023 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7024   echo $ECHO_N "(cached) $ECHO_C" >&6
   7025 else
   7026   case $MAGIC_CMD in
   7027 [\\/*] |  ?:[\\/]*)
   7028   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7029   ;;
   7030 *)
   7031   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7032   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7033   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7034   for ac_dir in $ac_dummy; do
   7035     IFS="$lt_save_ifs"
   7036     test -z "$ac_dir" && ac_dir=.
   7037     if test -f $ac_dir/file; then
   7038       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7039       if test -n "$file_magic_test_file"; then
   7040 	case $deplibs_check_method in
   7041 	"file_magic "*)
   7042 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7043 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7044 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7045 	    $EGREP "$file_magic_regex" > /dev/null; then
   7046 	    :
   7047 	  else
   7048 	    cat <<EOF 1>&2
   7049 
   7050 *** Warning: the command libtool uses to detect shared libraries,
   7051 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7052 *** The result is that libtool may fail to recognize shared libraries
   7053 *** as such.  This will affect the creation of libtool libraries that
   7054 *** depend on shared libraries, but programs linked with such libtool
   7055 *** libraries will work regardless of this problem.  Nevertheless, you
   7056 *** may want to report the problem to your system manager and/or to
   7057 *** bug-libtool@gnu.org
   7058 
   7059 EOF
   7060 	  fi ;;
   7061 	esac
   7062       fi
   7063       break
   7064     fi
   7065   done
   7066   IFS="$lt_save_ifs"
   7067   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7068   ;;
   7069 esac
   7070 fi
   7071 
   7072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7073 if test -n "$MAGIC_CMD"; then
   7074   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7075 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7076 else
   7077   { echo "$as_me:$LINENO: result: no" >&5
   7078 echo "${ECHO_T}no" >&6; }
   7079 fi
   7080 
   7081   else
   7082     MAGIC_CMD=:
   7083   fi
   7084 fi
   7085 
   7086   fi
   7087   ;;
   7088 esac
   7089 
   7090 enable_dlopen=no
   7091 enable_win32_dll=no
   7092 
   7093 # Check whether --enable-libtool-lock was given.
   7094 if test "${enable_libtool_lock+set}" = set; then
   7095   enableval=$enable_libtool_lock;
   7096 fi
   7097 
   7098 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7099 
   7100 
   7101 # Check whether --with-pic was given.
   7102 if test "${with_pic+set}" = set; then
   7103   withval=$with_pic; pic_mode="$withval"
   7104 else
   7105   pic_mode=default
   7106 fi
   7107 
   7108 test -z "$pic_mode" && pic_mode=default
   7109 
   7110 # Use C for the default configuration in the libtool script
   7111 tagname=
   7112 lt_save_CC="$CC"
   7113 ac_ext=c
   7114 ac_cpp='$CPP $CPPFLAGS'
   7115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7118 
   7119 
   7120 # Source file extension for C test sources.
   7121 ac_ext=c
   7122 
   7123 # Object file extension for compiled C test sources.
   7124 objext=o
   7125 objext=$objext
   7126 
   7127 # Code to be used in simple compile tests
   7128 lt_simple_compile_test_code="int some_variable = 0;"
   7129 
   7130 # Code to be used in simple link tests
   7131 lt_simple_link_test_code='int main(){return(0);}'
   7132 
   7133 
   7134 # If no C compiler was specified, use CC.
   7135 LTCC=${LTCC-"$CC"}
   7136 
   7137 # If no C compiler flags were specified, use CFLAGS.
   7138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7139 
   7140 # Allow CC to be a program name with arguments.
   7141 compiler=$CC
   7142 
   7143 
   7144 # save warnings/boilerplate of simple test code
   7145 ac_outfile=conftest.$ac_objext
   7146 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7147 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7148 _lt_compiler_boilerplate=`cat conftest.err`
   7149 $rm conftest*
   7150 
   7151 ac_outfile=conftest.$ac_objext
   7152 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7153 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7154 _lt_linker_boilerplate=`cat conftest.err`
   7155 $rm conftest*
   7156 
   7157 
   7158 
   7159 lt_prog_compiler_no_builtin_flag=
   7160 
   7161 if test "$GCC" = yes; then
   7162   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7163 
   7164 
   7165 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7166 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7167 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7168   echo $ECHO_N "(cached) $ECHO_C" >&6
   7169 else
   7170   lt_cv_prog_compiler_rtti_exceptions=no
   7171   ac_outfile=conftest.$ac_objext
   7172    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7173    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7174    # Insert the option either (1) after the last *FLAGS variable, or
   7175    # (2) before a word containing "conftest.", or (3) at the end.
   7176    # Note that $ac_compile itself does not contain backslashes and begins
   7177    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7178    # The option is referenced via a variable to avoid confusing sed.
   7179    lt_compile=`echo "$ac_compile" | $SED \
   7180    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7181    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7182    -e 's:$: $lt_compiler_flag:'`
   7183    (eval echo "\"\$as_me:7183: $lt_compile\"" >&5)
   7184    (eval "$lt_compile" 2>conftest.err)
   7185    ac_status=$?
   7186    cat conftest.err >&5
   7187    echo "$as_me:7187: \$? = $ac_status" >&5
   7188    if (exit $ac_status) && test -s "$ac_outfile"; then
   7189      # The compiler can only warn and ignore the option if not recognized
   7190      # So say no if there are warnings other than the usual output.
   7191      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7192      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7193      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7194        lt_cv_prog_compiler_rtti_exceptions=yes
   7195      fi
   7196    fi
   7197    $rm conftest*
   7198 
   7199 fi
   7200 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7201 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7202 
   7203 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7204     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7205 else
   7206     :
   7207 fi
   7208 
   7209 fi
   7210 
   7211 lt_prog_compiler_wl=
   7212 lt_prog_compiler_pic=
   7213 lt_prog_compiler_static=
   7214 
   7215 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7216 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7217 
   7218   if test "$GCC" = yes; then
   7219     lt_prog_compiler_wl='-Wl,'
   7220     lt_prog_compiler_static='-static'
   7221 
   7222     case $host_os in
   7223       aix*)
   7224       # All AIX code is PIC.
   7225       if test "$host_cpu" = ia64; then
   7226 	# AIX 5 now supports IA64 processor
   7227 	lt_prog_compiler_static='-Bstatic'
   7228       fi
   7229       ;;
   7230 
   7231     amigaos*)
   7232       # FIXME: we need at least 68020 code to build shared libraries, but
   7233       # adding the `-m68020' flag to GCC prevents building anything better,
   7234       # like `-m68040'.
   7235       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7236       ;;
   7237 
   7238     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7239       # PIC is the default for these OSes.
   7240       ;;
   7241 
   7242     mingw* | cygwin* | pw32* | os2*)
   7243       # This hack is so that the source file can tell whether it is being
   7244       # built for inclusion in a dll (and should export symbols for example).
   7245       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7246       # (--disable-auto-import) libraries
   7247       lt_prog_compiler_pic='-DDLL_EXPORT'
   7248       ;;
   7249 
   7250     darwin* | rhapsody*)
   7251       # PIC is the default on this platform
   7252       # Common symbols not allowed in MH_DYLIB files
   7253       lt_prog_compiler_pic='-fno-common'
   7254       ;;
   7255 
   7256     interix[3-9]*)
   7257       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7258       # Instead, we relocate shared libraries at runtime.
   7259       ;;
   7260 
   7261     msdosdjgpp*)
   7262       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7263       # on systems that don't support them.
   7264       lt_prog_compiler_can_build_shared=no
   7265       enable_shared=no
   7266       ;;
   7267 
   7268     sysv4*MP*)
   7269       if test -d /usr/nec; then
   7270 	lt_prog_compiler_pic=-Kconform_pic
   7271       fi
   7272       ;;
   7273 
   7274     hpux*)
   7275       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7276       # not for PA HP-UX.
   7277       case $host_cpu in
   7278       hppa*64*|ia64*)
   7279 	# +Z the default
   7280 	;;
   7281       *)
   7282 	lt_prog_compiler_pic='-fPIC'
   7283 	;;
   7284       esac
   7285       ;;
   7286 
   7287     *)
   7288       lt_prog_compiler_pic='-fPIC'
   7289       ;;
   7290     esac
   7291   else
   7292     # PORTME Check for flag to pass linker flags through the system compiler.
   7293     case $host_os in
   7294     aix*)
   7295       lt_prog_compiler_wl='-Wl,'
   7296       if test "$host_cpu" = ia64; then
   7297 	# AIX 5 now supports IA64 processor
   7298 	lt_prog_compiler_static='-Bstatic'
   7299       else
   7300 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7301       fi
   7302       ;;
   7303       darwin*)
   7304         # PIC is the default on this platform
   7305         # Common symbols not allowed in MH_DYLIB files
   7306        case $cc_basename in
   7307          xlc*)
   7308          lt_prog_compiler_pic='-qnocommon'
   7309          lt_prog_compiler_wl='-Wl,'
   7310          ;;
   7311        esac
   7312        ;;
   7313 
   7314     mingw* | cygwin* | pw32* | os2*)
   7315       # This hack is so that the source file can tell whether it is being
   7316       # built for inclusion in a dll (and should export symbols for example).
   7317       lt_prog_compiler_pic='-DDLL_EXPORT'
   7318       ;;
   7319 
   7320     hpux9* | hpux10* | hpux11*)
   7321       lt_prog_compiler_wl='-Wl,'
   7322       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7323       # not for PA HP-UX.
   7324       case $host_cpu in
   7325       hppa*64*|ia64*)
   7326 	# +Z the default
   7327 	;;
   7328       *)
   7329 	lt_prog_compiler_pic='+Z'
   7330 	;;
   7331       esac
   7332       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7333       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7334       ;;
   7335 
   7336     irix5* | irix6* | nonstopux*)
   7337       lt_prog_compiler_wl='-Wl,'
   7338       # PIC (with -KPIC) is the default.
   7339       lt_prog_compiler_static='-non_shared'
   7340       ;;
   7341 
   7342     newsos6)
   7343       lt_prog_compiler_pic='-KPIC'
   7344       lt_prog_compiler_static='-Bstatic'
   7345       ;;
   7346 
   7347     linux* | k*bsd*-gnu)
   7348       case $cc_basename in
   7349       icc* | ecc*)
   7350 	lt_prog_compiler_wl='-Wl,'
   7351 	lt_prog_compiler_pic='-KPIC'
   7352 	lt_prog_compiler_static='-static'
   7353         ;;
   7354       pgcc* | pgf77* | pgf90* | pgf95*)
   7355         # Portland Group compilers (*not* the Pentium gcc compiler,
   7356 	# which looks to be a dead project)
   7357 	lt_prog_compiler_wl='-Wl,'
   7358 	lt_prog_compiler_pic='-fpic'
   7359 	lt_prog_compiler_static='-Bstatic'
   7360         ;;
   7361       ccc*)
   7362         lt_prog_compiler_wl='-Wl,'
   7363         # All Alpha code is PIC.
   7364         lt_prog_compiler_static='-non_shared'
   7365         ;;
   7366       *)
   7367         case `$CC -V 2>&1 | sed 5q` in
   7368 	*Sun\ C*)
   7369 	  # Sun C 5.9
   7370 	  lt_prog_compiler_pic='-KPIC'
   7371 	  lt_prog_compiler_static='-Bstatic'
   7372 	  lt_prog_compiler_wl='-Wl,'
   7373 	  ;;
   7374 	*Sun\ F*)
   7375 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7376 	  lt_prog_compiler_pic='-KPIC'
   7377 	  lt_prog_compiler_static='-Bstatic'
   7378 	  lt_prog_compiler_wl=''
   7379 	  ;;
   7380 	esac
   7381 	;;
   7382       esac
   7383       ;;
   7384 
   7385     osf3* | osf4* | osf5*)
   7386       lt_prog_compiler_wl='-Wl,'
   7387       # All OSF/1 code is PIC.
   7388       lt_prog_compiler_static='-non_shared'
   7389       ;;
   7390 
   7391     rdos*)
   7392       lt_prog_compiler_static='-non_shared'
   7393       ;;
   7394 
   7395     solaris*)
   7396       lt_prog_compiler_pic='-KPIC'
   7397       lt_prog_compiler_static='-Bstatic'
   7398       case $cc_basename in
   7399       f77* | f90* | f95*)
   7400 	lt_prog_compiler_wl='-Qoption ld ';;
   7401       *)
   7402 	lt_prog_compiler_wl='-Wl,';;
   7403       esac
   7404       ;;
   7405 
   7406     sunos4*)
   7407       lt_prog_compiler_wl='-Qoption ld '
   7408       lt_prog_compiler_pic='-PIC'
   7409       lt_prog_compiler_static='-Bstatic'
   7410       ;;
   7411 
   7412     sysv4 | sysv4.2uw2* | sysv4.3*)
   7413       lt_prog_compiler_wl='-Wl,'
   7414       lt_prog_compiler_pic='-KPIC'
   7415       lt_prog_compiler_static='-Bstatic'
   7416       ;;
   7417 
   7418     sysv4*MP*)
   7419       if test -d /usr/nec ;then
   7420 	lt_prog_compiler_pic='-Kconform_pic'
   7421 	lt_prog_compiler_static='-Bstatic'
   7422       fi
   7423       ;;
   7424 
   7425     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7426       lt_prog_compiler_wl='-Wl,'
   7427       lt_prog_compiler_pic='-KPIC'
   7428       lt_prog_compiler_static='-Bstatic'
   7429       ;;
   7430 
   7431     unicos*)
   7432       lt_prog_compiler_wl='-Wl,'
   7433       lt_prog_compiler_can_build_shared=no
   7434       ;;
   7435 
   7436     uts4*)
   7437       lt_prog_compiler_pic='-pic'
   7438       lt_prog_compiler_static='-Bstatic'
   7439       ;;
   7440 
   7441     *)
   7442       lt_prog_compiler_can_build_shared=no
   7443       ;;
   7444     esac
   7445   fi
   7446 
   7447 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7448 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7449 
   7450 #
   7451 # Check to make sure the PIC flag actually works.
   7452 #
   7453 if test -n "$lt_prog_compiler_pic"; then
   7454 
   7455 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7456 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7457 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7458   echo $ECHO_N "(cached) $ECHO_C" >&6
   7459 else
   7460   lt_prog_compiler_pic_works=no
   7461   ac_outfile=conftest.$ac_objext
   7462    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7463    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7464    # Insert the option either (1) after the last *FLAGS variable, or
   7465    # (2) before a word containing "conftest.", or (3) at the end.
   7466    # Note that $ac_compile itself does not contain backslashes and begins
   7467    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7468    # The option is referenced via a variable to avoid confusing sed.
   7469    lt_compile=`echo "$ac_compile" | $SED \
   7470    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7471    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7472    -e 's:$: $lt_compiler_flag:'`
   7473    (eval echo "\"\$as_me:7473: $lt_compile\"" >&5)
   7474    (eval "$lt_compile" 2>conftest.err)
   7475    ac_status=$?
   7476    cat conftest.err >&5
   7477    echo "$as_me:7477: \$? = $ac_status" >&5
   7478    if (exit $ac_status) && test -s "$ac_outfile"; then
   7479      # The compiler can only warn and ignore the option if not recognized
   7480      # So say no if there are warnings other than the usual output.
   7481      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7482      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7483      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7484        lt_prog_compiler_pic_works=yes
   7485      fi
   7486    fi
   7487    $rm conftest*
   7488 
   7489 fi
   7490 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7491 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7492 
   7493 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7494     case $lt_prog_compiler_pic in
   7495      "" | " "*) ;;
   7496      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7497      esac
   7498 else
   7499     lt_prog_compiler_pic=
   7500      lt_prog_compiler_can_build_shared=no
   7501 fi
   7502 
   7503 fi
   7504 case $host_os in
   7505   # For platforms which do not support PIC, -DPIC is meaningless:
   7506   *djgpp*)
   7507     lt_prog_compiler_pic=
   7508     ;;
   7509   *)
   7510     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7511     ;;
   7512 esac
   7513 
   7514 #
   7515 # Check to make sure the static flag actually works.
   7516 #
   7517 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7518 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7519 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7520 if test "${lt_prog_compiler_static_works+set}" = set; then
   7521   echo $ECHO_N "(cached) $ECHO_C" >&6
   7522 else
   7523   lt_prog_compiler_static_works=no
   7524    save_LDFLAGS="$LDFLAGS"
   7525    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7526    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7527    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7528      # The linker can only warn and ignore the option if not recognized
   7529      # So say no if there are warnings
   7530      if test -s conftest.err; then
   7531        # Append any errors to the config.log.
   7532        cat conftest.err 1>&5
   7533        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7534        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7535        if diff conftest.exp conftest.er2 >/dev/null; then
   7536          lt_prog_compiler_static_works=yes
   7537        fi
   7538      else
   7539        lt_prog_compiler_static_works=yes
   7540      fi
   7541    fi
   7542    $rm conftest*
   7543    LDFLAGS="$save_LDFLAGS"
   7544 
   7545 fi
   7546 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7547 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7548 
   7549 if test x"$lt_prog_compiler_static_works" = xyes; then
   7550     :
   7551 else
   7552     lt_prog_compiler_static=
   7553 fi
   7554 
   7555 
   7556 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7557 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7558 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7559   echo $ECHO_N "(cached) $ECHO_C" >&6
   7560 else
   7561   lt_cv_prog_compiler_c_o=no
   7562    $rm -r conftest 2>/dev/null
   7563    mkdir conftest
   7564    cd conftest
   7565    mkdir out
   7566    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7567 
   7568    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7569    # Insert the option either (1) after the last *FLAGS variable, or
   7570    # (2) before a word containing "conftest.", or (3) at the end.
   7571    # Note that $ac_compile itself does not contain backslashes and begins
   7572    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7573    lt_compile=`echo "$ac_compile" | $SED \
   7574    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7575    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7576    -e 's:$: $lt_compiler_flag:'`
   7577    (eval echo "\"\$as_me:7577: $lt_compile\"" >&5)
   7578    (eval "$lt_compile" 2>out/conftest.err)
   7579    ac_status=$?
   7580    cat out/conftest.err >&5
   7581    echo "$as_me:7581: \$? = $ac_status" >&5
   7582    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7583    then
   7584      # The compiler can only warn and ignore the option if not recognized
   7585      # So say no if there are warnings
   7586      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7587      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7588      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7589        lt_cv_prog_compiler_c_o=yes
   7590      fi
   7591    fi
   7592    chmod u+w . 2>&5
   7593    $rm conftest*
   7594    # SGI C++ compiler will create directory out/ii_files/ for
   7595    # template instantiation
   7596    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7597    $rm out/* && rmdir out
   7598    cd ..
   7599    rmdir conftest
   7600    $rm conftest*
   7601 
   7602 fi
   7603 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7604 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7605 
   7606 
   7607 hard_links="nottested"
   7608 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7609   # do not overwrite the value of need_locks provided by the user
   7610   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7611 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7612   hard_links=yes
   7613   $rm conftest*
   7614   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7615   touch conftest.a
   7616   ln conftest.a conftest.b 2>&5 || hard_links=no
   7617   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7618   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7619 echo "${ECHO_T}$hard_links" >&6; }
   7620   if test "$hard_links" = no; then
   7621     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7622 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7623     need_locks=warn
   7624   fi
   7625 else
   7626   need_locks=no
   7627 fi
   7628 
   7629 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7630 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7631 
   7632   runpath_var=
   7633   allow_undefined_flag=
   7634   enable_shared_with_static_runtimes=no
   7635   archive_cmds=
   7636   archive_expsym_cmds=
   7637   old_archive_From_new_cmds=
   7638   old_archive_from_expsyms_cmds=
   7639   export_dynamic_flag_spec=
   7640   whole_archive_flag_spec=
   7641   thread_safe_flag_spec=
   7642   hardcode_libdir_flag_spec=
   7643   hardcode_libdir_flag_spec_ld=
   7644   hardcode_libdir_separator=
   7645   hardcode_direct=no
   7646   hardcode_minus_L=no
   7647   hardcode_shlibpath_var=unsupported
   7648   link_all_deplibs=unknown
   7649   hardcode_automatic=no
   7650   module_cmds=
   7651   module_expsym_cmds=
   7652   always_export_symbols=no
   7653   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7654   # include_expsyms should be a list of space-separated symbols to be *always*
   7655   # included in the symbol list
   7656   include_expsyms=
   7657   # exclude_expsyms can be an extended regexp of symbols to exclude
   7658   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7659   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7660   # as well as any symbol that contains `d'.
   7661   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7662   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7663   # platforms (ab)use it in PIC code, but their linkers get confused if
   7664   # the symbol is explicitly referenced.  Since portable code cannot
   7665   # rely on this symbol name, it's probably fine to never include it in
   7666   # preloaded symbol tables.
   7667   extract_expsyms_cmds=
   7668   # Just being paranoid about ensuring that cc_basename is set.
   7669   for cc_temp in $compiler""; do
   7670   case $cc_temp in
   7671     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7672     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7673     \-*) ;;
   7674     *) break;;
   7675   esac
   7676 done
   7677 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7678 
   7679   case $host_os in
   7680   cygwin* | mingw* | pw32*)
   7681     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7682     # When not using gcc, we currently assume that we are using
   7683     # Microsoft Visual C++.
   7684     if test "$GCC" != yes; then
   7685       with_gnu_ld=no
   7686     fi
   7687     ;;
   7688   interix*)
   7689     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7690     with_gnu_ld=yes
   7691     ;;
   7692   openbsd*)
   7693     with_gnu_ld=no
   7694     ;;
   7695   esac
   7696 
   7697   ld_shlibs=yes
   7698   if test "$with_gnu_ld" = yes; then
   7699     # If archive_cmds runs LD, not CC, wlarc should be empty
   7700     wlarc='${wl}'
   7701 
   7702     # Set some defaults for GNU ld with shared library support. These
   7703     # are reset later if shared libraries are not supported. Putting them
   7704     # here allows them to be overridden if necessary.
   7705     runpath_var=LD_RUN_PATH
   7706     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7707     export_dynamic_flag_spec='${wl}--export-dynamic'
   7708     # ancient GNU ld didn't support --whole-archive et. al.
   7709     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7710 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7711       else
   7712   	whole_archive_flag_spec=
   7713     fi
   7714     supports_anon_versioning=no
   7715     case `$LD -v 2>/dev/null` in
   7716       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7717       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7718       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7719       *\ 2.11.*) ;; # other 2.11 versions
   7720       *) supports_anon_versioning=yes ;;
   7721     esac
   7722 
   7723     # See if GNU ld supports shared libraries.
   7724     case $host_os in
   7725     aix3* | aix4* | aix5*)
   7726       # On AIX/PPC, the GNU linker is very broken
   7727       if test "$host_cpu" != ia64; then
   7728 	ld_shlibs=no
   7729 	cat <<EOF 1>&2
   7730 
   7731 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7732 *** to be unable to reliably create shared libraries on AIX.
   7733 *** Therefore, libtool is disabling shared libraries support.  If you
   7734 *** really care for shared libraries, you may want to modify your PATH
   7735 *** so that a non-GNU linker is found, and then restart.
   7736 
   7737 EOF
   7738       fi
   7739       ;;
   7740 
   7741     amigaos*)
   7742       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)'
   7743       hardcode_libdir_flag_spec='-L$libdir'
   7744       hardcode_minus_L=yes
   7745 
   7746       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7747       # that the semantics of dynamic libraries on AmigaOS, at least up
   7748       # to version 4, is to share data among multiple programs linked
   7749       # with the same dynamic library.  Since this doesn't match the
   7750       # behavior of shared libraries on other platforms, we can't use
   7751       # them.
   7752       ld_shlibs=no
   7753       ;;
   7754 
   7755     beos*)
   7756       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7757 	allow_undefined_flag=unsupported
   7758 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7759 	# support --undefined.  This deserves some investigation.  FIXME
   7760 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7761       else
   7762 	ld_shlibs=no
   7763       fi
   7764       ;;
   7765 
   7766     cygwin* | mingw* | pw32*)
   7767       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7768       # as there is no search path for DLLs.
   7769       hardcode_libdir_flag_spec='-L$libdir'
   7770       allow_undefined_flag=unsupported
   7771       always_export_symbols=no
   7772       enable_shared_with_static_runtimes=yes
   7773       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7774 
   7775       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7776         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7777 	# If the export-symbols file already is a .def file (1st line
   7778 	# is EXPORTS), use it as is; otherwise, prepend...
   7779 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7780 	  cp $export_symbols $output_objdir/$soname.def;
   7781 	else
   7782 	  echo EXPORTS > $output_objdir/$soname.def;
   7783 	  cat $export_symbols >> $output_objdir/$soname.def;
   7784 	fi~
   7785 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7786       else
   7787 	ld_shlibs=no
   7788       fi
   7789       ;;
   7790 
   7791     interix[3-9]*)
   7792       hardcode_direct=no
   7793       hardcode_shlibpath_var=no
   7794       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7795       export_dynamic_flag_spec='${wl}-E'
   7796       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7797       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7798       # default) and relocated if they conflict, which is a slow very memory
   7799       # consuming and fragmenting process.  To avoid this, we pick a random,
   7800       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7801       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7802       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7803       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'
   7804       ;;
   7805 
   7806     gnu* | linux* | k*bsd*-gnu)
   7807       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7808 	tmp_addflag=
   7809 	case $cc_basename,$host_cpu in
   7810 	pgcc*)				# Portland Group C compiler
   7811 	  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'
   7812 	  tmp_addflag=' $pic_flag'
   7813 	  ;;
   7814 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7815 	  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'
   7816 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7817 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7818 	  tmp_addflag=' -i_dynamic' ;;
   7819 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7820 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7821 	ifc* | ifort*)			# Intel Fortran compiler
   7822 	  tmp_addflag=' -nofor_main' ;;
   7823 	esac
   7824 	case `$CC -V 2>&1 | sed 5q` in
   7825 	*Sun\ C*)			# Sun C 5.9
   7826 	  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'
   7827 	  tmp_sharedflag='-G' ;;
   7828 	*Sun\ F*)			# Sun Fortran 8.3
   7829 	  tmp_sharedflag='-G' ;;
   7830 	*)
   7831 	  tmp_sharedflag='-shared' ;;
   7832 	esac
   7833 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7834 
   7835 	if test $supports_anon_versioning = yes; then
   7836 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7837   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7838   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7839 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7840 	fi
   7841       else
   7842 	ld_shlibs=no
   7843       fi
   7844       ;;
   7845 
   7846     netbsd*)
   7847       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7848 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7849 	wlarc=
   7850       else
   7851 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7852 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7853       fi
   7854       ;;
   7855 
   7856     solaris*)
   7857       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7858 	ld_shlibs=no
   7859 	cat <<EOF 1>&2
   7860 
   7861 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7862 *** create shared libraries on Solaris systems.  Therefore, libtool
   7863 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7864 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7865 *** your PATH or compiler configuration so that the native linker is
   7866 *** used, and then restart.
   7867 
   7868 EOF
   7869       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7870 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7871 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7872       else
   7873 	ld_shlibs=no
   7874       fi
   7875       ;;
   7876 
   7877     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7878       case `$LD -v 2>&1` in
   7879         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7880 	ld_shlibs=no
   7881 	cat <<_LT_EOF 1>&2
   7882 
   7883 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7884 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7885 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7886 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7887 *** your PATH or compiler configuration so that the native linker is
   7888 *** used, and then restart.
   7889 
   7890 _LT_EOF
   7891 	;;
   7892 	*)
   7893 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7894 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7895 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7896 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7897 	  else
   7898 	    ld_shlibs=no
   7899 	  fi
   7900 	;;
   7901       esac
   7902       ;;
   7903 
   7904     sunos4*)
   7905       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7906       wlarc=
   7907       hardcode_direct=yes
   7908       hardcode_shlibpath_var=no
   7909       ;;
   7910 
   7911     *)
   7912       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7913 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7914 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7915       else
   7916 	ld_shlibs=no
   7917       fi
   7918       ;;
   7919     esac
   7920 
   7921     if test "$ld_shlibs" = no; then
   7922       runpath_var=
   7923       hardcode_libdir_flag_spec=
   7924       export_dynamic_flag_spec=
   7925       whole_archive_flag_spec=
   7926     fi
   7927   else
   7928     # PORTME fill in a description of your system's linker (not GNU ld)
   7929     case $host_os in
   7930     aix3*)
   7931       allow_undefined_flag=unsupported
   7932       always_export_symbols=yes
   7933       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'
   7934       # Note: this linker hardcodes the directories in LIBPATH if there
   7935       # are no directories specified by -L.
   7936       hardcode_minus_L=yes
   7937       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7938 	# Neither direct hardcoding nor static linking is supported with a
   7939 	# broken collect2.
   7940 	hardcode_direct=unsupported
   7941       fi
   7942       ;;
   7943 
   7944     aix4* | aix5*)
   7945       if test "$host_cpu" = ia64; then
   7946 	# On IA64, the linker does run time linking by default, so we don't
   7947 	# have to do anything special.
   7948 	aix_use_runtimelinking=no
   7949 	exp_sym_flag='-Bexport'
   7950 	no_entry_flag=""
   7951       else
   7952 	# If we're using GNU nm, then we don't want the "-C" option.
   7953 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7954 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7955 	  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'
   7956 	else
   7957 	  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'
   7958 	fi
   7959 	aix_use_runtimelinking=no
   7960 
   7961 	# Test if we are trying to use run time linking or normal
   7962 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7963 	# need to do runtime linking.
   7964 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7965 	  for ld_flag in $LDFLAGS; do
   7966   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7967   	    aix_use_runtimelinking=yes
   7968   	    break
   7969   	  fi
   7970 	  done
   7971 	  ;;
   7972 	esac
   7973 
   7974 	exp_sym_flag='-bexport'
   7975 	no_entry_flag='-bnoentry'
   7976       fi
   7977 
   7978       # When large executables or shared objects are built, AIX ld can
   7979       # have problems creating the table of contents.  If linking a library
   7980       # or program results in "error TOC overflow" add -mminimal-toc to
   7981       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7982       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7983 
   7984       archive_cmds=''
   7985       hardcode_direct=yes
   7986       hardcode_libdir_separator=':'
   7987       link_all_deplibs=yes
   7988 
   7989       if test "$GCC" = yes; then
   7990 	case $host_os in aix4.[012]|aix4.[012].*)
   7991 	# We only want to do this on AIX 4.2 and lower, the check
   7992 	# below for broken collect2 doesn't work under 4.3+
   7993 	  collect2name=`${CC} -print-prog-name=collect2`
   7994 	  if test -f "$collect2name" && \
   7995   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7996 	  then
   7997   	  # We have reworked collect2
   7998   	  :
   7999 	  else
   8000   	  # We have old collect2
   8001   	  hardcode_direct=unsupported
   8002   	  # It fails to find uninstalled libraries when the uninstalled
   8003   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8004   	  # to unsupported forces relinking
   8005   	  hardcode_minus_L=yes
   8006   	  hardcode_libdir_flag_spec='-L$libdir'
   8007   	  hardcode_libdir_separator=
   8008 	  fi
   8009 	  ;;
   8010 	esac
   8011 	shared_flag='-shared'
   8012 	if test "$aix_use_runtimelinking" = yes; then
   8013 	  shared_flag="$shared_flag "'${wl}-G'
   8014 	fi
   8015       else
   8016 	# not using gcc
   8017 	if test "$host_cpu" = ia64; then
   8018   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8019   	# chokes on -Wl,-G. The following line is correct:
   8020 	  shared_flag='-G'
   8021 	else
   8022 	  if test "$aix_use_runtimelinking" = yes; then
   8023 	    shared_flag='${wl}-G'
   8024 	  else
   8025 	    shared_flag='${wl}-bM:SRE'
   8026 	  fi
   8027 	fi
   8028       fi
   8029 
   8030       # It seems that -bexpall does not export symbols beginning with
   8031       # underscore (_), so it is better to generate a list of symbols to export.
   8032       always_export_symbols=yes
   8033       if test "$aix_use_runtimelinking" = yes; then
   8034 	# Warning - without using the other runtime loading flags (-brtl),
   8035 	# -berok will link without error, but may produce a broken library.
   8036 	allow_undefined_flag='-berok'
   8037        # Determine the default libpath from the value encoded in an empty executable.
   8038        cat >conftest.$ac_ext <<_ACEOF
   8039 /* confdefs.h.  */
   8040 _ACEOF
   8041 cat confdefs.h >>conftest.$ac_ext
   8042 cat >>conftest.$ac_ext <<_ACEOF
   8043 /* end confdefs.h.  */
   8044 
   8045 int
   8046 main ()
   8047 {
   8048 
   8049   ;
   8050   return 0;
   8051 }
   8052 _ACEOF
   8053 rm -f conftest.$ac_objext conftest$ac_exeext
   8054 if { (ac_try="$ac_link"
   8055 case "(($ac_try" in
   8056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8057   *) ac_try_echo=$ac_try;;
   8058 esac
   8059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8060   (eval "$ac_link") 2>conftest.er1
   8061   ac_status=$?
   8062   grep -v '^ *+' conftest.er1 >conftest.err
   8063   rm -f conftest.er1
   8064   cat conftest.err >&5
   8065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8066   (exit $ac_status); } && {
   8067 	 test -z "$ac_c_werror_flag" ||
   8068 	 test ! -s conftest.err
   8069        } && test -s conftest$ac_exeext &&
   8070        $as_test_x conftest$ac_exeext; then
   8071 
   8072 lt_aix_libpath_sed='
   8073     /Import File Strings/,/^$/ {
   8074 	/^0/ {
   8075 	    s/^0  *\(.*\)$/\1/
   8076 	    p
   8077 	}
   8078     }'
   8079 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8080 # Check for a 64-bit object if we didn't find anything.
   8081 if test -z "$aix_libpath"; then
   8082   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8083 fi
   8084 else
   8085   echo "$as_me: failed program was:" >&5
   8086 sed 's/^/| /' conftest.$ac_ext >&5
   8087 
   8088 
   8089 fi
   8090 
   8091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8092       conftest$ac_exeext conftest.$ac_ext
   8093 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8094 
   8095        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8096 	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"
   8097        else
   8098 	if test "$host_cpu" = ia64; then
   8099 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8100 	  allow_undefined_flag="-z nodefs"
   8101 	  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"
   8102 	else
   8103 	 # Determine the default libpath from the value encoded in an empty executable.
   8104 	 cat >conftest.$ac_ext <<_ACEOF
   8105 /* confdefs.h.  */
   8106 _ACEOF
   8107 cat confdefs.h >>conftest.$ac_ext
   8108 cat >>conftest.$ac_ext <<_ACEOF
   8109 /* end confdefs.h.  */
   8110 
   8111 int
   8112 main ()
   8113 {
   8114 
   8115   ;
   8116   return 0;
   8117 }
   8118 _ACEOF
   8119 rm -f conftest.$ac_objext conftest$ac_exeext
   8120 if { (ac_try="$ac_link"
   8121 case "(($ac_try" in
   8122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8123   *) ac_try_echo=$ac_try;;
   8124 esac
   8125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8126   (eval "$ac_link") 2>conftest.er1
   8127   ac_status=$?
   8128   grep -v '^ *+' conftest.er1 >conftest.err
   8129   rm -f conftest.er1
   8130   cat conftest.err >&5
   8131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8132   (exit $ac_status); } && {
   8133 	 test -z "$ac_c_werror_flag" ||
   8134 	 test ! -s conftest.err
   8135        } && test -s conftest$ac_exeext &&
   8136        $as_test_x conftest$ac_exeext; then
   8137 
   8138 lt_aix_libpath_sed='
   8139     /Import File Strings/,/^$/ {
   8140 	/^0/ {
   8141 	    s/^0  *\(.*\)$/\1/
   8142 	    p
   8143 	}
   8144     }'
   8145 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8146 # Check for a 64-bit object if we didn't find anything.
   8147 if test -z "$aix_libpath"; then
   8148   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8149 fi
   8150 else
   8151   echo "$as_me: failed program was:" >&5
   8152 sed 's/^/| /' conftest.$ac_ext >&5
   8153 
   8154 
   8155 fi
   8156 
   8157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8158       conftest$ac_exeext conftest.$ac_ext
   8159 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8160 
   8161 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8162 	  # Warning - without using the other run time loading flags,
   8163 	  # -berok will link without error, but may produce a broken library.
   8164 	  no_undefined_flag=' ${wl}-bernotok'
   8165 	  allow_undefined_flag=' ${wl}-berok'
   8166 	  # Exported symbols can be pulled into shared objects from archives
   8167 	  whole_archive_flag_spec='$convenience'
   8168 	  archive_cmds_need_lc=yes
   8169 	  # This is similar to how AIX traditionally builds its shared libraries.
   8170 	  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'
   8171 	fi
   8172       fi
   8173       ;;
   8174 
   8175     amigaos*)
   8176       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)'
   8177       hardcode_libdir_flag_spec='-L$libdir'
   8178       hardcode_minus_L=yes
   8179       # see comment about different semantics on the GNU ld section
   8180       ld_shlibs=no
   8181       ;;
   8182 
   8183     bsdi[45]*)
   8184       export_dynamic_flag_spec=-rdynamic
   8185       ;;
   8186 
   8187     cygwin* | mingw* | pw32*)
   8188       # When not using gcc, we currently assume that we are using
   8189       # Microsoft Visual C++.
   8190       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8191       # no search path for DLLs.
   8192       hardcode_libdir_flag_spec=' '
   8193       allow_undefined_flag=unsupported
   8194       # Tell ltmain to make .lib files, not .a files.
   8195       libext=lib
   8196       # Tell ltmain to make .dll files, not .so files.
   8197       shrext_cmds=".dll"
   8198       # FIXME: Setting linknames here is a bad hack.
   8199       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8200       # The linker will automatically build a .lib file if we build a DLL.
   8201       old_archive_From_new_cmds='true'
   8202       # FIXME: Should let the user specify the lib program.
   8203       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8204       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8205       enable_shared_with_static_runtimes=yes
   8206       ;;
   8207 
   8208     darwin* | rhapsody*)
   8209       case $host_os in
   8210         rhapsody* | darwin1.[012])
   8211          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8212          ;;
   8213        *) # Darwin 1.3 on
   8214          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8215            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8216          else
   8217            case ${MACOSX_DEPLOYMENT_TARGET} in
   8218              10.[012])
   8219                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8220                ;;
   8221              10.*)
   8222                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8223                ;;
   8224            esac
   8225          fi
   8226          ;;
   8227       esac
   8228       archive_cmds_need_lc=no
   8229       hardcode_direct=no
   8230       hardcode_automatic=yes
   8231       hardcode_shlibpath_var=unsupported
   8232       whole_archive_flag_spec=''
   8233       link_all_deplibs=yes
   8234     if test "$GCC" = yes ; then
   8235     	output_verbose_link_cmd='echo'
   8236         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8237       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8238       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8239       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}'
   8240       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}'
   8241     else
   8242       case $cc_basename in
   8243         xlc*)
   8244          output_verbose_link_cmd='echo'
   8245          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8246          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8247           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8248          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}'
   8249           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}'
   8250           ;;
   8251        *)
   8252          ld_shlibs=no
   8253           ;;
   8254       esac
   8255     fi
   8256       ;;
   8257 
   8258     dgux*)
   8259       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8260       hardcode_libdir_flag_spec='-L$libdir'
   8261       hardcode_shlibpath_var=no
   8262       ;;
   8263 
   8264     freebsd1*)
   8265       ld_shlibs=no
   8266       ;;
   8267 
   8268     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8269     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8270     # does not break anything, and helps significantly (at the cost of a little
   8271     # extra space).
   8272     freebsd2.2*)
   8273       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8274       hardcode_libdir_flag_spec='-R$libdir'
   8275       hardcode_direct=yes
   8276       hardcode_shlibpath_var=no
   8277       ;;
   8278 
   8279     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8280     freebsd2*)
   8281       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8282       hardcode_direct=yes
   8283       hardcode_minus_L=yes
   8284       hardcode_shlibpath_var=no
   8285       ;;
   8286 
   8287     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8288     freebsd* | dragonfly*)
   8289       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8290       hardcode_libdir_flag_spec='-R$libdir'
   8291       hardcode_direct=yes
   8292       hardcode_shlibpath_var=no
   8293       ;;
   8294 
   8295     hpux9*)
   8296       if test "$GCC" = yes; then
   8297 	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'
   8298       else
   8299 	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'
   8300       fi
   8301       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8302       hardcode_libdir_separator=:
   8303       hardcode_direct=yes
   8304 
   8305       # hardcode_minus_L: Not really in the search PATH,
   8306       # but as the default location of the library.
   8307       hardcode_minus_L=yes
   8308       export_dynamic_flag_spec='${wl}-E'
   8309       ;;
   8310 
   8311     hpux10*)
   8312       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8313 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8314       else
   8315 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8316       fi
   8317       if test "$with_gnu_ld" = no; then
   8318 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8319 	hardcode_libdir_separator=:
   8320 
   8321 	hardcode_direct=yes
   8322 	export_dynamic_flag_spec='${wl}-E'
   8323 
   8324 	# hardcode_minus_L: Not really in the search PATH,
   8325 	# but as the default location of the library.
   8326 	hardcode_minus_L=yes
   8327       fi
   8328       ;;
   8329 
   8330     hpux11*)
   8331       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8332 	case $host_cpu in
   8333 	hppa*64*)
   8334 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8335 	  ;;
   8336 	ia64*)
   8337 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8338 	  ;;
   8339 	*)
   8340 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8341 	  ;;
   8342 	esac
   8343       else
   8344 	case $host_cpu in
   8345 	hppa*64*)
   8346 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8347 	  ;;
   8348 	ia64*)
   8349 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8350 	  ;;
   8351 	*)
   8352 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8353 	  ;;
   8354 	esac
   8355       fi
   8356       if test "$with_gnu_ld" = no; then
   8357 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8358 	hardcode_libdir_separator=:
   8359 
   8360 	case $host_cpu in
   8361 	hppa*64*|ia64*)
   8362 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8363 	  hardcode_direct=no
   8364 	  hardcode_shlibpath_var=no
   8365 	  ;;
   8366 	*)
   8367 	  hardcode_direct=yes
   8368 	  export_dynamic_flag_spec='${wl}-E'
   8369 
   8370 	  # hardcode_minus_L: Not really in the search PATH,
   8371 	  # but as the default location of the library.
   8372 	  hardcode_minus_L=yes
   8373 	  ;;
   8374 	esac
   8375       fi
   8376       ;;
   8377 
   8378     irix5* | irix6* | nonstopux*)
   8379       if test "$GCC" = yes; then
   8380 	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'
   8381       else
   8382 	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'
   8383 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8384       fi
   8385       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8386       hardcode_libdir_separator=:
   8387       link_all_deplibs=yes
   8388       ;;
   8389 
   8390     netbsd*)
   8391       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8392 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8393       else
   8394 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8395       fi
   8396       hardcode_libdir_flag_spec='-R$libdir'
   8397       hardcode_direct=yes
   8398       hardcode_shlibpath_var=no
   8399       ;;
   8400 
   8401     newsos6)
   8402       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8403       hardcode_direct=yes
   8404       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8405       hardcode_libdir_separator=:
   8406       hardcode_shlibpath_var=no
   8407       ;;
   8408 
   8409     openbsd*)
   8410       if test -f /usr/libexec/ld.so; then
   8411 	hardcode_direct=yes
   8412 	hardcode_shlibpath_var=no
   8413 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8414 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8415 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8416 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8417 	  export_dynamic_flag_spec='${wl}-E'
   8418 	else
   8419 	  case $host_os in
   8420 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8421 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8422 	     hardcode_libdir_flag_spec='-R$libdir'
   8423 	     ;;
   8424 	   *)
   8425 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8426 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8427 	     ;;
   8428 	  esac
   8429         fi
   8430       else
   8431 	ld_shlibs=no
   8432       fi
   8433       ;;
   8434 
   8435     os2*)
   8436       hardcode_libdir_flag_spec='-L$libdir'
   8437       hardcode_minus_L=yes
   8438       allow_undefined_flag=unsupported
   8439       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'
   8440       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8441       ;;
   8442 
   8443     osf3*)
   8444       if test "$GCC" = yes; then
   8445 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8446 	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'
   8447       else
   8448 	allow_undefined_flag=' -expect_unresolved \*'
   8449 	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'
   8450       fi
   8451       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8452       hardcode_libdir_separator=:
   8453       ;;
   8454 
   8455     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8456       if test "$GCC" = yes; then
   8457 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8458 	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'
   8459 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8460       else
   8461 	allow_undefined_flag=' -expect_unresolved \*'
   8462 	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'
   8463 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8464 	$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'
   8465 
   8466 	# Both c and cxx compiler support -rpath directly
   8467 	hardcode_libdir_flag_spec='-rpath $libdir'
   8468       fi
   8469       hardcode_libdir_separator=:
   8470       ;;
   8471 
   8472     solaris*)
   8473       no_undefined_flag=' -z text'
   8474       if test "$GCC" = yes; then
   8475 	wlarc='${wl}'
   8476 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8477 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8478 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8479       else
   8480 	wlarc=''
   8481 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8482 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8483   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8484       fi
   8485       hardcode_libdir_flag_spec='-R$libdir'
   8486       hardcode_shlibpath_var=no
   8487       case $host_os in
   8488       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8489       *)
   8490 	# The compiler driver will combine and reorder linker options,
   8491 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8492 	# but is careful enough not to reorder.
   8493  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8494 	if test "$GCC" = yes; then
   8495 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8496 	else
   8497 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8498 	fi
   8499 	;;
   8500       esac
   8501       link_all_deplibs=yes
   8502       ;;
   8503 
   8504     sunos4*)
   8505       if test "x$host_vendor" = xsequent; then
   8506 	# Use $CC to link under sequent, because it throws in some extra .o
   8507 	# files that make .init and .fini sections work.
   8508 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8509       else
   8510 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8511       fi
   8512       hardcode_libdir_flag_spec='-L$libdir'
   8513       hardcode_direct=yes
   8514       hardcode_minus_L=yes
   8515       hardcode_shlibpath_var=no
   8516       ;;
   8517 
   8518     sysv4)
   8519       case $host_vendor in
   8520 	sni)
   8521 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8522 	  hardcode_direct=yes # is this really true???
   8523 	;;
   8524 	siemens)
   8525 	  ## LD is ld it makes a PLAMLIB
   8526 	  ## CC just makes a GrossModule.
   8527 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8528 	  reload_cmds='$CC -r -o $output$reload_objs'
   8529 	  hardcode_direct=no
   8530         ;;
   8531 	motorola)
   8532 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8533 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8534 	;;
   8535       esac
   8536       runpath_var='LD_RUN_PATH'
   8537       hardcode_shlibpath_var=no
   8538       ;;
   8539 
   8540     sysv4.3*)
   8541       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8542       hardcode_shlibpath_var=no
   8543       export_dynamic_flag_spec='-Bexport'
   8544       ;;
   8545 
   8546     sysv4*MP*)
   8547       if test -d /usr/nec; then
   8548 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8549 	hardcode_shlibpath_var=no
   8550 	runpath_var=LD_RUN_PATH
   8551 	hardcode_runpath_var=yes
   8552 	ld_shlibs=yes
   8553       fi
   8554       ;;
   8555 
   8556     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8557       no_undefined_flag='${wl}-z,text'
   8558       archive_cmds_need_lc=no
   8559       hardcode_shlibpath_var=no
   8560       runpath_var='LD_RUN_PATH'
   8561 
   8562       if test "$GCC" = yes; then
   8563 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8564 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8565       else
   8566 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8567 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8568       fi
   8569       ;;
   8570 
   8571     sysv5* | sco3.2v5* | sco5v6*)
   8572       # Note: We can NOT use -z defs as we might desire, because we do not
   8573       # link with -lc, and that would cause any symbols used from libc to
   8574       # always be unresolved, which means just about no library would
   8575       # ever link correctly.  If we're not using GNU ld we use -z text
   8576       # though, which does catch some bad symbols but isn't as heavy-handed
   8577       # as -z defs.
   8578       no_undefined_flag='${wl}-z,text'
   8579       allow_undefined_flag='${wl}-z,nodefs'
   8580       archive_cmds_need_lc=no
   8581       hardcode_shlibpath_var=no
   8582       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8583       hardcode_libdir_separator=':'
   8584       link_all_deplibs=yes
   8585       export_dynamic_flag_spec='${wl}-Bexport'
   8586       runpath_var='LD_RUN_PATH'
   8587 
   8588       if test "$GCC" = yes; then
   8589 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8590 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8591       else
   8592 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8593 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8594       fi
   8595       ;;
   8596 
   8597     uts4*)
   8598       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8599       hardcode_libdir_flag_spec='-L$libdir'
   8600       hardcode_shlibpath_var=no
   8601       ;;
   8602 
   8603     *)
   8604       ld_shlibs=no
   8605       ;;
   8606     esac
   8607   fi
   8608 
   8609 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8610 echo "${ECHO_T}$ld_shlibs" >&6; }
   8611 test "$ld_shlibs" = no && can_build_shared=no
   8612 
   8613 #
   8614 # Do we need to explicitly link libc?
   8615 #
   8616 case "x$archive_cmds_need_lc" in
   8617 x|xyes)
   8618   # Assume -lc should be added
   8619   archive_cmds_need_lc=yes
   8620 
   8621   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8622     case $archive_cmds in
   8623     *'~'*)
   8624       # FIXME: we may have to deal with multi-command sequences.
   8625       ;;
   8626     '$CC '*)
   8627       # Test whether the compiler implicitly links with -lc since on some
   8628       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8629       # to ld, don't add -lc before -lgcc.
   8630       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8631 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8632       $rm conftest*
   8633       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8634 
   8635       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8636   (eval $ac_compile) 2>&5
   8637   ac_status=$?
   8638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8639   (exit $ac_status); } 2>conftest.err; then
   8640         soname=conftest
   8641         lib=conftest
   8642         libobjs=conftest.$ac_objext
   8643         deplibs=
   8644         wl=$lt_prog_compiler_wl
   8645 	pic_flag=$lt_prog_compiler_pic
   8646         compiler_flags=-v
   8647         linker_flags=-v
   8648         verstring=
   8649         output_objdir=.
   8650         libname=conftest
   8651         lt_save_allow_undefined_flag=$allow_undefined_flag
   8652         allow_undefined_flag=
   8653         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8654   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8655   ac_status=$?
   8656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8657   (exit $ac_status); }
   8658         then
   8659 	  archive_cmds_need_lc=no
   8660         else
   8661 	  archive_cmds_need_lc=yes
   8662         fi
   8663         allow_undefined_flag=$lt_save_allow_undefined_flag
   8664       else
   8665         cat conftest.err 1>&5
   8666       fi
   8667       $rm conftest*
   8668       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8669 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8670       ;;
   8671     esac
   8672   fi
   8673   ;;
   8674 esac
   8675 
   8676 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8677 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8678 library_names_spec=
   8679 libname_spec='lib$name'
   8680 soname_spec=
   8681 shrext_cmds=".so"
   8682 postinstall_cmds=
   8683 postuninstall_cmds=
   8684 finish_cmds=
   8685 finish_eval=
   8686 shlibpath_var=
   8687 shlibpath_overrides_runpath=unknown
   8688 version_type=none
   8689 dynamic_linker="$host_os ld.so"
   8690 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8691 
   8692 if test "$GCC" = yes; then
   8693   case $host_os in
   8694     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   8695     *) lt_awk_arg="/^libraries:/" ;;
   8696   esac
   8697   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8698   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   8699     # if the path contains ";" then we assume it to be the separator
   8700     # otherwise default to the standard path separator (i.e. ":") - it is
   8701     # assumed that no part of a normal pathname contains ";" but that should
   8702     # okay in the real world where ";" in dirpaths is itself problematic.
   8703     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   8704   else
   8705     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8706   fi
   8707   # Ok, now we have the path, separated by spaces, we can step through it
   8708   # and add multilib dir if necessary.
   8709   lt_tmp_lt_search_path_spec=
   8710   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   8711   for lt_sys_path in $lt_search_path_spec; do
   8712     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   8713       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   8714     else
   8715       test -d "$lt_sys_path" && \
   8716 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   8717     fi
   8718   done
   8719   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   8720 BEGIN {RS=" "; FS="/|\n";} {
   8721   lt_foo="";
   8722   lt_count=0;
   8723   for (lt_i = NF; lt_i > 0; lt_i--) {
   8724     if ($lt_i != "" && $lt_i != ".") {
   8725       if ($lt_i == "..") {
   8726         lt_count++;
   8727       } else {
   8728         if (lt_count == 0) {
   8729           lt_foo="/" $lt_i lt_foo;
   8730         } else {
   8731           lt_count--;
   8732         }
   8733       }
   8734     }
   8735   }
   8736   if (lt_foo != "") { lt_freq[lt_foo]++; }
   8737   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   8738 }'`
   8739   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   8740 else
   8741   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8742 fi
   8743 need_lib_prefix=unknown
   8744 hardcode_into_libs=no
   8745 
   8746 # when you set need_version to no, make sure it does not cause -set_version
   8747 # flags to be left without arguments
   8748 need_version=unknown
   8749 
   8750 case $host_os in
   8751 aix3*)
   8752   version_type=linux
   8753   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8754   shlibpath_var=LIBPATH
   8755 
   8756   # AIX 3 has no versioning support, so we append a major version to the name.
   8757   soname_spec='${libname}${release}${shared_ext}$major'
   8758   ;;
   8759 
   8760 aix4* | aix5*)
   8761   version_type=linux
   8762   need_lib_prefix=no
   8763   need_version=no
   8764   hardcode_into_libs=yes
   8765   if test "$host_cpu" = ia64; then
   8766     # AIX 5 supports IA64
   8767     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8768     shlibpath_var=LD_LIBRARY_PATH
   8769   else
   8770     # With GCC up to 2.95.x, collect2 would create an import file
   8771     # for dependence libraries.  The import file would start with
   8772     # the line `#! .'.  This would cause the generated library to
   8773     # depend on `.', always an invalid library.  This was fixed in
   8774     # development snapshots of GCC prior to 3.0.
   8775     case $host_os in
   8776       aix4 | aix4.[01] | aix4.[01].*)
   8777       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8778 	   echo ' yes '
   8779 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8780 	:
   8781       else
   8782 	can_build_shared=no
   8783       fi
   8784       ;;
   8785     esac
   8786     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8787     # soname into executable. Probably we can add versioning support to
   8788     # collect2, so additional links can be useful in future.
   8789     if test "$aix_use_runtimelinking" = yes; then
   8790       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8791       # instead of lib<name>.a to let people know that these are not
   8792       # typical AIX shared libraries.
   8793       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8794     else
   8795       # We preserve .a as extension for shared libraries through AIX4.2
   8796       # and later when we are not doing run time linking.
   8797       library_names_spec='${libname}${release}.a $libname.a'
   8798       soname_spec='${libname}${release}${shared_ext}$major'
   8799     fi
   8800     shlibpath_var=LIBPATH
   8801   fi
   8802   ;;
   8803 
   8804 amigaos*)
   8805   library_names_spec='$libname.ixlibrary $libname.a'
   8806   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8807   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'
   8808   ;;
   8809 
   8810 beos*)
   8811   library_names_spec='${libname}${shared_ext}'
   8812   dynamic_linker="$host_os ld.so"
   8813   shlibpath_var=LIBRARY_PATH
   8814   ;;
   8815 
   8816 bsdi[45]*)
   8817   version_type=linux
   8818   need_version=no
   8819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8820   soname_spec='${libname}${release}${shared_ext}$major'
   8821   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8822   shlibpath_var=LD_LIBRARY_PATH
   8823   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8824   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8825   # the default ld.so.conf also contains /usr/contrib/lib and
   8826   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8827   # libtool to hard-code these into programs
   8828   ;;
   8829 
   8830 cygwin* | mingw* | pw32*)
   8831   version_type=windows
   8832   shrext_cmds=".dll"
   8833   need_version=no
   8834   need_lib_prefix=no
   8835 
   8836   case $GCC,$host_os in
   8837   yes,cygwin* | yes,mingw* | yes,pw32*)
   8838     library_names_spec='$libname.dll.a'
   8839     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8840     postinstall_cmds='base_file=`basename \${file}`~
   8841       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8842       dldir=$destdir/`dirname \$dlpath`~
   8843       test -d \$dldir || mkdir -p \$dldir~
   8844       $install_prog $dir/$dlname \$dldir/$dlname~
   8845       chmod a+x \$dldir/$dlname'
   8846     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8847       dlpath=$dir/\$dldll~
   8848        $rm \$dlpath'
   8849     shlibpath_overrides_runpath=yes
   8850 
   8851     case $host_os in
   8852     cygwin*)
   8853       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8854       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8855       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8856       ;;
   8857     mingw*)
   8858       # MinGW DLLs use traditional 'lib' prefix
   8859       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8860       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8861       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8862         # It is most probably a Windows format PATH printed by
   8863         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8864         # path with ; separators, and with drive letters. We can handle the
   8865         # drive letters (cygwin fileutils understands them), so leave them,
   8866         # especially as we might pass files found there to a mingw objdump,
   8867         # which wouldn't understand a cygwinified path. Ahh.
   8868         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8869       else
   8870         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8871       fi
   8872       ;;
   8873     pw32*)
   8874       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8875       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8876       ;;
   8877     esac
   8878     ;;
   8879 
   8880   *)
   8881     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8882     ;;
   8883   esac
   8884   dynamic_linker='Win32 ld.exe'
   8885   # FIXME: first we should search . and the directory the executable is in
   8886   shlibpath_var=PATH
   8887   ;;
   8888 
   8889 darwin* | rhapsody*)
   8890   dynamic_linker="$host_os dyld"
   8891   version_type=darwin
   8892   need_lib_prefix=no
   8893   need_version=no
   8894   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8895   soname_spec='${libname}${release}${major}$shared_ext'
   8896   shlibpath_overrides_runpath=yes
   8897   shlibpath_var=DYLD_LIBRARY_PATH
   8898   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8899 
   8900   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   8901   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8902   ;;
   8903 
   8904 dgux*)
   8905   version_type=linux
   8906   need_lib_prefix=no
   8907   need_version=no
   8908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8909   soname_spec='${libname}${release}${shared_ext}$major'
   8910   shlibpath_var=LD_LIBRARY_PATH
   8911   ;;
   8912 
   8913 freebsd1*)
   8914   dynamic_linker=no
   8915   ;;
   8916 
   8917 freebsd* | dragonfly*)
   8918   # DragonFly does not have aout.  When/if they implement a new
   8919   # versioning mechanism, adjust this.
   8920   if test -x /usr/bin/objformat; then
   8921     objformat=`/usr/bin/objformat`
   8922   else
   8923     case $host_os in
   8924     freebsd[123]*) objformat=aout ;;
   8925     *) objformat=elf ;;
   8926     esac
   8927   fi
   8928   version_type=freebsd-$objformat
   8929   case $version_type in
   8930     freebsd-elf*)
   8931       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8932       need_version=no
   8933       need_lib_prefix=no
   8934       ;;
   8935     freebsd-*)
   8936       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8937       need_version=yes
   8938       ;;
   8939   esac
   8940   shlibpath_var=LD_LIBRARY_PATH
   8941   case $host_os in
   8942   freebsd2*)
   8943     shlibpath_overrides_runpath=yes
   8944     ;;
   8945   freebsd3.[01]* | freebsdelf3.[01]*)
   8946     shlibpath_overrides_runpath=yes
   8947     hardcode_into_libs=yes
   8948     ;;
   8949   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8950   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8951     shlibpath_overrides_runpath=no
   8952     hardcode_into_libs=yes
   8953     ;;
   8954   *) # from 4.6 on, and DragonFly
   8955     shlibpath_overrides_runpath=yes
   8956     hardcode_into_libs=yes
   8957     ;;
   8958   esac
   8959   ;;
   8960 
   8961 gnu*)
   8962   version_type=linux
   8963   need_lib_prefix=no
   8964   need_version=no
   8965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8966   soname_spec='${libname}${release}${shared_ext}$major'
   8967   shlibpath_var=LD_LIBRARY_PATH
   8968   hardcode_into_libs=yes
   8969   ;;
   8970 
   8971 hpux9* | hpux10* | hpux11*)
   8972   # Give a soname corresponding to the major version so that dld.sl refuses to
   8973   # link against other versions.
   8974   version_type=sunos
   8975   need_lib_prefix=no
   8976   need_version=no
   8977   case $host_cpu in
   8978   ia64*)
   8979     shrext_cmds='.so'
   8980     hardcode_into_libs=yes
   8981     dynamic_linker="$host_os dld.so"
   8982     shlibpath_var=LD_LIBRARY_PATH
   8983     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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     if test "X$HPUX_IA64_MODE" = X32; then
   8987       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8988     else
   8989       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8990     fi
   8991     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8992     ;;
   8993    hppa*64*)
   8994      shrext_cmds='.sl'
   8995      hardcode_into_libs=yes
   8996      dynamic_linker="$host_os dld.sl"
   8997      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8998      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8999      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9000      soname_spec='${libname}${release}${shared_ext}$major'
   9001      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9002      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9003      ;;
   9004    *)
   9005     shrext_cmds='.sl'
   9006     dynamic_linker="$host_os dld.sl"
   9007     shlibpath_var=SHLIB_PATH
   9008     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9009     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9010     soname_spec='${libname}${release}${shared_ext}$major'
   9011     ;;
   9012   esac
   9013   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9014   postinstall_cmds='chmod 555 $lib'
   9015   ;;
   9016 
   9017 interix[3-9]*)
   9018   version_type=linux
   9019   need_lib_prefix=no
   9020   need_version=no
   9021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9022   soname_spec='${libname}${release}${shared_ext}$major'
   9023   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9024   shlibpath_var=LD_LIBRARY_PATH
   9025   shlibpath_overrides_runpath=no
   9026   hardcode_into_libs=yes
   9027   ;;
   9028 
   9029 irix5* | irix6* | nonstopux*)
   9030   case $host_os in
   9031     nonstopux*) version_type=nonstopux ;;
   9032     *)
   9033 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9034 		version_type=linux
   9035 	else
   9036 		version_type=irix
   9037 	fi ;;
   9038   esac
   9039   need_lib_prefix=no
   9040   need_version=no
   9041   soname_spec='${libname}${release}${shared_ext}$major'
   9042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9043   case $host_os in
   9044   irix5* | nonstopux*)
   9045     libsuff= shlibsuff=
   9046     ;;
   9047   *)
   9048     case $LD in # libtool.m4 will add one of these switches to LD
   9049     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9050       libsuff= shlibsuff= libmagic=32-bit;;
   9051     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9052       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9053     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9054       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9055     *) libsuff= shlibsuff= libmagic=never-match;;
   9056     esac
   9057     ;;
   9058   esac
   9059   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9060   shlibpath_overrides_runpath=no
   9061   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9062   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9063   hardcode_into_libs=yes
   9064   ;;
   9065 
   9066 # No shared lib support for Linux oldld, aout, or coff.
   9067 linux*oldld* | linux*aout* | linux*coff*)
   9068   dynamic_linker=no
   9069   ;;
   9070 
   9071 # This must be Linux ELF.
   9072 linux* | k*bsd*-gnu)
   9073   version_type=linux
   9074   need_lib_prefix=no
   9075   need_version=no
   9076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9077   soname_spec='${libname}${release}${shared_ext}$major'
   9078   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9079   shlibpath_var=LD_LIBRARY_PATH
   9080   shlibpath_overrides_runpath=no
   9081   # This implies no fast_install, which is unacceptable.
   9082   # Some rework will be needed to allow for fast_install
   9083   # before this can be enabled.
   9084   hardcode_into_libs=yes
   9085 
   9086   # Append ld.so.conf contents to the search path
   9087   if test -f /etc/ld.so.conf; then
   9088     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' ' '`
   9089     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9090   fi
   9091 
   9092   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9093   # powerpc, because MkLinux only supported shared libraries with the
   9094   # GNU dynamic linker.  Since this was broken with cross compilers,
   9095   # most powerpc-linux boxes support dynamic linking these days and
   9096   # people can always --disable-shared, the test was removed, and we
   9097   # assume the GNU/Linux dynamic linker is in use.
   9098   dynamic_linker='GNU/Linux ld.so'
   9099   ;;
   9100 
   9101 netbsd*)
   9102   version_type=sunos
   9103   need_lib_prefix=no
   9104   need_version=no
   9105   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9106     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9107     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9108     dynamic_linker='NetBSD (a.out) ld.so'
   9109   else
   9110     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9111     soname_spec='${libname}${release}${shared_ext}$major'
   9112     dynamic_linker='NetBSD ld.elf_so'
   9113   fi
   9114   shlibpath_var=LD_LIBRARY_PATH
   9115   shlibpath_overrides_runpath=yes
   9116   hardcode_into_libs=yes
   9117   ;;
   9118 
   9119 newsos6)
   9120   version_type=linux
   9121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9122   shlibpath_var=LD_LIBRARY_PATH
   9123   shlibpath_overrides_runpath=yes
   9124   ;;
   9125 
   9126 nto-qnx*)
   9127   version_type=linux
   9128   need_lib_prefix=no
   9129   need_version=no
   9130   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9131   soname_spec='${libname}${release}${shared_ext}$major'
   9132   shlibpath_var=LD_LIBRARY_PATH
   9133   shlibpath_overrides_runpath=yes
   9134   ;;
   9135 
   9136 openbsd*)
   9137   version_type=sunos
   9138   sys_lib_dlsearch_path_spec="/usr/lib"
   9139   need_lib_prefix=no
   9140   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9141   case $host_os in
   9142     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9143     *)                         need_version=no  ;;
   9144   esac
   9145   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9146   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9147   shlibpath_var=LD_LIBRARY_PATH
   9148   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9149     case $host_os in
   9150       openbsd2.[89] | openbsd2.[89].*)
   9151 	shlibpath_overrides_runpath=no
   9152 	;;
   9153       *)
   9154 	shlibpath_overrides_runpath=yes
   9155 	;;
   9156       esac
   9157   else
   9158     shlibpath_overrides_runpath=yes
   9159   fi
   9160   ;;
   9161 
   9162 os2*)
   9163   libname_spec='$name'
   9164   shrext_cmds=".dll"
   9165   need_lib_prefix=no
   9166   library_names_spec='$libname${shared_ext} $libname.a'
   9167   dynamic_linker='OS/2 ld.exe'
   9168   shlibpath_var=LIBPATH
   9169   ;;
   9170 
   9171 osf3* | osf4* | osf5*)
   9172   version_type=osf
   9173   need_lib_prefix=no
   9174   need_version=no
   9175   soname_spec='${libname}${release}${shared_ext}$major'
   9176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9177   shlibpath_var=LD_LIBRARY_PATH
   9178   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9179   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9180   ;;
   9181 
   9182 rdos*)
   9183   dynamic_linker=no
   9184   ;;
   9185 
   9186 solaris*)
   9187   version_type=linux
   9188   need_lib_prefix=no
   9189   need_version=no
   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   shlibpath_overrides_runpath=yes
   9194   hardcode_into_libs=yes
   9195   # ldd complains unless libraries are executable
   9196   postinstall_cmds='chmod +x $lib'
   9197   ;;
   9198 
   9199 sunos4*)
   9200   version_type=sunos
   9201   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9202   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9203   shlibpath_var=LD_LIBRARY_PATH
   9204   shlibpath_overrides_runpath=yes
   9205   if test "$with_gnu_ld" = yes; then
   9206     need_lib_prefix=no
   9207   fi
   9208   need_version=yes
   9209   ;;
   9210 
   9211 sysv4 | sysv4.3*)
   9212   version_type=linux
   9213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9214   soname_spec='${libname}${release}${shared_ext}$major'
   9215   shlibpath_var=LD_LIBRARY_PATH
   9216   case $host_vendor in
   9217     sni)
   9218       shlibpath_overrides_runpath=no
   9219       need_lib_prefix=no
   9220       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9221       runpath_var=LD_RUN_PATH
   9222       ;;
   9223     siemens)
   9224       need_lib_prefix=no
   9225       ;;
   9226     motorola)
   9227       need_lib_prefix=no
   9228       need_version=no
   9229       shlibpath_overrides_runpath=no
   9230       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9231       ;;
   9232   esac
   9233   ;;
   9234 
   9235 sysv4*MP*)
   9236   if test -d /usr/nec ;then
   9237     version_type=linux
   9238     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9239     soname_spec='$libname${shared_ext}.$major'
   9240     shlibpath_var=LD_LIBRARY_PATH
   9241   fi
   9242   ;;
   9243 
   9244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9245   version_type=freebsd-elf
   9246   need_lib_prefix=no
   9247   need_version=no
   9248   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9249   soname_spec='${libname}${release}${shared_ext}$major'
   9250   shlibpath_var=LD_LIBRARY_PATH
   9251   hardcode_into_libs=yes
   9252   if test "$with_gnu_ld" = yes; then
   9253     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9254     shlibpath_overrides_runpath=no
   9255   else
   9256     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9257     shlibpath_overrides_runpath=yes
   9258     case $host_os in
   9259       sco3.2v5*)
   9260         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9261 	;;
   9262     esac
   9263   fi
   9264   sys_lib_dlsearch_path_spec='/usr/lib'
   9265   ;;
   9266 
   9267 uts4*)
   9268   version_type=linux
   9269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9270   soname_spec='${libname}${release}${shared_ext}$major'
   9271   shlibpath_var=LD_LIBRARY_PATH
   9272   ;;
   9273 
   9274 *)
   9275   dynamic_linker=no
   9276   ;;
   9277 esac
   9278 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9279 echo "${ECHO_T}$dynamic_linker" >&6; }
   9280 test "$dynamic_linker" = no && can_build_shared=no
   9281 
   9282 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9283 if test "$GCC" = yes; then
   9284   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9285 fi
   9286 
   9287 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9288 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9289 hardcode_action=
   9290 if test -n "$hardcode_libdir_flag_spec" || \
   9291    test -n "$runpath_var" || \
   9292    test "X$hardcode_automatic" = "Xyes" ; then
   9293 
   9294   # We can hardcode non-existant directories.
   9295   if test "$hardcode_direct" != no &&
   9296      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9297      # have to relink, otherwise we might link with an installed library
   9298      # when we should be linking with a yet-to-be-installed one
   9299      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9300      test "$hardcode_minus_L" != no; then
   9301     # Linking always hardcodes the temporary library directory.
   9302     hardcode_action=relink
   9303   else
   9304     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9305     hardcode_action=immediate
   9306   fi
   9307 else
   9308   # We cannot hardcode anything, or else we can only hardcode existing
   9309   # directories.
   9310   hardcode_action=unsupported
   9311 fi
   9312 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9313 echo "${ECHO_T}$hardcode_action" >&6; }
   9314 
   9315 if test "$hardcode_action" = relink; then
   9316   # Fast installation is not supported
   9317   enable_fast_install=no
   9318 elif test "$shlibpath_overrides_runpath" = yes ||
   9319      test "$enable_shared" = no; then
   9320   # Fast installation is not necessary
   9321   enable_fast_install=needless
   9322 fi
   9323 
   9324 striplib=
   9325 old_striplib=
   9326 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9327 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9328 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9329   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9330   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9331   { echo "$as_me:$LINENO: result: yes" >&5
   9332 echo "${ECHO_T}yes" >&6; }
   9333 else
   9334 # FIXME - insert some real tests, host_os isn't really good enough
   9335   case $host_os in
   9336    darwin*)
   9337        if test -n "$STRIP" ; then
   9338          striplib="$STRIP -x"
   9339          old_striplib="$STRIP -S"
   9340          { echo "$as_me:$LINENO: result: yes" >&5
   9341 echo "${ECHO_T}yes" >&6; }
   9342        else
   9343   { echo "$as_me:$LINENO: result: no" >&5
   9344 echo "${ECHO_T}no" >&6; }
   9345 fi
   9346        ;;
   9347    *)
   9348   { echo "$as_me:$LINENO: result: no" >&5
   9349 echo "${ECHO_T}no" >&6; }
   9350     ;;
   9351   esac
   9352 fi
   9353 
   9354 if test "x$enable_dlopen" != xyes; then
   9355   enable_dlopen=unknown
   9356   enable_dlopen_self=unknown
   9357   enable_dlopen_self_static=unknown
   9358 else
   9359   lt_cv_dlopen=no
   9360   lt_cv_dlopen_libs=
   9361 
   9362   case $host_os in
   9363   beos*)
   9364     lt_cv_dlopen="load_add_on"
   9365     lt_cv_dlopen_libs=
   9366     lt_cv_dlopen_self=yes
   9367     ;;
   9368 
   9369   mingw* | pw32*)
   9370     lt_cv_dlopen="LoadLibrary"
   9371     lt_cv_dlopen_libs=
   9372    ;;
   9373 
   9374   cygwin*)
   9375     lt_cv_dlopen="dlopen"
   9376     lt_cv_dlopen_libs=
   9377    ;;
   9378 
   9379   darwin*)
   9380   # if libdl is installed we need to link against it
   9381     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9382 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9383 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9384   echo $ECHO_N "(cached) $ECHO_C" >&6
   9385 else
   9386   ac_check_lib_save_LIBS=$LIBS
   9387 LIBS="-ldl  $LIBS"
   9388 cat >conftest.$ac_ext <<_ACEOF
   9389 /* confdefs.h.  */
   9390 _ACEOF
   9391 cat confdefs.h >>conftest.$ac_ext
   9392 cat >>conftest.$ac_ext <<_ACEOF
   9393 /* end confdefs.h.  */
   9394 
   9395 /* Override any GCC internal prototype to avoid an error.
   9396    Use char because int might match the return type of a GCC
   9397    builtin and then its argument prototype would still apply.  */
   9398 #ifdef __cplusplus
   9399 extern "C"
   9400 #endif
   9401 char dlopen ();
   9402 int
   9403 main ()
   9404 {
   9405 return dlopen ();
   9406   ;
   9407   return 0;
   9408 }
   9409 _ACEOF
   9410 rm -f conftest.$ac_objext conftest$ac_exeext
   9411 if { (ac_try="$ac_link"
   9412 case "(($ac_try" in
   9413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9414   *) ac_try_echo=$ac_try;;
   9415 esac
   9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9417   (eval "$ac_link") 2>conftest.er1
   9418   ac_status=$?
   9419   grep -v '^ *+' conftest.er1 >conftest.err
   9420   rm -f conftest.er1
   9421   cat conftest.err >&5
   9422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9423   (exit $ac_status); } && {
   9424 	 test -z "$ac_c_werror_flag" ||
   9425 	 test ! -s conftest.err
   9426        } && test -s conftest$ac_exeext &&
   9427        $as_test_x conftest$ac_exeext; then
   9428   ac_cv_lib_dl_dlopen=yes
   9429 else
   9430   echo "$as_me: failed program was:" >&5
   9431 sed 's/^/| /' conftest.$ac_ext >&5
   9432 
   9433 	ac_cv_lib_dl_dlopen=no
   9434 fi
   9435 
   9436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9437       conftest$ac_exeext conftest.$ac_ext
   9438 LIBS=$ac_check_lib_save_LIBS
   9439 fi
   9440 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9441 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9442 if test $ac_cv_lib_dl_dlopen = yes; then
   9443   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9444 else
   9445 
   9446     lt_cv_dlopen="dyld"
   9447     lt_cv_dlopen_libs=
   9448     lt_cv_dlopen_self=yes
   9449 
   9450 fi
   9451 
   9452    ;;
   9453 
   9454   *)
   9455     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9456 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9457 if test "${ac_cv_func_shl_load+set}" = set; then
   9458   echo $ECHO_N "(cached) $ECHO_C" >&6
   9459 else
   9460   cat >conftest.$ac_ext <<_ACEOF
   9461 /* confdefs.h.  */
   9462 _ACEOF
   9463 cat confdefs.h >>conftest.$ac_ext
   9464 cat >>conftest.$ac_ext <<_ACEOF
   9465 /* end confdefs.h.  */
   9466 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9468 #define shl_load innocuous_shl_load
   9469 
   9470 /* System header to define __stub macros and hopefully few prototypes,
   9471     which can conflict with char shl_load (); below.
   9472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9473     <limits.h> exists even on freestanding compilers.  */
   9474 
   9475 #ifdef __STDC__
   9476 # include <limits.h>
   9477 #else
   9478 # include <assert.h>
   9479 #endif
   9480 
   9481 #undef shl_load
   9482 
   9483 /* Override any GCC internal prototype to avoid an error.
   9484    Use char because int might match the return type of a GCC
   9485    builtin and then its argument prototype would still apply.  */
   9486 #ifdef __cplusplus
   9487 extern "C"
   9488 #endif
   9489 char shl_load ();
   9490 /* The GNU C library defines this for functions which it implements
   9491     to always fail with ENOSYS.  Some functions are actually named
   9492     something starting with __ and the normal name is an alias.  */
   9493 #if defined __stub_shl_load || defined __stub___shl_load
   9494 choke me
   9495 #endif
   9496 
   9497 int
   9498 main ()
   9499 {
   9500 return shl_load ();
   9501   ;
   9502   return 0;
   9503 }
   9504 _ACEOF
   9505 rm -f conftest.$ac_objext conftest$ac_exeext
   9506 if { (ac_try="$ac_link"
   9507 case "(($ac_try" in
   9508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9509   *) ac_try_echo=$ac_try;;
   9510 esac
   9511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9512   (eval "$ac_link") 2>conftest.er1
   9513   ac_status=$?
   9514   grep -v '^ *+' conftest.er1 >conftest.err
   9515   rm -f conftest.er1
   9516   cat conftest.err >&5
   9517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9518   (exit $ac_status); } && {
   9519 	 test -z "$ac_c_werror_flag" ||
   9520 	 test ! -s conftest.err
   9521        } && test -s conftest$ac_exeext &&
   9522        $as_test_x conftest$ac_exeext; then
   9523   ac_cv_func_shl_load=yes
   9524 else
   9525   echo "$as_me: failed program was:" >&5
   9526 sed 's/^/| /' conftest.$ac_ext >&5
   9527 
   9528 	ac_cv_func_shl_load=no
   9529 fi
   9530 
   9531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9532       conftest$ac_exeext conftest.$ac_ext
   9533 fi
   9534 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9535 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9536 if test $ac_cv_func_shl_load = yes; then
   9537   lt_cv_dlopen="shl_load"
   9538 else
   9539   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9540 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9541 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9542   echo $ECHO_N "(cached) $ECHO_C" >&6
   9543 else
   9544   ac_check_lib_save_LIBS=$LIBS
   9545 LIBS="-ldld  $LIBS"
   9546 cat >conftest.$ac_ext <<_ACEOF
   9547 /* confdefs.h.  */
   9548 _ACEOF
   9549 cat confdefs.h >>conftest.$ac_ext
   9550 cat >>conftest.$ac_ext <<_ACEOF
   9551 /* end confdefs.h.  */
   9552 
   9553 /* Override any GCC internal prototype to avoid an error.
   9554    Use char because int might match the return type of a GCC
   9555    builtin and then its argument prototype would still apply.  */
   9556 #ifdef __cplusplus
   9557 extern "C"
   9558 #endif
   9559 char shl_load ();
   9560 int
   9561 main ()
   9562 {
   9563 return shl_load ();
   9564   ;
   9565   return 0;
   9566 }
   9567 _ACEOF
   9568 rm -f conftest.$ac_objext conftest$ac_exeext
   9569 if { (ac_try="$ac_link"
   9570 case "(($ac_try" in
   9571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9572   *) ac_try_echo=$ac_try;;
   9573 esac
   9574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9575   (eval "$ac_link") 2>conftest.er1
   9576   ac_status=$?
   9577   grep -v '^ *+' conftest.er1 >conftest.err
   9578   rm -f conftest.er1
   9579   cat conftest.err >&5
   9580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9581   (exit $ac_status); } && {
   9582 	 test -z "$ac_c_werror_flag" ||
   9583 	 test ! -s conftest.err
   9584        } && test -s conftest$ac_exeext &&
   9585        $as_test_x conftest$ac_exeext; then
   9586   ac_cv_lib_dld_shl_load=yes
   9587 else
   9588   echo "$as_me: failed program was:" >&5
   9589 sed 's/^/| /' conftest.$ac_ext >&5
   9590 
   9591 	ac_cv_lib_dld_shl_load=no
   9592 fi
   9593 
   9594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9595       conftest$ac_exeext conftest.$ac_ext
   9596 LIBS=$ac_check_lib_save_LIBS
   9597 fi
   9598 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9599 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9600 if test $ac_cv_lib_dld_shl_load = yes; then
   9601   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9602 else
   9603   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9604 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9605 if test "${ac_cv_func_dlopen+set}" = set; then
   9606   echo $ECHO_N "(cached) $ECHO_C" >&6
   9607 else
   9608   cat >conftest.$ac_ext <<_ACEOF
   9609 /* confdefs.h.  */
   9610 _ACEOF
   9611 cat confdefs.h >>conftest.$ac_ext
   9612 cat >>conftest.$ac_ext <<_ACEOF
   9613 /* end confdefs.h.  */
   9614 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9616 #define dlopen innocuous_dlopen
   9617 
   9618 /* System header to define __stub macros and hopefully few prototypes,
   9619     which can conflict with char dlopen (); below.
   9620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9621     <limits.h> exists even on freestanding compilers.  */
   9622 
   9623 #ifdef __STDC__
   9624 # include <limits.h>
   9625 #else
   9626 # include <assert.h>
   9627 #endif
   9628 
   9629 #undef dlopen
   9630 
   9631 /* Override any GCC internal prototype to avoid an error.
   9632    Use char because int might match the return type of a GCC
   9633    builtin and then its argument prototype would still apply.  */
   9634 #ifdef __cplusplus
   9635 extern "C"
   9636 #endif
   9637 char dlopen ();
   9638 /* The GNU C library defines this for functions which it implements
   9639     to always fail with ENOSYS.  Some functions are actually named
   9640     something starting with __ and the normal name is an alias.  */
   9641 #if defined __stub_dlopen || defined __stub___dlopen
   9642 choke me
   9643 #endif
   9644 
   9645 int
   9646 main ()
   9647 {
   9648 return dlopen ();
   9649   ;
   9650   return 0;
   9651 }
   9652 _ACEOF
   9653 rm -f conftest.$ac_objext conftest$ac_exeext
   9654 if { (ac_try="$ac_link"
   9655 case "(($ac_try" in
   9656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9657   *) ac_try_echo=$ac_try;;
   9658 esac
   9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9660   (eval "$ac_link") 2>conftest.er1
   9661   ac_status=$?
   9662   grep -v '^ *+' conftest.er1 >conftest.err
   9663   rm -f conftest.er1
   9664   cat conftest.err >&5
   9665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9666   (exit $ac_status); } && {
   9667 	 test -z "$ac_c_werror_flag" ||
   9668 	 test ! -s conftest.err
   9669        } && test -s conftest$ac_exeext &&
   9670        $as_test_x conftest$ac_exeext; then
   9671   ac_cv_func_dlopen=yes
   9672 else
   9673   echo "$as_me: failed program was:" >&5
   9674 sed 's/^/| /' conftest.$ac_ext >&5
   9675 
   9676 	ac_cv_func_dlopen=no
   9677 fi
   9678 
   9679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9680       conftest$ac_exeext conftest.$ac_ext
   9681 fi
   9682 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9683 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9684 if test $ac_cv_func_dlopen = yes; then
   9685   lt_cv_dlopen="dlopen"
   9686 else
   9687   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9688 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9689 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9690   echo $ECHO_N "(cached) $ECHO_C" >&6
   9691 else
   9692   ac_check_lib_save_LIBS=$LIBS
   9693 LIBS="-ldl  $LIBS"
   9694 cat >conftest.$ac_ext <<_ACEOF
   9695 /* confdefs.h.  */
   9696 _ACEOF
   9697 cat confdefs.h >>conftest.$ac_ext
   9698 cat >>conftest.$ac_ext <<_ACEOF
   9699 /* end confdefs.h.  */
   9700 
   9701 /* Override any GCC internal prototype to avoid an error.
   9702    Use char because int might match the return type of a GCC
   9703    builtin and then its argument prototype would still apply.  */
   9704 #ifdef __cplusplus
   9705 extern "C"
   9706 #endif
   9707 char dlopen ();
   9708 int
   9709 main ()
   9710 {
   9711 return dlopen ();
   9712   ;
   9713   return 0;
   9714 }
   9715 _ACEOF
   9716 rm -f conftest.$ac_objext conftest$ac_exeext
   9717 if { (ac_try="$ac_link"
   9718 case "(($ac_try" in
   9719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9720   *) ac_try_echo=$ac_try;;
   9721 esac
   9722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9723   (eval "$ac_link") 2>conftest.er1
   9724   ac_status=$?
   9725   grep -v '^ *+' conftest.er1 >conftest.err
   9726   rm -f conftest.er1
   9727   cat conftest.err >&5
   9728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9729   (exit $ac_status); } && {
   9730 	 test -z "$ac_c_werror_flag" ||
   9731 	 test ! -s conftest.err
   9732        } && test -s conftest$ac_exeext &&
   9733        $as_test_x conftest$ac_exeext; then
   9734   ac_cv_lib_dl_dlopen=yes
   9735 else
   9736   echo "$as_me: failed program was:" >&5
   9737 sed 's/^/| /' conftest.$ac_ext >&5
   9738 
   9739 	ac_cv_lib_dl_dlopen=no
   9740 fi
   9741 
   9742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9743       conftest$ac_exeext conftest.$ac_ext
   9744 LIBS=$ac_check_lib_save_LIBS
   9745 fi
   9746 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9747 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9748 if test $ac_cv_lib_dl_dlopen = yes; then
   9749   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9750 else
   9751   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9752 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9753 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9754   echo $ECHO_N "(cached) $ECHO_C" >&6
   9755 else
   9756   ac_check_lib_save_LIBS=$LIBS
   9757 LIBS="-lsvld  $LIBS"
   9758 cat >conftest.$ac_ext <<_ACEOF
   9759 /* confdefs.h.  */
   9760 _ACEOF
   9761 cat confdefs.h >>conftest.$ac_ext
   9762 cat >>conftest.$ac_ext <<_ACEOF
   9763 /* end confdefs.h.  */
   9764 
   9765 /* Override any GCC internal prototype to avoid an error.
   9766    Use char because int might match the return type of a GCC
   9767    builtin and then its argument prototype would still apply.  */
   9768 #ifdef __cplusplus
   9769 extern "C"
   9770 #endif
   9771 char dlopen ();
   9772 int
   9773 main ()
   9774 {
   9775 return dlopen ();
   9776   ;
   9777   return 0;
   9778 }
   9779 _ACEOF
   9780 rm -f conftest.$ac_objext conftest$ac_exeext
   9781 if { (ac_try="$ac_link"
   9782 case "(($ac_try" in
   9783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9784   *) ac_try_echo=$ac_try;;
   9785 esac
   9786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9787   (eval "$ac_link") 2>conftest.er1
   9788   ac_status=$?
   9789   grep -v '^ *+' conftest.er1 >conftest.err
   9790   rm -f conftest.er1
   9791   cat conftest.err >&5
   9792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9793   (exit $ac_status); } && {
   9794 	 test -z "$ac_c_werror_flag" ||
   9795 	 test ! -s conftest.err
   9796        } && test -s conftest$ac_exeext &&
   9797        $as_test_x conftest$ac_exeext; then
   9798   ac_cv_lib_svld_dlopen=yes
   9799 else
   9800   echo "$as_me: failed program was:" >&5
   9801 sed 's/^/| /' conftest.$ac_ext >&5
   9802 
   9803 	ac_cv_lib_svld_dlopen=no
   9804 fi
   9805 
   9806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9807       conftest$ac_exeext conftest.$ac_ext
   9808 LIBS=$ac_check_lib_save_LIBS
   9809 fi
   9810 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9811 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9812 if test $ac_cv_lib_svld_dlopen = yes; then
   9813   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9814 else
   9815   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9816 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9817 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9818   echo $ECHO_N "(cached) $ECHO_C" >&6
   9819 else
   9820   ac_check_lib_save_LIBS=$LIBS
   9821 LIBS="-ldld  $LIBS"
   9822 cat >conftest.$ac_ext <<_ACEOF
   9823 /* confdefs.h.  */
   9824 _ACEOF
   9825 cat confdefs.h >>conftest.$ac_ext
   9826 cat >>conftest.$ac_ext <<_ACEOF
   9827 /* end confdefs.h.  */
   9828 
   9829 /* Override any GCC internal prototype to avoid an error.
   9830    Use char because int might match the return type of a GCC
   9831    builtin and then its argument prototype would still apply.  */
   9832 #ifdef __cplusplus
   9833 extern "C"
   9834 #endif
   9835 char dld_link ();
   9836 int
   9837 main ()
   9838 {
   9839 return dld_link ();
   9840   ;
   9841   return 0;
   9842 }
   9843 _ACEOF
   9844 rm -f conftest.$ac_objext conftest$ac_exeext
   9845 if { (ac_try="$ac_link"
   9846 case "(($ac_try" in
   9847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9848   *) ac_try_echo=$ac_try;;
   9849 esac
   9850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9851   (eval "$ac_link") 2>conftest.er1
   9852   ac_status=$?
   9853   grep -v '^ *+' conftest.er1 >conftest.err
   9854   rm -f conftest.er1
   9855   cat conftest.err >&5
   9856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9857   (exit $ac_status); } && {
   9858 	 test -z "$ac_c_werror_flag" ||
   9859 	 test ! -s conftest.err
   9860        } && test -s conftest$ac_exeext &&
   9861        $as_test_x conftest$ac_exeext; then
   9862   ac_cv_lib_dld_dld_link=yes
   9863 else
   9864   echo "$as_me: failed program was:" >&5
   9865 sed 's/^/| /' conftest.$ac_ext >&5
   9866 
   9867 	ac_cv_lib_dld_dld_link=no
   9868 fi
   9869 
   9870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9871       conftest$ac_exeext conftest.$ac_ext
   9872 LIBS=$ac_check_lib_save_LIBS
   9873 fi
   9874 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9875 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9876 if test $ac_cv_lib_dld_dld_link = yes; then
   9877   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9878 fi
   9879 
   9880 
   9881 fi
   9882 
   9883 
   9884 fi
   9885 
   9886 
   9887 fi
   9888 
   9889 
   9890 fi
   9891 
   9892 
   9893 fi
   9894 
   9895     ;;
   9896   esac
   9897 
   9898   if test "x$lt_cv_dlopen" != xno; then
   9899     enable_dlopen=yes
   9900   else
   9901     enable_dlopen=no
   9902   fi
   9903 
   9904   case $lt_cv_dlopen in
   9905   dlopen)
   9906     save_CPPFLAGS="$CPPFLAGS"
   9907     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9908 
   9909     save_LDFLAGS="$LDFLAGS"
   9910     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9911 
   9912     save_LIBS="$LIBS"
   9913     LIBS="$lt_cv_dlopen_libs $LIBS"
   9914 
   9915     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9916 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9917 if test "${lt_cv_dlopen_self+set}" = set; then
   9918   echo $ECHO_N "(cached) $ECHO_C" >&6
   9919 else
   9920   	  if test "$cross_compiling" = yes; then :
   9921   lt_cv_dlopen_self=cross
   9922 else
   9923   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9924   lt_status=$lt_dlunknown
   9925   cat > conftest.$ac_ext <<EOF
   9926 #line 9926 "configure"
   9927 #include "confdefs.h"
   9928 
   9929 #if HAVE_DLFCN_H
   9930 #include <dlfcn.h>
   9931 #endif
   9932 
   9933 #include <stdio.h>
   9934 
   9935 #ifdef RTLD_GLOBAL
   9936 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9937 #else
   9938 #  ifdef DL_GLOBAL
   9939 #    define LT_DLGLOBAL		DL_GLOBAL
   9940 #  else
   9941 #    define LT_DLGLOBAL		0
   9942 #  endif
   9943 #endif
   9944 
   9945 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9946    find out it does not work in some platform. */
   9947 #ifndef LT_DLLAZY_OR_NOW
   9948 #  ifdef RTLD_LAZY
   9949 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9950 #  else
   9951 #    ifdef DL_LAZY
   9952 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9953 #    else
   9954 #      ifdef RTLD_NOW
   9955 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9956 #      else
   9957 #        ifdef DL_NOW
   9958 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9959 #        else
   9960 #          define LT_DLLAZY_OR_NOW	0
   9961 #        endif
   9962 #      endif
   9963 #    endif
   9964 #  endif
   9965 #endif
   9966 
   9967 #ifdef __cplusplus
   9968 extern "C" void exit (int);
   9969 #endif
   9970 
   9971 void fnord() { int i=42;}
   9972 int main ()
   9973 {
   9974   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9975   int status = $lt_dlunknown;
   9976 
   9977   if (self)
   9978     {
   9979       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9980       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9981       /* dlclose (self); */
   9982     }
   9983   else
   9984     puts (dlerror ());
   9985 
   9986     exit (status);
   9987 }
   9988 EOF
   9989   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9990   (eval $ac_link) 2>&5
   9991   ac_status=$?
   9992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9993   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9994     (./conftest; exit; ) >&5 2>/dev/null
   9995     lt_status=$?
   9996     case x$lt_status in
   9997       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9998       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9999       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10000     esac
   10001   else :
   10002     # compilation failed
   10003     lt_cv_dlopen_self=no
   10004   fi
   10005 fi
   10006 rm -fr conftest*
   10007 
   10008 
   10009 fi
   10010 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10011 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10012 
   10013     if test "x$lt_cv_dlopen_self" = xyes; then
   10014       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10015       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10016 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10017 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10018   echo $ECHO_N "(cached) $ECHO_C" >&6
   10019 else
   10020   	  if test "$cross_compiling" = yes; then :
   10021   lt_cv_dlopen_self_static=cross
   10022 else
   10023   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10024   lt_status=$lt_dlunknown
   10025   cat > conftest.$ac_ext <<EOF
   10026 #line 10026 "configure"
   10027 #include "confdefs.h"
   10028 
   10029 #if HAVE_DLFCN_H
   10030 #include <dlfcn.h>
   10031 #endif
   10032 
   10033 #include <stdio.h>
   10034 
   10035 #ifdef RTLD_GLOBAL
   10036 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10037 #else
   10038 #  ifdef DL_GLOBAL
   10039 #    define LT_DLGLOBAL		DL_GLOBAL
   10040 #  else
   10041 #    define LT_DLGLOBAL		0
   10042 #  endif
   10043 #endif
   10044 
   10045 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10046    find out it does not work in some platform. */
   10047 #ifndef LT_DLLAZY_OR_NOW
   10048 #  ifdef RTLD_LAZY
   10049 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10050 #  else
   10051 #    ifdef DL_LAZY
   10052 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10053 #    else
   10054 #      ifdef RTLD_NOW
   10055 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10056 #      else
   10057 #        ifdef DL_NOW
   10058 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10059 #        else
   10060 #          define LT_DLLAZY_OR_NOW	0
   10061 #        endif
   10062 #      endif
   10063 #    endif
   10064 #  endif
   10065 #endif
   10066 
   10067 #ifdef __cplusplus
   10068 extern "C" void exit (int);
   10069 #endif
   10070 
   10071 void fnord() { int i=42;}
   10072 int main ()
   10073 {
   10074   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10075   int status = $lt_dlunknown;
   10076 
   10077   if (self)
   10078     {
   10079       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10080       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10081       /* dlclose (self); */
   10082     }
   10083   else
   10084     puts (dlerror ());
   10085 
   10086     exit (status);
   10087 }
   10088 EOF
   10089   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10090   (eval $ac_link) 2>&5
   10091   ac_status=$?
   10092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10093   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10094     (./conftest; exit; ) >&5 2>/dev/null
   10095     lt_status=$?
   10096     case x$lt_status in
   10097       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10098       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10099       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10100     esac
   10101   else :
   10102     # compilation failed
   10103     lt_cv_dlopen_self_static=no
   10104   fi
   10105 fi
   10106 rm -fr conftest*
   10107 
   10108 
   10109 fi
   10110 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10111 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10112     fi
   10113 
   10114     CPPFLAGS="$save_CPPFLAGS"
   10115     LDFLAGS="$save_LDFLAGS"
   10116     LIBS="$save_LIBS"
   10117     ;;
   10118   esac
   10119 
   10120   case $lt_cv_dlopen_self in
   10121   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10122   *) enable_dlopen_self=unknown ;;
   10123   esac
   10124 
   10125   case $lt_cv_dlopen_self_static in
   10126   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10127   *) enable_dlopen_self_static=unknown ;;
   10128   esac
   10129 fi
   10130 
   10131 
   10132 # Report which library types will actually be built
   10133 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10134 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10135 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10136 echo "${ECHO_T}$can_build_shared" >&6; }
   10137 
   10138 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10139 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10140 test "$can_build_shared" = "no" && enable_shared=no
   10141 
   10142 # On AIX, shared libraries and static libraries use the same namespace, and
   10143 # are all built from PIC.
   10144 case $host_os in
   10145 aix3*)
   10146   test "$enable_shared" = yes && enable_static=no
   10147   if test -n "$RANLIB"; then
   10148     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10149     postinstall_cmds='$RANLIB $lib'
   10150   fi
   10151   ;;
   10152 
   10153 aix4* | aix5*)
   10154   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10155     test "$enable_shared" = yes && enable_static=no
   10156   fi
   10157     ;;
   10158 esac
   10159 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10160 echo "${ECHO_T}$enable_shared" >&6; }
   10161 
   10162 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10163 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10164 # Make sure either enable_shared or enable_static is yes.
   10165 test "$enable_shared" = yes || enable_static=yes
   10166 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10167 echo "${ECHO_T}$enable_static" >&6; }
   10168 
   10169 # The else clause should only fire when bootstrapping the
   10170 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10171 # with your package, and you will get complaints that there are
   10172 # no rules to generate ltmain.sh.
   10173 if test -f "$ltmain"; then
   10174   # See if we are running on zsh, and set the options which allow our commands through
   10175   # without removal of \ escapes.
   10176   if test -n "${ZSH_VERSION+set}" ; then
   10177     setopt NO_GLOB_SUBST
   10178   fi
   10179   # Now quote all the things that may contain metacharacters while being
   10180   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10181   # variables and quote the copies for generation of the libtool script.
   10182   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10183     SED SHELL STRIP \
   10184     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10185     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10186     deplibs_check_method reload_flag reload_cmds need_locks \
   10187     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10188     lt_cv_sys_global_symbol_to_c_name_address \
   10189     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10190     old_postinstall_cmds old_postuninstall_cmds \
   10191     compiler \
   10192     CC \
   10193     LD \
   10194     lt_prog_compiler_wl \
   10195     lt_prog_compiler_pic \
   10196     lt_prog_compiler_static \
   10197     lt_prog_compiler_no_builtin_flag \
   10198     export_dynamic_flag_spec \
   10199     thread_safe_flag_spec \
   10200     whole_archive_flag_spec \
   10201     enable_shared_with_static_runtimes \
   10202     old_archive_cmds \
   10203     old_archive_from_new_cmds \
   10204     predep_objects \
   10205     postdep_objects \
   10206     predeps \
   10207     postdeps \
   10208     compiler_lib_search_path \
   10209     archive_cmds \
   10210     archive_expsym_cmds \
   10211     postinstall_cmds \
   10212     postuninstall_cmds \
   10213     old_archive_from_expsyms_cmds \
   10214     allow_undefined_flag \
   10215     no_undefined_flag \
   10216     export_symbols_cmds \
   10217     hardcode_libdir_flag_spec \
   10218     hardcode_libdir_flag_spec_ld \
   10219     hardcode_libdir_separator \
   10220     hardcode_automatic \
   10221     module_cmds \
   10222     module_expsym_cmds \
   10223     lt_cv_prog_compiler_c_o \
   10224     fix_srcfile_path \
   10225     exclude_expsyms \
   10226     include_expsyms; do
   10227 
   10228     case $var in
   10229     old_archive_cmds | \
   10230     old_archive_from_new_cmds | \
   10231     archive_cmds | \
   10232     archive_expsym_cmds | \
   10233     module_cmds | \
   10234     module_expsym_cmds | \
   10235     old_archive_from_expsyms_cmds | \
   10236     export_symbols_cmds | \
   10237     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10238     postinstall_cmds | postuninstall_cmds | \
   10239     old_postinstall_cmds | old_postuninstall_cmds | \
   10240     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10241       # Double-quote double-evaled strings.
   10242       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10243       ;;
   10244     *)
   10245       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10246       ;;
   10247     esac
   10248   done
   10249 
   10250   case $lt_echo in
   10251   *'\$0 --fallback-echo"')
   10252     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10253     ;;
   10254   esac
   10255 
   10256 cfgfile="${ofile}T"
   10257   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10258   $rm -f "$cfgfile"
   10259   { echo "$as_me:$LINENO: creating $ofile" >&5
   10260 echo "$as_me: creating $ofile" >&6;}
   10261 
   10262   cat <<__EOF__ >> "$cfgfile"
   10263 #! $SHELL
   10264 
   10265 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10266 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10267 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10268 #
   10269 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   10270 # Free Software Foundation, Inc.
   10271 #
   10272 # This file is part of GNU Libtool:
   10273 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10274 #
   10275 # This program is free software; you can redistribute it and/or modify
   10276 # it under the terms of the GNU General Public License as published by
   10277 # the Free Software Foundation; either version 2 of the License, or
   10278 # (at your option) any later version.
   10279 #
   10280 # This program is distributed in the hope that it will be useful, but
   10281 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10282 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10283 # General Public License for more details.
   10284 #
   10285 # You should have received a copy of the GNU General Public License
   10286 # along with this program; if not, write to the Free Software
   10287 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10288 #
   10289 # As a special exception to the GNU General Public License, if you
   10290 # distribute this file as part of a program that contains a
   10291 # configuration script generated by Autoconf, you may include it under
   10292 # the same distribution terms that you use for the rest of that program.
   10293 
   10294 # A sed program that does not truncate output.
   10295 SED=$lt_SED
   10296 
   10297 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10298 Xsed="$SED -e 1s/^X//"
   10299 
   10300 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10301 # if CDPATH is set.
   10302 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10303 
   10304 # The names of the tagged configurations supported by this script.
   10305 available_tags=
   10306 
   10307 # ### BEGIN LIBTOOL CONFIG
   10308 
   10309 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10310 
   10311 # Shell to use when invoking shell scripts.
   10312 SHELL=$lt_SHELL
   10313 
   10314 # Whether or not to build shared libraries.
   10315 build_libtool_libs=$enable_shared
   10316 
   10317 # Whether or not to build static libraries.
   10318 build_old_libs=$enable_static
   10319 
   10320 # Whether or not to add -lc for building shared libraries.
   10321 build_libtool_need_lc=$archive_cmds_need_lc
   10322 
   10323 # Whether or not to disallow shared libs when runtime libs are static
   10324 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10325 
   10326 # Whether or not to optimize for fast installation.
   10327 fast_install=$enable_fast_install
   10328 
   10329 # The host system.
   10330 host_alias=$host_alias
   10331 host=$host
   10332 host_os=$host_os
   10333 
   10334 # The build system.
   10335 build_alias=$build_alias
   10336 build=$build
   10337 build_os=$build_os
   10338 
   10339 # An echo program that does not interpret backslashes.
   10340 echo=$lt_echo
   10341 
   10342 # The archiver.
   10343 AR=$lt_AR
   10344 AR_FLAGS=$lt_AR_FLAGS
   10345 
   10346 # A C compiler.
   10347 LTCC=$lt_LTCC
   10348 
   10349 # LTCC compiler flags.
   10350 LTCFLAGS=$lt_LTCFLAGS
   10351 
   10352 # A language-specific compiler.
   10353 CC=$lt_compiler
   10354 
   10355 # Is the compiler the GNU C compiler?
   10356 with_gcc=$GCC
   10357 
   10358 # An ERE matcher.
   10359 EGREP=$lt_EGREP
   10360 
   10361 # The linker used to build libraries.
   10362 LD=$lt_LD
   10363 
   10364 # Whether we need hard or soft links.
   10365 LN_S=$lt_LN_S
   10366 
   10367 # A BSD-compatible nm program.
   10368 NM=$lt_NM
   10369 
   10370 # A symbol stripping program
   10371 STRIP=$lt_STRIP
   10372 
   10373 # Used to examine libraries when file_magic_cmd begins "file"
   10374 MAGIC_CMD=$MAGIC_CMD
   10375 
   10376 # Used on cygwin: DLL creation program.
   10377 DLLTOOL="$DLLTOOL"
   10378 
   10379 # Used on cygwin: object dumper.
   10380 OBJDUMP="$OBJDUMP"
   10381 
   10382 # Used on cygwin: assembler.
   10383 AS="$AS"
   10384 
   10385 # The name of the directory that contains temporary libtool files.
   10386 objdir=$objdir
   10387 
   10388 # How to create reloadable object files.
   10389 reload_flag=$lt_reload_flag
   10390 reload_cmds=$lt_reload_cmds
   10391 
   10392 # How to pass a linker flag through the compiler.
   10393 wl=$lt_lt_prog_compiler_wl
   10394 
   10395 # Object file suffix (normally "o").
   10396 objext="$ac_objext"
   10397 
   10398 # Old archive suffix (normally "a").
   10399 libext="$libext"
   10400 
   10401 # Shared library suffix (normally ".so").
   10402 shrext_cmds='$shrext_cmds'
   10403 
   10404 # Executable file suffix (normally "").
   10405 exeext="$exeext"
   10406 
   10407 # Additional compiler flags for building library objects.
   10408 pic_flag=$lt_lt_prog_compiler_pic
   10409 pic_mode=$pic_mode
   10410 
   10411 # What is the maximum length of a command?
   10412 max_cmd_len=$lt_cv_sys_max_cmd_len
   10413 
   10414 # Does compiler simultaneously support -c and -o options?
   10415 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10416 
   10417 # Must we lock files when doing compilation?
   10418 need_locks=$lt_need_locks
   10419 
   10420 # Do we need the lib prefix for modules?
   10421 need_lib_prefix=$need_lib_prefix
   10422 
   10423 # Do we need a version for libraries?
   10424 need_version=$need_version
   10425 
   10426 # Whether dlopen is supported.
   10427 dlopen_support=$enable_dlopen
   10428 
   10429 # Whether dlopen of programs is supported.
   10430 dlopen_self=$enable_dlopen_self
   10431 
   10432 # Whether dlopen of statically linked programs is supported.
   10433 dlopen_self_static=$enable_dlopen_self_static
   10434 
   10435 # Compiler flag to prevent dynamic linking.
   10436 link_static_flag=$lt_lt_prog_compiler_static
   10437 
   10438 # Compiler flag to turn off builtin functions.
   10439 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10440 
   10441 # Compiler flag to allow reflexive dlopens.
   10442 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10443 
   10444 # Compiler flag to generate shared objects directly from archives.
   10445 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10446 
   10447 # Compiler flag to generate thread-safe objects.
   10448 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10449 
   10450 # Library versioning type.
   10451 version_type=$version_type
   10452 
   10453 # Format of library name prefix.
   10454 libname_spec=$lt_libname_spec
   10455 
   10456 # List of archive names.  First name is the real one, the rest are links.
   10457 # The last name is the one that the linker finds with -lNAME.
   10458 library_names_spec=$lt_library_names_spec
   10459 
   10460 # The coded name of the library, if different from the real name.
   10461 soname_spec=$lt_soname_spec
   10462 
   10463 # Commands used to build and install an old-style archive.
   10464 RANLIB=$lt_RANLIB
   10465 old_archive_cmds=$lt_old_archive_cmds
   10466 old_postinstall_cmds=$lt_old_postinstall_cmds
   10467 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10468 
   10469 # Create an old-style archive from a shared archive.
   10470 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10471 
   10472 # Create a temporary old-style archive to link instead of a shared archive.
   10473 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10474 
   10475 # Commands used to build and install a shared archive.
   10476 archive_cmds=$lt_archive_cmds
   10477 archive_expsym_cmds=$lt_archive_expsym_cmds
   10478 postinstall_cmds=$lt_postinstall_cmds
   10479 postuninstall_cmds=$lt_postuninstall_cmds
   10480 
   10481 # Commands used to build a loadable module (assumed same as above if empty)
   10482 module_cmds=$lt_module_cmds
   10483 module_expsym_cmds=$lt_module_expsym_cmds
   10484 
   10485 # Commands to strip libraries.
   10486 old_striplib=$lt_old_striplib
   10487 striplib=$lt_striplib
   10488 
   10489 # Dependencies to place before the objects being linked to create a
   10490 # shared library.
   10491 predep_objects=$lt_predep_objects
   10492 
   10493 # Dependencies to place after the objects being linked to create a
   10494 # shared library.
   10495 postdep_objects=$lt_postdep_objects
   10496 
   10497 # Dependencies to place before the objects being linked to create a
   10498 # shared library.
   10499 predeps=$lt_predeps
   10500 
   10501 # Dependencies to place after the objects being linked to create a
   10502 # shared library.
   10503 postdeps=$lt_postdeps
   10504 
   10505 # The library search path used internally by the compiler when linking
   10506 # a shared library.
   10507 compiler_lib_search_path=$lt_compiler_lib_search_path
   10508 
   10509 # Method to check whether dependent libraries are shared objects.
   10510 deplibs_check_method=$lt_deplibs_check_method
   10511 
   10512 # Command to use when deplibs_check_method == file_magic.
   10513 file_magic_cmd=$lt_file_magic_cmd
   10514 
   10515 # Flag that allows shared libraries with undefined symbols to be built.
   10516 allow_undefined_flag=$lt_allow_undefined_flag
   10517 
   10518 # Flag that forces no undefined symbols.
   10519 no_undefined_flag=$lt_no_undefined_flag
   10520 
   10521 # Commands used to finish a libtool library installation in a directory.
   10522 finish_cmds=$lt_finish_cmds
   10523 
   10524 # Same as above, but a single script fragment to be evaled but not shown.
   10525 finish_eval=$lt_finish_eval
   10526 
   10527 # Take the output of nm and produce a listing of raw symbols and C names.
   10528 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10529 
   10530 # Transform the output of nm in a proper C declaration
   10531 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10532 
   10533 # Transform the output of nm in a C name address pair
   10534 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10535 
   10536 # This is the shared library runtime path variable.
   10537 runpath_var=$runpath_var
   10538 
   10539 # This is the shared library path variable.
   10540 shlibpath_var=$shlibpath_var
   10541 
   10542 # Is shlibpath searched before the hard-coded library search path?
   10543 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10544 
   10545 # How to hardcode a shared library path into an executable.
   10546 hardcode_action=$hardcode_action
   10547 
   10548 # Whether we should hardcode library paths into libraries.
   10549 hardcode_into_libs=$hardcode_into_libs
   10550 
   10551 # Flag to hardcode \$libdir into a binary during linking.
   10552 # This must work even if \$libdir does not exist.
   10553 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10554 
   10555 # If ld is used when linking, flag to hardcode \$libdir into
   10556 # a binary during linking. This must work even if \$libdir does
   10557 # not exist.
   10558 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10559 
   10560 # Whether we need a single -rpath flag with a separated argument.
   10561 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10562 
   10563 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10564 # resulting binary.
   10565 hardcode_direct=$hardcode_direct
   10566 
   10567 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10568 # resulting binary.
   10569 hardcode_minus_L=$hardcode_minus_L
   10570 
   10571 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10572 # the resulting binary.
   10573 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10574 
   10575 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10576 # and all subsequent libraries and executables linked against it.
   10577 hardcode_automatic=$hardcode_automatic
   10578 
   10579 # Variables whose values should be saved in libtool wrapper scripts and
   10580 # restored at relink time.
   10581 variables_saved_for_relink="$variables_saved_for_relink"
   10582 
   10583 # Whether libtool must link a program against all its dependency libraries.
   10584 link_all_deplibs=$link_all_deplibs
   10585 
   10586 # Compile-time system search path for libraries
   10587 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10588 
   10589 # Run-time system search path for libraries
   10590 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10591 
   10592 # Fix the shell variable \$srcfile for the compiler.
   10593 fix_srcfile_path=$lt_fix_srcfile_path
   10594 
   10595 # Set to yes if exported symbols are required.
   10596 always_export_symbols=$always_export_symbols
   10597 
   10598 # The commands to list exported symbols.
   10599 export_symbols_cmds=$lt_export_symbols_cmds
   10600 
   10601 # The commands to extract the exported symbol list from a shared archive.
   10602 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10603 
   10604 # Symbols that should not be listed in the preloaded symbols.
   10605 exclude_expsyms=$lt_exclude_expsyms
   10606 
   10607 # Symbols that must always be exported.
   10608 include_expsyms=$lt_include_expsyms
   10609 
   10610 # ### END LIBTOOL CONFIG
   10611 
   10612 __EOF__
   10613 
   10614 
   10615   case $host_os in
   10616   aix3*)
   10617     cat <<\EOF >> "$cfgfile"
   10618 
   10619 # AIX sometimes has problems with the GCC collect2 program.  For some
   10620 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10621 # vanish in a puff of smoke.
   10622 if test "X${COLLECT_NAMES+set}" != Xset; then
   10623   COLLECT_NAMES=
   10624   export COLLECT_NAMES
   10625 fi
   10626 EOF
   10627     ;;
   10628   esac
   10629 
   10630   # We use sed instead of cat because bash on DJGPP gets confused if
   10631   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10632   # text mode, it properly converts lines to CR/LF.  This bash problem
   10633   # is reportedly fixed, but why not run on old versions too?
   10634   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10635 
   10636   mv -f "$cfgfile" "$ofile" || \
   10637     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10638   chmod +x "$ofile"
   10639 
   10640 else
   10641   # If there is no Makefile yet, we rely on a make rule to execute
   10642   # `config.status --recheck' to rerun these tests and create the
   10643   # libtool script then.
   10644   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10645   if test -f "$ltmain_in"; then
   10646     test -f Makefile && make "$ltmain"
   10647   fi
   10648 fi
   10649 
   10650 
   10651 ac_ext=c
   10652 ac_cpp='$CPP $CPPFLAGS'
   10653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10656 
   10657 CC="$lt_save_CC"
   10658 
   10659 
   10660 # Check whether --with-tags was given.
   10661 if test "${with_tags+set}" = set; then
   10662   withval=$with_tags; tagnames="$withval"
   10663 fi
   10664 
   10665 
   10666 if test -f "$ltmain" && test -n "$tagnames"; then
   10667   if test ! -f "${ofile}"; then
   10668     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10669 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10670   fi
   10671 
   10672   if test -z "$LTCC"; then
   10673     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10674     if test -z "$LTCC"; then
   10675       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10676 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10677     else
   10678       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10679 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10680     fi
   10681   fi
   10682   if test -z "$LTCFLAGS"; then
   10683     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10684   fi
   10685 
   10686   # Extract list of available tagged configurations in $ofile.
   10687   # Note that this assumes the entire list is on one line.
   10688   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10689 
   10690   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10691   for tagname in $tagnames; do
   10692     IFS="$lt_save_ifs"
   10693     # Check whether tagname contains only valid characters
   10694     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10695     "") ;;
   10696     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10697 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10698    { (exit 1); exit 1; }; }
   10699 	;;
   10700     esac
   10701 
   10702     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10703     then
   10704       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10705 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10706    { (exit 1); exit 1; }; }
   10707     fi
   10708 
   10709     # Update the list of available tags.
   10710     if test -n "$tagname"; then
   10711       echo appending configuration tag \"$tagname\" to $ofile
   10712 
   10713       case $tagname in
   10714       CXX)
   10715 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10716 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10717 	    (test "X$CXX" != "Xg++"))) ; then
   10718 	  ac_ext=cpp
   10719 ac_cpp='$CXXCPP $CPPFLAGS'
   10720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10723 
   10724 
   10725 
   10726 
   10727 archive_cmds_need_lc_CXX=no
   10728 allow_undefined_flag_CXX=
   10729 always_export_symbols_CXX=no
   10730 archive_expsym_cmds_CXX=
   10731 export_dynamic_flag_spec_CXX=
   10732 hardcode_direct_CXX=no
   10733 hardcode_libdir_flag_spec_CXX=
   10734 hardcode_libdir_flag_spec_ld_CXX=
   10735 hardcode_libdir_separator_CXX=
   10736 hardcode_minus_L_CXX=no
   10737 hardcode_shlibpath_var_CXX=unsupported
   10738 hardcode_automatic_CXX=no
   10739 module_cmds_CXX=
   10740 module_expsym_cmds_CXX=
   10741 link_all_deplibs_CXX=unknown
   10742 old_archive_cmds_CXX=$old_archive_cmds
   10743 no_undefined_flag_CXX=
   10744 whole_archive_flag_spec_CXX=
   10745 enable_shared_with_static_runtimes_CXX=no
   10746 
   10747 # Dependencies to place before and after the object being linked:
   10748 predep_objects_CXX=
   10749 postdep_objects_CXX=
   10750 predeps_CXX=
   10751 postdeps_CXX=
   10752 compiler_lib_search_path_CXX=
   10753 
   10754 # Source file extension for C++ test sources.
   10755 ac_ext=cpp
   10756 
   10757 # Object file extension for compiled C++ test sources.
   10758 objext=o
   10759 objext_CXX=$objext
   10760 
   10761 # Code to be used in simple compile tests
   10762 lt_simple_compile_test_code="int some_variable = 0;"
   10763 
   10764 # Code to be used in simple link tests
   10765 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   10766 
   10767 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10768 
   10769 # If no C compiler was specified, use CC.
   10770 LTCC=${LTCC-"$CC"}
   10771 
   10772 # If no C compiler flags were specified, use CFLAGS.
   10773 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10774 
   10775 # Allow CC to be a program name with arguments.
   10776 compiler=$CC
   10777 
   10778 
   10779 # save warnings/boilerplate of simple test code
   10780 ac_outfile=conftest.$ac_objext
   10781 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10782 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10783 _lt_compiler_boilerplate=`cat conftest.err`
   10784 $rm conftest*
   10785 
   10786 ac_outfile=conftest.$ac_objext
   10787 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10788 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10789 _lt_linker_boilerplate=`cat conftest.err`
   10790 $rm conftest*
   10791 
   10792 
   10793 # Allow CC to be a program name with arguments.
   10794 lt_save_CC=$CC
   10795 lt_save_LD=$LD
   10796 lt_save_GCC=$GCC
   10797 GCC=$GXX
   10798 lt_save_with_gnu_ld=$with_gnu_ld
   10799 lt_save_path_LD=$lt_cv_path_LD
   10800 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10801   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10802 else
   10803   $as_unset lt_cv_prog_gnu_ld
   10804 fi
   10805 if test -n "${lt_cv_path_LDCXX+set}"; then
   10806   lt_cv_path_LD=$lt_cv_path_LDCXX
   10807 else
   10808   $as_unset lt_cv_path_LD
   10809 fi
   10810 test -z "${LDCXX+set}" || LD=$LDCXX
   10811 CC=${CXX-"c++"}
   10812 compiler=$CC
   10813 compiler_CXX=$CC
   10814 for cc_temp in $compiler""; do
   10815   case $cc_temp in
   10816     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10817     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10818     \-*) ;;
   10819     *) break;;
   10820   esac
   10821 done
   10822 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10823 
   10824 
   10825 # We don't want -fno-exception wen compiling C++ code, so set the
   10826 # no_builtin_flag separately
   10827 if test "$GXX" = yes; then
   10828   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10829 else
   10830   lt_prog_compiler_no_builtin_flag_CXX=
   10831 fi
   10832 
   10833 if test "$GXX" = yes; then
   10834   # Set up default GNU C++ configuration
   10835 
   10836 
   10837 # Check whether --with-gnu-ld was given.
   10838 if test "${with_gnu_ld+set}" = set; then
   10839   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10840 else
   10841   with_gnu_ld=no
   10842 fi
   10843 
   10844 ac_prog=ld
   10845 if test "$GCC" = yes; then
   10846   # Check if gcc -print-prog-name=ld gives a path.
   10847   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10848 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10849   case $host in
   10850   *-*-mingw*)
   10851     # gcc leaves a trailing carriage return which upsets mingw
   10852     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10853   *)
   10854     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10855   esac
   10856   case $ac_prog in
   10857     # Accept absolute paths.
   10858     [\\/]* | ?:[\\/]*)
   10859       re_direlt='/[^/][^/]*/\.\./'
   10860       # Canonicalize the pathname of ld
   10861       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10862       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10863 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10864       done
   10865       test -z "$LD" && LD="$ac_prog"
   10866       ;;
   10867   "")
   10868     # If it fails, then pretend we aren't using GCC.
   10869     ac_prog=ld
   10870     ;;
   10871   *)
   10872     # If it is relative, then search for the first ld in PATH.
   10873     with_gnu_ld=unknown
   10874     ;;
   10875   esac
   10876 elif test "$with_gnu_ld" = yes; then
   10877   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10878 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10879 else
   10880   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10881 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10882 fi
   10883 if test "${lt_cv_path_LD+set}" = set; then
   10884   echo $ECHO_N "(cached) $ECHO_C" >&6
   10885 else
   10886   if test -z "$LD"; then
   10887   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10888   for ac_dir in $PATH; do
   10889     IFS="$lt_save_ifs"
   10890     test -z "$ac_dir" && ac_dir=.
   10891     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10892       lt_cv_path_LD="$ac_dir/$ac_prog"
   10893       # Check to see if the program is GNU ld.  I'd rather use --version,
   10894       # but apparently some variants of GNU ld only accept -v.
   10895       # Break only if it was the GNU/non-GNU ld that we prefer.
   10896       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10897       *GNU* | *'with BFD'*)
   10898 	test "$with_gnu_ld" != no && break
   10899 	;;
   10900       *)
   10901 	test "$with_gnu_ld" != yes && break
   10902 	;;
   10903       esac
   10904     fi
   10905   done
   10906   IFS="$lt_save_ifs"
   10907 else
   10908   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10909 fi
   10910 fi
   10911 
   10912 LD="$lt_cv_path_LD"
   10913 if test -n "$LD"; then
   10914   { echo "$as_me:$LINENO: result: $LD" >&5
   10915 echo "${ECHO_T}$LD" >&6; }
   10916 else
   10917   { echo "$as_me:$LINENO: result: no" >&5
   10918 echo "${ECHO_T}no" >&6; }
   10919 fi
   10920 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10921 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10922    { (exit 1); exit 1; }; }
   10923 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10924 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10925 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10926   echo $ECHO_N "(cached) $ECHO_C" >&6
   10927 else
   10928   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10929 case `$LD -v 2>&1 </dev/null` in
   10930 *GNU* | *'with BFD'*)
   10931   lt_cv_prog_gnu_ld=yes
   10932   ;;
   10933 *)
   10934   lt_cv_prog_gnu_ld=no
   10935   ;;
   10936 esac
   10937 fi
   10938 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10939 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10940 with_gnu_ld=$lt_cv_prog_gnu_ld
   10941 
   10942 
   10943 
   10944   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10945   # archiving commands below assume that GNU ld is being used.
   10946   if test "$with_gnu_ld" = yes; then
   10947     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10948     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'
   10949 
   10950     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10951     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10952 
   10953     # If archive_cmds runs LD, not CC, wlarc should be empty
   10954     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10955     #     investigate it a little bit more. (MM)
   10956     wlarc='${wl}'
   10957 
   10958     # ancient GNU ld didn't support --whole-archive et. al.
   10959     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10960 	grep 'no-whole-archive' > /dev/null; then
   10961       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10962     else
   10963       whole_archive_flag_spec_CXX=
   10964     fi
   10965   else
   10966     with_gnu_ld=no
   10967     wlarc=
   10968 
   10969     # A generic and very simple default shared library creation
   10970     # command for GNU C++ for the case where it uses the native
   10971     # linker, instead of GNU ld.  If possible, this setting should
   10972     # overridden to take advantage of the native linker features on
   10973     # the platform it is being used on.
   10974     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10975   fi
   10976 
   10977   # Commands to make compiler produce verbose output that lists
   10978   # what "hidden" libraries, object files and flags are used when
   10979   # linking a shared library.
   10980   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10981 
   10982 else
   10983   GXX=no
   10984   with_gnu_ld=no
   10985   wlarc=
   10986 fi
   10987 
   10988 # PORTME: fill in a description of your system's C++ link characteristics
   10989 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10990 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10991 ld_shlibs_CXX=yes
   10992 case $host_os in
   10993   aix3*)
   10994     # FIXME: insert proper C++ library support
   10995     ld_shlibs_CXX=no
   10996     ;;
   10997   aix4* | aix5*)
   10998     if test "$host_cpu" = ia64; then
   10999       # On IA64, the linker does run time linking by default, so we don't
   11000       # have to do anything special.
   11001       aix_use_runtimelinking=no
   11002       exp_sym_flag='-Bexport'
   11003       no_entry_flag=""
   11004     else
   11005       aix_use_runtimelinking=no
   11006 
   11007       # Test if we are trying to use run time linking or normal
   11008       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11009       # need to do runtime linking.
   11010       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   11011 	for ld_flag in $LDFLAGS; do
   11012 	  case $ld_flag in
   11013 	  *-brtl*)
   11014 	    aix_use_runtimelinking=yes
   11015 	    break
   11016 	    ;;
   11017 	  esac
   11018 	done
   11019 	;;
   11020       esac
   11021 
   11022       exp_sym_flag='-bexport'
   11023       no_entry_flag='-bnoentry'
   11024     fi
   11025 
   11026     # When large executables or shared objects are built, AIX ld can
   11027     # have problems creating the table of contents.  If linking a library
   11028     # or program results in "error TOC overflow" add -mminimal-toc to
   11029     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11030     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11031 
   11032     archive_cmds_CXX=''
   11033     hardcode_direct_CXX=yes
   11034     hardcode_libdir_separator_CXX=':'
   11035     link_all_deplibs_CXX=yes
   11036 
   11037     if test "$GXX" = yes; then
   11038       case $host_os in aix4.[012]|aix4.[012].*)
   11039       # We only want to do this on AIX 4.2 and lower, the check
   11040       # below for broken collect2 doesn't work under 4.3+
   11041 	collect2name=`${CC} -print-prog-name=collect2`
   11042 	if test -f "$collect2name" && \
   11043 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11044 	then
   11045 	  # We have reworked collect2
   11046 	  :
   11047 	else
   11048 	  # We have old collect2
   11049 	  hardcode_direct_CXX=unsupported
   11050 	  # It fails to find uninstalled libraries when the uninstalled
   11051 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11052 	  # to unsupported forces relinking
   11053 	  hardcode_minus_L_CXX=yes
   11054 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11055 	  hardcode_libdir_separator_CXX=
   11056 	fi
   11057 	;;
   11058       esac
   11059       shared_flag='-shared'
   11060       if test "$aix_use_runtimelinking" = yes; then
   11061 	shared_flag="$shared_flag "'${wl}-G'
   11062       fi
   11063     else
   11064       # not using gcc
   11065       if test "$host_cpu" = ia64; then
   11066 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11067 	# chokes on -Wl,-G. The following line is correct:
   11068 	shared_flag='-G'
   11069       else
   11070 	if test "$aix_use_runtimelinking" = yes; then
   11071 	  shared_flag='${wl}-G'
   11072 	else
   11073 	  shared_flag='${wl}-bM:SRE'
   11074 	fi
   11075       fi
   11076     fi
   11077 
   11078     # It seems that -bexpall does not export symbols beginning with
   11079     # underscore (_), so it is better to generate a list of symbols to export.
   11080     always_export_symbols_CXX=yes
   11081     if test "$aix_use_runtimelinking" = yes; then
   11082       # Warning - without using the other runtime loading flags (-brtl),
   11083       # -berok will link without error, but may produce a broken library.
   11084       allow_undefined_flag_CXX='-berok'
   11085       # Determine the default libpath from the value encoded in an empty executable.
   11086       cat >conftest.$ac_ext <<_ACEOF
   11087 /* confdefs.h.  */
   11088 _ACEOF
   11089 cat confdefs.h >>conftest.$ac_ext
   11090 cat >>conftest.$ac_ext <<_ACEOF
   11091 /* end confdefs.h.  */
   11092 
   11093 int
   11094 main ()
   11095 {
   11096 
   11097   ;
   11098   return 0;
   11099 }
   11100 _ACEOF
   11101 rm -f conftest.$ac_objext conftest$ac_exeext
   11102 if { (ac_try="$ac_link"
   11103 case "(($ac_try" in
   11104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11105   *) ac_try_echo=$ac_try;;
   11106 esac
   11107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11108   (eval "$ac_link") 2>conftest.er1
   11109   ac_status=$?
   11110   grep -v '^ *+' conftest.er1 >conftest.err
   11111   rm -f conftest.er1
   11112   cat conftest.err >&5
   11113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11114   (exit $ac_status); } && {
   11115 	 test -z "$ac_cxx_werror_flag" ||
   11116 	 test ! -s conftest.err
   11117        } && test -s conftest$ac_exeext &&
   11118        $as_test_x conftest$ac_exeext; then
   11119 
   11120 lt_aix_libpath_sed='
   11121     /Import File Strings/,/^$/ {
   11122 	/^0/ {
   11123 	    s/^0  *\(.*\)$/\1/
   11124 	    p
   11125 	}
   11126     }'
   11127 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11128 # Check for a 64-bit object if we didn't find anything.
   11129 if test -z "$aix_libpath"; then
   11130   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11131 fi
   11132 else
   11133   echo "$as_me: failed program was:" >&5
   11134 sed 's/^/| /' conftest.$ac_ext >&5
   11135 
   11136 
   11137 fi
   11138 
   11139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11140       conftest$ac_exeext conftest.$ac_ext
   11141 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11142 
   11143       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11144 
   11145       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"
   11146      else
   11147       if test "$host_cpu" = ia64; then
   11148 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11149 	allow_undefined_flag_CXX="-z nodefs"
   11150 	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"
   11151       else
   11152 	# Determine the default libpath from the value encoded in an empty executable.
   11153 	cat >conftest.$ac_ext <<_ACEOF
   11154 /* confdefs.h.  */
   11155 _ACEOF
   11156 cat confdefs.h >>conftest.$ac_ext
   11157 cat >>conftest.$ac_ext <<_ACEOF
   11158 /* end confdefs.h.  */
   11159 
   11160 int
   11161 main ()
   11162 {
   11163 
   11164   ;
   11165   return 0;
   11166 }
   11167 _ACEOF
   11168 rm -f conftest.$ac_objext conftest$ac_exeext
   11169 if { (ac_try="$ac_link"
   11170 case "(($ac_try" in
   11171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11172   *) ac_try_echo=$ac_try;;
   11173 esac
   11174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11175   (eval "$ac_link") 2>conftest.er1
   11176   ac_status=$?
   11177   grep -v '^ *+' conftest.er1 >conftest.err
   11178   rm -f conftest.er1
   11179   cat conftest.err >&5
   11180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11181   (exit $ac_status); } && {
   11182 	 test -z "$ac_cxx_werror_flag" ||
   11183 	 test ! -s conftest.err
   11184        } && test -s conftest$ac_exeext &&
   11185        $as_test_x conftest$ac_exeext; then
   11186 
   11187 lt_aix_libpath_sed='
   11188     /Import File Strings/,/^$/ {
   11189 	/^0/ {
   11190 	    s/^0  *\(.*\)$/\1/
   11191 	    p
   11192 	}
   11193     }'
   11194 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11195 # Check for a 64-bit object if we didn't find anything.
   11196 if test -z "$aix_libpath"; then
   11197   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11198 fi
   11199 else
   11200   echo "$as_me: failed program was:" >&5
   11201 sed 's/^/| /' conftest.$ac_ext >&5
   11202 
   11203 
   11204 fi
   11205 
   11206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11207       conftest$ac_exeext conftest.$ac_ext
   11208 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11209 
   11210 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11211 	# Warning - without using the other run time loading flags,
   11212 	# -berok will link without error, but may produce a broken library.
   11213 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11214 	allow_undefined_flag_CXX=' ${wl}-berok'
   11215 	# Exported symbols can be pulled into shared objects from archives
   11216 	whole_archive_flag_spec_CXX='$convenience'
   11217 	archive_cmds_need_lc_CXX=yes
   11218 	# This is similar to how AIX traditionally builds its shared libraries.
   11219 	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'
   11220       fi
   11221     fi
   11222     ;;
   11223 
   11224   beos*)
   11225     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11226       allow_undefined_flag_CXX=unsupported
   11227       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11228       # support --undefined.  This deserves some investigation.  FIXME
   11229       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11230     else
   11231       ld_shlibs_CXX=no
   11232     fi
   11233     ;;
   11234 
   11235   chorus*)
   11236     case $cc_basename in
   11237       *)
   11238 	# FIXME: insert proper C++ library support
   11239 	ld_shlibs_CXX=no
   11240 	;;
   11241     esac
   11242     ;;
   11243 
   11244   cygwin* | mingw* | pw32*)
   11245     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11246     # as there is no search path for DLLs.
   11247     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11248     allow_undefined_flag_CXX=unsupported
   11249     always_export_symbols_CXX=no
   11250     enable_shared_with_static_runtimes_CXX=yes
   11251 
   11252     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11253       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'
   11254       # If the export-symbols file already is a .def file (1st line
   11255       # is EXPORTS), use it as is; otherwise, prepend...
   11256       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11257 	cp $export_symbols $output_objdir/$soname.def;
   11258       else
   11259 	echo EXPORTS > $output_objdir/$soname.def;
   11260 	cat $export_symbols >> $output_objdir/$soname.def;
   11261       fi~
   11262       $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'
   11263     else
   11264       ld_shlibs_CXX=no
   11265     fi
   11266   ;;
   11267       darwin* | rhapsody*)
   11268         case $host_os in
   11269         rhapsody* | darwin1.[012])
   11270          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11271          ;;
   11272        *) # Darwin 1.3 on
   11273          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11274            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11275          else
   11276            case ${MACOSX_DEPLOYMENT_TARGET} in
   11277              10.[012])
   11278                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11279                ;;
   11280              10.*)
   11281                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11282                ;;
   11283            esac
   11284          fi
   11285          ;;
   11286         esac
   11287       archive_cmds_need_lc_CXX=no
   11288       hardcode_direct_CXX=no
   11289       hardcode_automatic_CXX=yes
   11290       hardcode_shlibpath_var_CXX=unsupported
   11291       whole_archive_flag_spec_CXX=''
   11292       link_all_deplibs_CXX=yes
   11293 
   11294     if test "$GXX" = yes ; then
   11295       lt_int_apple_cc_single_mod=no
   11296       output_verbose_link_cmd='echo'
   11297       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11298        lt_int_apple_cc_single_mod=yes
   11299       fi
   11300       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11301        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11302       else
   11303           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'
   11304         fi
   11305         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11306         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11307           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11308             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}'
   11309           else
   11310             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}'
   11311           fi
   11312             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}'
   11313       else
   11314       case $cc_basename in
   11315         xlc*)
   11316          output_verbose_link_cmd='echo'
   11317           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'
   11318           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11319           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11320           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}'
   11321           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}'
   11322           ;;
   11323        *)
   11324          ld_shlibs_CXX=no
   11325           ;;
   11326       esac
   11327       fi
   11328         ;;
   11329 
   11330   dgux*)
   11331     case $cc_basename in
   11332       ec++*)
   11333 	# FIXME: insert proper C++ library support
   11334 	ld_shlibs_CXX=no
   11335 	;;
   11336       ghcx*)
   11337 	# Green Hills C++ Compiler
   11338 	# FIXME: insert proper C++ library support
   11339 	ld_shlibs_CXX=no
   11340 	;;
   11341       *)
   11342 	# FIXME: insert proper C++ library support
   11343 	ld_shlibs_CXX=no
   11344 	;;
   11345     esac
   11346     ;;
   11347   freebsd[12]*)
   11348     # C++ shared libraries reported to be fairly broken before switch to ELF
   11349     ld_shlibs_CXX=no
   11350     ;;
   11351   freebsd-elf*)
   11352     archive_cmds_need_lc_CXX=no
   11353     ;;
   11354   freebsd* | dragonfly*)
   11355     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11356     # conventions
   11357     ld_shlibs_CXX=yes
   11358     ;;
   11359   gnu*)
   11360     ;;
   11361   hpux9*)
   11362     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11363     hardcode_libdir_separator_CXX=:
   11364     export_dynamic_flag_spec_CXX='${wl}-E'
   11365     hardcode_direct_CXX=yes
   11366     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11367 				# but as the default
   11368 				# location of the library.
   11369 
   11370     case $cc_basename in
   11371     CC*)
   11372       # FIXME: insert proper C++ library support
   11373       ld_shlibs_CXX=no
   11374       ;;
   11375     aCC*)
   11376       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'
   11377       # Commands to make compiler produce verbose output that lists
   11378       # what "hidden" libraries, object files and flags are used when
   11379       # linking a shared library.
   11380       #
   11381       # There doesn't appear to be a way to prevent this compiler from
   11382       # explicitly linking system object files so we need to strip them
   11383       # from the output so that they don't get included in the library
   11384       # dependencies.
   11385       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'
   11386       ;;
   11387     *)
   11388       if test "$GXX" = yes; then
   11389         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'
   11390       else
   11391         # FIXME: insert proper C++ library support
   11392         ld_shlibs_CXX=no
   11393       fi
   11394       ;;
   11395     esac
   11396     ;;
   11397   hpux10*|hpux11*)
   11398     if test $with_gnu_ld = no; then
   11399       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11400       hardcode_libdir_separator_CXX=:
   11401 
   11402       case $host_cpu in
   11403       hppa*64*|ia64*) ;;
   11404       *)
   11405 	export_dynamic_flag_spec_CXX='${wl}-E'
   11406         ;;
   11407       esac
   11408     fi
   11409     case $host_cpu in
   11410     hppa*64*|ia64*)
   11411       hardcode_direct_CXX=no
   11412       hardcode_shlibpath_var_CXX=no
   11413       ;;
   11414     *)
   11415       hardcode_direct_CXX=yes
   11416       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11417 					      # but as the default
   11418 					      # location of the library.
   11419       ;;
   11420     esac
   11421 
   11422     case $cc_basename in
   11423       CC*)
   11424 	# FIXME: insert proper C++ library support
   11425 	ld_shlibs_CXX=no
   11426 	;;
   11427       aCC*)
   11428 	case $host_cpu in
   11429 	hppa*64*)
   11430 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11431 	  ;;
   11432 	ia64*)
   11433 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11434 	  ;;
   11435 	*)
   11436 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11437 	  ;;
   11438 	esac
   11439 	# Commands to make compiler produce verbose output that lists
   11440 	# what "hidden" libraries, object files and flags are used when
   11441 	# linking a shared library.
   11442 	#
   11443 	# There doesn't appear to be a way to prevent this compiler from
   11444 	# explicitly linking system object files so we need to strip them
   11445 	# from the output so that they don't get included in the library
   11446 	# dependencies.
   11447 	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'
   11448 	;;
   11449       *)
   11450 	if test "$GXX" = yes; then
   11451 	  if test $with_gnu_ld = no; then
   11452 	    case $host_cpu in
   11453 	    hppa*64*)
   11454 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11455 	      ;;
   11456 	    ia64*)
   11457 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11458 	      ;;
   11459 	    *)
   11460 	      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'
   11461 	      ;;
   11462 	    esac
   11463 	  fi
   11464 	else
   11465 	  # FIXME: insert proper C++ library support
   11466 	  ld_shlibs_CXX=no
   11467 	fi
   11468 	;;
   11469     esac
   11470     ;;
   11471   interix[3-9]*)
   11472     hardcode_direct_CXX=no
   11473     hardcode_shlibpath_var_CXX=no
   11474     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11475     export_dynamic_flag_spec_CXX='${wl}-E'
   11476     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11477     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11478     # default) and relocated if they conflict, which is a slow very memory
   11479     # consuming and fragmenting process.  To avoid this, we pick a random,
   11480     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11481     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11482     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'
   11483     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'
   11484     ;;
   11485   irix5* | irix6*)
   11486     case $cc_basename in
   11487       CC*)
   11488 	# SGI C++
   11489 	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'
   11490 
   11491 	# Archives containing C++ object files must be created using
   11492 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11493 	# necessary to make sure instantiated templates are included
   11494 	# in the archive.
   11495 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11496 	;;
   11497       *)
   11498 	if test "$GXX" = yes; then
   11499 	  if test "$with_gnu_ld" = no; then
   11500 	    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'
   11501 	  else
   11502 	    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'
   11503 	  fi
   11504 	fi
   11505 	link_all_deplibs_CXX=yes
   11506 	;;
   11507     esac
   11508     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11509     hardcode_libdir_separator_CXX=:
   11510     ;;
   11511   linux* | k*bsd*-gnu)
   11512     case $cc_basename in
   11513       KCC*)
   11514 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11515 
   11516 	# KCC will only create a shared library if the output file
   11517 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11518 	# to its proper name (with version) after linking.
   11519 	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'
   11520 	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'
   11521 	# Commands to make compiler produce verbose output that lists
   11522 	# what "hidden" libraries, object files and flags are used when
   11523 	# linking a shared library.
   11524 	#
   11525 	# There doesn't appear to be a way to prevent this compiler from
   11526 	# explicitly linking system object files so we need to strip them
   11527 	# from the output so that they don't get included in the library
   11528 	# dependencies.
   11529 	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'
   11530 
   11531 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11532 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11533 
   11534 	# Archives containing C++ object files must be created using
   11535 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11536 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11537 	;;
   11538       icpc*)
   11539 	# Intel C++
   11540 	with_gnu_ld=yes
   11541 	# version 8.0 and above of icpc choke on multiply defined symbols
   11542 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11543 	# earlier do not add the objects themselves.
   11544 	case `$CC -V 2>&1` in
   11545 	*"Version 7."*)
   11546   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11547   	  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'
   11548 	  ;;
   11549 	*)  # Version 8.0 or newer
   11550 	  tmp_idyn=
   11551 	  case $host_cpu in
   11552 	    ia64*) tmp_idyn=' -i_dynamic';;
   11553 	  esac
   11554   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11555 	  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'
   11556 	  ;;
   11557 	esac
   11558 	archive_cmds_need_lc_CXX=no
   11559 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11560 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11561 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11562 	;;
   11563       pgCC*)
   11564         # Portland Group C++ compiler
   11565 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11566   	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'
   11567 
   11568 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11569 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11570 	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'
   11571         ;;
   11572       cxx*)
   11573 	# Compaq C++
   11574 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11575 	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'
   11576 
   11577 	runpath_var=LD_RUN_PATH
   11578 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11579 	hardcode_libdir_separator_CXX=:
   11580 
   11581 	# Commands to make compiler produce verbose output that lists
   11582 	# what "hidden" libraries, object files and flags are used when
   11583 	# linking a shared library.
   11584 	#
   11585 	# There doesn't appear to be a way to prevent this compiler from
   11586 	# explicitly linking system object files so we need to strip them
   11587 	# from the output so that they don't get included in the library
   11588 	# dependencies.
   11589 	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'
   11590 	;;
   11591       *)
   11592 	case `$CC -V 2>&1 | sed 5q` in
   11593 	*Sun\ C*)
   11594 	  # Sun C++ 5.9
   11595 	  no_undefined_flag_CXX=' -zdefs'
   11596 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11597 	  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'
   11598 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11599 	  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'
   11600 
   11601 	  # Not sure whether something based on
   11602 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11603 	  # would be better.
   11604 	  output_verbose_link_cmd='echo'
   11605 
   11606 	  # Archives containing C++ object files must be created using
   11607 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11608 	  # necessary to make sure instantiated templates are included
   11609 	  # in the archive.
   11610 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11611 	  ;;
   11612 	esac
   11613 	;;
   11614     esac
   11615     ;;
   11616   lynxos*)
   11617     # FIXME: insert proper C++ library support
   11618     ld_shlibs_CXX=no
   11619     ;;
   11620   m88k*)
   11621     # FIXME: insert proper C++ library support
   11622     ld_shlibs_CXX=no
   11623     ;;
   11624   mvs*)
   11625     case $cc_basename in
   11626       cxx*)
   11627 	# FIXME: insert proper C++ library support
   11628 	ld_shlibs_CXX=no
   11629 	;;
   11630       *)
   11631 	# FIXME: insert proper C++ library support
   11632 	ld_shlibs_CXX=no
   11633 	;;
   11634     esac
   11635     ;;
   11636   netbsd*)
   11637     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11638       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11639       wlarc=
   11640       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11641       hardcode_direct_CXX=yes
   11642       hardcode_shlibpath_var_CXX=no
   11643     fi
   11644     # Workaround some broken pre-1.5 toolchains
   11645     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11646     ;;
   11647   openbsd2*)
   11648     # C++ shared libraries are fairly broken
   11649     ld_shlibs_CXX=no
   11650     ;;
   11651   openbsd*)
   11652     if test -f /usr/libexec/ld.so; then
   11653       hardcode_direct_CXX=yes
   11654       hardcode_shlibpath_var_CXX=no
   11655       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11656       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11657       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11658 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11659 	export_dynamic_flag_spec_CXX='${wl}-E'
   11660 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11661       fi
   11662       output_verbose_link_cmd='echo'
   11663     else
   11664       ld_shlibs_CXX=no
   11665     fi
   11666     ;;
   11667   osf3*)
   11668     case $cc_basename in
   11669       KCC*)
   11670 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11671 
   11672 	# KCC will only create a shared library if the output file
   11673 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11674 	# to its proper name (with version) after linking.
   11675 	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'
   11676 
   11677 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11678 	hardcode_libdir_separator_CXX=:
   11679 
   11680 	# Archives containing C++ object files must be created using
   11681 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11682 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11683 
   11684 	;;
   11685       RCC*)
   11686 	# Rational C++ 2.4.1
   11687 	# FIXME: insert proper C++ library support
   11688 	ld_shlibs_CXX=no
   11689 	;;
   11690       cxx*)
   11691 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11692 	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'
   11693 
   11694 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11695 	hardcode_libdir_separator_CXX=:
   11696 
   11697 	# Commands to make compiler produce verbose output that lists
   11698 	# what "hidden" libraries, object files and flags are used when
   11699 	# linking a shared library.
   11700 	#
   11701 	# There doesn't appear to be a way to prevent this compiler from
   11702 	# explicitly linking system object files so we need to strip them
   11703 	# from the output so that they don't get included in the library
   11704 	# dependencies.
   11705 	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'
   11706 	;;
   11707       *)
   11708 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11709 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11710 	  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'
   11711 
   11712 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11713 	  hardcode_libdir_separator_CXX=:
   11714 
   11715 	  # Commands to make compiler produce verbose output that lists
   11716 	  # what "hidden" libraries, object files and flags are used when
   11717 	  # linking a shared library.
   11718 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11719 
   11720 	else
   11721 	  # FIXME: insert proper C++ library support
   11722 	  ld_shlibs_CXX=no
   11723 	fi
   11724 	;;
   11725     esac
   11726     ;;
   11727   osf4* | osf5*)
   11728     case $cc_basename in
   11729       KCC*)
   11730 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11731 
   11732 	# KCC will only create a shared library if the output file
   11733 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11734 	# to its proper name (with version) after linking.
   11735 	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'
   11736 
   11737 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11738 	hardcode_libdir_separator_CXX=:
   11739 
   11740 	# Archives containing C++ object files must be created using
   11741 	# the KAI C++ compiler.
   11742 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11743 	;;
   11744       RCC*)
   11745 	# Rational C++ 2.4.1
   11746 	# FIXME: insert proper C++ library support
   11747 	ld_shlibs_CXX=no
   11748 	;;
   11749       cxx*)
   11750 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11751 	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'
   11752 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11753 	  echo "-hidden">> $lib.exp~
   11754 	  $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~
   11755 	  $rm $lib.exp'
   11756 
   11757 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11758 	hardcode_libdir_separator_CXX=:
   11759 
   11760 	# Commands to make compiler produce verbose output that lists
   11761 	# what "hidden" libraries, object files and flags are used when
   11762 	# linking a shared library.
   11763 	#
   11764 	# There doesn't appear to be a way to prevent this compiler from
   11765 	# explicitly linking system object files so we need to strip them
   11766 	# from the output so that they don't get included in the library
   11767 	# dependencies.
   11768 	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'
   11769 	;;
   11770       *)
   11771 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11772 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11773 	 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'
   11774 
   11775 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11776 	  hardcode_libdir_separator_CXX=:
   11777 
   11778 	  # Commands to make compiler produce verbose output that lists
   11779 	  # what "hidden" libraries, object files and flags are used when
   11780 	  # linking a shared library.
   11781 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11782 
   11783 	else
   11784 	  # FIXME: insert proper C++ library support
   11785 	  ld_shlibs_CXX=no
   11786 	fi
   11787 	;;
   11788     esac
   11789     ;;
   11790   psos*)
   11791     # FIXME: insert proper C++ library support
   11792     ld_shlibs_CXX=no
   11793     ;;
   11794   sunos4*)
   11795     case $cc_basename in
   11796       CC*)
   11797 	# Sun C++ 4.x
   11798 	# FIXME: insert proper C++ library support
   11799 	ld_shlibs_CXX=no
   11800 	;;
   11801       lcc*)
   11802 	# Lucid
   11803 	# FIXME: insert proper C++ library support
   11804 	ld_shlibs_CXX=no
   11805 	;;
   11806       *)
   11807 	# FIXME: insert proper C++ library support
   11808 	ld_shlibs_CXX=no
   11809 	;;
   11810     esac
   11811     ;;
   11812   solaris*)
   11813     case $cc_basename in
   11814       CC*)
   11815 	# Sun C++ 4.2, 5.x and Centerline C++
   11816         archive_cmds_need_lc_CXX=yes
   11817 	no_undefined_flag_CXX=' -zdefs'
   11818 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11819 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11820 	$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'
   11821 
   11822 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11823 	hardcode_shlibpath_var_CXX=no
   11824 	case $host_os in
   11825 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11826 	  *)
   11827 	    # The compiler driver will combine and reorder linker options,
   11828 	    # but understands `-z linker_flag'.
   11829 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11830 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   11831 	    ;;
   11832 	esac
   11833 	link_all_deplibs_CXX=yes
   11834 
   11835 	output_verbose_link_cmd='echo'
   11836 
   11837 	# Archives containing C++ object files must be created using
   11838 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11839 	# necessary to make sure instantiated templates are included
   11840 	# in the archive.
   11841 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11842 	;;
   11843       gcx*)
   11844 	# Green Hills C++ Compiler
   11845 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11846 
   11847 	# The C++ compiler must be used to create the archive.
   11848 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11849 	;;
   11850       *)
   11851 	# GNU C++ compiler with Solaris linker
   11852 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11853 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11854 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11855 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11856 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11857 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11858 
   11859 	    # Commands to make compiler produce verbose output that lists
   11860 	    # what "hidden" libraries, object files and flags are used when
   11861 	    # linking a shared library.
   11862 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11863 	  else
   11864 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11865 	    # platform.
   11866 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11867 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11868 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11869 
   11870 	    # Commands to make compiler produce verbose output that lists
   11871 	    # what "hidden" libraries, object files and flags are used when
   11872 	    # linking a shared library.
   11873 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11874 	  fi
   11875 
   11876 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11877 	  case $host_os in
   11878 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11879 	  *)
   11880 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11881 	    ;;
   11882 	  esac
   11883 	fi
   11884 	;;
   11885     esac
   11886     ;;
   11887   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11888     no_undefined_flag_CXX='${wl}-z,text'
   11889     archive_cmds_need_lc_CXX=no
   11890     hardcode_shlibpath_var_CXX=no
   11891     runpath_var='LD_RUN_PATH'
   11892 
   11893     case $cc_basename in
   11894       CC*)
   11895 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11896 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11897 	;;
   11898       *)
   11899 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11900 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11901 	;;
   11902     esac
   11903     ;;
   11904   sysv5* | sco3.2v5* | sco5v6*)
   11905     # Note: We can NOT use -z defs as we might desire, because we do not
   11906     # link with -lc, and that would cause any symbols used from libc to
   11907     # always be unresolved, which means just about no library would
   11908     # ever link correctly.  If we're not using GNU ld we use -z text
   11909     # though, which does catch some bad symbols but isn't as heavy-handed
   11910     # as -z defs.
   11911     # For security reasons, it is highly recommended that you always
   11912     # use absolute paths for naming shared libraries, and exclude the
   11913     # DT_RUNPATH tag from executables and libraries.  But doing so
   11914     # requires that you compile everything twice, which is a pain.
   11915     # So that behaviour is only enabled if SCOABSPATH is set to a
   11916     # non-empty value in the environment.  Most likely only useful for
   11917     # creating official distributions of packages.
   11918     # This is a hack until libtool officially supports absolute path
   11919     # names for shared libraries.
   11920     no_undefined_flag_CXX='${wl}-z,text'
   11921     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11922     archive_cmds_need_lc_CXX=no
   11923     hardcode_shlibpath_var_CXX=no
   11924     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11925     hardcode_libdir_separator_CXX=':'
   11926     link_all_deplibs_CXX=yes
   11927     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11928     runpath_var='LD_RUN_PATH'
   11929 
   11930     case $cc_basename in
   11931       CC*)
   11932 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11933 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11934 	;;
   11935       *)
   11936 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11937 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11938 	;;
   11939     esac
   11940     ;;
   11941   tandem*)
   11942     case $cc_basename in
   11943       NCC*)
   11944 	# NonStop-UX NCC 3.20
   11945 	# FIXME: insert proper C++ library support
   11946 	ld_shlibs_CXX=no
   11947 	;;
   11948       *)
   11949 	# FIXME: insert proper C++ library support
   11950 	ld_shlibs_CXX=no
   11951 	;;
   11952     esac
   11953     ;;
   11954   vxworks*)
   11955     # FIXME: insert proper C++ library support
   11956     ld_shlibs_CXX=no
   11957     ;;
   11958   *)
   11959     # FIXME: insert proper C++ library support
   11960     ld_shlibs_CXX=no
   11961     ;;
   11962 esac
   11963 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11964 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11965 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11966 
   11967 GCC_CXX="$GXX"
   11968 LD_CXX="$LD"
   11969 
   11970 
   11971 cat > conftest.$ac_ext <<EOF
   11972 class Foo
   11973 {
   11974 public:
   11975   Foo (void) { a = 0; }
   11976 private:
   11977   int a;
   11978 };
   11979 EOF
   11980 
   11981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11982   (eval $ac_compile) 2>&5
   11983   ac_status=$?
   11984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11985   (exit $ac_status); }; then
   11986   # Parse the compiler output and extract the necessary
   11987   # objects, libraries and library flags.
   11988 
   11989   # Sentinel used to keep track of whether or not we are before
   11990   # the conftest object file.
   11991   pre_test_object_deps_done=no
   11992 
   11993   # The `*' in the case matches for architectures that use `case' in
   11994   # $output_verbose_cmd can trigger glob expansion during the loop
   11995   # eval without this substitution.
   11996   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11997 
   11998   for p in `eval $output_verbose_link_cmd`; do
   11999     case $p in
   12000 
   12001     -L* | -R* | -l*)
   12002        # Some compilers place space between "-{L,R}" and the path.
   12003        # Remove the space.
   12004        if test $p = "-L" \
   12005 	  || test $p = "-R"; then
   12006 	 prev=$p
   12007 	 continue
   12008        else
   12009 	 prev=
   12010        fi
   12011 
   12012        if test "$pre_test_object_deps_done" = no; then
   12013 	 case $p in
   12014 	 -L* | -R*)
   12015 	   # Internal compiler library paths should come after those
   12016 	   # provided the user.  The postdeps already come after the
   12017 	   # user supplied libs so there is no need to process them.
   12018 	   if test -z "$compiler_lib_search_path_CXX"; then
   12019 	     compiler_lib_search_path_CXX="${prev}${p}"
   12020 	   else
   12021 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12022 	   fi
   12023 	   ;;
   12024 	 # The "-l" case would never come before the object being
   12025 	 # linked, so don't bother handling this case.
   12026 	 esac
   12027        else
   12028 	 if test -z "$postdeps_CXX"; then
   12029 	   postdeps_CXX="${prev}${p}"
   12030 	 else
   12031 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12032 	 fi
   12033        fi
   12034        ;;
   12035 
   12036     *.$objext)
   12037        # This assumes that the test object file only shows up
   12038        # once in the compiler output.
   12039        if test "$p" = "conftest.$objext"; then
   12040 	 pre_test_object_deps_done=yes
   12041 	 continue
   12042        fi
   12043 
   12044        if test "$pre_test_object_deps_done" = no; then
   12045 	 if test -z "$predep_objects_CXX"; then
   12046 	   predep_objects_CXX="$p"
   12047 	 else
   12048 	   predep_objects_CXX="$predep_objects_CXX $p"
   12049 	 fi
   12050        else
   12051 	 if test -z "$postdep_objects_CXX"; then
   12052 	   postdep_objects_CXX="$p"
   12053 	 else
   12054 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12055 	 fi
   12056        fi
   12057        ;;
   12058 
   12059     *) ;; # Ignore the rest.
   12060 
   12061     esac
   12062   done
   12063 
   12064   # Clean up.
   12065   rm -f a.out a.exe
   12066 else
   12067   echo "libtool.m4: error: problem compiling CXX test program"
   12068 fi
   12069 
   12070 $rm -f confest.$objext
   12071 
   12072 # PORTME: override above test on systems where it is broken
   12073 case $host_os in
   12074 interix[3-9]*)
   12075   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12076   # hack all around it, let's just trust "g++" to DTRT.
   12077   predep_objects_CXX=
   12078   postdep_objects_CXX=
   12079   postdeps_CXX=
   12080   ;;
   12081 
   12082 linux*)
   12083   case `$CC -V 2>&1 | sed 5q` in
   12084   *Sun\ C*)
   12085     # Sun C++ 5.9
   12086     #
   12087     # The more standards-conforming stlport4 library is
   12088     # incompatible with the Cstd library. Avoid specifying
   12089     # it if it's in CXXFLAGS. Ignore libCrun as
   12090     # -library=stlport4 depends on it.
   12091     case " $CXX $CXXFLAGS " in
   12092     *" -library=stlport4 "*)
   12093       solaris_use_stlport4=yes
   12094       ;;
   12095     esac
   12096     if test "$solaris_use_stlport4" != yes; then
   12097       postdeps_CXX='-library=Cstd -library=Crun'
   12098     fi
   12099     ;;
   12100   esac
   12101   ;;
   12102 
   12103 solaris*)
   12104   case $cc_basename in
   12105   CC*)
   12106     # The more standards-conforming stlport4 library is
   12107     # incompatible with the Cstd library. Avoid specifying
   12108     # it if it's in CXXFLAGS. Ignore libCrun as
   12109     # -library=stlport4 depends on it.
   12110     case " $CXX $CXXFLAGS " in
   12111     *" -library=stlport4 "*)
   12112       solaris_use_stlport4=yes
   12113       ;;
   12114     esac
   12115 
   12116     # Adding this requires a known-good setup of shared libraries for
   12117     # Sun compiler versions before 5.6, else PIC objects from an old
   12118     # archive will be linked into the output, leading to subtle bugs.
   12119     if test "$solaris_use_stlport4" != yes; then
   12120       postdeps_CXX='-library=Cstd -library=Crun'
   12121     fi
   12122     ;;
   12123   esac
   12124   ;;
   12125 esac
   12126 
   12127 
   12128 case " $postdeps_CXX " in
   12129 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12130 esac
   12131 
   12132 lt_prog_compiler_wl_CXX=
   12133 lt_prog_compiler_pic_CXX=
   12134 lt_prog_compiler_static_CXX=
   12135 
   12136 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12137 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12138 
   12139   # C++ specific cases for pic, static, wl, etc.
   12140   if test "$GXX" = yes; then
   12141     lt_prog_compiler_wl_CXX='-Wl,'
   12142     lt_prog_compiler_static_CXX='-static'
   12143 
   12144     case $host_os in
   12145     aix*)
   12146       # All AIX code is PIC.
   12147       if test "$host_cpu" = ia64; then
   12148 	# AIX 5 now supports IA64 processor
   12149 	lt_prog_compiler_static_CXX='-Bstatic'
   12150       fi
   12151       ;;
   12152     amigaos*)
   12153       # FIXME: we need at least 68020 code to build shared libraries, but
   12154       # adding the `-m68020' flag to GCC prevents building anything better,
   12155       # like `-m68040'.
   12156       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12157       ;;
   12158     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12159       # PIC is the default for these OSes.
   12160       ;;
   12161     mingw* | cygwin* | os2* | pw32*)
   12162       # This hack is so that the source file can tell whether it is being
   12163       # built for inclusion in a dll (and should export symbols for example).
   12164       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12165       # (--disable-auto-import) libraries
   12166       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12167       ;;
   12168     darwin* | rhapsody*)
   12169       # PIC is the default on this platform
   12170       # Common symbols not allowed in MH_DYLIB files
   12171       lt_prog_compiler_pic_CXX='-fno-common'
   12172       ;;
   12173     *djgpp*)
   12174       # DJGPP does not support shared libraries at all
   12175       lt_prog_compiler_pic_CXX=
   12176       ;;
   12177     interix[3-9]*)
   12178       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12179       # Instead, we relocate shared libraries at runtime.
   12180       ;;
   12181     sysv4*MP*)
   12182       if test -d /usr/nec; then
   12183 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12184       fi
   12185       ;;
   12186     hpux*)
   12187       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12188       # not for PA HP-UX.
   12189       case $host_cpu in
   12190       hppa*64*|ia64*)
   12191 	;;
   12192       *)
   12193 	lt_prog_compiler_pic_CXX='-fPIC'
   12194 	;;
   12195       esac
   12196       ;;
   12197     *)
   12198       lt_prog_compiler_pic_CXX='-fPIC'
   12199       ;;
   12200     esac
   12201   else
   12202     case $host_os in
   12203       aix4* | aix5*)
   12204 	# All AIX code is PIC.
   12205 	if test "$host_cpu" = ia64; then
   12206 	  # AIX 5 now supports IA64 processor
   12207 	  lt_prog_compiler_static_CXX='-Bstatic'
   12208 	else
   12209 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12210 	fi
   12211 	;;
   12212       chorus*)
   12213 	case $cc_basename in
   12214 	cxch68*)
   12215 	  # Green Hills C++ Compiler
   12216 	  # _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"
   12217 	  ;;
   12218 	esac
   12219 	;;
   12220        darwin*)
   12221          # PIC is the default on this platform
   12222          # Common symbols not allowed in MH_DYLIB files
   12223          case $cc_basename in
   12224            xlc*)
   12225            lt_prog_compiler_pic_CXX='-qnocommon'
   12226            lt_prog_compiler_wl_CXX='-Wl,'
   12227            ;;
   12228          esac
   12229        ;;
   12230       dgux*)
   12231 	case $cc_basename in
   12232 	  ec++*)
   12233 	    lt_prog_compiler_pic_CXX='-KPIC'
   12234 	    ;;
   12235 	  ghcx*)
   12236 	    # Green Hills C++ Compiler
   12237 	    lt_prog_compiler_pic_CXX='-pic'
   12238 	    ;;
   12239 	  *)
   12240 	    ;;
   12241 	esac
   12242 	;;
   12243       freebsd* | dragonfly*)
   12244 	# FreeBSD uses GNU C++
   12245 	;;
   12246       hpux9* | hpux10* | hpux11*)
   12247 	case $cc_basename in
   12248 	  CC*)
   12249 	    lt_prog_compiler_wl_CXX='-Wl,'
   12250 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12251 	    if test "$host_cpu" != ia64; then
   12252 	      lt_prog_compiler_pic_CXX='+Z'
   12253 	    fi
   12254 	    ;;
   12255 	  aCC*)
   12256 	    lt_prog_compiler_wl_CXX='-Wl,'
   12257 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12258 	    case $host_cpu in
   12259 	    hppa*64*|ia64*)
   12260 	      # +Z the default
   12261 	      ;;
   12262 	    *)
   12263 	      lt_prog_compiler_pic_CXX='+Z'
   12264 	      ;;
   12265 	    esac
   12266 	    ;;
   12267 	  *)
   12268 	    ;;
   12269 	esac
   12270 	;;
   12271       interix*)
   12272 	# This is c89, which is MS Visual C++ (no shared libs)
   12273 	# Anyone wants to do a port?
   12274 	;;
   12275       irix5* | irix6* | nonstopux*)
   12276 	case $cc_basename in
   12277 	  CC*)
   12278 	    lt_prog_compiler_wl_CXX='-Wl,'
   12279 	    lt_prog_compiler_static_CXX='-non_shared'
   12280 	    # CC pic flag -KPIC is the default.
   12281 	    ;;
   12282 	  *)
   12283 	    ;;
   12284 	esac
   12285 	;;
   12286       linux* | k*bsd*-gnu)
   12287 	case $cc_basename in
   12288 	  KCC*)
   12289 	    # KAI C++ Compiler
   12290 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12291 	    lt_prog_compiler_pic_CXX='-fPIC'
   12292 	    ;;
   12293 	  icpc* | ecpc*)
   12294 	    # Intel C++
   12295 	    lt_prog_compiler_wl_CXX='-Wl,'
   12296 	    lt_prog_compiler_pic_CXX='-KPIC'
   12297 	    lt_prog_compiler_static_CXX='-static'
   12298 	    ;;
   12299 	  pgCC*)
   12300 	    # Portland Group C++ compiler.
   12301 	    lt_prog_compiler_wl_CXX='-Wl,'
   12302 	    lt_prog_compiler_pic_CXX='-fpic'
   12303 	    lt_prog_compiler_static_CXX='-Bstatic'
   12304 	    ;;
   12305 	  cxx*)
   12306 	    # Compaq C++
   12307 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12308 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12309 	    lt_prog_compiler_pic_CXX=
   12310 	    lt_prog_compiler_static_CXX='-non_shared'
   12311 	    ;;
   12312 	  *)
   12313 	    case `$CC -V 2>&1 | sed 5q` in
   12314 	    *Sun\ C*)
   12315 	      # Sun C++ 5.9
   12316 	      lt_prog_compiler_pic_CXX='-KPIC'
   12317 	      lt_prog_compiler_static_CXX='-Bstatic'
   12318 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12319 	      ;;
   12320 	    esac
   12321 	    ;;
   12322 	esac
   12323 	;;
   12324       lynxos*)
   12325 	;;
   12326       m88k*)
   12327 	;;
   12328       mvs*)
   12329 	case $cc_basename in
   12330 	  cxx*)
   12331 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12332 	    ;;
   12333 	  *)
   12334 	    ;;
   12335 	esac
   12336 	;;
   12337       netbsd*)
   12338 	;;
   12339       osf3* | osf4* | osf5*)
   12340 	case $cc_basename in
   12341 	  KCC*)
   12342 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12343 	    ;;
   12344 	  RCC*)
   12345 	    # Rational C++ 2.4.1
   12346 	    lt_prog_compiler_pic_CXX='-pic'
   12347 	    ;;
   12348 	  cxx*)
   12349 	    # Digital/Compaq C++
   12350 	    lt_prog_compiler_wl_CXX='-Wl,'
   12351 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12352 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12353 	    lt_prog_compiler_pic_CXX=
   12354 	    lt_prog_compiler_static_CXX='-non_shared'
   12355 	    ;;
   12356 	  *)
   12357 	    ;;
   12358 	esac
   12359 	;;
   12360       psos*)
   12361 	;;
   12362       solaris*)
   12363 	case $cc_basename in
   12364 	  CC*)
   12365 	    # Sun C++ 4.2, 5.x and Centerline C++
   12366 	    lt_prog_compiler_pic_CXX='-KPIC'
   12367 	    lt_prog_compiler_static_CXX='-Bstatic'
   12368 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12369 	    ;;
   12370 	  gcx*)
   12371 	    # Green Hills C++ Compiler
   12372 	    lt_prog_compiler_pic_CXX='-PIC'
   12373 	    ;;
   12374 	  *)
   12375 	    ;;
   12376 	esac
   12377 	;;
   12378       sunos4*)
   12379 	case $cc_basename in
   12380 	  CC*)
   12381 	    # Sun C++ 4.x
   12382 	    lt_prog_compiler_pic_CXX='-pic'
   12383 	    lt_prog_compiler_static_CXX='-Bstatic'
   12384 	    ;;
   12385 	  lcc*)
   12386 	    # Lucid
   12387 	    lt_prog_compiler_pic_CXX='-pic'
   12388 	    ;;
   12389 	  *)
   12390 	    ;;
   12391 	esac
   12392 	;;
   12393       tandem*)
   12394 	case $cc_basename in
   12395 	  NCC*)
   12396 	    # NonStop-UX NCC 3.20
   12397 	    lt_prog_compiler_pic_CXX='-KPIC'
   12398 	    ;;
   12399 	  *)
   12400 	    ;;
   12401 	esac
   12402 	;;
   12403       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12404 	case $cc_basename in
   12405 	  CC*)
   12406 	    lt_prog_compiler_wl_CXX='-Wl,'
   12407 	    lt_prog_compiler_pic_CXX='-KPIC'
   12408 	    lt_prog_compiler_static_CXX='-Bstatic'
   12409 	    ;;
   12410 	esac
   12411 	;;
   12412       vxworks*)
   12413 	;;
   12414       *)
   12415 	lt_prog_compiler_can_build_shared_CXX=no
   12416 	;;
   12417     esac
   12418   fi
   12419 
   12420 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12421 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12422 
   12423 #
   12424 # Check to make sure the PIC flag actually works.
   12425 #
   12426 if test -n "$lt_prog_compiler_pic_CXX"; then
   12427 
   12428 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12429 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12430 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12431   echo $ECHO_N "(cached) $ECHO_C" >&6
   12432 else
   12433   lt_prog_compiler_pic_works_CXX=no
   12434   ac_outfile=conftest.$ac_objext
   12435    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12436    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12437    # Insert the option either (1) after the last *FLAGS variable, or
   12438    # (2) before a word containing "conftest.", or (3) at the end.
   12439    # Note that $ac_compile itself does not contain backslashes and begins
   12440    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12441    # The option is referenced via a variable to avoid confusing sed.
   12442    lt_compile=`echo "$ac_compile" | $SED \
   12443    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12444    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12445    -e 's:$: $lt_compiler_flag:'`
   12446    (eval echo "\"\$as_me:12446: $lt_compile\"" >&5)
   12447    (eval "$lt_compile" 2>conftest.err)
   12448    ac_status=$?
   12449    cat conftest.err >&5
   12450    echo "$as_me:12450: \$? = $ac_status" >&5
   12451    if (exit $ac_status) && test -s "$ac_outfile"; then
   12452      # The compiler can only warn and ignore the option if not recognized
   12453      # So say no if there are warnings other than the usual output.
   12454      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12455      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12456      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12457        lt_prog_compiler_pic_works_CXX=yes
   12458      fi
   12459    fi
   12460    $rm conftest*
   12461 
   12462 fi
   12463 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12464 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12465 
   12466 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12467     case $lt_prog_compiler_pic_CXX in
   12468      "" | " "*) ;;
   12469      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12470      esac
   12471 else
   12472     lt_prog_compiler_pic_CXX=
   12473      lt_prog_compiler_can_build_shared_CXX=no
   12474 fi
   12475 
   12476 fi
   12477 case $host_os in
   12478   # For platforms which do not support PIC, -DPIC is meaningless:
   12479   *djgpp*)
   12480     lt_prog_compiler_pic_CXX=
   12481     ;;
   12482   *)
   12483     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12484     ;;
   12485 esac
   12486 
   12487 #
   12488 # Check to make sure the static flag actually works.
   12489 #
   12490 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12491 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12492 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12493 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12494   echo $ECHO_N "(cached) $ECHO_C" >&6
   12495 else
   12496   lt_prog_compiler_static_works_CXX=no
   12497    save_LDFLAGS="$LDFLAGS"
   12498    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12499    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12500    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12501      # The linker can only warn and ignore the option if not recognized
   12502      # So say no if there are warnings
   12503      if test -s conftest.err; then
   12504        # Append any errors to the config.log.
   12505        cat conftest.err 1>&5
   12506        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12507        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12508        if diff conftest.exp conftest.er2 >/dev/null; then
   12509          lt_prog_compiler_static_works_CXX=yes
   12510        fi
   12511      else
   12512        lt_prog_compiler_static_works_CXX=yes
   12513      fi
   12514    fi
   12515    $rm conftest*
   12516    LDFLAGS="$save_LDFLAGS"
   12517 
   12518 fi
   12519 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12520 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12521 
   12522 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12523     :
   12524 else
   12525     lt_prog_compiler_static_CXX=
   12526 fi
   12527 
   12528 
   12529 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12530 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12531 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12532   echo $ECHO_N "(cached) $ECHO_C" >&6
   12533 else
   12534   lt_cv_prog_compiler_c_o_CXX=no
   12535    $rm -r conftest 2>/dev/null
   12536    mkdir conftest
   12537    cd conftest
   12538    mkdir out
   12539    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12540 
   12541    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12542    # Insert the option either (1) after the last *FLAGS variable, or
   12543    # (2) before a word containing "conftest.", or (3) at the end.
   12544    # Note that $ac_compile itself does not contain backslashes and begins
   12545    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12546    lt_compile=`echo "$ac_compile" | $SED \
   12547    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12548    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12549    -e 's:$: $lt_compiler_flag:'`
   12550    (eval echo "\"\$as_me:12550: $lt_compile\"" >&5)
   12551    (eval "$lt_compile" 2>out/conftest.err)
   12552    ac_status=$?
   12553    cat out/conftest.err >&5
   12554    echo "$as_me:12554: \$? = $ac_status" >&5
   12555    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12556    then
   12557      # The compiler can only warn and ignore the option if not recognized
   12558      # So say no if there are warnings
   12559      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12560      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12561      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12562        lt_cv_prog_compiler_c_o_CXX=yes
   12563      fi
   12564    fi
   12565    chmod u+w . 2>&5
   12566    $rm conftest*
   12567    # SGI C++ compiler will create directory out/ii_files/ for
   12568    # template instantiation
   12569    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12570    $rm out/* && rmdir out
   12571    cd ..
   12572    rmdir conftest
   12573    $rm conftest*
   12574 
   12575 fi
   12576 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12577 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12578 
   12579 
   12580 hard_links="nottested"
   12581 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12582   # do not overwrite the value of need_locks provided by the user
   12583   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12584 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12585   hard_links=yes
   12586   $rm conftest*
   12587   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12588   touch conftest.a
   12589   ln conftest.a conftest.b 2>&5 || hard_links=no
   12590   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12591   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12592 echo "${ECHO_T}$hard_links" >&6; }
   12593   if test "$hard_links" = no; then
   12594     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12595 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12596     need_locks=warn
   12597   fi
   12598 else
   12599   need_locks=no
   12600 fi
   12601 
   12602 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12603 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12604 
   12605   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12606   case $host_os in
   12607   aix4* | aix5*)
   12608     # If we're using GNU nm, then we don't want the "-C" option.
   12609     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12610     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12611       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'
   12612     else
   12613       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'
   12614     fi
   12615     ;;
   12616   pw32*)
   12617     export_symbols_cmds_CXX="$ltdll_cmds"
   12618   ;;
   12619   cygwin* | mingw*)
   12620     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'
   12621   ;;
   12622   *)
   12623     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12624   ;;
   12625   esac
   12626 
   12627 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12628 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12629 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12630 
   12631 #
   12632 # Do we need to explicitly link libc?
   12633 #
   12634 case "x$archive_cmds_need_lc_CXX" in
   12635 x|xyes)
   12636   # Assume -lc should be added
   12637   archive_cmds_need_lc_CXX=yes
   12638 
   12639   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12640     case $archive_cmds_CXX in
   12641     *'~'*)
   12642       # FIXME: we may have to deal with multi-command sequences.
   12643       ;;
   12644     '$CC '*)
   12645       # Test whether the compiler implicitly links with -lc since on some
   12646       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12647       # to ld, don't add -lc before -lgcc.
   12648       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12649 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12650       $rm conftest*
   12651       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12652 
   12653       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12654   (eval $ac_compile) 2>&5
   12655   ac_status=$?
   12656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12657   (exit $ac_status); } 2>conftest.err; then
   12658         soname=conftest
   12659         lib=conftest
   12660         libobjs=conftest.$ac_objext
   12661         deplibs=
   12662         wl=$lt_prog_compiler_wl_CXX
   12663 	pic_flag=$lt_prog_compiler_pic_CXX
   12664         compiler_flags=-v
   12665         linker_flags=-v
   12666         verstring=
   12667         output_objdir=.
   12668         libname=conftest
   12669         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12670         allow_undefined_flag_CXX=
   12671         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12672   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12673   ac_status=$?
   12674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12675   (exit $ac_status); }
   12676         then
   12677 	  archive_cmds_need_lc_CXX=no
   12678         else
   12679 	  archive_cmds_need_lc_CXX=yes
   12680         fi
   12681         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12682       else
   12683         cat conftest.err 1>&5
   12684       fi
   12685       $rm conftest*
   12686       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12687 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12688       ;;
   12689     esac
   12690   fi
   12691   ;;
   12692 esac
   12693 
   12694 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12695 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12696 library_names_spec=
   12697 libname_spec='lib$name'
   12698 soname_spec=
   12699 shrext_cmds=".so"
   12700 postinstall_cmds=
   12701 postuninstall_cmds=
   12702 finish_cmds=
   12703 finish_eval=
   12704 shlibpath_var=
   12705 shlibpath_overrides_runpath=unknown
   12706 version_type=none
   12707 dynamic_linker="$host_os ld.so"
   12708 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12709 
   12710 need_lib_prefix=unknown
   12711 hardcode_into_libs=no
   12712 
   12713 # when you set need_version to no, make sure it does not cause -set_version
   12714 # flags to be left without arguments
   12715 need_version=unknown
   12716 
   12717 case $host_os in
   12718 aix3*)
   12719   version_type=linux
   12720   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12721   shlibpath_var=LIBPATH
   12722 
   12723   # AIX 3 has no versioning support, so we append a major version to the name.
   12724   soname_spec='${libname}${release}${shared_ext}$major'
   12725   ;;
   12726 
   12727 aix4* | aix5*)
   12728   version_type=linux
   12729   need_lib_prefix=no
   12730   need_version=no
   12731   hardcode_into_libs=yes
   12732   if test "$host_cpu" = ia64; then
   12733     # AIX 5 supports IA64
   12734     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12735     shlibpath_var=LD_LIBRARY_PATH
   12736   else
   12737     # With GCC up to 2.95.x, collect2 would create an import file
   12738     # for dependence libraries.  The import file would start with
   12739     # the line `#! .'.  This would cause the generated library to
   12740     # depend on `.', always an invalid library.  This was fixed in
   12741     # development snapshots of GCC prior to 3.0.
   12742     case $host_os in
   12743       aix4 | aix4.[01] | aix4.[01].*)
   12744       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12745 	   echo ' yes '
   12746 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12747 	:
   12748       else
   12749 	can_build_shared=no
   12750       fi
   12751       ;;
   12752     esac
   12753     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12754     # soname into executable. Probably we can add versioning support to
   12755     # collect2, so additional links can be useful in future.
   12756     if test "$aix_use_runtimelinking" = yes; then
   12757       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12758       # instead of lib<name>.a to let people know that these are not
   12759       # typical AIX shared libraries.
   12760       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12761     else
   12762       # We preserve .a as extension for shared libraries through AIX4.2
   12763       # and later when we are not doing run time linking.
   12764       library_names_spec='${libname}${release}.a $libname.a'
   12765       soname_spec='${libname}${release}${shared_ext}$major'
   12766     fi
   12767     shlibpath_var=LIBPATH
   12768   fi
   12769   ;;
   12770 
   12771 amigaos*)
   12772   library_names_spec='$libname.ixlibrary $libname.a'
   12773   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12774   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'
   12775   ;;
   12776 
   12777 beos*)
   12778   library_names_spec='${libname}${shared_ext}'
   12779   dynamic_linker="$host_os ld.so"
   12780   shlibpath_var=LIBRARY_PATH
   12781   ;;
   12782 
   12783 bsdi[45]*)
   12784   version_type=linux
   12785   need_version=no
   12786   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12787   soname_spec='${libname}${release}${shared_ext}$major'
   12788   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12789   shlibpath_var=LD_LIBRARY_PATH
   12790   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12791   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12792   # the default ld.so.conf also contains /usr/contrib/lib and
   12793   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12794   # libtool to hard-code these into programs
   12795   ;;
   12796 
   12797 cygwin* | mingw* | pw32*)
   12798   version_type=windows
   12799   shrext_cmds=".dll"
   12800   need_version=no
   12801   need_lib_prefix=no
   12802 
   12803   case $GCC,$host_os in
   12804   yes,cygwin* | yes,mingw* | yes,pw32*)
   12805     library_names_spec='$libname.dll.a'
   12806     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12807     postinstall_cmds='base_file=`basename \${file}`~
   12808       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12809       dldir=$destdir/`dirname \$dlpath`~
   12810       test -d \$dldir || mkdir -p \$dldir~
   12811       $install_prog $dir/$dlname \$dldir/$dlname~
   12812       chmod a+x \$dldir/$dlname'
   12813     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12814       dlpath=$dir/\$dldll~
   12815        $rm \$dlpath'
   12816     shlibpath_overrides_runpath=yes
   12817 
   12818     case $host_os in
   12819     cygwin*)
   12820       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12821       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12822       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12823       ;;
   12824     mingw*)
   12825       # MinGW DLLs use traditional 'lib' prefix
   12826       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12827       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12828       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12829         # It is most probably a Windows format PATH printed by
   12830         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12831         # path with ; separators, and with drive letters. We can handle the
   12832         # drive letters (cygwin fileutils understands them), so leave them,
   12833         # especially as we might pass files found there to a mingw objdump,
   12834         # which wouldn't understand a cygwinified path. Ahh.
   12835         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12836       else
   12837         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12838       fi
   12839       ;;
   12840     pw32*)
   12841       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12842       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12843       ;;
   12844     esac
   12845     ;;
   12846 
   12847   *)
   12848     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12849     ;;
   12850   esac
   12851   dynamic_linker='Win32 ld.exe'
   12852   # FIXME: first we should search . and the directory the executable is in
   12853   shlibpath_var=PATH
   12854   ;;
   12855 
   12856 darwin* | rhapsody*)
   12857   dynamic_linker="$host_os dyld"
   12858   version_type=darwin
   12859   need_lib_prefix=no
   12860   need_version=no
   12861   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12862   soname_spec='${libname}${release}${major}$shared_ext'
   12863   shlibpath_overrides_runpath=yes
   12864   shlibpath_var=DYLD_LIBRARY_PATH
   12865   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12866 
   12867   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12868   ;;
   12869 
   12870 dgux*)
   12871   version_type=linux
   12872   need_lib_prefix=no
   12873   need_version=no
   12874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12875   soname_spec='${libname}${release}${shared_ext}$major'
   12876   shlibpath_var=LD_LIBRARY_PATH
   12877   ;;
   12878 
   12879 freebsd1*)
   12880   dynamic_linker=no
   12881   ;;
   12882 
   12883 freebsd* | dragonfly*)
   12884   # DragonFly does not have aout.  When/if they implement a new
   12885   # versioning mechanism, adjust this.
   12886   if test -x /usr/bin/objformat; then
   12887     objformat=`/usr/bin/objformat`
   12888   else
   12889     case $host_os in
   12890     freebsd[123]*) objformat=aout ;;
   12891     *) objformat=elf ;;
   12892     esac
   12893   fi
   12894   version_type=freebsd-$objformat
   12895   case $version_type in
   12896     freebsd-elf*)
   12897       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12898       need_version=no
   12899       need_lib_prefix=no
   12900       ;;
   12901     freebsd-*)
   12902       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12903       need_version=yes
   12904       ;;
   12905   esac
   12906   shlibpath_var=LD_LIBRARY_PATH
   12907   case $host_os in
   12908   freebsd2*)
   12909     shlibpath_overrides_runpath=yes
   12910     ;;
   12911   freebsd3.[01]* | freebsdelf3.[01]*)
   12912     shlibpath_overrides_runpath=yes
   12913     hardcode_into_libs=yes
   12914     ;;
   12915   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12916   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12917     shlibpath_overrides_runpath=no
   12918     hardcode_into_libs=yes
   12919     ;;
   12920   *) # from 4.6 on, and DragonFly
   12921     shlibpath_overrides_runpath=yes
   12922     hardcode_into_libs=yes
   12923     ;;
   12924   esac
   12925   ;;
   12926 
   12927 gnu*)
   12928   version_type=linux
   12929   need_lib_prefix=no
   12930   need_version=no
   12931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12932   soname_spec='${libname}${release}${shared_ext}$major'
   12933   shlibpath_var=LD_LIBRARY_PATH
   12934   hardcode_into_libs=yes
   12935   ;;
   12936 
   12937 hpux9* | hpux10* | hpux11*)
   12938   # Give a soname corresponding to the major version so that dld.sl refuses to
   12939   # link against other versions.
   12940   version_type=sunos
   12941   need_lib_prefix=no
   12942   need_version=no
   12943   case $host_cpu in
   12944   ia64*)
   12945     shrext_cmds='.so'
   12946     hardcode_into_libs=yes
   12947     dynamic_linker="$host_os dld.so"
   12948     shlibpath_var=LD_LIBRARY_PATH
   12949     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12950     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12951     soname_spec='${libname}${release}${shared_ext}$major'
   12952     if test "X$HPUX_IA64_MODE" = X32; then
   12953       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12954     else
   12955       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12956     fi
   12957     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12958     ;;
   12959    hppa*64*)
   12960      shrext_cmds='.sl'
   12961      hardcode_into_libs=yes
   12962      dynamic_linker="$host_os dld.sl"
   12963      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12964      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12965      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12966      soname_spec='${libname}${release}${shared_ext}$major'
   12967      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12968      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12969      ;;
   12970    *)
   12971     shrext_cmds='.sl'
   12972     dynamic_linker="$host_os dld.sl"
   12973     shlibpath_var=SHLIB_PATH
   12974     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12975     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12976     soname_spec='${libname}${release}${shared_ext}$major'
   12977     ;;
   12978   esac
   12979   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12980   postinstall_cmds='chmod 555 $lib'
   12981   ;;
   12982 
   12983 interix[3-9]*)
   12984   version_type=linux
   12985   need_lib_prefix=no
   12986   need_version=no
   12987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12988   soname_spec='${libname}${release}${shared_ext}$major'
   12989   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12990   shlibpath_var=LD_LIBRARY_PATH
   12991   shlibpath_overrides_runpath=no
   12992   hardcode_into_libs=yes
   12993   ;;
   12994 
   12995 irix5* | irix6* | nonstopux*)
   12996   case $host_os in
   12997     nonstopux*) version_type=nonstopux ;;
   12998     *)
   12999 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13000 		version_type=linux
   13001 	else
   13002 		version_type=irix
   13003 	fi ;;
   13004   esac
   13005   need_lib_prefix=no
   13006   need_version=no
   13007   soname_spec='${libname}${release}${shared_ext}$major'
   13008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13009   case $host_os in
   13010   irix5* | nonstopux*)
   13011     libsuff= shlibsuff=
   13012     ;;
   13013   *)
   13014     case $LD in # libtool.m4 will add one of these switches to LD
   13015     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13016       libsuff= shlibsuff= libmagic=32-bit;;
   13017     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13018       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13019     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13020       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13021     *) libsuff= shlibsuff= libmagic=never-match;;
   13022     esac
   13023     ;;
   13024   esac
   13025   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13026   shlibpath_overrides_runpath=no
   13027   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13028   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13029   hardcode_into_libs=yes
   13030   ;;
   13031 
   13032 # No shared lib support for Linux oldld, aout, or coff.
   13033 linux*oldld* | linux*aout* | linux*coff*)
   13034   dynamic_linker=no
   13035   ;;
   13036 
   13037 # This must be Linux ELF.
   13038 linux* | k*bsd*-gnu)
   13039   version_type=linux
   13040   need_lib_prefix=no
   13041   need_version=no
   13042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13043   soname_spec='${libname}${release}${shared_ext}$major'
   13044   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13045   shlibpath_var=LD_LIBRARY_PATH
   13046   shlibpath_overrides_runpath=no
   13047   # This implies no fast_install, which is unacceptable.
   13048   # Some rework will be needed to allow for fast_install
   13049   # before this can be enabled.
   13050   hardcode_into_libs=yes
   13051 
   13052   # Append ld.so.conf contents to the search path
   13053   if test -f /etc/ld.so.conf; then
   13054     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' ' '`
   13055     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13056   fi
   13057 
   13058   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13059   # powerpc, because MkLinux only supported shared libraries with the
   13060   # GNU dynamic linker.  Since this was broken with cross compilers,
   13061   # most powerpc-linux boxes support dynamic linking these days and
   13062   # people can always --disable-shared, the test was removed, and we
   13063   # assume the GNU/Linux dynamic linker is in use.
   13064   dynamic_linker='GNU/Linux ld.so'
   13065   ;;
   13066 
   13067 netbsd*)
   13068   version_type=sunos
   13069   need_lib_prefix=no
   13070   need_version=no
   13071   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13072     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13073     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13074     dynamic_linker='NetBSD (a.out) ld.so'
   13075   else
   13076     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13077     soname_spec='${libname}${release}${shared_ext}$major'
   13078     dynamic_linker='NetBSD ld.elf_so'
   13079   fi
   13080   shlibpath_var=LD_LIBRARY_PATH
   13081   shlibpath_overrides_runpath=yes
   13082   hardcode_into_libs=yes
   13083   ;;
   13084 
   13085 newsos6)
   13086   version_type=linux
   13087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13088   shlibpath_var=LD_LIBRARY_PATH
   13089   shlibpath_overrides_runpath=yes
   13090   ;;
   13091 
   13092 nto-qnx*)
   13093   version_type=linux
   13094   need_lib_prefix=no
   13095   need_version=no
   13096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13097   soname_spec='${libname}${release}${shared_ext}$major'
   13098   shlibpath_var=LD_LIBRARY_PATH
   13099   shlibpath_overrides_runpath=yes
   13100   ;;
   13101 
   13102 openbsd*)
   13103   version_type=sunos
   13104   sys_lib_dlsearch_path_spec="/usr/lib"
   13105   need_lib_prefix=no
   13106   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13107   case $host_os in
   13108     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13109     *)                         need_version=no  ;;
   13110   esac
   13111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13112   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13113   shlibpath_var=LD_LIBRARY_PATH
   13114   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13115     case $host_os in
   13116       openbsd2.[89] | openbsd2.[89].*)
   13117 	shlibpath_overrides_runpath=no
   13118 	;;
   13119       *)
   13120 	shlibpath_overrides_runpath=yes
   13121 	;;
   13122       esac
   13123   else
   13124     shlibpath_overrides_runpath=yes
   13125   fi
   13126   ;;
   13127 
   13128 os2*)
   13129   libname_spec='$name'
   13130   shrext_cmds=".dll"
   13131   need_lib_prefix=no
   13132   library_names_spec='$libname${shared_ext} $libname.a'
   13133   dynamic_linker='OS/2 ld.exe'
   13134   shlibpath_var=LIBPATH
   13135   ;;
   13136 
   13137 osf3* | osf4* | osf5*)
   13138   version_type=osf
   13139   need_lib_prefix=no
   13140   need_version=no
   13141   soname_spec='${libname}${release}${shared_ext}$major'
   13142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13143   shlibpath_var=LD_LIBRARY_PATH
   13144   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13145   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13146   ;;
   13147 
   13148 rdos*)
   13149   dynamic_linker=no
   13150   ;;
   13151 
   13152 solaris*)
   13153   version_type=linux
   13154   need_lib_prefix=no
   13155   need_version=no
   13156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13157   soname_spec='${libname}${release}${shared_ext}$major'
   13158   shlibpath_var=LD_LIBRARY_PATH
   13159   shlibpath_overrides_runpath=yes
   13160   hardcode_into_libs=yes
   13161   # ldd complains unless libraries are executable
   13162   postinstall_cmds='chmod +x $lib'
   13163   ;;
   13164 
   13165 sunos4*)
   13166   version_type=sunos
   13167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13168   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13169   shlibpath_var=LD_LIBRARY_PATH
   13170   shlibpath_overrides_runpath=yes
   13171   if test "$with_gnu_ld" = yes; then
   13172     need_lib_prefix=no
   13173   fi
   13174   need_version=yes
   13175   ;;
   13176 
   13177 sysv4 | sysv4.3*)
   13178   version_type=linux
   13179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13180   soname_spec='${libname}${release}${shared_ext}$major'
   13181   shlibpath_var=LD_LIBRARY_PATH
   13182   case $host_vendor in
   13183     sni)
   13184       shlibpath_overrides_runpath=no
   13185       need_lib_prefix=no
   13186       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13187       runpath_var=LD_RUN_PATH
   13188       ;;
   13189     siemens)
   13190       need_lib_prefix=no
   13191       ;;
   13192     motorola)
   13193       need_lib_prefix=no
   13194       need_version=no
   13195       shlibpath_overrides_runpath=no
   13196       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13197       ;;
   13198   esac
   13199   ;;
   13200 
   13201 sysv4*MP*)
   13202   if test -d /usr/nec ;then
   13203     version_type=linux
   13204     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13205     soname_spec='$libname${shared_ext}.$major'
   13206     shlibpath_var=LD_LIBRARY_PATH
   13207   fi
   13208   ;;
   13209 
   13210 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13211   version_type=freebsd-elf
   13212   need_lib_prefix=no
   13213   need_version=no
   13214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13215   soname_spec='${libname}${release}${shared_ext}$major'
   13216   shlibpath_var=LD_LIBRARY_PATH
   13217   hardcode_into_libs=yes
   13218   if test "$with_gnu_ld" = yes; then
   13219     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13220     shlibpath_overrides_runpath=no
   13221   else
   13222     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13223     shlibpath_overrides_runpath=yes
   13224     case $host_os in
   13225       sco3.2v5*)
   13226         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13227 	;;
   13228     esac
   13229   fi
   13230   sys_lib_dlsearch_path_spec='/usr/lib'
   13231   ;;
   13232 
   13233 uts4*)
   13234   version_type=linux
   13235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13236   soname_spec='${libname}${release}${shared_ext}$major'
   13237   shlibpath_var=LD_LIBRARY_PATH
   13238   ;;
   13239 
   13240 *)
   13241   dynamic_linker=no
   13242   ;;
   13243 esac
   13244 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13245 echo "${ECHO_T}$dynamic_linker" >&6; }
   13246 test "$dynamic_linker" = no && can_build_shared=no
   13247 
   13248 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13249 if test "$GCC" = yes; then
   13250   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13251 fi
   13252 
   13253 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13254 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13255 hardcode_action_CXX=
   13256 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13257    test -n "$runpath_var_CXX" || \
   13258    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13259 
   13260   # We can hardcode non-existant directories.
   13261   if test "$hardcode_direct_CXX" != no &&
   13262      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13263      # have to relink, otherwise we might link with an installed library
   13264      # when we should be linking with a yet-to-be-installed one
   13265      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13266      test "$hardcode_minus_L_CXX" != no; then
   13267     # Linking always hardcodes the temporary library directory.
   13268     hardcode_action_CXX=relink
   13269   else
   13270     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13271     hardcode_action_CXX=immediate
   13272   fi
   13273 else
   13274   # We cannot hardcode anything, or else we can only hardcode existing
   13275   # directories.
   13276   hardcode_action_CXX=unsupported
   13277 fi
   13278 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13279 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13280 
   13281 if test "$hardcode_action_CXX" = relink; then
   13282   # Fast installation is not supported
   13283   enable_fast_install=no
   13284 elif test "$shlibpath_overrides_runpath" = yes ||
   13285      test "$enable_shared" = no; then
   13286   # Fast installation is not necessary
   13287   enable_fast_install=needless
   13288 fi
   13289 
   13290 
   13291 # The else clause should only fire when bootstrapping the
   13292 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13293 # with your package, and you will get complaints that there are
   13294 # no rules to generate ltmain.sh.
   13295 if test -f "$ltmain"; then
   13296   # See if we are running on zsh, and set the options which allow our commands through
   13297   # without removal of \ escapes.
   13298   if test -n "${ZSH_VERSION+set}" ; then
   13299     setopt NO_GLOB_SUBST
   13300   fi
   13301   # Now quote all the things that may contain metacharacters while being
   13302   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13303   # variables and quote the copies for generation of the libtool script.
   13304   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13305     SED SHELL STRIP \
   13306     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13307     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13308     deplibs_check_method reload_flag reload_cmds need_locks \
   13309     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13310     lt_cv_sys_global_symbol_to_c_name_address \
   13311     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13312     old_postinstall_cmds old_postuninstall_cmds \
   13313     compiler_CXX \
   13314     CC_CXX \
   13315     LD_CXX \
   13316     lt_prog_compiler_wl_CXX \
   13317     lt_prog_compiler_pic_CXX \
   13318     lt_prog_compiler_static_CXX \
   13319     lt_prog_compiler_no_builtin_flag_CXX \
   13320     export_dynamic_flag_spec_CXX \
   13321     thread_safe_flag_spec_CXX \
   13322     whole_archive_flag_spec_CXX \
   13323     enable_shared_with_static_runtimes_CXX \
   13324     old_archive_cmds_CXX \
   13325     old_archive_from_new_cmds_CXX \
   13326     predep_objects_CXX \
   13327     postdep_objects_CXX \
   13328     predeps_CXX \
   13329     postdeps_CXX \
   13330     compiler_lib_search_path_CXX \
   13331     archive_cmds_CXX \
   13332     archive_expsym_cmds_CXX \
   13333     postinstall_cmds_CXX \
   13334     postuninstall_cmds_CXX \
   13335     old_archive_from_expsyms_cmds_CXX \
   13336     allow_undefined_flag_CXX \
   13337     no_undefined_flag_CXX \
   13338     export_symbols_cmds_CXX \
   13339     hardcode_libdir_flag_spec_CXX \
   13340     hardcode_libdir_flag_spec_ld_CXX \
   13341     hardcode_libdir_separator_CXX \
   13342     hardcode_automatic_CXX \
   13343     module_cmds_CXX \
   13344     module_expsym_cmds_CXX \
   13345     lt_cv_prog_compiler_c_o_CXX \
   13346     fix_srcfile_path_CXX \
   13347     exclude_expsyms_CXX \
   13348     include_expsyms_CXX; do
   13349 
   13350     case $var in
   13351     old_archive_cmds_CXX | \
   13352     old_archive_from_new_cmds_CXX | \
   13353     archive_cmds_CXX | \
   13354     archive_expsym_cmds_CXX | \
   13355     module_cmds_CXX | \
   13356     module_expsym_cmds_CXX | \
   13357     old_archive_from_expsyms_cmds_CXX | \
   13358     export_symbols_cmds_CXX | \
   13359     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13360     postinstall_cmds | postuninstall_cmds | \
   13361     old_postinstall_cmds | old_postuninstall_cmds | \
   13362     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13363       # Double-quote double-evaled strings.
   13364       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13365       ;;
   13366     *)
   13367       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13368       ;;
   13369     esac
   13370   done
   13371 
   13372   case $lt_echo in
   13373   *'\$0 --fallback-echo"')
   13374     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13375     ;;
   13376   esac
   13377 
   13378 cfgfile="$ofile"
   13379 
   13380   cat <<__EOF__ >> "$cfgfile"
   13381 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13382 
   13383 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13384 
   13385 # Shell to use when invoking shell scripts.
   13386 SHELL=$lt_SHELL
   13387 
   13388 # Whether or not to build shared libraries.
   13389 build_libtool_libs=$enable_shared
   13390 
   13391 # Whether or not to build static libraries.
   13392 build_old_libs=$enable_static
   13393 
   13394 # Whether or not to add -lc for building shared libraries.
   13395 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13396 
   13397 # Whether or not to disallow shared libs when runtime libs are static
   13398 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13399 
   13400 # Whether or not to optimize for fast installation.
   13401 fast_install=$enable_fast_install
   13402 
   13403 # The host system.
   13404 host_alias=$host_alias
   13405 host=$host
   13406 host_os=$host_os
   13407 
   13408 # The build system.
   13409 build_alias=$build_alias
   13410 build=$build
   13411 build_os=$build_os
   13412 
   13413 # An echo program that does not interpret backslashes.
   13414 echo=$lt_echo
   13415 
   13416 # The archiver.
   13417 AR=$lt_AR
   13418 AR_FLAGS=$lt_AR_FLAGS
   13419 
   13420 # A C compiler.
   13421 LTCC=$lt_LTCC
   13422 
   13423 # LTCC compiler flags.
   13424 LTCFLAGS=$lt_LTCFLAGS
   13425 
   13426 # A language-specific compiler.
   13427 CC=$lt_compiler_CXX
   13428 
   13429 # Is the compiler the GNU C compiler?
   13430 with_gcc=$GCC_CXX
   13431 
   13432 # An ERE matcher.
   13433 EGREP=$lt_EGREP
   13434 
   13435 # The linker used to build libraries.
   13436 LD=$lt_LD_CXX
   13437 
   13438 # Whether we need hard or soft links.
   13439 LN_S=$lt_LN_S
   13440 
   13441 # A BSD-compatible nm program.
   13442 NM=$lt_NM
   13443 
   13444 # A symbol stripping program
   13445 STRIP=$lt_STRIP
   13446 
   13447 # Used to examine libraries when file_magic_cmd begins "file"
   13448 MAGIC_CMD=$MAGIC_CMD
   13449 
   13450 # Used on cygwin: DLL creation program.
   13451 DLLTOOL="$DLLTOOL"
   13452 
   13453 # Used on cygwin: object dumper.
   13454 OBJDUMP="$OBJDUMP"
   13455 
   13456 # Used on cygwin: assembler.
   13457 AS="$AS"
   13458 
   13459 # The name of the directory that contains temporary libtool files.
   13460 objdir=$objdir
   13461 
   13462 # How to create reloadable object files.
   13463 reload_flag=$lt_reload_flag
   13464 reload_cmds=$lt_reload_cmds
   13465 
   13466 # How to pass a linker flag through the compiler.
   13467 wl=$lt_lt_prog_compiler_wl_CXX
   13468 
   13469 # Object file suffix (normally "o").
   13470 objext="$ac_objext"
   13471 
   13472 # Old archive suffix (normally "a").
   13473 libext="$libext"
   13474 
   13475 # Shared library suffix (normally ".so").
   13476 shrext_cmds='$shrext_cmds'
   13477 
   13478 # Executable file suffix (normally "").
   13479 exeext="$exeext"
   13480 
   13481 # Additional compiler flags for building library objects.
   13482 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13483 pic_mode=$pic_mode
   13484 
   13485 # What is the maximum length of a command?
   13486 max_cmd_len=$lt_cv_sys_max_cmd_len
   13487 
   13488 # Does compiler simultaneously support -c and -o options?
   13489 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13490 
   13491 # Must we lock files when doing compilation?
   13492 need_locks=$lt_need_locks
   13493 
   13494 # Do we need the lib prefix for modules?
   13495 need_lib_prefix=$need_lib_prefix
   13496 
   13497 # Do we need a version for libraries?
   13498 need_version=$need_version
   13499 
   13500 # Whether dlopen is supported.
   13501 dlopen_support=$enable_dlopen
   13502 
   13503 # Whether dlopen of programs is supported.
   13504 dlopen_self=$enable_dlopen_self
   13505 
   13506 # Whether dlopen of statically linked programs is supported.
   13507 dlopen_self_static=$enable_dlopen_self_static
   13508 
   13509 # Compiler flag to prevent dynamic linking.
   13510 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13511 
   13512 # Compiler flag to turn off builtin functions.
   13513 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13514 
   13515 # Compiler flag to allow reflexive dlopens.
   13516 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13517 
   13518 # Compiler flag to generate shared objects directly from archives.
   13519 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13520 
   13521 # Compiler flag to generate thread-safe objects.
   13522 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13523 
   13524 # Library versioning type.
   13525 version_type=$version_type
   13526 
   13527 # Format of library name prefix.
   13528 libname_spec=$lt_libname_spec
   13529 
   13530 # List of archive names.  First name is the real one, the rest are links.
   13531 # The last name is the one that the linker finds with -lNAME.
   13532 library_names_spec=$lt_library_names_spec
   13533 
   13534 # The coded name of the library, if different from the real name.
   13535 soname_spec=$lt_soname_spec
   13536 
   13537 # Commands used to build and install an old-style archive.
   13538 RANLIB=$lt_RANLIB
   13539 old_archive_cmds=$lt_old_archive_cmds_CXX
   13540 old_postinstall_cmds=$lt_old_postinstall_cmds
   13541 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13542 
   13543 # Create an old-style archive from a shared archive.
   13544 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13545 
   13546 # Create a temporary old-style archive to link instead of a shared archive.
   13547 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13548 
   13549 # Commands used to build and install a shared archive.
   13550 archive_cmds=$lt_archive_cmds_CXX
   13551 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13552 postinstall_cmds=$lt_postinstall_cmds
   13553 postuninstall_cmds=$lt_postuninstall_cmds
   13554 
   13555 # Commands used to build a loadable module (assumed same as above if empty)
   13556 module_cmds=$lt_module_cmds_CXX
   13557 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13558 
   13559 # Commands to strip libraries.
   13560 old_striplib=$lt_old_striplib
   13561 striplib=$lt_striplib
   13562 
   13563 # Dependencies to place before the objects being linked to create a
   13564 # shared library.
   13565 predep_objects=$lt_predep_objects_CXX
   13566 
   13567 # Dependencies to place after the objects being linked to create a
   13568 # shared library.
   13569 postdep_objects=$lt_postdep_objects_CXX
   13570 
   13571 # Dependencies to place before the objects being linked to create a
   13572 # shared library.
   13573 predeps=$lt_predeps_CXX
   13574 
   13575 # Dependencies to place after the objects being linked to create a
   13576 # shared library.
   13577 postdeps=$lt_postdeps_CXX
   13578 
   13579 # The library search path used internally by the compiler when linking
   13580 # a shared library.
   13581 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13582 
   13583 # Method to check whether dependent libraries are shared objects.
   13584 deplibs_check_method=$lt_deplibs_check_method
   13585 
   13586 # Command to use when deplibs_check_method == file_magic.
   13587 file_magic_cmd=$lt_file_magic_cmd
   13588 
   13589 # Flag that allows shared libraries with undefined symbols to be built.
   13590 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13591 
   13592 # Flag that forces no undefined symbols.
   13593 no_undefined_flag=$lt_no_undefined_flag_CXX
   13594 
   13595 # Commands used to finish a libtool library installation in a directory.
   13596 finish_cmds=$lt_finish_cmds
   13597 
   13598 # Same as above, but a single script fragment to be evaled but not shown.
   13599 finish_eval=$lt_finish_eval
   13600 
   13601 # Take the output of nm and produce a listing of raw symbols and C names.
   13602 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13603 
   13604 # Transform the output of nm in a proper C declaration
   13605 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13606 
   13607 # Transform the output of nm in a C name address pair
   13608 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13609 
   13610 # This is the shared library runtime path variable.
   13611 runpath_var=$runpath_var
   13612 
   13613 # This is the shared library path variable.
   13614 shlibpath_var=$shlibpath_var
   13615 
   13616 # Is shlibpath searched before the hard-coded library search path?
   13617 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13618 
   13619 # How to hardcode a shared library path into an executable.
   13620 hardcode_action=$hardcode_action_CXX
   13621 
   13622 # Whether we should hardcode library paths into libraries.
   13623 hardcode_into_libs=$hardcode_into_libs
   13624 
   13625 # Flag to hardcode \$libdir into a binary during linking.
   13626 # This must work even if \$libdir does not exist.
   13627 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13628 
   13629 # If ld is used when linking, flag to hardcode \$libdir into
   13630 # a binary during linking. This must work even if \$libdir does
   13631 # not exist.
   13632 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13633 
   13634 # Whether we need a single -rpath flag with a separated argument.
   13635 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13636 
   13637 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13638 # resulting binary.
   13639 hardcode_direct=$hardcode_direct_CXX
   13640 
   13641 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13642 # resulting binary.
   13643 hardcode_minus_L=$hardcode_minus_L_CXX
   13644 
   13645 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13646 # the resulting binary.
   13647 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13648 
   13649 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13650 # and all subsequent libraries and executables linked against it.
   13651 hardcode_automatic=$hardcode_automatic_CXX
   13652 
   13653 # Variables whose values should be saved in libtool wrapper scripts and
   13654 # restored at relink time.
   13655 variables_saved_for_relink="$variables_saved_for_relink"
   13656 
   13657 # Whether libtool must link a program against all its dependency libraries.
   13658 link_all_deplibs=$link_all_deplibs_CXX
   13659 
   13660 # Compile-time system search path for libraries
   13661 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13662 
   13663 # Run-time system search path for libraries
   13664 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13665 
   13666 # Fix the shell variable \$srcfile for the compiler.
   13667 fix_srcfile_path=$lt_fix_srcfile_path
   13668 
   13669 # Set to yes if exported symbols are required.
   13670 always_export_symbols=$always_export_symbols_CXX
   13671 
   13672 # The commands to list exported symbols.
   13673 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13674 
   13675 # The commands to extract the exported symbol list from a shared archive.
   13676 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13677 
   13678 # Symbols that should not be listed in the preloaded symbols.
   13679 exclude_expsyms=$lt_exclude_expsyms_CXX
   13680 
   13681 # Symbols that must always be exported.
   13682 include_expsyms=$lt_include_expsyms_CXX
   13683 
   13684 # ### END LIBTOOL TAG CONFIG: $tagname
   13685 
   13686 __EOF__
   13687 
   13688 
   13689 else
   13690   # If there is no Makefile yet, we rely on a make rule to execute
   13691   # `config.status --recheck' to rerun these tests and create the
   13692   # libtool script then.
   13693   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13694   if test -f "$ltmain_in"; then
   13695     test -f Makefile && make "$ltmain"
   13696   fi
   13697 fi
   13698 
   13699 
   13700 ac_ext=c
   13701 ac_cpp='$CPP $CPPFLAGS'
   13702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13705 
   13706 CC=$lt_save_CC
   13707 LDCXX=$LD
   13708 LD=$lt_save_LD
   13709 GCC=$lt_save_GCC
   13710 with_gnu_ldcxx=$with_gnu_ld
   13711 with_gnu_ld=$lt_save_with_gnu_ld
   13712 lt_cv_path_LDCXX=$lt_cv_path_LD
   13713 lt_cv_path_LD=$lt_save_path_LD
   13714 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13715 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13716 
   13717 	else
   13718 	  tagname=""
   13719 	fi
   13720 	;;
   13721 
   13722       F77)
   13723 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13724 
   13725 ac_ext=f
   13726 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13727 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13728 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13729 
   13730 
   13731 archive_cmds_need_lc_F77=no
   13732 allow_undefined_flag_F77=
   13733 always_export_symbols_F77=no
   13734 archive_expsym_cmds_F77=
   13735 export_dynamic_flag_spec_F77=
   13736 hardcode_direct_F77=no
   13737 hardcode_libdir_flag_spec_F77=
   13738 hardcode_libdir_flag_spec_ld_F77=
   13739 hardcode_libdir_separator_F77=
   13740 hardcode_minus_L_F77=no
   13741 hardcode_automatic_F77=no
   13742 module_cmds_F77=
   13743 module_expsym_cmds_F77=
   13744 link_all_deplibs_F77=unknown
   13745 old_archive_cmds_F77=$old_archive_cmds
   13746 no_undefined_flag_F77=
   13747 whole_archive_flag_spec_F77=
   13748 enable_shared_with_static_runtimes_F77=no
   13749 
   13750 # Source file extension for f77 test sources.
   13751 ac_ext=f
   13752 
   13753 # Object file extension for compiled f77 test sources.
   13754 objext=o
   13755 objext_F77=$objext
   13756 
   13757 # Code to be used in simple compile tests
   13758 lt_simple_compile_test_code="\
   13759       subroutine t
   13760       return
   13761       end
   13762 "
   13763 
   13764 # Code to be used in simple link tests
   13765 lt_simple_link_test_code="\
   13766       program t
   13767       end
   13768 "
   13769 
   13770 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13771 
   13772 # If no C compiler was specified, use CC.
   13773 LTCC=${LTCC-"$CC"}
   13774 
   13775 # If no C compiler flags were specified, use CFLAGS.
   13776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13777 
   13778 # Allow CC to be a program name with arguments.
   13779 compiler=$CC
   13780 
   13781 
   13782 # save warnings/boilerplate of simple test code
   13783 ac_outfile=conftest.$ac_objext
   13784 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13785 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13786 _lt_compiler_boilerplate=`cat conftest.err`
   13787 $rm conftest*
   13788 
   13789 ac_outfile=conftest.$ac_objext
   13790 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13791 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13792 _lt_linker_boilerplate=`cat conftest.err`
   13793 $rm conftest*
   13794 
   13795 
   13796 # Allow CC to be a program name with arguments.
   13797 lt_save_CC="$CC"
   13798 CC=${F77-"f77"}
   13799 compiler=$CC
   13800 compiler_F77=$CC
   13801 for cc_temp in $compiler""; do
   13802   case $cc_temp in
   13803     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13804     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13805     \-*) ;;
   13806     *) break;;
   13807   esac
   13808 done
   13809 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13810 
   13811 
   13812 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13813 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13814 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13815 echo "${ECHO_T}$can_build_shared" >&6; }
   13816 
   13817 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13818 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13819 test "$can_build_shared" = "no" && enable_shared=no
   13820 
   13821 # On AIX, shared libraries and static libraries use the same namespace, and
   13822 # are all built from PIC.
   13823 case $host_os in
   13824 aix3*)
   13825   test "$enable_shared" = yes && enable_static=no
   13826   if test -n "$RANLIB"; then
   13827     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13828     postinstall_cmds='$RANLIB $lib'
   13829   fi
   13830   ;;
   13831 aix4* | aix5*)
   13832   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13833     test "$enable_shared" = yes && enable_static=no
   13834   fi
   13835   ;;
   13836 esac
   13837 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13838 echo "${ECHO_T}$enable_shared" >&6; }
   13839 
   13840 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13841 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13842 # Make sure either enable_shared or enable_static is yes.
   13843 test "$enable_shared" = yes || enable_static=yes
   13844 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13845 echo "${ECHO_T}$enable_static" >&6; }
   13846 
   13847 GCC_F77="$G77"
   13848 LD_F77="$LD"
   13849 
   13850 lt_prog_compiler_wl_F77=
   13851 lt_prog_compiler_pic_F77=
   13852 lt_prog_compiler_static_F77=
   13853 
   13854 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13855 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13856 
   13857   if test "$GCC" = yes; then
   13858     lt_prog_compiler_wl_F77='-Wl,'
   13859     lt_prog_compiler_static_F77='-static'
   13860 
   13861     case $host_os in
   13862       aix*)
   13863       # All AIX code is PIC.
   13864       if test "$host_cpu" = ia64; then
   13865 	# AIX 5 now supports IA64 processor
   13866 	lt_prog_compiler_static_F77='-Bstatic'
   13867       fi
   13868       ;;
   13869 
   13870     amigaos*)
   13871       # FIXME: we need at least 68020 code to build shared libraries, but
   13872       # adding the `-m68020' flag to GCC prevents building anything better,
   13873       # like `-m68040'.
   13874       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13875       ;;
   13876 
   13877     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13878       # PIC is the default for these OSes.
   13879       ;;
   13880 
   13881     mingw* | cygwin* | pw32* | os2*)
   13882       # This hack is so that the source file can tell whether it is being
   13883       # built for inclusion in a dll (and should export symbols for example).
   13884       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13885       # (--disable-auto-import) libraries
   13886       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13887       ;;
   13888 
   13889     darwin* | rhapsody*)
   13890       # PIC is the default on this platform
   13891       # Common symbols not allowed in MH_DYLIB files
   13892       lt_prog_compiler_pic_F77='-fno-common'
   13893       ;;
   13894 
   13895     interix[3-9]*)
   13896       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13897       # Instead, we relocate shared libraries at runtime.
   13898       ;;
   13899 
   13900     msdosdjgpp*)
   13901       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13902       # on systems that don't support them.
   13903       lt_prog_compiler_can_build_shared_F77=no
   13904       enable_shared=no
   13905       ;;
   13906 
   13907     sysv4*MP*)
   13908       if test -d /usr/nec; then
   13909 	lt_prog_compiler_pic_F77=-Kconform_pic
   13910       fi
   13911       ;;
   13912 
   13913     hpux*)
   13914       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13915       # not for PA HP-UX.
   13916       case $host_cpu in
   13917       hppa*64*|ia64*)
   13918 	# +Z the default
   13919 	;;
   13920       *)
   13921 	lt_prog_compiler_pic_F77='-fPIC'
   13922 	;;
   13923       esac
   13924       ;;
   13925 
   13926     *)
   13927       lt_prog_compiler_pic_F77='-fPIC'
   13928       ;;
   13929     esac
   13930   else
   13931     # PORTME Check for flag to pass linker flags through the system compiler.
   13932     case $host_os in
   13933     aix*)
   13934       lt_prog_compiler_wl_F77='-Wl,'
   13935       if test "$host_cpu" = ia64; then
   13936 	# AIX 5 now supports IA64 processor
   13937 	lt_prog_compiler_static_F77='-Bstatic'
   13938       else
   13939 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13940       fi
   13941       ;;
   13942       darwin*)
   13943         # PIC is the default on this platform
   13944         # Common symbols not allowed in MH_DYLIB files
   13945        case $cc_basename in
   13946          xlc*)
   13947          lt_prog_compiler_pic_F77='-qnocommon'
   13948          lt_prog_compiler_wl_F77='-Wl,'
   13949          ;;
   13950        esac
   13951        ;;
   13952 
   13953     mingw* | cygwin* | pw32* | os2*)
   13954       # This hack is so that the source file can tell whether it is being
   13955       # built for inclusion in a dll (and should export symbols for example).
   13956       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13957       ;;
   13958 
   13959     hpux9* | hpux10* | hpux11*)
   13960       lt_prog_compiler_wl_F77='-Wl,'
   13961       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13962       # not for PA HP-UX.
   13963       case $host_cpu in
   13964       hppa*64*|ia64*)
   13965 	# +Z the default
   13966 	;;
   13967       *)
   13968 	lt_prog_compiler_pic_F77='+Z'
   13969 	;;
   13970       esac
   13971       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13972       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13973       ;;
   13974 
   13975     irix5* | irix6* | nonstopux*)
   13976       lt_prog_compiler_wl_F77='-Wl,'
   13977       # PIC (with -KPIC) is the default.
   13978       lt_prog_compiler_static_F77='-non_shared'
   13979       ;;
   13980 
   13981     newsos6)
   13982       lt_prog_compiler_pic_F77='-KPIC'
   13983       lt_prog_compiler_static_F77='-Bstatic'
   13984       ;;
   13985 
   13986     linux* | k*bsd*-gnu)
   13987       case $cc_basename in
   13988       icc* | ecc*)
   13989 	lt_prog_compiler_wl_F77='-Wl,'
   13990 	lt_prog_compiler_pic_F77='-KPIC'
   13991 	lt_prog_compiler_static_F77='-static'
   13992         ;;
   13993       pgcc* | pgf77* | pgf90* | pgf95*)
   13994         # Portland Group compilers (*not* the Pentium gcc compiler,
   13995 	# which looks to be a dead project)
   13996 	lt_prog_compiler_wl_F77='-Wl,'
   13997 	lt_prog_compiler_pic_F77='-fpic'
   13998 	lt_prog_compiler_static_F77='-Bstatic'
   13999         ;;
   14000       ccc*)
   14001         lt_prog_compiler_wl_F77='-Wl,'
   14002         # All Alpha code is PIC.
   14003         lt_prog_compiler_static_F77='-non_shared'
   14004         ;;
   14005       *)
   14006         case `$CC -V 2>&1 | sed 5q` in
   14007 	*Sun\ C*)
   14008 	  # Sun C 5.9
   14009 	  lt_prog_compiler_pic_F77='-KPIC'
   14010 	  lt_prog_compiler_static_F77='-Bstatic'
   14011 	  lt_prog_compiler_wl_F77='-Wl,'
   14012 	  ;;
   14013 	*Sun\ F*)
   14014 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14015 	  lt_prog_compiler_pic_F77='-KPIC'
   14016 	  lt_prog_compiler_static_F77='-Bstatic'
   14017 	  lt_prog_compiler_wl_F77=''
   14018 	  ;;
   14019 	esac
   14020 	;;
   14021       esac
   14022       ;;
   14023 
   14024     osf3* | osf4* | osf5*)
   14025       lt_prog_compiler_wl_F77='-Wl,'
   14026       # All OSF/1 code is PIC.
   14027       lt_prog_compiler_static_F77='-non_shared'
   14028       ;;
   14029 
   14030     rdos*)
   14031       lt_prog_compiler_static_F77='-non_shared'
   14032       ;;
   14033 
   14034     solaris*)
   14035       lt_prog_compiler_pic_F77='-KPIC'
   14036       lt_prog_compiler_static_F77='-Bstatic'
   14037       case $cc_basename in
   14038       f77* | f90* | f95*)
   14039 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14040       *)
   14041 	lt_prog_compiler_wl_F77='-Wl,';;
   14042       esac
   14043       ;;
   14044 
   14045     sunos4*)
   14046       lt_prog_compiler_wl_F77='-Qoption ld '
   14047       lt_prog_compiler_pic_F77='-PIC'
   14048       lt_prog_compiler_static_F77='-Bstatic'
   14049       ;;
   14050 
   14051     sysv4 | sysv4.2uw2* | sysv4.3*)
   14052       lt_prog_compiler_wl_F77='-Wl,'
   14053       lt_prog_compiler_pic_F77='-KPIC'
   14054       lt_prog_compiler_static_F77='-Bstatic'
   14055       ;;
   14056 
   14057     sysv4*MP*)
   14058       if test -d /usr/nec ;then
   14059 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14060 	lt_prog_compiler_static_F77='-Bstatic'
   14061       fi
   14062       ;;
   14063 
   14064     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14065       lt_prog_compiler_wl_F77='-Wl,'
   14066       lt_prog_compiler_pic_F77='-KPIC'
   14067       lt_prog_compiler_static_F77='-Bstatic'
   14068       ;;
   14069 
   14070     unicos*)
   14071       lt_prog_compiler_wl_F77='-Wl,'
   14072       lt_prog_compiler_can_build_shared_F77=no
   14073       ;;
   14074 
   14075     uts4*)
   14076       lt_prog_compiler_pic_F77='-pic'
   14077       lt_prog_compiler_static_F77='-Bstatic'
   14078       ;;
   14079 
   14080     *)
   14081       lt_prog_compiler_can_build_shared_F77=no
   14082       ;;
   14083     esac
   14084   fi
   14085 
   14086 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14087 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14088 
   14089 #
   14090 # Check to make sure the PIC flag actually works.
   14091 #
   14092 if test -n "$lt_prog_compiler_pic_F77"; then
   14093 
   14094 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14095 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14096 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14097   echo $ECHO_N "(cached) $ECHO_C" >&6
   14098 else
   14099   lt_prog_compiler_pic_works_F77=no
   14100   ac_outfile=conftest.$ac_objext
   14101    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14102    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14103    # Insert the option either (1) after the last *FLAGS variable, or
   14104    # (2) before a word containing "conftest.", or (3) at the end.
   14105    # Note that $ac_compile itself does not contain backslashes and begins
   14106    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14107    # The option is referenced via a variable to avoid confusing sed.
   14108    lt_compile=`echo "$ac_compile" | $SED \
   14109    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14110    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14111    -e 's:$: $lt_compiler_flag:'`
   14112    (eval echo "\"\$as_me:14112: $lt_compile\"" >&5)
   14113    (eval "$lt_compile" 2>conftest.err)
   14114    ac_status=$?
   14115    cat conftest.err >&5
   14116    echo "$as_me:14116: \$? = $ac_status" >&5
   14117    if (exit $ac_status) && test -s "$ac_outfile"; then
   14118      # The compiler can only warn and ignore the option if not recognized
   14119      # So say no if there are warnings other than the usual output.
   14120      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14121      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14122      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14123        lt_prog_compiler_pic_works_F77=yes
   14124      fi
   14125    fi
   14126    $rm conftest*
   14127 
   14128 fi
   14129 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14130 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14131 
   14132 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14133     case $lt_prog_compiler_pic_F77 in
   14134      "" | " "*) ;;
   14135      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14136      esac
   14137 else
   14138     lt_prog_compiler_pic_F77=
   14139      lt_prog_compiler_can_build_shared_F77=no
   14140 fi
   14141 
   14142 fi
   14143 case $host_os in
   14144   # For platforms which do not support PIC, -DPIC is meaningless:
   14145   *djgpp*)
   14146     lt_prog_compiler_pic_F77=
   14147     ;;
   14148   *)
   14149     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14150     ;;
   14151 esac
   14152 
   14153 #
   14154 # Check to make sure the static flag actually works.
   14155 #
   14156 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14157 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14158 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14159 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14160   echo $ECHO_N "(cached) $ECHO_C" >&6
   14161 else
   14162   lt_prog_compiler_static_works_F77=no
   14163    save_LDFLAGS="$LDFLAGS"
   14164    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14165    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14166    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14167      # The linker can only warn and ignore the option if not recognized
   14168      # So say no if there are warnings
   14169      if test -s conftest.err; then
   14170        # Append any errors to the config.log.
   14171        cat conftest.err 1>&5
   14172        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14173        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14174        if diff conftest.exp conftest.er2 >/dev/null; then
   14175          lt_prog_compiler_static_works_F77=yes
   14176        fi
   14177      else
   14178        lt_prog_compiler_static_works_F77=yes
   14179      fi
   14180    fi
   14181    $rm conftest*
   14182    LDFLAGS="$save_LDFLAGS"
   14183 
   14184 fi
   14185 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14186 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14187 
   14188 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14189     :
   14190 else
   14191     lt_prog_compiler_static_F77=
   14192 fi
   14193 
   14194 
   14195 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14196 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14197 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14198   echo $ECHO_N "(cached) $ECHO_C" >&6
   14199 else
   14200   lt_cv_prog_compiler_c_o_F77=no
   14201    $rm -r conftest 2>/dev/null
   14202    mkdir conftest
   14203    cd conftest
   14204    mkdir out
   14205    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14206 
   14207    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14208    # Insert the option either (1) after the last *FLAGS variable, or
   14209    # (2) before a word containing "conftest.", or (3) at the end.
   14210    # Note that $ac_compile itself does not contain backslashes and begins
   14211    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14212    lt_compile=`echo "$ac_compile" | $SED \
   14213    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14214    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14215    -e 's:$: $lt_compiler_flag:'`
   14216    (eval echo "\"\$as_me:14216: $lt_compile\"" >&5)
   14217    (eval "$lt_compile" 2>out/conftest.err)
   14218    ac_status=$?
   14219    cat out/conftest.err >&5
   14220    echo "$as_me:14220: \$? = $ac_status" >&5
   14221    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14222    then
   14223      # The compiler can only warn and ignore the option if not recognized
   14224      # So say no if there are warnings
   14225      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14226      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14227      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14228        lt_cv_prog_compiler_c_o_F77=yes
   14229      fi
   14230    fi
   14231    chmod u+w . 2>&5
   14232    $rm conftest*
   14233    # SGI C++ compiler will create directory out/ii_files/ for
   14234    # template instantiation
   14235    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14236    $rm out/* && rmdir out
   14237    cd ..
   14238    rmdir conftest
   14239    $rm conftest*
   14240 
   14241 fi
   14242 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14243 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14244 
   14245 
   14246 hard_links="nottested"
   14247 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14248   # do not overwrite the value of need_locks provided by the user
   14249   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14250 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14251   hard_links=yes
   14252   $rm conftest*
   14253   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14254   touch conftest.a
   14255   ln conftest.a conftest.b 2>&5 || hard_links=no
   14256   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14257   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14258 echo "${ECHO_T}$hard_links" >&6; }
   14259   if test "$hard_links" = no; then
   14260     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14261 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14262     need_locks=warn
   14263   fi
   14264 else
   14265   need_locks=no
   14266 fi
   14267 
   14268 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14269 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14270 
   14271   runpath_var=
   14272   allow_undefined_flag_F77=
   14273   enable_shared_with_static_runtimes_F77=no
   14274   archive_cmds_F77=
   14275   archive_expsym_cmds_F77=
   14276   old_archive_From_new_cmds_F77=
   14277   old_archive_from_expsyms_cmds_F77=
   14278   export_dynamic_flag_spec_F77=
   14279   whole_archive_flag_spec_F77=
   14280   thread_safe_flag_spec_F77=
   14281   hardcode_libdir_flag_spec_F77=
   14282   hardcode_libdir_flag_spec_ld_F77=
   14283   hardcode_libdir_separator_F77=
   14284   hardcode_direct_F77=no
   14285   hardcode_minus_L_F77=no
   14286   hardcode_shlibpath_var_F77=unsupported
   14287   link_all_deplibs_F77=unknown
   14288   hardcode_automatic_F77=no
   14289   module_cmds_F77=
   14290   module_expsym_cmds_F77=
   14291   always_export_symbols_F77=no
   14292   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14293   # include_expsyms should be a list of space-separated symbols to be *always*
   14294   # included in the symbol list
   14295   include_expsyms_F77=
   14296   # exclude_expsyms can be an extended regexp of symbols to exclude
   14297   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14298   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14299   # as well as any symbol that contains `d'.
   14300   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14301   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14302   # platforms (ab)use it in PIC code, but their linkers get confused if
   14303   # the symbol is explicitly referenced.  Since portable code cannot
   14304   # rely on this symbol name, it's probably fine to never include it in
   14305   # preloaded symbol tables.
   14306   extract_expsyms_cmds=
   14307   # Just being paranoid about ensuring that cc_basename is set.
   14308   for cc_temp in $compiler""; do
   14309   case $cc_temp in
   14310     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14311     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14312     \-*) ;;
   14313     *) break;;
   14314   esac
   14315 done
   14316 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14317 
   14318   case $host_os in
   14319   cygwin* | mingw* | pw32*)
   14320     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14321     # When not using gcc, we currently assume that we are using
   14322     # Microsoft Visual C++.
   14323     if test "$GCC" != yes; then
   14324       with_gnu_ld=no
   14325     fi
   14326     ;;
   14327   interix*)
   14328     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14329     with_gnu_ld=yes
   14330     ;;
   14331   openbsd*)
   14332     with_gnu_ld=no
   14333     ;;
   14334   esac
   14335 
   14336   ld_shlibs_F77=yes
   14337   if test "$with_gnu_ld" = yes; then
   14338     # If archive_cmds runs LD, not CC, wlarc should be empty
   14339     wlarc='${wl}'
   14340 
   14341     # Set some defaults for GNU ld with shared library support. These
   14342     # are reset later if shared libraries are not supported. Putting them
   14343     # here allows them to be overridden if necessary.
   14344     runpath_var=LD_RUN_PATH
   14345     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14346     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14347     # ancient GNU ld didn't support --whole-archive et. al.
   14348     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14349 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14350       else
   14351   	whole_archive_flag_spec_F77=
   14352     fi
   14353     supports_anon_versioning=no
   14354     case `$LD -v 2>/dev/null` in
   14355       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14356       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14357       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14358       *\ 2.11.*) ;; # other 2.11 versions
   14359       *) supports_anon_versioning=yes ;;
   14360     esac
   14361 
   14362     # See if GNU ld supports shared libraries.
   14363     case $host_os in
   14364     aix3* | aix4* | aix5*)
   14365       # On AIX/PPC, the GNU linker is very broken
   14366       if test "$host_cpu" != ia64; then
   14367 	ld_shlibs_F77=no
   14368 	cat <<EOF 1>&2
   14369 
   14370 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14371 *** to be unable to reliably create shared libraries on AIX.
   14372 *** Therefore, libtool is disabling shared libraries support.  If you
   14373 *** really care for shared libraries, you may want to modify your PATH
   14374 *** so that a non-GNU linker is found, and then restart.
   14375 
   14376 EOF
   14377       fi
   14378       ;;
   14379 
   14380     amigaos*)
   14381       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)'
   14382       hardcode_libdir_flag_spec_F77='-L$libdir'
   14383       hardcode_minus_L_F77=yes
   14384 
   14385       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14386       # that the semantics of dynamic libraries on AmigaOS, at least up
   14387       # to version 4, is to share data among multiple programs linked
   14388       # with the same dynamic library.  Since this doesn't match the
   14389       # behavior of shared libraries on other platforms, we can't use
   14390       # them.
   14391       ld_shlibs_F77=no
   14392       ;;
   14393 
   14394     beos*)
   14395       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14396 	allow_undefined_flag_F77=unsupported
   14397 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14398 	# support --undefined.  This deserves some investigation.  FIXME
   14399 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14400       else
   14401 	ld_shlibs_F77=no
   14402       fi
   14403       ;;
   14404 
   14405     cygwin* | mingw* | pw32*)
   14406       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14407       # as there is no search path for DLLs.
   14408       hardcode_libdir_flag_spec_F77='-L$libdir'
   14409       allow_undefined_flag_F77=unsupported
   14410       always_export_symbols_F77=no
   14411       enable_shared_with_static_runtimes_F77=yes
   14412       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14413 
   14414       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14415         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14416 	# If the export-symbols file already is a .def file (1st line
   14417 	# is EXPORTS), use it as is; otherwise, prepend...
   14418 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14419 	  cp $export_symbols $output_objdir/$soname.def;
   14420 	else
   14421 	  echo EXPORTS > $output_objdir/$soname.def;
   14422 	  cat $export_symbols >> $output_objdir/$soname.def;
   14423 	fi~
   14424 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14425       else
   14426 	ld_shlibs_F77=no
   14427       fi
   14428       ;;
   14429 
   14430     interix[3-9]*)
   14431       hardcode_direct_F77=no
   14432       hardcode_shlibpath_var_F77=no
   14433       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14434       export_dynamic_flag_spec_F77='${wl}-E'
   14435       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14436       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14437       # default) and relocated if they conflict, which is a slow very memory
   14438       # consuming and fragmenting process.  To avoid this, we pick a random,
   14439       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14440       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14441       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'
   14442       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'
   14443       ;;
   14444 
   14445     gnu* | linux* | k*bsd*-gnu)
   14446       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14447 	tmp_addflag=
   14448 	case $cc_basename,$host_cpu in
   14449 	pgcc*)				# Portland Group C compiler
   14450 	  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'
   14451 	  tmp_addflag=' $pic_flag'
   14452 	  ;;
   14453 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14454 	  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'
   14455 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14456 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14457 	  tmp_addflag=' -i_dynamic' ;;
   14458 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14459 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14460 	ifc* | ifort*)			# Intel Fortran compiler
   14461 	  tmp_addflag=' -nofor_main' ;;
   14462 	esac
   14463 	case `$CC -V 2>&1 | sed 5q` in
   14464 	*Sun\ C*)			# Sun C 5.9
   14465 	  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'
   14466 	  tmp_sharedflag='-G' ;;
   14467 	*Sun\ F*)			# Sun Fortran 8.3
   14468 	  tmp_sharedflag='-G' ;;
   14469 	*)
   14470 	  tmp_sharedflag='-shared' ;;
   14471 	esac
   14472 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14473 
   14474 	if test $supports_anon_versioning = yes; then
   14475 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14476   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14477   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14478 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14479 	fi
   14480       else
   14481 	ld_shlibs_F77=no
   14482       fi
   14483       ;;
   14484 
   14485     netbsd*)
   14486       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14487 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14488 	wlarc=
   14489       else
   14490 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14491 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14492       fi
   14493       ;;
   14494 
   14495     solaris*)
   14496       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14497 	ld_shlibs_F77=no
   14498 	cat <<EOF 1>&2
   14499 
   14500 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14501 *** create shared libraries on Solaris systems.  Therefore, libtool
   14502 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14503 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14504 *** your PATH or compiler configuration so that the native linker is
   14505 *** used, and then restart.
   14506 
   14507 EOF
   14508       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14509 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14510 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14511       else
   14512 	ld_shlibs_F77=no
   14513       fi
   14514       ;;
   14515 
   14516     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14517       case `$LD -v 2>&1` in
   14518         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14519 	ld_shlibs_F77=no
   14520 	cat <<_LT_EOF 1>&2
   14521 
   14522 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14523 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14524 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14525 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14526 *** your PATH or compiler configuration so that the native linker is
   14527 *** used, and then restart.
   14528 
   14529 _LT_EOF
   14530 	;;
   14531 	*)
   14532 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14533 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14534 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14535 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14536 	  else
   14537 	    ld_shlibs_F77=no
   14538 	  fi
   14539 	;;
   14540       esac
   14541       ;;
   14542 
   14543     sunos4*)
   14544       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14545       wlarc=
   14546       hardcode_direct_F77=yes
   14547       hardcode_shlibpath_var_F77=no
   14548       ;;
   14549 
   14550     *)
   14551       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14552 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14553 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14554       else
   14555 	ld_shlibs_F77=no
   14556       fi
   14557       ;;
   14558     esac
   14559 
   14560     if test "$ld_shlibs_F77" = no; then
   14561       runpath_var=
   14562       hardcode_libdir_flag_spec_F77=
   14563       export_dynamic_flag_spec_F77=
   14564       whole_archive_flag_spec_F77=
   14565     fi
   14566   else
   14567     # PORTME fill in a description of your system's linker (not GNU ld)
   14568     case $host_os in
   14569     aix3*)
   14570       allow_undefined_flag_F77=unsupported
   14571       always_export_symbols_F77=yes
   14572       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'
   14573       # Note: this linker hardcodes the directories in LIBPATH if there
   14574       # are no directories specified by -L.
   14575       hardcode_minus_L_F77=yes
   14576       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14577 	# Neither direct hardcoding nor static linking is supported with a
   14578 	# broken collect2.
   14579 	hardcode_direct_F77=unsupported
   14580       fi
   14581       ;;
   14582 
   14583     aix4* | aix5*)
   14584       if test "$host_cpu" = ia64; then
   14585 	# On IA64, the linker does run time linking by default, so we don't
   14586 	# have to do anything special.
   14587 	aix_use_runtimelinking=no
   14588 	exp_sym_flag='-Bexport'
   14589 	no_entry_flag=""
   14590       else
   14591 	# If we're using GNU nm, then we don't want the "-C" option.
   14592 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14593 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14594 	  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'
   14595 	else
   14596 	  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'
   14597 	fi
   14598 	aix_use_runtimelinking=no
   14599 
   14600 	# Test if we are trying to use run time linking or normal
   14601 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14602 	# need to do runtime linking.
   14603 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14604 	  for ld_flag in $LDFLAGS; do
   14605   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14606   	    aix_use_runtimelinking=yes
   14607   	    break
   14608   	  fi
   14609 	  done
   14610 	  ;;
   14611 	esac
   14612 
   14613 	exp_sym_flag='-bexport'
   14614 	no_entry_flag='-bnoentry'
   14615       fi
   14616 
   14617       # When large executables or shared objects are built, AIX ld can
   14618       # have problems creating the table of contents.  If linking a library
   14619       # or program results in "error TOC overflow" add -mminimal-toc to
   14620       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14621       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14622 
   14623       archive_cmds_F77=''
   14624       hardcode_direct_F77=yes
   14625       hardcode_libdir_separator_F77=':'
   14626       link_all_deplibs_F77=yes
   14627 
   14628       if test "$GCC" = yes; then
   14629 	case $host_os in aix4.[012]|aix4.[012].*)
   14630 	# We only want to do this on AIX 4.2 and lower, the check
   14631 	# below for broken collect2 doesn't work under 4.3+
   14632 	  collect2name=`${CC} -print-prog-name=collect2`
   14633 	  if test -f "$collect2name" && \
   14634   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14635 	  then
   14636   	  # We have reworked collect2
   14637   	  :
   14638 	  else
   14639   	  # We have old collect2
   14640   	  hardcode_direct_F77=unsupported
   14641   	  # It fails to find uninstalled libraries when the uninstalled
   14642   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14643   	  # to unsupported forces relinking
   14644   	  hardcode_minus_L_F77=yes
   14645   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14646   	  hardcode_libdir_separator_F77=
   14647 	  fi
   14648 	  ;;
   14649 	esac
   14650 	shared_flag='-shared'
   14651 	if test "$aix_use_runtimelinking" = yes; then
   14652 	  shared_flag="$shared_flag "'${wl}-G'
   14653 	fi
   14654       else
   14655 	# not using gcc
   14656 	if test "$host_cpu" = ia64; then
   14657   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14658   	# chokes on -Wl,-G. The following line is correct:
   14659 	  shared_flag='-G'
   14660 	else
   14661 	  if test "$aix_use_runtimelinking" = yes; then
   14662 	    shared_flag='${wl}-G'
   14663 	  else
   14664 	    shared_flag='${wl}-bM:SRE'
   14665 	  fi
   14666 	fi
   14667       fi
   14668 
   14669       # It seems that -bexpall does not export symbols beginning with
   14670       # underscore (_), so it is better to generate a list of symbols to export.
   14671       always_export_symbols_F77=yes
   14672       if test "$aix_use_runtimelinking" = yes; then
   14673 	# Warning - without using the other runtime loading flags (-brtl),
   14674 	# -berok will link without error, but may produce a broken library.
   14675 	allow_undefined_flag_F77='-berok'
   14676        # Determine the default libpath from the value encoded in an empty executable.
   14677        cat >conftest.$ac_ext <<_ACEOF
   14678       program main
   14679 
   14680       end
   14681 _ACEOF
   14682 rm -f conftest.$ac_objext conftest$ac_exeext
   14683 if { (ac_try="$ac_link"
   14684 case "(($ac_try" in
   14685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14686   *) ac_try_echo=$ac_try;;
   14687 esac
   14688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14689   (eval "$ac_link") 2>conftest.er1
   14690   ac_status=$?
   14691   grep -v '^ *+' conftest.er1 >conftest.err
   14692   rm -f conftest.er1
   14693   cat conftest.err >&5
   14694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14695   (exit $ac_status); } && {
   14696 	 test -z "$ac_f77_werror_flag" ||
   14697 	 test ! -s conftest.err
   14698        } && test -s conftest$ac_exeext &&
   14699        $as_test_x conftest$ac_exeext; then
   14700 
   14701 lt_aix_libpath_sed='
   14702     /Import File Strings/,/^$/ {
   14703 	/^0/ {
   14704 	    s/^0  *\(.*\)$/\1/
   14705 	    p
   14706 	}
   14707     }'
   14708 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14709 # Check for a 64-bit object if we didn't find anything.
   14710 if test -z "$aix_libpath"; then
   14711   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14712 fi
   14713 else
   14714   echo "$as_me: failed program was:" >&5
   14715 sed 's/^/| /' conftest.$ac_ext >&5
   14716 
   14717 
   14718 fi
   14719 
   14720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14721       conftest$ac_exeext conftest.$ac_ext
   14722 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14723 
   14724        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14725 	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"
   14726        else
   14727 	if test "$host_cpu" = ia64; then
   14728 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14729 	  allow_undefined_flag_F77="-z nodefs"
   14730 	  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"
   14731 	else
   14732 	 # Determine the default libpath from the value encoded in an empty executable.
   14733 	 cat >conftest.$ac_ext <<_ACEOF
   14734       program main
   14735 
   14736       end
   14737 _ACEOF
   14738 rm -f conftest.$ac_objext conftest$ac_exeext
   14739 if { (ac_try="$ac_link"
   14740 case "(($ac_try" in
   14741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14742   *) ac_try_echo=$ac_try;;
   14743 esac
   14744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14745   (eval "$ac_link") 2>conftest.er1
   14746   ac_status=$?
   14747   grep -v '^ *+' conftest.er1 >conftest.err
   14748   rm -f conftest.er1
   14749   cat conftest.err >&5
   14750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14751   (exit $ac_status); } && {
   14752 	 test -z "$ac_f77_werror_flag" ||
   14753 	 test ! -s conftest.err
   14754        } && test -s conftest$ac_exeext &&
   14755        $as_test_x conftest$ac_exeext; then
   14756 
   14757 lt_aix_libpath_sed='
   14758     /Import File Strings/,/^$/ {
   14759 	/^0/ {
   14760 	    s/^0  *\(.*\)$/\1/
   14761 	    p
   14762 	}
   14763     }'
   14764 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14765 # Check for a 64-bit object if we didn't find anything.
   14766 if test -z "$aix_libpath"; then
   14767   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14768 fi
   14769 else
   14770   echo "$as_me: failed program was:" >&5
   14771 sed 's/^/| /' conftest.$ac_ext >&5
   14772 
   14773 
   14774 fi
   14775 
   14776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14777       conftest$ac_exeext conftest.$ac_ext
   14778 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14779 
   14780 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14781 	  # Warning - without using the other run time loading flags,
   14782 	  # -berok will link without error, but may produce a broken library.
   14783 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14784 	  allow_undefined_flag_F77=' ${wl}-berok'
   14785 	  # Exported symbols can be pulled into shared objects from archives
   14786 	  whole_archive_flag_spec_F77='$convenience'
   14787 	  archive_cmds_need_lc_F77=yes
   14788 	  # This is similar to how AIX traditionally builds its shared libraries.
   14789 	  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'
   14790 	fi
   14791       fi
   14792       ;;
   14793 
   14794     amigaos*)
   14795       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)'
   14796       hardcode_libdir_flag_spec_F77='-L$libdir'
   14797       hardcode_minus_L_F77=yes
   14798       # see comment about different semantics on the GNU ld section
   14799       ld_shlibs_F77=no
   14800       ;;
   14801 
   14802     bsdi[45]*)
   14803       export_dynamic_flag_spec_F77=-rdynamic
   14804       ;;
   14805 
   14806     cygwin* | mingw* | pw32*)
   14807       # When not using gcc, we currently assume that we are using
   14808       # Microsoft Visual C++.
   14809       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14810       # no search path for DLLs.
   14811       hardcode_libdir_flag_spec_F77=' '
   14812       allow_undefined_flag_F77=unsupported
   14813       # Tell ltmain to make .lib files, not .a files.
   14814       libext=lib
   14815       # Tell ltmain to make .dll files, not .so files.
   14816       shrext_cmds=".dll"
   14817       # FIXME: Setting linknames here is a bad hack.
   14818       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14819       # The linker will automatically build a .lib file if we build a DLL.
   14820       old_archive_From_new_cmds_F77='true'
   14821       # FIXME: Should let the user specify the lib program.
   14822       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14823       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14824       enable_shared_with_static_runtimes_F77=yes
   14825       ;;
   14826 
   14827     darwin* | rhapsody*)
   14828       case $host_os in
   14829         rhapsody* | darwin1.[012])
   14830          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14831          ;;
   14832        *) # Darwin 1.3 on
   14833          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14834            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14835          else
   14836            case ${MACOSX_DEPLOYMENT_TARGET} in
   14837              10.[012])
   14838                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14839                ;;
   14840              10.*)
   14841                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14842                ;;
   14843            esac
   14844          fi
   14845          ;;
   14846       esac
   14847       archive_cmds_need_lc_F77=no
   14848       hardcode_direct_F77=no
   14849       hardcode_automatic_F77=yes
   14850       hardcode_shlibpath_var_F77=unsupported
   14851       whole_archive_flag_spec_F77=''
   14852       link_all_deplibs_F77=yes
   14853     if test "$GCC" = yes ; then
   14854     	output_verbose_link_cmd='echo'
   14855         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14856       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14857       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14858       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}'
   14859       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}'
   14860     else
   14861       case $cc_basename in
   14862         xlc*)
   14863          output_verbose_link_cmd='echo'
   14864          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   14865          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14866           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14867          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}'
   14868           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}'
   14869           ;;
   14870        *)
   14871          ld_shlibs_F77=no
   14872           ;;
   14873       esac
   14874     fi
   14875       ;;
   14876 
   14877     dgux*)
   14878       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14879       hardcode_libdir_flag_spec_F77='-L$libdir'
   14880       hardcode_shlibpath_var_F77=no
   14881       ;;
   14882 
   14883     freebsd1*)
   14884       ld_shlibs_F77=no
   14885       ;;
   14886 
   14887     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14888     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14889     # does not break anything, and helps significantly (at the cost of a little
   14890     # extra space).
   14891     freebsd2.2*)
   14892       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14893       hardcode_libdir_flag_spec_F77='-R$libdir'
   14894       hardcode_direct_F77=yes
   14895       hardcode_shlibpath_var_F77=no
   14896       ;;
   14897 
   14898     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14899     freebsd2*)
   14900       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14901       hardcode_direct_F77=yes
   14902       hardcode_minus_L_F77=yes
   14903       hardcode_shlibpath_var_F77=no
   14904       ;;
   14905 
   14906     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14907     freebsd* | dragonfly*)
   14908       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14909       hardcode_libdir_flag_spec_F77='-R$libdir'
   14910       hardcode_direct_F77=yes
   14911       hardcode_shlibpath_var_F77=no
   14912       ;;
   14913 
   14914     hpux9*)
   14915       if test "$GCC" = yes; then
   14916 	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'
   14917       else
   14918 	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'
   14919       fi
   14920       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14921       hardcode_libdir_separator_F77=:
   14922       hardcode_direct_F77=yes
   14923 
   14924       # hardcode_minus_L: Not really in the search PATH,
   14925       # but as the default location of the library.
   14926       hardcode_minus_L_F77=yes
   14927       export_dynamic_flag_spec_F77='${wl}-E'
   14928       ;;
   14929 
   14930     hpux10*)
   14931       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14932 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14933       else
   14934 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14935       fi
   14936       if test "$with_gnu_ld" = no; then
   14937 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14938 	hardcode_libdir_separator_F77=:
   14939 
   14940 	hardcode_direct_F77=yes
   14941 	export_dynamic_flag_spec_F77='${wl}-E'
   14942 
   14943 	# hardcode_minus_L: Not really in the search PATH,
   14944 	# but as the default location of the library.
   14945 	hardcode_minus_L_F77=yes
   14946       fi
   14947       ;;
   14948 
   14949     hpux11*)
   14950       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14951 	case $host_cpu in
   14952 	hppa*64*)
   14953 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14954 	  ;;
   14955 	ia64*)
   14956 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14957 	  ;;
   14958 	*)
   14959 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14960 	  ;;
   14961 	esac
   14962       else
   14963 	case $host_cpu in
   14964 	hppa*64*)
   14965 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14966 	  ;;
   14967 	ia64*)
   14968 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14969 	  ;;
   14970 	*)
   14971 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14972 	  ;;
   14973 	esac
   14974       fi
   14975       if test "$with_gnu_ld" = no; then
   14976 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14977 	hardcode_libdir_separator_F77=:
   14978 
   14979 	case $host_cpu in
   14980 	hppa*64*|ia64*)
   14981 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14982 	  hardcode_direct_F77=no
   14983 	  hardcode_shlibpath_var_F77=no
   14984 	  ;;
   14985 	*)
   14986 	  hardcode_direct_F77=yes
   14987 	  export_dynamic_flag_spec_F77='${wl}-E'
   14988 
   14989 	  # hardcode_minus_L: Not really in the search PATH,
   14990 	  # but as the default location of the library.
   14991 	  hardcode_minus_L_F77=yes
   14992 	  ;;
   14993 	esac
   14994       fi
   14995       ;;
   14996 
   14997     irix5* | irix6* | nonstopux*)
   14998       if test "$GCC" = yes; then
   14999 	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'
   15000       else
   15001 	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'
   15002 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15003       fi
   15004       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15005       hardcode_libdir_separator_F77=:
   15006       link_all_deplibs_F77=yes
   15007       ;;
   15008 
   15009     netbsd*)
   15010       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15011 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15012       else
   15013 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15014       fi
   15015       hardcode_libdir_flag_spec_F77='-R$libdir'
   15016       hardcode_direct_F77=yes
   15017       hardcode_shlibpath_var_F77=no
   15018       ;;
   15019 
   15020     newsos6)
   15021       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15022       hardcode_direct_F77=yes
   15023       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15024       hardcode_libdir_separator_F77=:
   15025       hardcode_shlibpath_var_F77=no
   15026       ;;
   15027 
   15028     openbsd*)
   15029       if test -f /usr/libexec/ld.so; then
   15030 	hardcode_direct_F77=yes
   15031 	hardcode_shlibpath_var_F77=no
   15032 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15033 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15034 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15035 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15036 	  export_dynamic_flag_spec_F77='${wl}-E'
   15037 	else
   15038 	  case $host_os in
   15039 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15040 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15041 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15042 	     ;;
   15043 	   *)
   15044 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15045 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15046 	     ;;
   15047 	  esac
   15048         fi
   15049       else
   15050 	ld_shlibs_F77=no
   15051       fi
   15052       ;;
   15053 
   15054     os2*)
   15055       hardcode_libdir_flag_spec_F77='-L$libdir'
   15056       hardcode_minus_L_F77=yes
   15057       allow_undefined_flag_F77=unsupported
   15058       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'
   15059       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15060       ;;
   15061 
   15062     osf3*)
   15063       if test "$GCC" = yes; then
   15064 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15065 	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'
   15066       else
   15067 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15068 	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'
   15069       fi
   15070       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15071       hardcode_libdir_separator_F77=:
   15072       ;;
   15073 
   15074     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15075       if test "$GCC" = yes; then
   15076 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15077 	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'
   15078 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15079       else
   15080 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15081 	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'
   15082 	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~
   15083 	$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'
   15084 
   15085 	# Both c and cxx compiler support -rpath directly
   15086 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15087       fi
   15088       hardcode_libdir_separator_F77=:
   15089       ;;
   15090 
   15091     solaris*)
   15092       no_undefined_flag_F77=' -z text'
   15093       if test "$GCC" = yes; then
   15094 	wlarc='${wl}'
   15095 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15096 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15097 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15098       else
   15099 	wlarc=''
   15100 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15101 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15102   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15103       fi
   15104       hardcode_libdir_flag_spec_F77='-R$libdir'
   15105       hardcode_shlibpath_var_F77=no
   15106       case $host_os in
   15107       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15108       *)
   15109 	# The compiler driver will combine and reorder linker options,
   15110 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15111 	# but is careful enough not to reorder.
   15112  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15113 	if test "$GCC" = yes; then
   15114 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15115 	else
   15116 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15117 	fi
   15118 	;;
   15119       esac
   15120       link_all_deplibs_F77=yes
   15121       ;;
   15122 
   15123     sunos4*)
   15124       if test "x$host_vendor" = xsequent; then
   15125 	# Use $CC to link under sequent, because it throws in some extra .o
   15126 	# files that make .init and .fini sections work.
   15127 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15128       else
   15129 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15130       fi
   15131       hardcode_libdir_flag_spec_F77='-L$libdir'
   15132       hardcode_direct_F77=yes
   15133       hardcode_minus_L_F77=yes
   15134       hardcode_shlibpath_var_F77=no
   15135       ;;
   15136 
   15137     sysv4)
   15138       case $host_vendor in
   15139 	sni)
   15140 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15141 	  hardcode_direct_F77=yes # is this really true???
   15142 	;;
   15143 	siemens)
   15144 	  ## LD is ld it makes a PLAMLIB
   15145 	  ## CC just makes a GrossModule.
   15146 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15147 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15148 	  hardcode_direct_F77=no
   15149         ;;
   15150 	motorola)
   15151 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15152 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15153 	;;
   15154       esac
   15155       runpath_var='LD_RUN_PATH'
   15156       hardcode_shlibpath_var_F77=no
   15157       ;;
   15158 
   15159     sysv4.3*)
   15160       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15161       hardcode_shlibpath_var_F77=no
   15162       export_dynamic_flag_spec_F77='-Bexport'
   15163       ;;
   15164 
   15165     sysv4*MP*)
   15166       if test -d /usr/nec; then
   15167 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15168 	hardcode_shlibpath_var_F77=no
   15169 	runpath_var=LD_RUN_PATH
   15170 	hardcode_runpath_var=yes
   15171 	ld_shlibs_F77=yes
   15172       fi
   15173       ;;
   15174 
   15175     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15176       no_undefined_flag_F77='${wl}-z,text'
   15177       archive_cmds_need_lc_F77=no
   15178       hardcode_shlibpath_var_F77=no
   15179       runpath_var='LD_RUN_PATH'
   15180 
   15181       if test "$GCC" = yes; then
   15182 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15183 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15184       else
   15185 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15186 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15187       fi
   15188       ;;
   15189 
   15190     sysv5* | sco3.2v5* | sco5v6*)
   15191       # Note: We can NOT use -z defs as we might desire, because we do not
   15192       # link with -lc, and that would cause any symbols used from libc to
   15193       # always be unresolved, which means just about no library would
   15194       # ever link correctly.  If we're not using GNU ld we use -z text
   15195       # though, which does catch some bad symbols but isn't as heavy-handed
   15196       # as -z defs.
   15197       no_undefined_flag_F77='${wl}-z,text'
   15198       allow_undefined_flag_F77='${wl}-z,nodefs'
   15199       archive_cmds_need_lc_F77=no
   15200       hardcode_shlibpath_var_F77=no
   15201       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15202       hardcode_libdir_separator_F77=':'
   15203       link_all_deplibs_F77=yes
   15204       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15205       runpath_var='LD_RUN_PATH'
   15206 
   15207       if test "$GCC" = yes; then
   15208 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15209 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15210       else
   15211 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15212 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15213       fi
   15214       ;;
   15215 
   15216     uts4*)
   15217       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15218       hardcode_libdir_flag_spec_F77='-L$libdir'
   15219       hardcode_shlibpath_var_F77=no
   15220       ;;
   15221 
   15222     *)
   15223       ld_shlibs_F77=no
   15224       ;;
   15225     esac
   15226   fi
   15227 
   15228 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15229 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15230 test "$ld_shlibs_F77" = no && can_build_shared=no
   15231 
   15232 #
   15233 # Do we need to explicitly link libc?
   15234 #
   15235 case "x$archive_cmds_need_lc_F77" in
   15236 x|xyes)
   15237   # Assume -lc should be added
   15238   archive_cmds_need_lc_F77=yes
   15239 
   15240   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15241     case $archive_cmds_F77 in
   15242     *'~'*)
   15243       # FIXME: we may have to deal with multi-command sequences.
   15244       ;;
   15245     '$CC '*)
   15246       # Test whether the compiler implicitly links with -lc since on some
   15247       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15248       # to ld, don't add -lc before -lgcc.
   15249       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15250 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15251       $rm conftest*
   15252       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15253 
   15254       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15255   (eval $ac_compile) 2>&5
   15256   ac_status=$?
   15257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15258   (exit $ac_status); } 2>conftest.err; then
   15259         soname=conftest
   15260         lib=conftest
   15261         libobjs=conftest.$ac_objext
   15262         deplibs=
   15263         wl=$lt_prog_compiler_wl_F77
   15264 	pic_flag=$lt_prog_compiler_pic_F77
   15265         compiler_flags=-v
   15266         linker_flags=-v
   15267         verstring=
   15268         output_objdir=.
   15269         libname=conftest
   15270         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15271         allow_undefined_flag_F77=
   15272         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15273   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15274   ac_status=$?
   15275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15276   (exit $ac_status); }
   15277         then
   15278 	  archive_cmds_need_lc_F77=no
   15279         else
   15280 	  archive_cmds_need_lc_F77=yes
   15281         fi
   15282         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15283       else
   15284         cat conftest.err 1>&5
   15285       fi
   15286       $rm conftest*
   15287       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15288 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15289       ;;
   15290     esac
   15291   fi
   15292   ;;
   15293 esac
   15294 
   15295 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15296 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15297 library_names_spec=
   15298 libname_spec='lib$name'
   15299 soname_spec=
   15300 shrext_cmds=".so"
   15301 postinstall_cmds=
   15302 postuninstall_cmds=
   15303 finish_cmds=
   15304 finish_eval=
   15305 shlibpath_var=
   15306 shlibpath_overrides_runpath=unknown
   15307 version_type=none
   15308 dynamic_linker="$host_os ld.so"
   15309 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15310 
   15311 need_lib_prefix=unknown
   15312 hardcode_into_libs=no
   15313 
   15314 # when you set need_version to no, make sure it does not cause -set_version
   15315 # flags to be left without arguments
   15316 need_version=unknown
   15317 
   15318 case $host_os in
   15319 aix3*)
   15320   version_type=linux
   15321   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15322   shlibpath_var=LIBPATH
   15323 
   15324   # AIX 3 has no versioning support, so we append a major version to the name.
   15325   soname_spec='${libname}${release}${shared_ext}$major'
   15326   ;;
   15327 
   15328 aix4* | aix5*)
   15329   version_type=linux
   15330   need_lib_prefix=no
   15331   need_version=no
   15332   hardcode_into_libs=yes
   15333   if test "$host_cpu" = ia64; then
   15334     # AIX 5 supports IA64
   15335     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15336     shlibpath_var=LD_LIBRARY_PATH
   15337   else
   15338     # With GCC up to 2.95.x, collect2 would create an import file
   15339     # for dependence libraries.  The import file would start with
   15340     # the line `#! .'.  This would cause the generated library to
   15341     # depend on `.', always an invalid library.  This was fixed in
   15342     # development snapshots of GCC prior to 3.0.
   15343     case $host_os in
   15344       aix4 | aix4.[01] | aix4.[01].*)
   15345       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15346 	   echo ' yes '
   15347 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15348 	:
   15349       else
   15350 	can_build_shared=no
   15351       fi
   15352       ;;
   15353     esac
   15354     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15355     # soname into executable. Probably we can add versioning support to
   15356     # collect2, so additional links can be useful in future.
   15357     if test "$aix_use_runtimelinking" = yes; then
   15358       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15359       # instead of lib<name>.a to let people know that these are not
   15360       # typical AIX shared libraries.
   15361       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15362     else
   15363       # We preserve .a as extension for shared libraries through AIX4.2
   15364       # and later when we are not doing run time linking.
   15365       library_names_spec='${libname}${release}.a $libname.a'
   15366       soname_spec='${libname}${release}${shared_ext}$major'
   15367     fi
   15368     shlibpath_var=LIBPATH
   15369   fi
   15370   ;;
   15371 
   15372 amigaos*)
   15373   library_names_spec='$libname.ixlibrary $libname.a'
   15374   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15375   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'
   15376   ;;
   15377 
   15378 beos*)
   15379   library_names_spec='${libname}${shared_ext}'
   15380   dynamic_linker="$host_os ld.so"
   15381   shlibpath_var=LIBRARY_PATH
   15382   ;;
   15383 
   15384 bsdi[45]*)
   15385   version_type=linux
   15386   need_version=no
   15387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15388   soname_spec='${libname}${release}${shared_ext}$major'
   15389   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15390   shlibpath_var=LD_LIBRARY_PATH
   15391   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15392   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15393   # the default ld.so.conf also contains /usr/contrib/lib and
   15394   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15395   # libtool to hard-code these into programs
   15396   ;;
   15397 
   15398 cygwin* | mingw* | pw32*)
   15399   version_type=windows
   15400   shrext_cmds=".dll"
   15401   need_version=no
   15402   need_lib_prefix=no
   15403 
   15404   case $GCC,$host_os in
   15405   yes,cygwin* | yes,mingw* | yes,pw32*)
   15406     library_names_spec='$libname.dll.a'
   15407     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15408     postinstall_cmds='base_file=`basename \${file}`~
   15409       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15410       dldir=$destdir/`dirname \$dlpath`~
   15411       test -d \$dldir || mkdir -p \$dldir~
   15412       $install_prog $dir/$dlname \$dldir/$dlname~
   15413       chmod a+x \$dldir/$dlname'
   15414     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15415       dlpath=$dir/\$dldll~
   15416        $rm \$dlpath'
   15417     shlibpath_overrides_runpath=yes
   15418 
   15419     case $host_os in
   15420     cygwin*)
   15421       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15422       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15423       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15424       ;;
   15425     mingw*)
   15426       # MinGW DLLs use traditional 'lib' prefix
   15427       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15428       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15429       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15430         # It is most probably a Windows format PATH printed by
   15431         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15432         # path with ; separators, and with drive letters. We can handle the
   15433         # drive letters (cygwin fileutils understands them), so leave them,
   15434         # especially as we might pass files found there to a mingw objdump,
   15435         # which wouldn't understand a cygwinified path. Ahh.
   15436         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15437       else
   15438         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15439       fi
   15440       ;;
   15441     pw32*)
   15442       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15443       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15444       ;;
   15445     esac
   15446     ;;
   15447 
   15448   *)
   15449     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15450     ;;
   15451   esac
   15452   dynamic_linker='Win32 ld.exe'
   15453   # FIXME: first we should search . and the directory the executable is in
   15454   shlibpath_var=PATH
   15455   ;;
   15456 
   15457 darwin* | rhapsody*)
   15458   dynamic_linker="$host_os dyld"
   15459   version_type=darwin
   15460   need_lib_prefix=no
   15461   need_version=no
   15462   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15463   soname_spec='${libname}${release}${major}$shared_ext'
   15464   shlibpath_overrides_runpath=yes
   15465   shlibpath_var=DYLD_LIBRARY_PATH
   15466   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15467 
   15468   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15469   ;;
   15470 
   15471 dgux*)
   15472   version_type=linux
   15473   need_lib_prefix=no
   15474   need_version=no
   15475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15476   soname_spec='${libname}${release}${shared_ext}$major'
   15477   shlibpath_var=LD_LIBRARY_PATH
   15478   ;;
   15479 
   15480 freebsd1*)
   15481   dynamic_linker=no
   15482   ;;
   15483 
   15484 freebsd* | dragonfly*)
   15485   # DragonFly does not have aout.  When/if they implement a new
   15486   # versioning mechanism, adjust this.
   15487   if test -x /usr/bin/objformat; then
   15488     objformat=`/usr/bin/objformat`
   15489   else
   15490     case $host_os in
   15491     freebsd[123]*) objformat=aout ;;
   15492     *) objformat=elf ;;
   15493     esac
   15494   fi
   15495   version_type=freebsd-$objformat
   15496   case $version_type in
   15497     freebsd-elf*)
   15498       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15499       need_version=no
   15500       need_lib_prefix=no
   15501       ;;
   15502     freebsd-*)
   15503       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15504       need_version=yes
   15505       ;;
   15506   esac
   15507   shlibpath_var=LD_LIBRARY_PATH
   15508   case $host_os in
   15509   freebsd2*)
   15510     shlibpath_overrides_runpath=yes
   15511     ;;
   15512   freebsd3.[01]* | freebsdelf3.[01]*)
   15513     shlibpath_overrides_runpath=yes
   15514     hardcode_into_libs=yes
   15515     ;;
   15516   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15517   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15518     shlibpath_overrides_runpath=no
   15519     hardcode_into_libs=yes
   15520     ;;
   15521   *) # from 4.6 on, and DragonFly
   15522     shlibpath_overrides_runpath=yes
   15523     hardcode_into_libs=yes
   15524     ;;
   15525   esac
   15526   ;;
   15527 
   15528 gnu*)
   15529   version_type=linux
   15530   need_lib_prefix=no
   15531   need_version=no
   15532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15533   soname_spec='${libname}${release}${shared_ext}$major'
   15534   shlibpath_var=LD_LIBRARY_PATH
   15535   hardcode_into_libs=yes
   15536   ;;
   15537 
   15538 hpux9* | hpux10* | hpux11*)
   15539   # Give a soname corresponding to the major version so that dld.sl refuses to
   15540   # link against other versions.
   15541   version_type=sunos
   15542   need_lib_prefix=no
   15543   need_version=no
   15544   case $host_cpu in
   15545   ia64*)
   15546     shrext_cmds='.so'
   15547     hardcode_into_libs=yes
   15548     dynamic_linker="$host_os dld.so"
   15549     shlibpath_var=LD_LIBRARY_PATH
   15550     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15551     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15552     soname_spec='${libname}${release}${shared_ext}$major'
   15553     if test "X$HPUX_IA64_MODE" = X32; then
   15554       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15555     else
   15556       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15557     fi
   15558     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15559     ;;
   15560    hppa*64*)
   15561      shrext_cmds='.sl'
   15562      hardcode_into_libs=yes
   15563      dynamic_linker="$host_os dld.sl"
   15564      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15565      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15566      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15567      soname_spec='${libname}${release}${shared_ext}$major'
   15568      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15569      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15570      ;;
   15571    *)
   15572     shrext_cmds='.sl'
   15573     dynamic_linker="$host_os dld.sl"
   15574     shlibpath_var=SHLIB_PATH
   15575     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15576     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15577     soname_spec='${libname}${release}${shared_ext}$major'
   15578     ;;
   15579   esac
   15580   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15581   postinstall_cmds='chmod 555 $lib'
   15582   ;;
   15583 
   15584 interix[3-9]*)
   15585   version_type=linux
   15586   need_lib_prefix=no
   15587   need_version=no
   15588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15589   soname_spec='${libname}${release}${shared_ext}$major'
   15590   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15591   shlibpath_var=LD_LIBRARY_PATH
   15592   shlibpath_overrides_runpath=no
   15593   hardcode_into_libs=yes
   15594   ;;
   15595 
   15596 irix5* | irix6* | nonstopux*)
   15597   case $host_os in
   15598     nonstopux*) version_type=nonstopux ;;
   15599     *)
   15600 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15601 		version_type=linux
   15602 	else
   15603 		version_type=irix
   15604 	fi ;;
   15605   esac
   15606   need_lib_prefix=no
   15607   need_version=no
   15608   soname_spec='${libname}${release}${shared_ext}$major'
   15609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15610   case $host_os in
   15611   irix5* | nonstopux*)
   15612     libsuff= shlibsuff=
   15613     ;;
   15614   *)
   15615     case $LD in # libtool.m4 will add one of these switches to LD
   15616     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15617       libsuff= shlibsuff= libmagic=32-bit;;
   15618     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15619       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15620     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15621       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15622     *) libsuff= shlibsuff= libmagic=never-match;;
   15623     esac
   15624     ;;
   15625   esac
   15626   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15627   shlibpath_overrides_runpath=no
   15628   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15629   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15630   hardcode_into_libs=yes
   15631   ;;
   15632 
   15633 # No shared lib support for Linux oldld, aout, or coff.
   15634 linux*oldld* | linux*aout* | linux*coff*)
   15635   dynamic_linker=no
   15636   ;;
   15637 
   15638 # This must be Linux ELF.
   15639 linux* | k*bsd*-gnu)
   15640   version_type=linux
   15641   need_lib_prefix=no
   15642   need_version=no
   15643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15644   soname_spec='${libname}${release}${shared_ext}$major'
   15645   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15646   shlibpath_var=LD_LIBRARY_PATH
   15647   shlibpath_overrides_runpath=no
   15648   # This implies no fast_install, which is unacceptable.
   15649   # Some rework will be needed to allow for fast_install
   15650   # before this can be enabled.
   15651   hardcode_into_libs=yes
   15652 
   15653   # Append ld.so.conf contents to the search path
   15654   if test -f /etc/ld.so.conf; then
   15655     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' ' '`
   15656     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15657   fi
   15658 
   15659   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15660   # powerpc, because MkLinux only supported shared libraries with the
   15661   # GNU dynamic linker.  Since this was broken with cross compilers,
   15662   # most powerpc-linux boxes support dynamic linking these days and
   15663   # people can always --disable-shared, the test was removed, and we
   15664   # assume the GNU/Linux dynamic linker is in use.
   15665   dynamic_linker='GNU/Linux ld.so'
   15666   ;;
   15667 
   15668 netbsd*)
   15669   version_type=sunos
   15670   need_lib_prefix=no
   15671   need_version=no
   15672   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15673     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15674     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15675     dynamic_linker='NetBSD (a.out) ld.so'
   15676   else
   15677     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15678     soname_spec='${libname}${release}${shared_ext}$major'
   15679     dynamic_linker='NetBSD ld.elf_so'
   15680   fi
   15681   shlibpath_var=LD_LIBRARY_PATH
   15682   shlibpath_overrides_runpath=yes
   15683   hardcode_into_libs=yes
   15684   ;;
   15685 
   15686 newsos6)
   15687   version_type=linux
   15688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15689   shlibpath_var=LD_LIBRARY_PATH
   15690   shlibpath_overrides_runpath=yes
   15691   ;;
   15692 
   15693 nto-qnx*)
   15694   version_type=linux
   15695   need_lib_prefix=no
   15696   need_version=no
   15697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15698   soname_spec='${libname}${release}${shared_ext}$major'
   15699   shlibpath_var=LD_LIBRARY_PATH
   15700   shlibpath_overrides_runpath=yes
   15701   ;;
   15702 
   15703 openbsd*)
   15704   version_type=sunos
   15705   sys_lib_dlsearch_path_spec="/usr/lib"
   15706   need_lib_prefix=no
   15707   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15708   case $host_os in
   15709     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15710     *)                         need_version=no  ;;
   15711   esac
   15712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15713   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15714   shlibpath_var=LD_LIBRARY_PATH
   15715   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15716     case $host_os in
   15717       openbsd2.[89] | openbsd2.[89].*)
   15718 	shlibpath_overrides_runpath=no
   15719 	;;
   15720       *)
   15721 	shlibpath_overrides_runpath=yes
   15722 	;;
   15723       esac
   15724   else
   15725     shlibpath_overrides_runpath=yes
   15726   fi
   15727   ;;
   15728 
   15729 os2*)
   15730   libname_spec='$name'
   15731   shrext_cmds=".dll"
   15732   need_lib_prefix=no
   15733   library_names_spec='$libname${shared_ext} $libname.a'
   15734   dynamic_linker='OS/2 ld.exe'
   15735   shlibpath_var=LIBPATH
   15736   ;;
   15737 
   15738 osf3* | osf4* | osf5*)
   15739   version_type=osf
   15740   need_lib_prefix=no
   15741   need_version=no
   15742   soname_spec='${libname}${release}${shared_ext}$major'
   15743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15744   shlibpath_var=LD_LIBRARY_PATH
   15745   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15746   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15747   ;;
   15748 
   15749 rdos*)
   15750   dynamic_linker=no
   15751   ;;
   15752 
   15753 solaris*)
   15754   version_type=linux
   15755   need_lib_prefix=no
   15756   need_version=no
   15757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15758   soname_spec='${libname}${release}${shared_ext}$major'
   15759   shlibpath_var=LD_LIBRARY_PATH
   15760   shlibpath_overrides_runpath=yes
   15761   hardcode_into_libs=yes
   15762   # ldd complains unless libraries are executable
   15763   postinstall_cmds='chmod +x $lib'
   15764   ;;
   15765 
   15766 sunos4*)
   15767   version_type=sunos
   15768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15769   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15770   shlibpath_var=LD_LIBRARY_PATH
   15771   shlibpath_overrides_runpath=yes
   15772   if test "$with_gnu_ld" = yes; then
   15773     need_lib_prefix=no
   15774   fi
   15775   need_version=yes
   15776   ;;
   15777 
   15778 sysv4 | sysv4.3*)
   15779   version_type=linux
   15780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15781   soname_spec='${libname}${release}${shared_ext}$major'
   15782   shlibpath_var=LD_LIBRARY_PATH
   15783   case $host_vendor in
   15784     sni)
   15785       shlibpath_overrides_runpath=no
   15786       need_lib_prefix=no
   15787       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15788       runpath_var=LD_RUN_PATH
   15789       ;;
   15790     siemens)
   15791       need_lib_prefix=no
   15792       ;;
   15793     motorola)
   15794       need_lib_prefix=no
   15795       need_version=no
   15796       shlibpath_overrides_runpath=no
   15797       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15798       ;;
   15799   esac
   15800   ;;
   15801 
   15802 sysv4*MP*)
   15803   if test -d /usr/nec ;then
   15804     version_type=linux
   15805     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15806     soname_spec='$libname${shared_ext}.$major'
   15807     shlibpath_var=LD_LIBRARY_PATH
   15808   fi
   15809   ;;
   15810 
   15811 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15812   version_type=freebsd-elf
   15813   need_lib_prefix=no
   15814   need_version=no
   15815   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15816   soname_spec='${libname}${release}${shared_ext}$major'
   15817   shlibpath_var=LD_LIBRARY_PATH
   15818   hardcode_into_libs=yes
   15819   if test "$with_gnu_ld" = yes; then
   15820     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15821     shlibpath_overrides_runpath=no
   15822   else
   15823     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15824     shlibpath_overrides_runpath=yes
   15825     case $host_os in
   15826       sco3.2v5*)
   15827         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15828 	;;
   15829     esac
   15830   fi
   15831   sys_lib_dlsearch_path_spec='/usr/lib'
   15832   ;;
   15833 
   15834 uts4*)
   15835   version_type=linux
   15836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15837   soname_spec='${libname}${release}${shared_ext}$major'
   15838   shlibpath_var=LD_LIBRARY_PATH
   15839   ;;
   15840 
   15841 *)
   15842   dynamic_linker=no
   15843   ;;
   15844 esac
   15845 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15846 echo "${ECHO_T}$dynamic_linker" >&6; }
   15847 test "$dynamic_linker" = no && can_build_shared=no
   15848 
   15849 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15850 if test "$GCC" = yes; then
   15851   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15852 fi
   15853 
   15854 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15855 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15856 hardcode_action_F77=
   15857 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15858    test -n "$runpath_var_F77" || \
   15859    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15860 
   15861   # We can hardcode non-existant directories.
   15862   if test "$hardcode_direct_F77" != no &&
   15863      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15864      # have to relink, otherwise we might link with an installed library
   15865      # when we should be linking with a yet-to-be-installed one
   15866      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15867      test "$hardcode_minus_L_F77" != no; then
   15868     # Linking always hardcodes the temporary library directory.
   15869     hardcode_action_F77=relink
   15870   else
   15871     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15872     hardcode_action_F77=immediate
   15873   fi
   15874 else
   15875   # We cannot hardcode anything, or else we can only hardcode existing
   15876   # directories.
   15877   hardcode_action_F77=unsupported
   15878 fi
   15879 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15880 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15881 
   15882 if test "$hardcode_action_F77" = relink; then
   15883   # Fast installation is not supported
   15884   enable_fast_install=no
   15885 elif test "$shlibpath_overrides_runpath" = yes ||
   15886      test "$enable_shared" = no; then
   15887   # Fast installation is not necessary
   15888   enable_fast_install=needless
   15889 fi
   15890 
   15891 
   15892 # The else clause should only fire when bootstrapping the
   15893 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15894 # with your package, and you will get complaints that there are
   15895 # no rules to generate ltmain.sh.
   15896 if test -f "$ltmain"; then
   15897   # See if we are running on zsh, and set the options which allow our commands through
   15898   # without removal of \ escapes.
   15899   if test -n "${ZSH_VERSION+set}" ; then
   15900     setopt NO_GLOB_SUBST
   15901   fi
   15902   # Now quote all the things that may contain metacharacters while being
   15903   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15904   # variables and quote the copies for generation of the libtool script.
   15905   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15906     SED SHELL STRIP \
   15907     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15908     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15909     deplibs_check_method reload_flag reload_cmds need_locks \
   15910     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15911     lt_cv_sys_global_symbol_to_c_name_address \
   15912     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15913     old_postinstall_cmds old_postuninstall_cmds \
   15914     compiler_F77 \
   15915     CC_F77 \
   15916     LD_F77 \
   15917     lt_prog_compiler_wl_F77 \
   15918     lt_prog_compiler_pic_F77 \
   15919     lt_prog_compiler_static_F77 \
   15920     lt_prog_compiler_no_builtin_flag_F77 \
   15921     export_dynamic_flag_spec_F77 \
   15922     thread_safe_flag_spec_F77 \
   15923     whole_archive_flag_spec_F77 \
   15924     enable_shared_with_static_runtimes_F77 \
   15925     old_archive_cmds_F77 \
   15926     old_archive_from_new_cmds_F77 \
   15927     predep_objects_F77 \
   15928     postdep_objects_F77 \
   15929     predeps_F77 \
   15930     postdeps_F77 \
   15931     compiler_lib_search_path_F77 \
   15932     archive_cmds_F77 \
   15933     archive_expsym_cmds_F77 \
   15934     postinstall_cmds_F77 \
   15935     postuninstall_cmds_F77 \
   15936     old_archive_from_expsyms_cmds_F77 \
   15937     allow_undefined_flag_F77 \
   15938     no_undefined_flag_F77 \
   15939     export_symbols_cmds_F77 \
   15940     hardcode_libdir_flag_spec_F77 \
   15941     hardcode_libdir_flag_spec_ld_F77 \
   15942     hardcode_libdir_separator_F77 \
   15943     hardcode_automatic_F77 \
   15944     module_cmds_F77 \
   15945     module_expsym_cmds_F77 \
   15946     lt_cv_prog_compiler_c_o_F77 \
   15947     fix_srcfile_path_F77 \
   15948     exclude_expsyms_F77 \
   15949     include_expsyms_F77; do
   15950 
   15951     case $var in
   15952     old_archive_cmds_F77 | \
   15953     old_archive_from_new_cmds_F77 | \
   15954     archive_cmds_F77 | \
   15955     archive_expsym_cmds_F77 | \
   15956     module_cmds_F77 | \
   15957     module_expsym_cmds_F77 | \
   15958     old_archive_from_expsyms_cmds_F77 | \
   15959     export_symbols_cmds_F77 | \
   15960     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15961     postinstall_cmds | postuninstall_cmds | \
   15962     old_postinstall_cmds | old_postuninstall_cmds | \
   15963     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15964       # Double-quote double-evaled strings.
   15965       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15966       ;;
   15967     *)
   15968       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15969       ;;
   15970     esac
   15971   done
   15972 
   15973   case $lt_echo in
   15974   *'\$0 --fallback-echo"')
   15975     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15976     ;;
   15977   esac
   15978 
   15979 cfgfile="$ofile"
   15980 
   15981   cat <<__EOF__ >> "$cfgfile"
   15982 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15983 
   15984 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15985 
   15986 # Shell to use when invoking shell scripts.
   15987 SHELL=$lt_SHELL
   15988 
   15989 # Whether or not to build shared libraries.
   15990 build_libtool_libs=$enable_shared
   15991 
   15992 # Whether or not to build static libraries.
   15993 build_old_libs=$enable_static
   15994 
   15995 # Whether or not to add -lc for building shared libraries.
   15996 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15997 
   15998 # Whether or not to disallow shared libs when runtime libs are static
   15999 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16000 
   16001 # Whether or not to optimize for fast installation.
   16002 fast_install=$enable_fast_install
   16003 
   16004 # The host system.
   16005 host_alias=$host_alias
   16006 host=$host
   16007 host_os=$host_os
   16008 
   16009 # The build system.
   16010 build_alias=$build_alias
   16011 build=$build
   16012 build_os=$build_os
   16013 
   16014 # An echo program that does not interpret backslashes.
   16015 echo=$lt_echo
   16016 
   16017 # The archiver.
   16018 AR=$lt_AR
   16019 AR_FLAGS=$lt_AR_FLAGS
   16020 
   16021 # A C compiler.
   16022 LTCC=$lt_LTCC
   16023 
   16024 # LTCC compiler flags.
   16025 LTCFLAGS=$lt_LTCFLAGS
   16026 
   16027 # A language-specific compiler.
   16028 CC=$lt_compiler_F77
   16029 
   16030 # Is the compiler the GNU C compiler?
   16031 with_gcc=$GCC_F77
   16032 
   16033 # An ERE matcher.
   16034 EGREP=$lt_EGREP
   16035 
   16036 # The linker used to build libraries.
   16037 LD=$lt_LD_F77
   16038 
   16039 # Whether we need hard or soft links.
   16040 LN_S=$lt_LN_S
   16041 
   16042 # A BSD-compatible nm program.
   16043 NM=$lt_NM
   16044 
   16045 # A symbol stripping program
   16046 STRIP=$lt_STRIP
   16047 
   16048 # Used to examine libraries when file_magic_cmd begins "file"
   16049 MAGIC_CMD=$MAGIC_CMD
   16050 
   16051 # Used on cygwin: DLL creation program.
   16052 DLLTOOL="$DLLTOOL"
   16053 
   16054 # Used on cygwin: object dumper.
   16055 OBJDUMP="$OBJDUMP"
   16056 
   16057 # Used on cygwin: assembler.
   16058 AS="$AS"
   16059 
   16060 # The name of the directory that contains temporary libtool files.
   16061 objdir=$objdir
   16062 
   16063 # How to create reloadable object files.
   16064 reload_flag=$lt_reload_flag
   16065 reload_cmds=$lt_reload_cmds
   16066 
   16067 # How to pass a linker flag through the compiler.
   16068 wl=$lt_lt_prog_compiler_wl_F77
   16069 
   16070 # Object file suffix (normally "o").
   16071 objext="$ac_objext"
   16072 
   16073 # Old archive suffix (normally "a").
   16074 libext="$libext"
   16075 
   16076 # Shared library suffix (normally ".so").
   16077 shrext_cmds='$shrext_cmds'
   16078 
   16079 # Executable file suffix (normally "").
   16080 exeext="$exeext"
   16081 
   16082 # Additional compiler flags for building library objects.
   16083 pic_flag=$lt_lt_prog_compiler_pic_F77
   16084 pic_mode=$pic_mode
   16085 
   16086 # What is the maximum length of a command?
   16087 max_cmd_len=$lt_cv_sys_max_cmd_len
   16088 
   16089 # Does compiler simultaneously support -c and -o options?
   16090 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16091 
   16092 # Must we lock files when doing compilation?
   16093 need_locks=$lt_need_locks
   16094 
   16095 # Do we need the lib prefix for modules?
   16096 need_lib_prefix=$need_lib_prefix
   16097 
   16098 # Do we need a version for libraries?
   16099 need_version=$need_version
   16100 
   16101 # Whether dlopen is supported.
   16102 dlopen_support=$enable_dlopen
   16103 
   16104 # Whether dlopen of programs is supported.
   16105 dlopen_self=$enable_dlopen_self
   16106 
   16107 # Whether dlopen of statically linked programs is supported.
   16108 dlopen_self_static=$enable_dlopen_self_static
   16109 
   16110 # Compiler flag to prevent dynamic linking.
   16111 link_static_flag=$lt_lt_prog_compiler_static_F77
   16112 
   16113 # Compiler flag to turn off builtin functions.
   16114 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16115 
   16116 # Compiler flag to allow reflexive dlopens.
   16117 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16118 
   16119 # Compiler flag to generate shared objects directly from archives.
   16120 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16121 
   16122 # Compiler flag to generate thread-safe objects.
   16123 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16124 
   16125 # Library versioning type.
   16126 version_type=$version_type
   16127 
   16128 # Format of library name prefix.
   16129 libname_spec=$lt_libname_spec
   16130 
   16131 # List of archive names.  First name is the real one, the rest are links.
   16132 # The last name is the one that the linker finds with -lNAME.
   16133 library_names_spec=$lt_library_names_spec
   16134 
   16135 # The coded name of the library, if different from the real name.
   16136 soname_spec=$lt_soname_spec
   16137 
   16138 # Commands used to build and install an old-style archive.
   16139 RANLIB=$lt_RANLIB
   16140 old_archive_cmds=$lt_old_archive_cmds_F77
   16141 old_postinstall_cmds=$lt_old_postinstall_cmds
   16142 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16143 
   16144 # Create an old-style archive from a shared archive.
   16145 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16146 
   16147 # Create a temporary old-style archive to link instead of a shared archive.
   16148 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16149 
   16150 # Commands used to build and install a shared archive.
   16151 archive_cmds=$lt_archive_cmds_F77
   16152 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16153 postinstall_cmds=$lt_postinstall_cmds
   16154 postuninstall_cmds=$lt_postuninstall_cmds
   16155 
   16156 # Commands used to build a loadable module (assumed same as above if empty)
   16157 module_cmds=$lt_module_cmds_F77
   16158 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16159 
   16160 # Commands to strip libraries.
   16161 old_striplib=$lt_old_striplib
   16162 striplib=$lt_striplib
   16163 
   16164 # Dependencies to place before the objects being linked to create a
   16165 # shared library.
   16166 predep_objects=$lt_predep_objects_F77
   16167 
   16168 # Dependencies to place after the objects being linked to create a
   16169 # shared library.
   16170 postdep_objects=$lt_postdep_objects_F77
   16171 
   16172 # Dependencies to place before the objects being linked to create a
   16173 # shared library.
   16174 predeps=$lt_predeps_F77
   16175 
   16176 # Dependencies to place after the objects being linked to create a
   16177 # shared library.
   16178 postdeps=$lt_postdeps_F77
   16179 
   16180 # The library search path used internally by the compiler when linking
   16181 # a shared library.
   16182 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16183 
   16184 # Method to check whether dependent libraries are shared objects.
   16185 deplibs_check_method=$lt_deplibs_check_method
   16186 
   16187 # Command to use when deplibs_check_method == file_magic.
   16188 file_magic_cmd=$lt_file_magic_cmd
   16189 
   16190 # Flag that allows shared libraries with undefined symbols to be built.
   16191 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16192 
   16193 # Flag that forces no undefined symbols.
   16194 no_undefined_flag=$lt_no_undefined_flag_F77
   16195 
   16196 # Commands used to finish a libtool library installation in a directory.
   16197 finish_cmds=$lt_finish_cmds
   16198 
   16199 # Same as above, but a single script fragment to be evaled but not shown.
   16200 finish_eval=$lt_finish_eval
   16201 
   16202 # Take the output of nm and produce a listing of raw symbols and C names.
   16203 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16204 
   16205 # Transform the output of nm in a proper C declaration
   16206 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16207 
   16208 # Transform the output of nm in a C name address pair
   16209 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16210 
   16211 # This is the shared library runtime path variable.
   16212 runpath_var=$runpath_var
   16213 
   16214 # This is the shared library path variable.
   16215 shlibpath_var=$shlibpath_var
   16216 
   16217 # Is shlibpath searched before the hard-coded library search path?
   16218 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16219 
   16220 # How to hardcode a shared library path into an executable.
   16221 hardcode_action=$hardcode_action_F77
   16222 
   16223 # Whether we should hardcode library paths into libraries.
   16224 hardcode_into_libs=$hardcode_into_libs
   16225 
   16226 # Flag to hardcode \$libdir into a binary during linking.
   16227 # This must work even if \$libdir does not exist.
   16228 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16229 
   16230 # If ld is used when linking, flag to hardcode \$libdir into
   16231 # a binary during linking. This must work even if \$libdir does
   16232 # not exist.
   16233 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16234 
   16235 # Whether we need a single -rpath flag with a separated argument.
   16236 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16237 
   16238 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16239 # resulting binary.
   16240 hardcode_direct=$hardcode_direct_F77
   16241 
   16242 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16243 # resulting binary.
   16244 hardcode_minus_L=$hardcode_minus_L_F77
   16245 
   16246 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16247 # the resulting binary.
   16248 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16249 
   16250 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16251 # and all subsequent libraries and executables linked against it.
   16252 hardcode_automatic=$hardcode_automatic_F77
   16253 
   16254 # Variables whose values should be saved in libtool wrapper scripts and
   16255 # restored at relink time.
   16256 variables_saved_for_relink="$variables_saved_for_relink"
   16257 
   16258 # Whether libtool must link a program against all its dependency libraries.
   16259 link_all_deplibs=$link_all_deplibs_F77
   16260 
   16261 # Compile-time system search path for libraries
   16262 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16263 
   16264 # Run-time system search path for libraries
   16265 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16266 
   16267 # Fix the shell variable \$srcfile for the compiler.
   16268 fix_srcfile_path=$lt_fix_srcfile_path
   16269 
   16270 # Set to yes if exported symbols are required.
   16271 always_export_symbols=$always_export_symbols_F77
   16272 
   16273 # The commands to list exported symbols.
   16274 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16275 
   16276 # The commands to extract the exported symbol list from a shared archive.
   16277 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16278 
   16279 # Symbols that should not be listed in the preloaded symbols.
   16280 exclude_expsyms=$lt_exclude_expsyms_F77
   16281 
   16282 # Symbols that must always be exported.
   16283 include_expsyms=$lt_include_expsyms_F77
   16284 
   16285 # ### END LIBTOOL TAG CONFIG: $tagname
   16286 
   16287 __EOF__
   16288 
   16289 
   16290 else
   16291   # If there is no Makefile yet, we rely on a make rule to execute
   16292   # `config.status --recheck' to rerun these tests and create the
   16293   # libtool script then.
   16294   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16295   if test -f "$ltmain_in"; then
   16296     test -f Makefile && make "$ltmain"
   16297   fi
   16298 fi
   16299 
   16300 
   16301 ac_ext=c
   16302 ac_cpp='$CPP $CPPFLAGS'
   16303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16306 
   16307 CC="$lt_save_CC"
   16308 
   16309 	else
   16310 	  tagname=""
   16311 	fi
   16312 	;;
   16313 
   16314       GCJ)
   16315 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16316 
   16317 
   16318 # Source file extension for Java test sources.
   16319 ac_ext=java
   16320 
   16321 # Object file extension for compiled Java test sources.
   16322 objext=o
   16323 objext_GCJ=$objext
   16324 
   16325 # Code to be used in simple compile tests
   16326 lt_simple_compile_test_code="class foo {}"
   16327 
   16328 # Code to be used in simple link tests
   16329 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16330 
   16331 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16332 
   16333 # If no C compiler was specified, use CC.
   16334 LTCC=${LTCC-"$CC"}
   16335 
   16336 # If no C compiler flags were specified, use CFLAGS.
   16337 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16338 
   16339 # Allow CC to be a program name with arguments.
   16340 compiler=$CC
   16341 
   16342 
   16343 # save warnings/boilerplate of simple test code
   16344 ac_outfile=conftest.$ac_objext
   16345 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16346 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16347 _lt_compiler_boilerplate=`cat conftest.err`
   16348 $rm conftest*
   16349 
   16350 ac_outfile=conftest.$ac_objext
   16351 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16352 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16353 _lt_linker_boilerplate=`cat conftest.err`
   16354 $rm conftest*
   16355 
   16356 
   16357 # Allow CC to be a program name with arguments.
   16358 lt_save_CC="$CC"
   16359 CC=${GCJ-"gcj"}
   16360 compiler=$CC
   16361 compiler_GCJ=$CC
   16362 for cc_temp in $compiler""; do
   16363   case $cc_temp in
   16364     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16365     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16366     \-*) ;;
   16367     *) break;;
   16368   esac
   16369 done
   16370 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16371 
   16372 
   16373 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16374 archive_cmds_need_lc_GCJ=no
   16375 
   16376 old_archive_cmds_GCJ=$old_archive_cmds
   16377 
   16378 
   16379 lt_prog_compiler_no_builtin_flag_GCJ=
   16380 
   16381 if test "$GCC" = yes; then
   16382   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16383 
   16384 
   16385 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16386 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16387 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16388   echo $ECHO_N "(cached) $ECHO_C" >&6
   16389 else
   16390   lt_cv_prog_compiler_rtti_exceptions=no
   16391   ac_outfile=conftest.$ac_objext
   16392    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16393    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16394    # Insert the option either (1) after the last *FLAGS variable, or
   16395    # (2) before a word containing "conftest.", or (3) at the end.
   16396    # Note that $ac_compile itself does not contain backslashes and begins
   16397    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16398    # The option is referenced via a variable to avoid confusing sed.
   16399    lt_compile=`echo "$ac_compile" | $SED \
   16400    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16401    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16402    -e 's:$: $lt_compiler_flag:'`
   16403    (eval echo "\"\$as_me:16403: $lt_compile\"" >&5)
   16404    (eval "$lt_compile" 2>conftest.err)
   16405    ac_status=$?
   16406    cat conftest.err >&5
   16407    echo "$as_me:16407: \$? = $ac_status" >&5
   16408    if (exit $ac_status) && test -s "$ac_outfile"; then
   16409      # The compiler can only warn and ignore the option if not recognized
   16410      # So say no if there are warnings other than the usual output.
   16411      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16412      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16413      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16414        lt_cv_prog_compiler_rtti_exceptions=yes
   16415      fi
   16416    fi
   16417    $rm conftest*
   16418 
   16419 fi
   16420 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16421 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16422 
   16423 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16424     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16425 else
   16426     :
   16427 fi
   16428 
   16429 fi
   16430 
   16431 lt_prog_compiler_wl_GCJ=
   16432 lt_prog_compiler_pic_GCJ=
   16433 lt_prog_compiler_static_GCJ=
   16434 
   16435 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16436 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16437 
   16438   if test "$GCC" = yes; then
   16439     lt_prog_compiler_wl_GCJ='-Wl,'
   16440     lt_prog_compiler_static_GCJ='-static'
   16441 
   16442     case $host_os in
   16443       aix*)
   16444       # All AIX code is PIC.
   16445       if test "$host_cpu" = ia64; then
   16446 	# AIX 5 now supports IA64 processor
   16447 	lt_prog_compiler_static_GCJ='-Bstatic'
   16448       fi
   16449       ;;
   16450 
   16451     amigaos*)
   16452       # FIXME: we need at least 68020 code to build shared libraries, but
   16453       # adding the `-m68020' flag to GCC prevents building anything better,
   16454       # like `-m68040'.
   16455       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16456       ;;
   16457 
   16458     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16459       # PIC is the default for these OSes.
   16460       ;;
   16461 
   16462     mingw* | cygwin* | pw32* | os2*)
   16463       # This hack is so that the source file can tell whether it is being
   16464       # built for inclusion in a dll (and should export symbols for example).
   16465       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16466       # (--disable-auto-import) libraries
   16467       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16468       ;;
   16469 
   16470     darwin* | rhapsody*)
   16471       # PIC is the default on this platform
   16472       # Common symbols not allowed in MH_DYLIB files
   16473       lt_prog_compiler_pic_GCJ='-fno-common'
   16474       ;;
   16475 
   16476     interix[3-9]*)
   16477       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16478       # Instead, we relocate shared libraries at runtime.
   16479       ;;
   16480 
   16481     msdosdjgpp*)
   16482       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16483       # on systems that don't support them.
   16484       lt_prog_compiler_can_build_shared_GCJ=no
   16485       enable_shared=no
   16486       ;;
   16487 
   16488     sysv4*MP*)
   16489       if test -d /usr/nec; then
   16490 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16491       fi
   16492       ;;
   16493 
   16494     hpux*)
   16495       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16496       # not for PA HP-UX.
   16497       case $host_cpu in
   16498       hppa*64*|ia64*)
   16499 	# +Z the default
   16500 	;;
   16501       *)
   16502 	lt_prog_compiler_pic_GCJ='-fPIC'
   16503 	;;
   16504       esac
   16505       ;;
   16506 
   16507     *)
   16508       lt_prog_compiler_pic_GCJ='-fPIC'
   16509       ;;
   16510     esac
   16511   else
   16512     # PORTME Check for flag to pass linker flags through the system compiler.
   16513     case $host_os in
   16514     aix*)
   16515       lt_prog_compiler_wl_GCJ='-Wl,'
   16516       if test "$host_cpu" = ia64; then
   16517 	# AIX 5 now supports IA64 processor
   16518 	lt_prog_compiler_static_GCJ='-Bstatic'
   16519       else
   16520 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16521       fi
   16522       ;;
   16523       darwin*)
   16524         # PIC is the default on this platform
   16525         # Common symbols not allowed in MH_DYLIB files
   16526        case $cc_basename in
   16527          xlc*)
   16528          lt_prog_compiler_pic_GCJ='-qnocommon'
   16529          lt_prog_compiler_wl_GCJ='-Wl,'
   16530          ;;
   16531        esac
   16532        ;;
   16533 
   16534     mingw* | cygwin* | pw32* | os2*)
   16535       # This hack is so that the source file can tell whether it is being
   16536       # built for inclusion in a dll (and should export symbols for example).
   16537       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16538       ;;
   16539 
   16540     hpux9* | hpux10* | hpux11*)
   16541       lt_prog_compiler_wl_GCJ='-Wl,'
   16542       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16543       # not for PA HP-UX.
   16544       case $host_cpu in
   16545       hppa*64*|ia64*)
   16546 	# +Z the default
   16547 	;;
   16548       *)
   16549 	lt_prog_compiler_pic_GCJ='+Z'
   16550 	;;
   16551       esac
   16552       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16553       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16554       ;;
   16555 
   16556     irix5* | irix6* | nonstopux*)
   16557       lt_prog_compiler_wl_GCJ='-Wl,'
   16558       # PIC (with -KPIC) is the default.
   16559       lt_prog_compiler_static_GCJ='-non_shared'
   16560       ;;
   16561 
   16562     newsos6)
   16563       lt_prog_compiler_pic_GCJ='-KPIC'
   16564       lt_prog_compiler_static_GCJ='-Bstatic'
   16565       ;;
   16566 
   16567     linux* | k*bsd*-gnu)
   16568       case $cc_basename in
   16569       icc* | ecc*)
   16570 	lt_prog_compiler_wl_GCJ='-Wl,'
   16571 	lt_prog_compiler_pic_GCJ='-KPIC'
   16572 	lt_prog_compiler_static_GCJ='-static'
   16573         ;;
   16574       pgcc* | pgf77* | pgf90* | pgf95*)
   16575         # Portland Group compilers (*not* the Pentium gcc compiler,
   16576 	# which looks to be a dead project)
   16577 	lt_prog_compiler_wl_GCJ='-Wl,'
   16578 	lt_prog_compiler_pic_GCJ='-fpic'
   16579 	lt_prog_compiler_static_GCJ='-Bstatic'
   16580         ;;
   16581       ccc*)
   16582         lt_prog_compiler_wl_GCJ='-Wl,'
   16583         # All Alpha code is PIC.
   16584         lt_prog_compiler_static_GCJ='-non_shared'
   16585         ;;
   16586       *)
   16587         case `$CC -V 2>&1 | sed 5q` in
   16588 	*Sun\ C*)
   16589 	  # Sun C 5.9
   16590 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16591 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16592 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16593 	  ;;
   16594 	*Sun\ F*)
   16595 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16596 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16597 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16598 	  lt_prog_compiler_wl_GCJ=''
   16599 	  ;;
   16600 	esac
   16601 	;;
   16602       esac
   16603       ;;
   16604 
   16605     osf3* | osf4* | osf5*)
   16606       lt_prog_compiler_wl_GCJ='-Wl,'
   16607       # All OSF/1 code is PIC.
   16608       lt_prog_compiler_static_GCJ='-non_shared'
   16609       ;;
   16610 
   16611     rdos*)
   16612       lt_prog_compiler_static_GCJ='-non_shared'
   16613       ;;
   16614 
   16615     solaris*)
   16616       lt_prog_compiler_pic_GCJ='-KPIC'
   16617       lt_prog_compiler_static_GCJ='-Bstatic'
   16618       case $cc_basename in
   16619       f77* | f90* | f95*)
   16620 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16621       *)
   16622 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16623       esac
   16624       ;;
   16625 
   16626     sunos4*)
   16627       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16628       lt_prog_compiler_pic_GCJ='-PIC'
   16629       lt_prog_compiler_static_GCJ='-Bstatic'
   16630       ;;
   16631 
   16632     sysv4 | sysv4.2uw2* | sysv4.3*)
   16633       lt_prog_compiler_wl_GCJ='-Wl,'
   16634       lt_prog_compiler_pic_GCJ='-KPIC'
   16635       lt_prog_compiler_static_GCJ='-Bstatic'
   16636       ;;
   16637 
   16638     sysv4*MP*)
   16639       if test -d /usr/nec ;then
   16640 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16641 	lt_prog_compiler_static_GCJ='-Bstatic'
   16642       fi
   16643       ;;
   16644 
   16645     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16646       lt_prog_compiler_wl_GCJ='-Wl,'
   16647       lt_prog_compiler_pic_GCJ='-KPIC'
   16648       lt_prog_compiler_static_GCJ='-Bstatic'
   16649       ;;
   16650 
   16651     unicos*)
   16652       lt_prog_compiler_wl_GCJ='-Wl,'
   16653       lt_prog_compiler_can_build_shared_GCJ=no
   16654       ;;
   16655 
   16656     uts4*)
   16657       lt_prog_compiler_pic_GCJ='-pic'
   16658       lt_prog_compiler_static_GCJ='-Bstatic'
   16659       ;;
   16660 
   16661     *)
   16662       lt_prog_compiler_can_build_shared_GCJ=no
   16663       ;;
   16664     esac
   16665   fi
   16666 
   16667 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16668 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16669 
   16670 #
   16671 # Check to make sure the PIC flag actually works.
   16672 #
   16673 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16674 
   16675 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16676 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16677 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16678   echo $ECHO_N "(cached) $ECHO_C" >&6
   16679 else
   16680   lt_prog_compiler_pic_works_GCJ=no
   16681   ac_outfile=conftest.$ac_objext
   16682    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16683    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16684    # Insert the option either (1) after the last *FLAGS variable, or
   16685    # (2) before a word containing "conftest.", or (3) at the end.
   16686    # Note that $ac_compile itself does not contain backslashes and begins
   16687    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16688    # The option is referenced via a variable to avoid confusing sed.
   16689    lt_compile=`echo "$ac_compile" | $SED \
   16690    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16691    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16692    -e 's:$: $lt_compiler_flag:'`
   16693    (eval echo "\"\$as_me:16693: $lt_compile\"" >&5)
   16694    (eval "$lt_compile" 2>conftest.err)
   16695    ac_status=$?
   16696    cat conftest.err >&5
   16697    echo "$as_me:16697: \$? = $ac_status" >&5
   16698    if (exit $ac_status) && test -s "$ac_outfile"; then
   16699      # The compiler can only warn and ignore the option if not recognized
   16700      # So say no if there are warnings other than the usual output.
   16701      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16702      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16703      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16704        lt_prog_compiler_pic_works_GCJ=yes
   16705      fi
   16706    fi
   16707    $rm conftest*
   16708 
   16709 fi
   16710 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16711 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16712 
   16713 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16714     case $lt_prog_compiler_pic_GCJ in
   16715      "" | " "*) ;;
   16716      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16717      esac
   16718 else
   16719     lt_prog_compiler_pic_GCJ=
   16720      lt_prog_compiler_can_build_shared_GCJ=no
   16721 fi
   16722 
   16723 fi
   16724 case $host_os in
   16725   # For platforms which do not support PIC, -DPIC is meaningless:
   16726   *djgpp*)
   16727     lt_prog_compiler_pic_GCJ=
   16728     ;;
   16729   *)
   16730     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16731     ;;
   16732 esac
   16733 
   16734 #
   16735 # Check to make sure the static flag actually works.
   16736 #
   16737 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16738 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16739 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16740 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16741   echo $ECHO_N "(cached) $ECHO_C" >&6
   16742 else
   16743   lt_prog_compiler_static_works_GCJ=no
   16744    save_LDFLAGS="$LDFLAGS"
   16745    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16746    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16747    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16748      # The linker can only warn and ignore the option if not recognized
   16749      # So say no if there are warnings
   16750      if test -s conftest.err; then
   16751        # Append any errors to the config.log.
   16752        cat conftest.err 1>&5
   16753        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16754        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16755        if diff conftest.exp conftest.er2 >/dev/null; then
   16756          lt_prog_compiler_static_works_GCJ=yes
   16757        fi
   16758      else
   16759        lt_prog_compiler_static_works_GCJ=yes
   16760      fi
   16761    fi
   16762    $rm conftest*
   16763    LDFLAGS="$save_LDFLAGS"
   16764 
   16765 fi
   16766 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16767 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16768 
   16769 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16770     :
   16771 else
   16772     lt_prog_compiler_static_GCJ=
   16773 fi
   16774 
   16775 
   16776 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16777 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16778 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16779   echo $ECHO_N "(cached) $ECHO_C" >&6
   16780 else
   16781   lt_cv_prog_compiler_c_o_GCJ=no
   16782    $rm -r conftest 2>/dev/null
   16783    mkdir conftest
   16784    cd conftest
   16785    mkdir out
   16786    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16787 
   16788    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16789    # Insert the option either (1) after the last *FLAGS variable, or
   16790    # (2) before a word containing "conftest.", or (3) at the end.
   16791    # Note that $ac_compile itself does not contain backslashes and begins
   16792    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16793    lt_compile=`echo "$ac_compile" | $SED \
   16794    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16795    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16796    -e 's:$: $lt_compiler_flag:'`
   16797    (eval echo "\"\$as_me:16797: $lt_compile\"" >&5)
   16798    (eval "$lt_compile" 2>out/conftest.err)
   16799    ac_status=$?
   16800    cat out/conftest.err >&5
   16801    echo "$as_me:16801: \$? = $ac_status" >&5
   16802    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16803    then
   16804      # The compiler can only warn and ignore the option if not recognized
   16805      # So say no if there are warnings
   16806      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16807      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16808      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16809        lt_cv_prog_compiler_c_o_GCJ=yes
   16810      fi
   16811    fi
   16812    chmod u+w . 2>&5
   16813    $rm conftest*
   16814    # SGI C++ compiler will create directory out/ii_files/ for
   16815    # template instantiation
   16816    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16817    $rm out/* && rmdir out
   16818    cd ..
   16819    rmdir conftest
   16820    $rm conftest*
   16821 
   16822 fi
   16823 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16824 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16825 
   16826 
   16827 hard_links="nottested"
   16828 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16829   # do not overwrite the value of need_locks provided by the user
   16830   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16831 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16832   hard_links=yes
   16833   $rm conftest*
   16834   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16835   touch conftest.a
   16836   ln conftest.a conftest.b 2>&5 || hard_links=no
   16837   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16838   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16839 echo "${ECHO_T}$hard_links" >&6; }
   16840   if test "$hard_links" = no; then
   16841     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16842 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16843     need_locks=warn
   16844   fi
   16845 else
   16846   need_locks=no
   16847 fi
   16848 
   16849 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16850 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16851 
   16852   runpath_var=
   16853   allow_undefined_flag_GCJ=
   16854   enable_shared_with_static_runtimes_GCJ=no
   16855   archive_cmds_GCJ=
   16856   archive_expsym_cmds_GCJ=
   16857   old_archive_From_new_cmds_GCJ=
   16858   old_archive_from_expsyms_cmds_GCJ=
   16859   export_dynamic_flag_spec_GCJ=
   16860   whole_archive_flag_spec_GCJ=
   16861   thread_safe_flag_spec_GCJ=
   16862   hardcode_libdir_flag_spec_GCJ=
   16863   hardcode_libdir_flag_spec_ld_GCJ=
   16864   hardcode_libdir_separator_GCJ=
   16865   hardcode_direct_GCJ=no
   16866   hardcode_minus_L_GCJ=no
   16867   hardcode_shlibpath_var_GCJ=unsupported
   16868   link_all_deplibs_GCJ=unknown
   16869   hardcode_automatic_GCJ=no
   16870   module_cmds_GCJ=
   16871   module_expsym_cmds_GCJ=
   16872   always_export_symbols_GCJ=no
   16873   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16874   # include_expsyms should be a list of space-separated symbols to be *always*
   16875   # included in the symbol list
   16876   include_expsyms_GCJ=
   16877   # exclude_expsyms can be an extended regexp of symbols to exclude
   16878   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16879   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16880   # as well as any symbol that contains `d'.
   16881   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16882   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16883   # platforms (ab)use it in PIC code, but their linkers get confused if
   16884   # the symbol is explicitly referenced.  Since portable code cannot
   16885   # rely on this symbol name, it's probably fine to never include it in
   16886   # preloaded symbol tables.
   16887   extract_expsyms_cmds=
   16888   # Just being paranoid about ensuring that cc_basename is set.
   16889   for cc_temp in $compiler""; do
   16890   case $cc_temp in
   16891     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16892     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16893     \-*) ;;
   16894     *) break;;
   16895   esac
   16896 done
   16897 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16898 
   16899   case $host_os in
   16900   cygwin* | mingw* | pw32*)
   16901     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16902     # When not using gcc, we currently assume that we are using
   16903     # Microsoft Visual C++.
   16904     if test "$GCC" != yes; then
   16905       with_gnu_ld=no
   16906     fi
   16907     ;;
   16908   interix*)
   16909     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16910     with_gnu_ld=yes
   16911     ;;
   16912   openbsd*)
   16913     with_gnu_ld=no
   16914     ;;
   16915   esac
   16916 
   16917   ld_shlibs_GCJ=yes
   16918   if test "$with_gnu_ld" = yes; then
   16919     # If archive_cmds runs LD, not CC, wlarc should be empty
   16920     wlarc='${wl}'
   16921 
   16922     # Set some defaults for GNU ld with shared library support. These
   16923     # are reset later if shared libraries are not supported. Putting them
   16924     # here allows them to be overridden if necessary.
   16925     runpath_var=LD_RUN_PATH
   16926     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16927     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16928     # ancient GNU ld didn't support --whole-archive et. al.
   16929     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16930 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16931       else
   16932   	whole_archive_flag_spec_GCJ=
   16933     fi
   16934     supports_anon_versioning=no
   16935     case `$LD -v 2>/dev/null` in
   16936       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16937       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16938       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16939       *\ 2.11.*) ;; # other 2.11 versions
   16940       *) supports_anon_versioning=yes ;;
   16941     esac
   16942 
   16943     # See if GNU ld supports shared libraries.
   16944     case $host_os in
   16945     aix3* | aix4* | aix5*)
   16946       # On AIX/PPC, the GNU linker is very broken
   16947       if test "$host_cpu" != ia64; then
   16948 	ld_shlibs_GCJ=no
   16949 	cat <<EOF 1>&2
   16950 
   16951 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16952 *** to be unable to reliably create shared libraries on AIX.
   16953 *** Therefore, libtool is disabling shared libraries support.  If you
   16954 *** really care for shared libraries, you may want to modify your PATH
   16955 *** so that a non-GNU linker is found, and then restart.
   16956 
   16957 EOF
   16958       fi
   16959       ;;
   16960 
   16961     amigaos*)
   16962       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)'
   16963       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16964       hardcode_minus_L_GCJ=yes
   16965 
   16966       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16967       # that the semantics of dynamic libraries on AmigaOS, at least up
   16968       # to version 4, is to share data among multiple programs linked
   16969       # with the same dynamic library.  Since this doesn't match the
   16970       # behavior of shared libraries on other platforms, we can't use
   16971       # them.
   16972       ld_shlibs_GCJ=no
   16973       ;;
   16974 
   16975     beos*)
   16976       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16977 	allow_undefined_flag_GCJ=unsupported
   16978 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16979 	# support --undefined.  This deserves some investigation.  FIXME
   16980 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16981       else
   16982 	ld_shlibs_GCJ=no
   16983       fi
   16984       ;;
   16985 
   16986     cygwin* | mingw* | pw32*)
   16987       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16988       # as there is no search path for DLLs.
   16989       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16990       allow_undefined_flag_GCJ=unsupported
   16991       always_export_symbols_GCJ=no
   16992       enable_shared_with_static_runtimes_GCJ=yes
   16993       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16994 
   16995       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16996         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16997 	# If the export-symbols file already is a .def file (1st line
   16998 	# is EXPORTS), use it as is; otherwise, prepend...
   16999 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17000 	  cp $export_symbols $output_objdir/$soname.def;
   17001 	else
   17002 	  echo EXPORTS > $output_objdir/$soname.def;
   17003 	  cat $export_symbols >> $output_objdir/$soname.def;
   17004 	fi~
   17005 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17006       else
   17007 	ld_shlibs_GCJ=no
   17008       fi
   17009       ;;
   17010 
   17011     interix[3-9]*)
   17012       hardcode_direct_GCJ=no
   17013       hardcode_shlibpath_var_GCJ=no
   17014       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17015       export_dynamic_flag_spec_GCJ='${wl}-E'
   17016       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17017       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17018       # default) and relocated if they conflict, which is a slow very memory
   17019       # consuming and fragmenting process.  To avoid this, we pick a random,
   17020       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17021       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17022       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'
   17023       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'
   17024       ;;
   17025 
   17026     gnu* | linux* | k*bsd*-gnu)
   17027       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17028 	tmp_addflag=
   17029 	case $cc_basename,$host_cpu in
   17030 	pgcc*)				# Portland Group C compiler
   17031 	  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'
   17032 	  tmp_addflag=' $pic_flag'
   17033 	  ;;
   17034 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17035 	  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'
   17036 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17037 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17038 	  tmp_addflag=' -i_dynamic' ;;
   17039 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17040 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17041 	ifc* | ifort*)			# Intel Fortran compiler
   17042 	  tmp_addflag=' -nofor_main' ;;
   17043 	esac
   17044 	case `$CC -V 2>&1 | sed 5q` in
   17045 	*Sun\ C*)			# Sun C 5.9
   17046 	  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'
   17047 	  tmp_sharedflag='-G' ;;
   17048 	*Sun\ F*)			# Sun Fortran 8.3
   17049 	  tmp_sharedflag='-G' ;;
   17050 	*)
   17051 	  tmp_sharedflag='-shared' ;;
   17052 	esac
   17053 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17054 
   17055 	if test $supports_anon_versioning = yes; then
   17056 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17057   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17058   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17059 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17060 	fi
   17061       else
   17062 	ld_shlibs_GCJ=no
   17063       fi
   17064       ;;
   17065 
   17066     netbsd*)
   17067       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17068 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17069 	wlarc=
   17070       else
   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       fi
   17074       ;;
   17075 
   17076     solaris*)
   17077       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17078 	ld_shlibs_GCJ=no
   17079 	cat <<EOF 1>&2
   17080 
   17081 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17082 *** create shared libraries on Solaris systems.  Therefore, libtool
   17083 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17084 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17085 *** your PATH or compiler configuration so that the native linker is
   17086 *** used, and then restart.
   17087 
   17088 EOF
   17089       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17090 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17091 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17092       else
   17093 	ld_shlibs_GCJ=no
   17094       fi
   17095       ;;
   17096 
   17097     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17098       case `$LD -v 2>&1` in
   17099         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17100 	ld_shlibs_GCJ=no
   17101 	cat <<_LT_EOF 1>&2
   17102 
   17103 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17104 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17105 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17106 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17107 *** your PATH or compiler configuration so that the native linker is
   17108 *** used, and then restart.
   17109 
   17110 _LT_EOF
   17111 	;;
   17112 	*)
   17113 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17114 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17115 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17116 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17117 	  else
   17118 	    ld_shlibs_GCJ=no
   17119 	  fi
   17120 	;;
   17121       esac
   17122       ;;
   17123 
   17124     sunos4*)
   17125       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17126       wlarc=
   17127       hardcode_direct_GCJ=yes
   17128       hardcode_shlibpath_var_GCJ=no
   17129       ;;
   17130 
   17131     *)
   17132       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17133 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17134 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17135       else
   17136 	ld_shlibs_GCJ=no
   17137       fi
   17138       ;;
   17139     esac
   17140 
   17141     if test "$ld_shlibs_GCJ" = no; then
   17142       runpath_var=
   17143       hardcode_libdir_flag_spec_GCJ=
   17144       export_dynamic_flag_spec_GCJ=
   17145       whole_archive_flag_spec_GCJ=
   17146     fi
   17147   else
   17148     # PORTME fill in a description of your system's linker (not GNU ld)
   17149     case $host_os in
   17150     aix3*)
   17151       allow_undefined_flag_GCJ=unsupported
   17152       always_export_symbols_GCJ=yes
   17153       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'
   17154       # Note: this linker hardcodes the directories in LIBPATH if there
   17155       # are no directories specified by -L.
   17156       hardcode_minus_L_GCJ=yes
   17157       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17158 	# Neither direct hardcoding nor static linking is supported with a
   17159 	# broken collect2.
   17160 	hardcode_direct_GCJ=unsupported
   17161       fi
   17162       ;;
   17163 
   17164     aix4* | aix5*)
   17165       if test "$host_cpu" = ia64; then
   17166 	# On IA64, the linker does run time linking by default, so we don't
   17167 	# have to do anything special.
   17168 	aix_use_runtimelinking=no
   17169 	exp_sym_flag='-Bexport'
   17170 	no_entry_flag=""
   17171       else
   17172 	# If we're using GNU nm, then we don't want the "-C" option.
   17173 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17174 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17175 	  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'
   17176 	else
   17177 	  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'
   17178 	fi
   17179 	aix_use_runtimelinking=no
   17180 
   17181 	# Test if we are trying to use run time linking or normal
   17182 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17183 	# need to do runtime linking.
   17184 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17185 	  for ld_flag in $LDFLAGS; do
   17186   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17187   	    aix_use_runtimelinking=yes
   17188   	    break
   17189   	  fi
   17190 	  done
   17191 	  ;;
   17192 	esac
   17193 
   17194 	exp_sym_flag='-bexport'
   17195 	no_entry_flag='-bnoentry'
   17196       fi
   17197 
   17198       # When large executables or shared objects are built, AIX ld can
   17199       # have problems creating the table of contents.  If linking a library
   17200       # or program results in "error TOC overflow" add -mminimal-toc to
   17201       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17202       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17203 
   17204       archive_cmds_GCJ=''
   17205       hardcode_direct_GCJ=yes
   17206       hardcode_libdir_separator_GCJ=':'
   17207       link_all_deplibs_GCJ=yes
   17208 
   17209       if test "$GCC" = yes; then
   17210 	case $host_os in aix4.[012]|aix4.[012].*)
   17211 	# We only want to do this on AIX 4.2 and lower, the check
   17212 	# below for broken collect2 doesn't work under 4.3+
   17213 	  collect2name=`${CC} -print-prog-name=collect2`
   17214 	  if test -f "$collect2name" && \
   17215   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17216 	  then
   17217   	  # We have reworked collect2
   17218   	  :
   17219 	  else
   17220   	  # We have old collect2
   17221   	  hardcode_direct_GCJ=unsupported
   17222   	  # It fails to find uninstalled libraries when the uninstalled
   17223   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17224   	  # to unsupported forces relinking
   17225   	  hardcode_minus_L_GCJ=yes
   17226   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17227   	  hardcode_libdir_separator_GCJ=
   17228 	  fi
   17229 	  ;;
   17230 	esac
   17231 	shared_flag='-shared'
   17232 	if test "$aix_use_runtimelinking" = yes; then
   17233 	  shared_flag="$shared_flag "'${wl}-G'
   17234 	fi
   17235       else
   17236 	# not using gcc
   17237 	if test "$host_cpu" = ia64; then
   17238   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17239   	# chokes on -Wl,-G. The following line is correct:
   17240 	  shared_flag='-G'
   17241 	else
   17242 	  if test "$aix_use_runtimelinking" = yes; then
   17243 	    shared_flag='${wl}-G'
   17244 	  else
   17245 	    shared_flag='${wl}-bM:SRE'
   17246 	  fi
   17247 	fi
   17248       fi
   17249 
   17250       # It seems that -bexpall does not export symbols beginning with
   17251       # underscore (_), so it is better to generate a list of symbols to export.
   17252       always_export_symbols_GCJ=yes
   17253       if test "$aix_use_runtimelinking" = yes; then
   17254 	# Warning - without using the other runtime loading flags (-brtl),
   17255 	# -berok will link without error, but may produce a broken library.
   17256 	allow_undefined_flag_GCJ='-berok'
   17257        # Determine the default libpath from the value encoded in an empty executable.
   17258        cat >conftest.$ac_ext <<_ACEOF
   17259 /* confdefs.h.  */
   17260 _ACEOF
   17261 cat confdefs.h >>conftest.$ac_ext
   17262 cat >>conftest.$ac_ext <<_ACEOF
   17263 /* end confdefs.h.  */
   17264 
   17265 int
   17266 main ()
   17267 {
   17268 
   17269   ;
   17270   return 0;
   17271 }
   17272 _ACEOF
   17273 rm -f conftest.$ac_objext conftest$ac_exeext
   17274 if { (ac_try="$ac_link"
   17275 case "(($ac_try" in
   17276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17277   *) ac_try_echo=$ac_try;;
   17278 esac
   17279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17280   (eval "$ac_link") 2>conftest.er1
   17281   ac_status=$?
   17282   grep -v '^ *+' conftest.er1 >conftest.err
   17283   rm -f conftest.er1
   17284   cat conftest.err >&5
   17285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17286   (exit $ac_status); } && {
   17287 	 test -z "$ac_c_werror_flag" ||
   17288 	 test ! -s conftest.err
   17289        } && test -s conftest$ac_exeext &&
   17290        $as_test_x conftest$ac_exeext; then
   17291 
   17292 lt_aix_libpath_sed='
   17293     /Import File Strings/,/^$/ {
   17294 	/^0/ {
   17295 	    s/^0  *\(.*\)$/\1/
   17296 	    p
   17297 	}
   17298     }'
   17299 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17300 # Check for a 64-bit object if we didn't find anything.
   17301 if test -z "$aix_libpath"; then
   17302   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17303 fi
   17304 else
   17305   echo "$as_me: failed program was:" >&5
   17306 sed 's/^/| /' conftest.$ac_ext >&5
   17307 
   17308 
   17309 fi
   17310 
   17311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17312       conftest$ac_exeext conftest.$ac_ext
   17313 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17314 
   17315        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17316 	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"
   17317        else
   17318 	if test "$host_cpu" = ia64; then
   17319 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17320 	  allow_undefined_flag_GCJ="-z nodefs"
   17321 	  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"
   17322 	else
   17323 	 # Determine the default libpath from the value encoded in an empty executable.
   17324 	 cat >conftest.$ac_ext <<_ACEOF
   17325 /* confdefs.h.  */
   17326 _ACEOF
   17327 cat confdefs.h >>conftest.$ac_ext
   17328 cat >>conftest.$ac_ext <<_ACEOF
   17329 /* end confdefs.h.  */
   17330 
   17331 int
   17332 main ()
   17333 {
   17334 
   17335   ;
   17336   return 0;
   17337 }
   17338 _ACEOF
   17339 rm -f conftest.$ac_objext conftest$ac_exeext
   17340 if { (ac_try="$ac_link"
   17341 case "(($ac_try" in
   17342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17343   *) ac_try_echo=$ac_try;;
   17344 esac
   17345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17346   (eval "$ac_link") 2>conftest.er1
   17347   ac_status=$?
   17348   grep -v '^ *+' conftest.er1 >conftest.err
   17349   rm -f conftest.er1
   17350   cat conftest.err >&5
   17351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17352   (exit $ac_status); } && {
   17353 	 test -z "$ac_c_werror_flag" ||
   17354 	 test ! -s conftest.err
   17355        } && test -s conftest$ac_exeext &&
   17356        $as_test_x conftest$ac_exeext; then
   17357 
   17358 lt_aix_libpath_sed='
   17359     /Import File Strings/,/^$/ {
   17360 	/^0/ {
   17361 	    s/^0  *\(.*\)$/\1/
   17362 	    p
   17363 	}
   17364     }'
   17365 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17366 # Check for a 64-bit object if we didn't find anything.
   17367 if test -z "$aix_libpath"; then
   17368   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17369 fi
   17370 else
   17371   echo "$as_me: failed program was:" >&5
   17372 sed 's/^/| /' conftest.$ac_ext >&5
   17373 
   17374 
   17375 fi
   17376 
   17377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17378       conftest$ac_exeext conftest.$ac_ext
   17379 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17380 
   17381 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17382 	  # Warning - without using the other run time loading flags,
   17383 	  # -berok will link without error, but may produce a broken library.
   17384 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17385 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17386 	  # Exported symbols can be pulled into shared objects from archives
   17387 	  whole_archive_flag_spec_GCJ='$convenience'
   17388 	  archive_cmds_need_lc_GCJ=yes
   17389 	  # This is similar to how AIX traditionally builds its shared libraries.
   17390 	  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'
   17391 	fi
   17392       fi
   17393       ;;
   17394 
   17395     amigaos*)
   17396       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)'
   17397       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17398       hardcode_minus_L_GCJ=yes
   17399       # see comment about different semantics on the GNU ld section
   17400       ld_shlibs_GCJ=no
   17401       ;;
   17402 
   17403     bsdi[45]*)
   17404       export_dynamic_flag_spec_GCJ=-rdynamic
   17405       ;;
   17406 
   17407     cygwin* | mingw* | pw32*)
   17408       # When not using gcc, we currently assume that we are using
   17409       # Microsoft Visual C++.
   17410       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17411       # no search path for DLLs.
   17412       hardcode_libdir_flag_spec_GCJ=' '
   17413       allow_undefined_flag_GCJ=unsupported
   17414       # Tell ltmain to make .lib files, not .a files.
   17415       libext=lib
   17416       # Tell ltmain to make .dll files, not .so files.
   17417       shrext_cmds=".dll"
   17418       # FIXME: Setting linknames here is a bad hack.
   17419       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17420       # The linker will automatically build a .lib file if we build a DLL.
   17421       old_archive_From_new_cmds_GCJ='true'
   17422       # FIXME: Should let the user specify the lib program.
   17423       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17424       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17425       enable_shared_with_static_runtimes_GCJ=yes
   17426       ;;
   17427 
   17428     darwin* | rhapsody*)
   17429       case $host_os in
   17430         rhapsody* | darwin1.[012])
   17431          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17432          ;;
   17433        *) # Darwin 1.3 on
   17434          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17435            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17436          else
   17437            case ${MACOSX_DEPLOYMENT_TARGET} in
   17438              10.[012])
   17439                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17440                ;;
   17441              10.*)
   17442                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17443                ;;
   17444            esac
   17445          fi
   17446          ;;
   17447       esac
   17448       archive_cmds_need_lc_GCJ=no
   17449       hardcode_direct_GCJ=no
   17450       hardcode_automatic_GCJ=yes
   17451       hardcode_shlibpath_var_GCJ=unsupported
   17452       whole_archive_flag_spec_GCJ=''
   17453       link_all_deplibs_GCJ=yes
   17454     if test "$GCC" = yes ; then
   17455     	output_verbose_link_cmd='echo'
   17456         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17457       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17458       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17459       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}'
   17460       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}'
   17461     else
   17462       case $cc_basename in
   17463         xlc*)
   17464          output_verbose_link_cmd='echo'
   17465          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17466          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17467           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17468          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}'
   17469           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}'
   17470           ;;
   17471        *)
   17472          ld_shlibs_GCJ=no
   17473           ;;
   17474       esac
   17475     fi
   17476       ;;
   17477 
   17478     dgux*)
   17479       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17480       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17481       hardcode_shlibpath_var_GCJ=no
   17482       ;;
   17483 
   17484     freebsd1*)
   17485       ld_shlibs_GCJ=no
   17486       ;;
   17487 
   17488     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17489     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17490     # does not break anything, and helps significantly (at the cost of a little
   17491     # extra space).
   17492     freebsd2.2*)
   17493       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17494       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17495       hardcode_direct_GCJ=yes
   17496       hardcode_shlibpath_var_GCJ=no
   17497       ;;
   17498 
   17499     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17500     freebsd2*)
   17501       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17502       hardcode_direct_GCJ=yes
   17503       hardcode_minus_L_GCJ=yes
   17504       hardcode_shlibpath_var_GCJ=no
   17505       ;;
   17506 
   17507     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17508     freebsd* | dragonfly*)
   17509       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17510       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17511       hardcode_direct_GCJ=yes
   17512       hardcode_shlibpath_var_GCJ=no
   17513       ;;
   17514 
   17515     hpux9*)
   17516       if test "$GCC" = yes; then
   17517 	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'
   17518       else
   17519 	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'
   17520       fi
   17521       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17522       hardcode_libdir_separator_GCJ=:
   17523       hardcode_direct_GCJ=yes
   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       export_dynamic_flag_spec_GCJ='${wl}-E'
   17529       ;;
   17530 
   17531     hpux10*)
   17532       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17533 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17534       else
   17535 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17536       fi
   17537       if test "$with_gnu_ld" = no; then
   17538 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17539 	hardcode_libdir_separator_GCJ=:
   17540 
   17541 	hardcode_direct_GCJ=yes
   17542 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17543 
   17544 	# hardcode_minus_L: Not really in the search PATH,
   17545 	# but as the default location of the library.
   17546 	hardcode_minus_L_GCJ=yes
   17547       fi
   17548       ;;
   17549 
   17550     hpux11*)
   17551       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17552 	case $host_cpu in
   17553 	hppa*64*)
   17554 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17555 	  ;;
   17556 	ia64*)
   17557 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17558 	  ;;
   17559 	*)
   17560 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17561 	  ;;
   17562 	esac
   17563       else
   17564 	case $host_cpu in
   17565 	hppa*64*)
   17566 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17567 	  ;;
   17568 	ia64*)
   17569 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17570 	  ;;
   17571 	*)
   17572 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17573 	  ;;
   17574 	esac
   17575       fi
   17576       if test "$with_gnu_ld" = no; then
   17577 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17578 	hardcode_libdir_separator_GCJ=:
   17579 
   17580 	case $host_cpu in
   17581 	hppa*64*|ia64*)
   17582 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17583 	  hardcode_direct_GCJ=no
   17584 	  hardcode_shlibpath_var_GCJ=no
   17585 	  ;;
   17586 	*)
   17587 	  hardcode_direct_GCJ=yes
   17588 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17589 
   17590 	  # hardcode_minus_L: Not really in the search PATH,
   17591 	  # but as the default location of the library.
   17592 	  hardcode_minus_L_GCJ=yes
   17593 	  ;;
   17594 	esac
   17595       fi
   17596       ;;
   17597 
   17598     irix5* | irix6* | nonstopux*)
   17599       if test "$GCC" = yes; then
   17600 	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'
   17601       else
   17602 	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'
   17603 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17604       fi
   17605       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17606       hardcode_libdir_separator_GCJ=:
   17607       link_all_deplibs_GCJ=yes
   17608       ;;
   17609 
   17610     netbsd*)
   17611       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17612 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17613       else
   17614 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17615       fi
   17616       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17617       hardcode_direct_GCJ=yes
   17618       hardcode_shlibpath_var_GCJ=no
   17619       ;;
   17620 
   17621     newsos6)
   17622       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17623       hardcode_direct_GCJ=yes
   17624       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17625       hardcode_libdir_separator_GCJ=:
   17626       hardcode_shlibpath_var_GCJ=no
   17627       ;;
   17628 
   17629     openbsd*)
   17630       if test -f /usr/libexec/ld.so; then
   17631 	hardcode_direct_GCJ=yes
   17632 	hardcode_shlibpath_var_GCJ=no
   17633 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17634 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17635 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17636 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17637 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17638 	else
   17639 	  case $host_os in
   17640 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17641 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17642 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17643 	     ;;
   17644 	   *)
   17645 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17646 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17647 	     ;;
   17648 	  esac
   17649         fi
   17650       else
   17651 	ld_shlibs_GCJ=no
   17652       fi
   17653       ;;
   17654 
   17655     os2*)
   17656       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17657       hardcode_minus_L_GCJ=yes
   17658       allow_undefined_flag_GCJ=unsupported
   17659       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'
   17660       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17661       ;;
   17662 
   17663     osf3*)
   17664       if test "$GCC" = yes; then
   17665 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17666 	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'
   17667       else
   17668 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17669 	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'
   17670       fi
   17671       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17672       hardcode_libdir_separator_GCJ=:
   17673       ;;
   17674 
   17675     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17676       if test "$GCC" = yes; then
   17677 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17678 	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'
   17679 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17680       else
   17681 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17682 	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'
   17683 	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~
   17684 	$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'
   17685 
   17686 	# Both c and cxx compiler support -rpath directly
   17687 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17688       fi
   17689       hardcode_libdir_separator_GCJ=:
   17690       ;;
   17691 
   17692     solaris*)
   17693       no_undefined_flag_GCJ=' -z text'
   17694       if test "$GCC" = yes; then
   17695 	wlarc='${wl}'
   17696 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17697 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17698 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17699       else
   17700 	wlarc=''
   17701 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17702 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17703   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17704       fi
   17705       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17706       hardcode_shlibpath_var_GCJ=no
   17707       case $host_os in
   17708       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17709       *)
   17710 	# The compiler driver will combine and reorder linker options,
   17711 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   17712 	# but is careful enough not to reorder.
   17713  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17714 	if test "$GCC" = yes; then
   17715 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   17716 	else
   17717 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   17718 	fi
   17719 	;;
   17720       esac
   17721       link_all_deplibs_GCJ=yes
   17722       ;;
   17723 
   17724     sunos4*)
   17725       if test "x$host_vendor" = xsequent; then
   17726 	# Use $CC to link under sequent, because it throws in some extra .o
   17727 	# files that make .init and .fini sections work.
   17728 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17729       else
   17730 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17731       fi
   17732       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17733       hardcode_direct_GCJ=yes
   17734       hardcode_minus_L_GCJ=yes
   17735       hardcode_shlibpath_var_GCJ=no
   17736       ;;
   17737 
   17738     sysv4)
   17739       case $host_vendor in
   17740 	sni)
   17741 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17742 	  hardcode_direct_GCJ=yes # is this really true???
   17743 	;;
   17744 	siemens)
   17745 	  ## LD is ld it makes a PLAMLIB
   17746 	  ## CC just makes a GrossModule.
   17747 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17748 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17749 	  hardcode_direct_GCJ=no
   17750         ;;
   17751 	motorola)
   17752 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17753 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17754 	;;
   17755       esac
   17756       runpath_var='LD_RUN_PATH'
   17757       hardcode_shlibpath_var_GCJ=no
   17758       ;;
   17759 
   17760     sysv4.3*)
   17761       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17762       hardcode_shlibpath_var_GCJ=no
   17763       export_dynamic_flag_spec_GCJ='-Bexport'
   17764       ;;
   17765 
   17766     sysv4*MP*)
   17767       if test -d /usr/nec; then
   17768 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17769 	hardcode_shlibpath_var_GCJ=no
   17770 	runpath_var=LD_RUN_PATH
   17771 	hardcode_runpath_var=yes
   17772 	ld_shlibs_GCJ=yes
   17773       fi
   17774       ;;
   17775 
   17776     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17777       no_undefined_flag_GCJ='${wl}-z,text'
   17778       archive_cmds_need_lc_GCJ=no
   17779       hardcode_shlibpath_var_GCJ=no
   17780       runpath_var='LD_RUN_PATH'
   17781 
   17782       if test "$GCC" = yes; then
   17783 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17784 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17785       else
   17786 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17787 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17788       fi
   17789       ;;
   17790 
   17791     sysv5* | sco3.2v5* | sco5v6*)
   17792       # Note: We can NOT use -z defs as we might desire, because we do not
   17793       # link with -lc, and that would cause any symbols used from libc to
   17794       # always be unresolved, which means just about no library would
   17795       # ever link correctly.  If we're not using GNU ld we use -z text
   17796       # though, which does catch some bad symbols but isn't as heavy-handed
   17797       # as -z defs.
   17798       no_undefined_flag_GCJ='${wl}-z,text'
   17799       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17800       archive_cmds_need_lc_GCJ=no
   17801       hardcode_shlibpath_var_GCJ=no
   17802       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17803       hardcode_libdir_separator_GCJ=':'
   17804       link_all_deplibs_GCJ=yes
   17805       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17806       runpath_var='LD_RUN_PATH'
   17807 
   17808       if test "$GCC" = yes; then
   17809 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17810 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17811       else
   17812 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17813 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17814       fi
   17815       ;;
   17816 
   17817     uts4*)
   17818       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17819       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17820       hardcode_shlibpath_var_GCJ=no
   17821       ;;
   17822 
   17823     *)
   17824       ld_shlibs_GCJ=no
   17825       ;;
   17826     esac
   17827   fi
   17828 
   17829 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17830 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17831 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17832 
   17833 #
   17834 # Do we need to explicitly link libc?
   17835 #
   17836 case "x$archive_cmds_need_lc_GCJ" in
   17837 x|xyes)
   17838   # Assume -lc should be added
   17839   archive_cmds_need_lc_GCJ=yes
   17840 
   17841   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17842     case $archive_cmds_GCJ in
   17843     *'~'*)
   17844       # FIXME: we may have to deal with multi-command sequences.
   17845       ;;
   17846     '$CC '*)
   17847       # Test whether the compiler implicitly links with -lc since on some
   17848       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17849       # to ld, don't add -lc before -lgcc.
   17850       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17851 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17852       $rm conftest*
   17853       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17854 
   17855       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17856   (eval $ac_compile) 2>&5
   17857   ac_status=$?
   17858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17859   (exit $ac_status); } 2>conftest.err; then
   17860         soname=conftest
   17861         lib=conftest
   17862         libobjs=conftest.$ac_objext
   17863         deplibs=
   17864         wl=$lt_prog_compiler_wl_GCJ
   17865 	pic_flag=$lt_prog_compiler_pic_GCJ
   17866         compiler_flags=-v
   17867         linker_flags=-v
   17868         verstring=
   17869         output_objdir=.
   17870         libname=conftest
   17871         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17872         allow_undefined_flag_GCJ=
   17873         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17874   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17875   ac_status=$?
   17876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17877   (exit $ac_status); }
   17878         then
   17879 	  archive_cmds_need_lc_GCJ=no
   17880         else
   17881 	  archive_cmds_need_lc_GCJ=yes
   17882         fi
   17883         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17884       else
   17885         cat conftest.err 1>&5
   17886       fi
   17887       $rm conftest*
   17888       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17889 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17890       ;;
   17891     esac
   17892   fi
   17893   ;;
   17894 esac
   17895 
   17896 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17897 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17898 library_names_spec=
   17899 libname_spec='lib$name'
   17900 soname_spec=
   17901 shrext_cmds=".so"
   17902 postinstall_cmds=
   17903 postuninstall_cmds=
   17904 finish_cmds=
   17905 finish_eval=
   17906 shlibpath_var=
   17907 shlibpath_overrides_runpath=unknown
   17908 version_type=none
   17909 dynamic_linker="$host_os ld.so"
   17910 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17911 
   17912 need_lib_prefix=unknown
   17913 hardcode_into_libs=no
   17914 
   17915 # when you set need_version to no, make sure it does not cause -set_version
   17916 # flags to be left without arguments
   17917 need_version=unknown
   17918 
   17919 case $host_os in
   17920 aix3*)
   17921   version_type=linux
   17922   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17923   shlibpath_var=LIBPATH
   17924 
   17925   # AIX 3 has no versioning support, so we append a major version to the name.
   17926   soname_spec='${libname}${release}${shared_ext}$major'
   17927   ;;
   17928 
   17929 aix4* | aix5*)
   17930   version_type=linux
   17931   need_lib_prefix=no
   17932   need_version=no
   17933   hardcode_into_libs=yes
   17934   if test "$host_cpu" = ia64; then
   17935     # AIX 5 supports IA64
   17936     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17937     shlibpath_var=LD_LIBRARY_PATH
   17938   else
   17939     # With GCC up to 2.95.x, collect2 would create an import file
   17940     # for dependence libraries.  The import file would start with
   17941     # the line `#! .'.  This would cause the generated library to
   17942     # depend on `.', always an invalid library.  This was fixed in
   17943     # development snapshots of GCC prior to 3.0.
   17944     case $host_os in
   17945       aix4 | aix4.[01] | aix4.[01].*)
   17946       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17947 	   echo ' yes '
   17948 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17949 	:
   17950       else
   17951 	can_build_shared=no
   17952       fi
   17953       ;;
   17954     esac
   17955     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17956     # soname into executable. Probably we can add versioning support to
   17957     # collect2, so additional links can be useful in future.
   17958     if test "$aix_use_runtimelinking" = yes; then
   17959       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17960       # instead of lib<name>.a to let people know that these are not
   17961       # typical AIX shared libraries.
   17962       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17963     else
   17964       # We preserve .a as extension for shared libraries through AIX4.2
   17965       # and later when we are not doing run time linking.
   17966       library_names_spec='${libname}${release}.a $libname.a'
   17967       soname_spec='${libname}${release}${shared_ext}$major'
   17968     fi
   17969     shlibpath_var=LIBPATH
   17970   fi
   17971   ;;
   17972 
   17973 amigaos*)
   17974   library_names_spec='$libname.ixlibrary $libname.a'
   17975   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17976   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'
   17977   ;;
   17978 
   17979 beos*)
   17980   library_names_spec='${libname}${shared_ext}'
   17981   dynamic_linker="$host_os ld.so"
   17982   shlibpath_var=LIBRARY_PATH
   17983   ;;
   17984 
   17985 bsdi[45]*)
   17986   version_type=linux
   17987   need_version=no
   17988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17989   soname_spec='${libname}${release}${shared_ext}$major'
   17990   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17991   shlibpath_var=LD_LIBRARY_PATH
   17992   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17993   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17994   # the default ld.so.conf also contains /usr/contrib/lib and
   17995   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17996   # libtool to hard-code these into programs
   17997   ;;
   17998 
   17999 cygwin* | mingw* | pw32*)
   18000   version_type=windows
   18001   shrext_cmds=".dll"
   18002   need_version=no
   18003   need_lib_prefix=no
   18004 
   18005   case $GCC,$host_os in
   18006   yes,cygwin* | yes,mingw* | yes,pw32*)
   18007     library_names_spec='$libname.dll.a'
   18008     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18009     postinstall_cmds='base_file=`basename \${file}`~
   18010       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18011       dldir=$destdir/`dirname \$dlpath`~
   18012       test -d \$dldir || mkdir -p \$dldir~
   18013       $install_prog $dir/$dlname \$dldir/$dlname~
   18014       chmod a+x \$dldir/$dlname'
   18015     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18016       dlpath=$dir/\$dldll~
   18017        $rm \$dlpath'
   18018     shlibpath_overrides_runpath=yes
   18019 
   18020     case $host_os in
   18021     cygwin*)
   18022       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18023       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18024       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18025       ;;
   18026     mingw*)
   18027       # MinGW DLLs use traditional 'lib' prefix
   18028       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18029       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18030       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18031         # It is most probably a Windows format PATH printed by
   18032         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18033         # path with ; separators, and with drive letters. We can handle the
   18034         # drive letters (cygwin fileutils understands them), so leave them,
   18035         # especially as we might pass files found there to a mingw objdump,
   18036         # which wouldn't understand a cygwinified path. Ahh.
   18037         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18038       else
   18039         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18040       fi
   18041       ;;
   18042     pw32*)
   18043       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18044       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18045       ;;
   18046     esac
   18047     ;;
   18048 
   18049   *)
   18050     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18051     ;;
   18052   esac
   18053   dynamic_linker='Win32 ld.exe'
   18054   # FIXME: first we should search . and the directory the executable is in
   18055   shlibpath_var=PATH
   18056   ;;
   18057 
   18058 darwin* | rhapsody*)
   18059   dynamic_linker="$host_os dyld"
   18060   version_type=darwin
   18061   need_lib_prefix=no
   18062   need_version=no
   18063   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18064   soname_spec='${libname}${release}${major}$shared_ext'
   18065   shlibpath_overrides_runpath=yes
   18066   shlibpath_var=DYLD_LIBRARY_PATH
   18067   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18068 
   18069   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18070   ;;
   18071 
   18072 dgux*)
   18073   version_type=linux
   18074   need_lib_prefix=no
   18075   need_version=no
   18076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18077   soname_spec='${libname}${release}${shared_ext}$major'
   18078   shlibpath_var=LD_LIBRARY_PATH
   18079   ;;
   18080 
   18081 freebsd1*)
   18082   dynamic_linker=no
   18083   ;;
   18084 
   18085 freebsd* | dragonfly*)
   18086   # DragonFly does not have aout.  When/if they implement a new
   18087   # versioning mechanism, adjust this.
   18088   if test -x /usr/bin/objformat; then
   18089     objformat=`/usr/bin/objformat`
   18090   else
   18091     case $host_os in
   18092     freebsd[123]*) objformat=aout ;;
   18093     *) objformat=elf ;;
   18094     esac
   18095   fi
   18096   version_type=freebsd-$objformat
   18097   case $version_type in
   18098     freebsd-elf*)
   18099       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18100       need_version=no
   18101       need_lib_prefix=no
   18102       ;;
   18103     freebsd-*)
   18104       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18105       need_version=yes
   18106       ;;
   18107   esac
   18108   shlibpath_var=LD_LIBRARY_PATH
   18109   case $host_os in
   18110   freebsd2*)
   18111     shlibpath_overrides_runpath=yes
   18112     ;;
   18113   freebsd3.[01]* | freebsdelf3.[01]*)
   18114     shlibpath_overrides_runpath=yes
   18115     hardcode_into_libs=yes
   18116     ;;
   18117   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18118   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18119     shlibpath_overrides_runpath=no
   18120     hardcode_into_libs=yes
   18121     ;;
   18122   *) # from 4.6 on, and DragonFly
   18123     shlibpath_overrides_runpath=yes
   18124     hardcode_into_libs=yes
   18125     ;;
   18126   esac
   18127   ;;
   18128 
   18129 gnu*)
   18130   version_type=linux
   18131   need_lib_prefix=no
   18132   need_version=no
   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   shlibpath_var=LD_LIBRARY_PATH
   18136   hardcode_into_libs=yes
   18137   ;;
   18138 
   18139 hpux9* | hpux10* | hpux11*)
   18140   # Give a soname corresponding to the major version so that dld.sl refuses to
   18141   # link against other versions.
   18142   version_type=sunos
   18143   need_lib_prefix=no
   18144   need_version=no
   18145   case $host_cpu in
   18146   ia64*)
   18147     shrext_cmds='.so'
   18148     hardcode_into_libs=yes
   18149     dynamic_linker="$host_os dld.so"
   18150     shlibpath_var=LD_LIBRARY_PATH
   18151     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18152     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18153     soname_spec='${libname}${release}${shared_ext}$major'
   18154     if test "X$HPUX_IA64_MODE" = X32; then
   18155       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18156     else
   18157       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18158     fi
   18159     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18160     ;;
   18161    hppa*64*)
   18162      shrext_cmds='.sl'
   18163      hardcode_into_libs=yes
   18164      dynamic_linker="$host_os dld.sl"
   18165      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18166      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18167      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18168      soname_spec='${libname}${release}${shared_ext}$major'
   18169      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18170      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18171      ;;
   18172    *)
   18173     shrext_cmds='.sl'
   18174     dynamic_linker="$host_os dld.sl"
   18175     shlibpath_var=SHLIB_PATH
   18176     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18177     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18178     soname_spec='${libname}${release}${shared_ext}$major'
   18179     ;;
   18180   esac
   18181   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18182   postinstall_cmds='chmod 555 $lib'
   18183   ;;
   18184 
   18185 interix[3-9]*)
   18186   version_type=linux
   18187   need_lib_prefix=no
   18188   need_version=no
   18189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18190   soname_spec='${libname}${release}${shared_ext}$major'
   18191   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18192   shlibpath_var=LD_LIBRARY_PATH
   18193   shlibpath_overrides_runpath=no
   18194   hardcode_into_libs=yes
   18195   ;;
   18196 
   18197 irix5* | irix6* | nonstopux*)
   18198   case $host_os in
   18199     nonstopux*) version_type=nonstopux ;;
   18200     *)
   18201 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18202 		version_type=linux
   18203 	else
   18204 		version_type=irix
   18205 	fi ;;
   18206   esac
   18207   need_lib_prefix=no
   18208   need_version=no
   18209   soname_spec='${libname}${release}${shared_ext}$major'
   18210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18211   case $host_os in
   18212   irix5* | nonstopux*)
   18213     libsuff= shlibsuff=
   18214     ;;
   18215   *)
   18216     case $LD in # libtool.m4 will add one of these switches to LD
   18217     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18218       libsuff= shlibsuff= libmagic=32-bit;;
   18219     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18220       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18221     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18222       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18223     *) libsuff= shlibsuff= libmagic=never-match;;
   18224     esac
   18225     ;;
   18226   esac
   18227   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18228   shlibpath_overrides_runpath=no
   18229   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18230   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18231   hardcode_into_libs=yes
   18232   ;;
   18233 
   18234 # No shared lib support for Linux oldld, aout, or coff.
   18235 linux*oldld* | linux*aout* | linux*coff*)
   18236   dynamic_linker=no
   18237   ;;
   18238 
   18239 # This must be Linux ELF.
   18240 linux* | k*bsd*-gnu)
   18241   version_type=linux
   18242   need_lib_prefix=no
   18243   need_version=no
   18244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18245   soname_spec='${libname}${release}${shared_ext}$major'
   18246   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18247   shlibpath_var=LD_LIBRARY_PATH
   18248   shlibpath_overrides_runpath=no
   18249   # This implies no fast_install, which is unacceptable.
   18250   # Some rework will be needed to allow for fast_install
   18251   # before this can be enabled.
   18252   hardcode_into_libs=yes
   18253 
   18254   # Append ld.so.conf contents to the search path
   18255   if test -f /etc/ld.so.conf; then
   18256     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' ' '`
   18257     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18258   fi
   18259 
   18260   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18261   # powerpc, because MkLinux only supported shared libraries with the
   18262   # GNU dynamic linker.  Since this was broken with cross compilers,
   18263   # most powerpc-linux boxes support dynamic linking these days and
   18264   # people can always --disable-shared, the test was removed, and we
   18265   # assume the GNU/Linux dynamic linker is in use.
   18266   dynamic_linker='GNU/Linux ld.so'
   18267   ;;
   18268 
   18269 netbsd*)
   18270   version_type=sunos
   18271   need_lib_prefix=no
   18272   need_version=no
   18273   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18274     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18275     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18276     dynamic_linker='NetBSD (a.out) ld.so'
   18277   else
   18278     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18279     soname_spec='${libname}${release}${shared_ext}$major'
   18280     dynamic_linker='NetBSD ld.elf_so'
   18281   fi
   18282   shlibpath_var=LD_LIBRARY_PATH
   18283   shlibpath_overrides_runpath=yes
   18284   hardcode_into_libs=yes
   18285   ;;
   18286 
   18287 newsos6)
   18288   version_type=linux
   18289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18290   shlibpath_var=LD_LIBRARY_PATH
   18291   shlibpath_overrides_runpath=yes
   18292   ;;
   18293 
   18294 nto-qnx*)
   18295   version_type=linux
   18296   need_lib_prefix=no
   18297   need_version=no
   18298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18299   soname_spec='${libname}${release}${shared_ext}$major'
   18300   shlibpath_var=LD_LIBRARY_PATH
   18301   shlibpath_overrides_runpath=yes
   18302   ;;
   18303 
   18304 openbsd*)
   18305   version_type=sunos
   18306   sys_lib_dlsearch_path_spec="/usr/lib"
   18307   need_lib_prefix=no
   18308   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18309   case $host_os in
   18310     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18311     *)                         need_version=no  ;;
   18312   esac
   18313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18314   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18315   shlibpath_var=LD_LIBRARY_PATH
   18316   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18317     case $host_os in
   18318       openbsd2.[89] | openbsd2.[89].*)
   18319 	shlibpath_overrides_runpath=no
   18320 	;;
   18321       *)
   18322 	shlibpath_overrides_runpath=yes
   18323 	;;
   18324       esac
   18325   else
   18326     shlibpath_overrides_runpath=yes
   18327   fi
   18328   ;;
   18329 
   18330 os2*)
   18331   libname_spec='$name'
   18332   shrext_cmds=".dll"
   18333   need_lib_prefix=no
   18334   library_names_spec='$libname${shared_ext} $libname.a'
   18335   dynamic_linker='OS/2 ld.exe'
   18336   shlibpath_var=LIBPATH
   18337   ;;
   18338 
   18339 osf3* | osf4* | osf5*)
   18340   version_type=osf
   18341   need_lib_prefix=no
   18342   need_version=no
   18343   soname_spec='${libname}${release}${shared_ext}$major'
   18344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18345   shlibpath_var=LD_LIBRARY_PATH
   18346   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18347   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18348   ;;
   18349 
   18350 rdos*)
   18351   dynamic_linker=no
   18352   ;;
   18353 
   18354 solaris*)
   18355   version_type=linux
   18356   need_lib_prefix=no
   18357   need_version=no
   18358   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18359   soname_spec='${libname}${release}${shared_ext}$major'
   18360   shlibpath_var=LD_LIBRARY_PATH
   18361   shlibpath_overrides_runpath=yes
   18362   hardcode_into_libs=yes
   18363   # ldd complains unless libraries are executable
   18364   postinstall_cmds='chmod +x $lib'
   18365   ;;
   18366 
   18367 sunos4*)
   18368   version_type=sunos
   18369   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18370   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18371   shlibpath_var=LD_LIBRARY_PATH
   18372   shlibpath_overrides_runpath=yes
   18373   if test "$with_gnu_ld" = yes; then
   18374     need_lib_prefix=no
   18375   fi
   18376   need_version=yes
   18377   ;;
   18378 
   18379 sysv4 | sysv4.3*)
   18380   version_type=linux
   18381   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18382   soname_spec='${libname}${release}${shared_ext}$major'
   18383   shlibpath_var=LD_LIBRARY_PATH
   18384   case $host_vendor in
   18385     sni)
   18386       shlibpath_overrides_runpath=no
   18387       need_lib_prefix=no
   18388       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18389       runpath_var=LD_RUN_PATH
   18390       ;;
   18391     siemens)
   18392       need_lib_prefix=no
   18393       ;;
   18394     motorola)
   18395       need_lib_prefix=no
   18396       need_version=no
   18397       shlibpath_overrides_runpath=no
   18398       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18399       ;;
   18400   esac
   18401   ;;
   18402 
   18403 sysv4*MP*)
   18404   if test -d /usr/nec ;then
   18405     version_type=linux
   18406     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18407     soname_spec='$libname${shared_ext}.$major'
   18408     shlibpath_var=LD_LIBRARY_PATH
   18409   fi
   18410   ;;
   18411 
   18412 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18413   version_type=freebsd-elf
   18414   need_lib_prefix=no
   18415   need_version=no
   18416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18417   soname_spec='${libname}${release}${shared_ext}$major'
   18418   shlibpath_var=LD_LIBRARY_PATH
   18419   hardcode_into_libs=yes
   18420   if test "$with_gnu_ld" = yes; then
   18421     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18422     shlibpath_overrides_runpath=no
   18423   else
   18424     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18425     shlibpath_overrides_runpath=yes
   18426     case $host_os in
   18427       sco3.2v5*)
   18428         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18429 	;;
   18430     esac
   18431   fi
   18432   sys_lib_dlsearch_path_spec='/usr/lib'
   18433   ;;
   18434 
   18435 uts4*)
   18436   version_type=linux
   18437   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18438   soname_spec='${libname}${release}${shared_ext}$major'
   18439   shlibpath_var=LD_LIBRARY_PATH
   18440   ;;
   18441 
   18442 *)
   18443   dynamic_linker=no
   18444   ;;
   18445 esac
   18446 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18447 echo "${ECHO_T}$dynamic_linker" >&6; }
   18448 test "$dynamic_linker" = no && can_build_shared=no
   18449 
   18450 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18451 if test "$GCC" = yes; then
   18452   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18453 fi
   18454 
   18455 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18456 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18457 hardcode_action_GCJ=
   18458 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18459    test -n "$runpath_var_GCJ" || \
   18460    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18461 
   18462   # We can hardcode non-existant directories.
   18463   if test "$hardcode_direct_GCJ" != no &&
   18464      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18465      # have to relink, otherwise we might link with an installed library
   18466      # when we should be linking with a yet-to-be-installed one
   18467      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18468      test "$hardcode_minus_L_GCJ" != no; then
   18469     # Linking always hardcodes the temporary library directory.
   18470     hardcode_action_GCJ=relink
   18471   else
   18472     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18473     hardcode_action_GCJ=immediate
   18474   fi
   18475 else
   18476   # We cannot hardcode anything, or else we can only hardcode existing
   18477   # directories.
   18478   hardcode_action_GCJ=unsupported
   18479 fi
   18480 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18481 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18482 
   18483 if test "$hardcode_action_GCJ" = relink; then
   18484   # Fast installation is not supported
   18485   enable_fast_install=no
   18486 elif test "$shlibpath_overrides_runpath" = yes ||
   18487      test "$enable_shared" = no; then
   18488   # Fast installation is not necessary
   18489   enable_fast_install=needless
   18490 fi
   18491 
   18492 
   18493 # The else clause should only fire when bootstrapping the
   18494 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18495 # with your package, and you will get complaints that there are
   18496 # no rules to generate ltmain.sh.
   18497 if test -f "$ltmain"; then
   18498   # See if we are running on zsh, and set the options which allow our commands through
   18499   # without removal of \ escapes.
   18500   if test -n "${ZSH_VERSION+set}" ; then
   18501     setopt NO_GLOB_SUBST
   18502   fi
   18503   # Now quote all the things that may contain metacharacters while being
   18504   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18505   # variables and quote the copies for generation of the libtool script.
   18506   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18507     SED SHELL STRIP \
   18508     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18509     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18510     deplibs_check_method reload_flag reload_cmds need_locks \
   18511     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18512     lt_cv_sys_global_symbol_to_c_name_address \
   18513     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18514     old_postinstall_cmds old_postuninstall_cmds \
   18515     compiler_GCJ \
   18516     CC_GCJ \
   18517     LD_GCJ \
   18518     lt_prog_compiler_wl_GCJ \
   18519     lt_prog_compiler_pic_GCJ \
   18520     lt_prog_compiler_static_GCJ \
   18521     lt_prog_compiler_no_builtin_flag_GCJ \
   18522     export_dynamic_flag_spec_GCJ \
   18523     thread_safe_flag_spec_GCJ \
   18524     whole_archive_flag_spec_GCJ \
   18525     enable_shared_with_static_runtimes_GCJ \
   18526     old_archive_cmds_GCJ \
   18527     old_archive_from_new_cmds_GCJ \
   18528     predep_objects_GCJ \
   18529     postdep_objects_GCJ \
   18530     predeps_GCJ \
   18531     postdeps_GCJ \
   18532     compiler_lib_search_path_GCJ \
   18533     archive_cmds_GCJ \
   18534     archive_expsym_cmds_GCJ \
   18535     postinstall_cmds_GCJ \
   18536     postuninstall_cmds_GCJ \
   18537     old_archive_from_expsyms_cmds_GCJ \
   18538     allow_undefined_flag_GCJ \
   18539     no_undefined_flag_GCJ \
   18540     export_symbols_cmds_GCJ \
   18541     hardcode_libdir_flag_spec_GCJ \
   18542     hardcode_libdir_flag_spec_ld_GCJ \
   18543     hardcode_libdir_separator_GCJ \
   18544     hardcode_automatic_GCJ \
   18545     module_cmds_GCJ \
   18546     module_expsym_cmds_GCJ \
   18547     lt_cv_prog_compiler_c_o_GCJ \
   18548     fix_srcfile_path_GCJ \
   18549     exclude_expsyms_GCJ \
   18550     include_expsyms_GCJ; do
   18551 
   18552     case $var in
   18553     old_archive_cmds_GCJ | \
   18554     old_archive_from_new_cmds_GCJ | \
   18555     archive_cmds_GCJ | \
   18556     archive_expsym_cmds_GCJ | \
   18557     module_cmds_GCJ | \
   18558     module_expsym_cmds_GCJ | \
   18559     old_archive_from_expsyms_cmds_GCJ | \
   18560     export_symbols_cmds_GCJ | \
   18561     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18562     postinstall_cmds | postuninstall_cmds | \
   18563     old_postinstall_cmds | old_postuninstall_cmds | \
   18564     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18565       # Double-quote double-evaled strings.
   18566       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18567       ;;
   18568     *)
   18569       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18570       ;;
   18571     esac
   18572   done
   18573 
   18574   case $lt_echo in
   18575   *'\$0 --fallback-echo"')
   18576     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18577     ;;
   18578   esac
   18579 
   18580 cfgfile="$ofile"
   18581 
   18582   cat <<__EOF__ >> "$cfgfile"
   18583 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18584 
   18585 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18586 
   18587 # Shell to use when invoking shell scripts.
   18588 SHELL=$lt_SHELL
   18589 
   18590 # Whether or not to build shared libraries.
   18591 build_libtool_libs=$enable_shared
   18592 
   18593 # Whether or not to build static libraries.
   18594 build_old_libs=$enable_static
   18595 
   18596 # Whether or not to add -lc for building shared libraries.
   18597 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18598 
   18599 # Whether or not to disallow shared libs when runtime libs are static
   18600 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18601 
   18602 # Whether or not to optimize for fast installation.
   18603 fast_install=$enable_fast_install
   18604 
   18605 # The host system.
   18606 host_alias=$host_alias
   18607 host=$host
   18608 host_os=$host_os
   18609 
   18610 # The build system.
   18611 build_alias=$build_alias
   18612 build=$build
   18613 build_os=$build_os
   18614 
   18615 # An echo program that does not interpret backslashes.
   18616 echo=$lt_echo
   18617 
   18618 # The archiver.
   18619 AR=$lt_AR
   18620 AR_FLAGS=$lt_AR_FLAGS
   18621 
   18622 # A C compiler.
   18623 LTCC=$lt_LTCC
   18624 
   18625 # LTCC compiler flags.
   18626 LTCFLAGS=$lt_LTCFLAGS
   18627 
   18628 # A language-specific compiler.
   18629 CC=$lt_compiler_GCJ
   18630 
   18631 # Is the compiler the GNU C compiler?
   18632 with_gcc=$GCC_GCJ
   18633 
   18634 # An ERE matcher.
   18635 EGREP=$lt_EGREP
   18636 
   18637 # The linker used to build libraries.
   18638 LD=$lt_LD_GCJ
   18639 
   18640 # Whether we need hard or soft links.
   18641 LN_S=$lt_LN_S
   18642 
   18643 # A BSD-compatible nm program.
   18644 NM=$lt_NM
   18645 
   18646 # A symbol stripping program
   18647 STRIP=$lt_STRIP
   18648 
   18649 # Used to examine libraries when file_magic_cmd begins "file"
   18650 MAGIC_CMD=$MAGIC_CMD
   18651 
   18652 # Used on cygwin: DLL creation program.
   18653 DLLTOOL="$DLLTOOL"
   18654 
   18655 # Used on cygwin: object dumper.
   18656 OBJDUMP="$OBJDUMP"
   18657 
   18658 # Used on cygwin: assembler.
   18659 AS="$AS"
   18660 
   18661 # The name of the directory that contains temporary libtool files.
   18662 objdir=$objdir
   18663 
   18664 # How to create reloadable object files.
   18665 reload_flag=$lt_reload_flag
   18666 reload_cmds=$lt_reload_cmds
   18667 
   18668 # How to pass a linker flag through the compiler.
   18669 wl=$lt_lt_prog_compiler_wl_GCJ
   18670 
   18671 # Object file suffix (normally "o").
   18672 objext="$ac_objext"
   18673 
   18674 # Old archive suffix (normally "a").
   18675 libext="$libext"
   18676 
   18677 # Shared library suffix (normally ".so").
   18678 shrext_cmds='$shrext_cmds'
   18679 
   18680 # Executable file suffix (normally "").
   18681 exeext="$exeext"
   18682 
   18683 # Additional compiler flags for building library objects.
   18684 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18685 pic_mode=$pic_mode
   18686 
   18687 # What is the maximum length of a command?
   18688 max_cmd_len=$lt_cv_sys_max_cmd_len
   18689 
   18690 # Does compiler simultaneously support -c and -o options?
   18691 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18692 
   18693 # Must we lock files when doing compilation?
   18694 need_locks=$lt_need_locks
   18695 
   18696 # Do we need the lib prefix for modules?
   18697 need_lib_prefix=$need_lib_prefix
   18698 
   18699 # Do we need a version for libraries?
   18700 need_version=$need_version
   18701 
   18702 # Whether dlopen is supported.
   18703 dlopen_support=$enable_dlopen
   18704 
   18705 # Whether dlopen of programs is supported.
   18706 dlopen_self=$enable_dlopen_self
   18707 
   18708 # Whether dlopen of statically linked programs is supported.
   18709 dlopen_self_static=$enable_dlopen_self_static
   18710 
   18711 # Compiler flag to prevent dynamic linking.
   18712 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18713 
   18714 # Compiler flag to turn off builtin functions.
   18715 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18716 
   18717 # Compiler flag to allow reflexive dlopens.
   18718 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18719 
   18720 # Compiler flag to generate shared objects directly from archives.
   18721 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18722 
   18723 # Compiler flag to generate thread-safe objects.
   18724 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18725 
   18726 # Library versioning type.
   18727 version_type=$version_type
   18728 
   18729 # Format of library name prefix.
   18730 libname_spec=$lt_libname_spec
   18731 
   18732 # List of archive names.  First name is the real one, the rest are links.
   18733 # The last name is the one that the linker finds with -lNAME.
   18734 library_names_spec=$lt_library_names_spec
   18735 
   18736 # The coded name of the library, if different from the real name.
   18737 soname_spec=$lt_soname_spec
   18738 
   18739 # Commands used to build and install an old-style archive.
   18740 RANLIB=$lt_RANLIB
   18741 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18742 old_postinstall_cmds=$lt_old_postinstall_cmds
   18743 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18744 
   18745 # Create an old-style archive from a shared archive.
   18746 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18747 
   18748 # Create a temporary old-style archive to link instead of a shared archive.
   18749 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18750 
   18751 # Commands used to build and install a shared archive.
   18752 archive_cmds=$lt_archive_cmds_GCJ
   18753 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18754 postinstall_cmds=$lt_postinstall_cmds
   18755 postuninstall_cmds=$lt_postuninstall_cmds
   18756 
   18757 # Commands used to build a loadable module (assumed same as above if empty)
   18758 module_cmds=$lt_module_cmds_GCJ
   18759 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18760 
   18761 # Commands to strip libraries.
   18762 old_striplib=$lt_old_striplib
   18763 striplib=$lt_striplib
   18764 
   18765 # Dependencies to place before the objects being linked to create a
   18766 # shared library.
   18767 predep_objects=$lt_predep_objects_GCJ
   18768 
   18769 # Dependencies to place after the objects being linked to create a
   18770 # shared library.
   18771 postdep_objects=$lt_postdep_objects_GCJ
   18772 
   18773 # Dependencies to place before the objects being linked to create a
   18774 # shared library.
   18775 predeps=$lt_predeps_GCJ
   18776 
   18777 # Dependencies to place after the objects being linked to create a
   18778 # shared library.
   18779 postdeps=$lt_postdeps_GCJ
   18780 
   18781 # The library search path used internally by the compiler when linking
   18782 # a shared library.
   18783 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18784 
   18785 # Method to check whether dependent libraries are shared objects.
   18786 deplibs_check_method=$lt_deplibs_check_method
   18787 
   18788 # Command to use when deplibs_check_method == file_magic.
   18789 file_magic_cmd=$lt_file_magic_cmd
   18790 
   18791 # Flag that allows shared libraries with undefined symbols to be built.
   18792 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18793 
   18794 # Flag that forces no undefined symbols.
   18795 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18796 
   18797 # Commands used to finish a libtool library installation in a directory.
   18798 finish_cmds=$lt_finish_cmds
   18799 
   18800 # Same as above, but a single script fragment to be evaled but not shown.
   18801 finish_eval=$lt_finish_eval
   18802 
   18803 # Take the output of nm and produce a listing of raw symbols and C names.
   18804 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18805 
   18806 # Transform the output of nm in a proper C declaration
   18807 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18808 
   18809 # Transform the output of nm in a C name address pair
   18810 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18811 
   18812 # This is the shared library runtime path variable.
   18813 runpath_var=$runpath_var
   18814 
   18815 # This is the shared library path variable.
   18816 shlibpath_var=$shlibpath_var
   18817 
   18818 # Is shlibpath searched before the hard-coded library search path?
   18819 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18820 
   18821 # How to hardcode a shared library path into an executable.
   18822 hardcode_action=$hardcode_action_GCJ
   18823 
   18824 # Whether we should hardcode library paths into libraries.
   18825 hardcode_into_libs=$hardcode_into_libs
   18826 
   18827 # Flag to hardcode \$libdir into a binary during linking.
   18828 # This must work even if \$libdir does not exist.
   18829 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18830 
   18831 # If ld is used when linking, flag to hardcode \$libdir into
   18832 # a binary during linking. This must work even if \$libdir does
   18833 # not exist.
   18834 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18835 
   18836 # Whether we need a single -rpath flag with a separated argument.
   18837 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18838 
   18839 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18840 # resulting binary.
   18841 hardcode_direct=$hardcode_direct_GCJ
   18842 
   18843 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18844 # resulting binary.
   18845 hardcode_minus_L=$hardcode_minus_L_GCJ
   18846 
   18847 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18848 # the resulting binary.
   18849 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18850 
   18851 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18852 # and all subsequent libraries and executables linked against it.
   18853 hardcode_automatic=$hardcode_automatic_GCJ
   18854 
   18855 # Variables whose values should be saved in libtool wrapper scripts and
   18856 # restored at relink time.
   18857 variables_saved_for_relink="$variables_saved_for_relink"
   18858 
   18859 # Whether libtool must link a program against all its dependency libraries.
   18860 link_all_deplibs=$link_all_deplibs_GCJ
   18861 
   18862 # Compile-time system search path for libraries
   18863 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18864 
   18865 # Run-time system search path for libraries
   18866 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18867 
   18868 # Fix the shell variable \$srcfile for the compiler.
   18869 fix_srcfile_path=$lt_fix_srcfile_path
   18870 
   18871 # Set to yes if exported symbols are required.
   18872 always_export_symbols=$always_export_symbols_GCJ
   18873 
   18874 # The commands to list exported symbols.
   18875 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18876 
   18877 # The commands to extract the exported symbol list from a shared archive.
   18878 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18879 
   18880 # Symbols that should not be listed in the preloaded symbols.
   18881 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18882 
   18883 # Symbols that must always be exported.
   18884 include_expsyms=$lt_include_expsyms_GCJ
   18885 
   18886 # ### END LIBTOOL TAG CONFIG: $tagname
   18887 
   18888 __EOF__
   18889 
   18890 
   18891 else
   18892   # If there is no Makefile yet, we rely on a make rule to execute
   18893   # `config.status --recheck' to rerun these tests and create the
   18894   # libtool script then.
   18895   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18896   if test -f "$ltmain_in"; then
   18897     test -f Makefile && make "$ltmain"
   18898   fi
   18899 fi
   18900 
   18901 
   18902 ac_ext=c
   18903 ac_cpp='$CPP $CPPFLAGS'
   18904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18907 
   18908 CC="$lt_save_CC"
   18909 
   18910 	else
   18911 	  tagname=""
   18912 	fi
   18913 	;;
   18914 
   18915       RC)
   18916 
   18917 
   18918 # Source file extension for RC test sources.
   18919 ac_ext=rc
   18920 
   18921 # Object file extension for compiled RC test sources.
   18922 objext=o
   18923 objext_RC=$objext
   18924 
   18925 # Code to be used in simple compile tests
   18926 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   18927 
   18928 # Code to be used in simple link tests
   18929 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18930 
   18931 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18932 
   18933 # If no C compiler was specified, use CC.
   18934 LTCC=${LTCC-"$CC"}
   18935 
   18936 # If no C compiler flags were specified, use CFLAGS.
   18937 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18938 
   18939 # Allow CC to be a program name with arguments.
   18940 compiler=$CC
   18941 
   18942 
   18943 # save warnings/boilerplate of simple test code
   18944 ac_outfile=conftest.$ac_objext
   18945 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   18946 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18947 _lt_compiler_boilerplate=`cat conftest.err`
   18948 $rm conftest*
   18949 
   18950 ac_outfile=conftest.$ac_objext
   18951 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   18952 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18953 _lt_linker_boilerplate=`cat conftest.err`
   18954 $rm conftest*
   18955 
   18956 
   18957 # Allow CC to be a program name with arguments.
   18958 lt_save_CC="$CC"
   18959 CC=${RC-"windres"}
   18960 compiler=$CC
   18961 compiler_RC=$CC
   18962 for cc_temp in $compiler""; do
   18963   case $cc_temp in
   18964     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18965     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18966     \-*) ;;
   18967     *) break;;
   18968   esac
   18969 done
   18970 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18971 
   18972 lt_cv_prog_compiler_c_o_RC=yes
   18973 
   18974 # The else clause should only fire when bootstrapping the
   18975 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18976 # with your package, and you will get complaints that there are
   18977 # no rules to generate ltmain.sh.
   18978 if test -f "$ltmain"; then
   18979   # See if we are running on zsh, and set the options which allow our commands through
   18980   # without removal of \ escapes.
   18981   if test -n "${ZSH_VERSION+set}" ; then
   18982     setopt NO_GLOB_SUBST
   18983   fi
   18984   # Now quote all the things that may contain metacharacters while being
   18985   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18986   # variables and quote the copies for generation of the libtool script.
   18987   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18988     SED SHELL STRIP \
   18989     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18990     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18991     deplibs_check_method reload_flag reload_cmds need_locks \
   18992     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18993     lt_cv_sys_global_symbol_to_c_name_address \
   18994     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18995     old_postinstall_cmds old_postuninstall_cmds \
   18996     compiler_RC \
   18997     CC_RC \
   18998     LD_RC \
   18999     lt_prog_compiler_wl_RC \
   19000     lt_prog_compiler_pic_RC \
   19001     lt_prog_compiler_static_RC \
   19002     lt_prog_compiler_no_builtin_flag_RC \
   19003     export_dynamic_flag_spec_RC \
   19004     thread_safe_flag_spec_RC \
   19005     whole_archive_flag_spec_RC \
   19006     enable_shared_with_static_runtimes_RC \
   19007     old_archive_cmds_RC \
   19008     old_archive_from_new_cmds_RC \
   19009     predep_objects_RC \
   19010     postdep_objects_RC \
   19011     predeps_RC \
   19012     postdeps_RC \
   19013     compiler_lib_search_path_RC \
   19014     archive_cmds_RC \
   19015     archive_expsym_cmds_RC \
   19016     postinstall_cmds_RC \
   19017     postuninstall_cmds_RC \
   19018     old_archive_from_expsyms_cmds_RC \
   19019     allow_undefined_flag_RC \
   19020     no_undefined_flag_RC \
   19021     export_symbols_cmds_RC \
   19022     hardcode_libdir_flag_spec_RC \
   19023     hardcode_libdir_flag_spec_ld_RC \
   19024     hardcode_libdir_separator_RC \
   19025     hardcode_automatic_RC \
   19026     module_cmds_RC \
   19027     module_expsym_cmds_RC \
   19028     lt_cv_prog_compiler_c_o_RC \
   19029     fix_srcfile_path_RC \
   19030     exclude_expsyms_RC \
   19031     include_expsyms_RC; do
   19032 
   19033     case $var in
   19034     old_archive_cmds_RC | \
   19035     old_archive_from_new_cmds_RC | \
   19036     archive_cmds_RC | \
   19037     archive_expsym_cmds_RC | \
   19038     module_cmds_RC | \
   19039     module_expsym_cmds_RC | \
   19040     old_archive_from_expsyms_cmds_RC | \
   19041     export_symbols_cmds_RC | \
   19042     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19043     postinstall_cmds | postuninstall_cmds | \
   19044     old_postinstall_cmds | old_postuninstall_cmds | \
   19045     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19046       # Double-quote double-evaled strings.
   19047       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19048       ;;
   19049     *)
   19050       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19051       ;;
   19052     esac
   19053   done
   19054 
   19055   case $lt_echo in
   19056   *'\$0 --fallback-echo"')
   19057     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19058     ;;
   19059   esac
   19060 
   19061 cfgfile="$ofile"
   19062 
   19063   cat <<__EOF__ >> "$cfgfile"
   19064 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19065 
   19066 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19067 
   19068 # Shell to use when invoking shell scripts.
   19069 SHELL=$lt_SHELL
   19070 
   19071 # Whether or not to build shared libraries.
   19072 build_libtool_libs=$enable_shared
   19073 
   19074 # Whether or not to build static libraries.
   19075 build_old_libs=$enable_static
   19076 
   19077 # Whether or not to add -lc for building shared libraries.
   19078 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19079 
   19080 # Whether or not to disallow shared libs when runtime libs are static
   19081 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19082 
   19083 # Whether or not to optimize for fast installation.
   19084 fast_install=$enable_fast_install
   19085 
   19086 # The host system.
   19087 host_alias=$host_alias
   19088 host=$host
   19089 host_os=$host_os
   19090 
   19091 # The build system.
   19092 build_alias=$build_alias
   19093 build=$build
   19094 build_os=$build_os
   19095 
   19096 # An echo program that does not interpret backslashes.
   19097 echo=$lt_echo
   19098 
   19099 # The archiver.
   19100 AR=$lt_AR
   19101 AR_FLAGS=$lt_AR_FLAGS
   19102 
   19103 # A C compiler.
   19104 LTCC=$lt_LTCC
   19105 
   19106 # LTCC compiler flags.
   19107 LTCFLAGS=$lt_LTCFLAGS
   19108 
   19109 # A language-specific compiler.
   19110 CC=$lt_compiler_RC
   19111 
   19112 # Is the compiler the GNU C compiler?
   19113 with_gcc=$GCC_RC
   19114 
   19115 # An ERE matcher.
   19116 EGREP=$lt_EGREP
   19117 
   19118 # The linker used to build libraries.
   19119 LD=$lt_LD_RC
   19120 
   19121 # Whether we need hard or soft links.
   19122 LN_S=$lt_LN_S
   19123 
   19124 # A BSD-compatible nm program.
   19125 NM=$lt_NM
   19126 
   19127 # A symbol stripping program
   19128 STRIP=$lt_STRIP
   19129 
   19130 # Used to examine libraries when file_magic_cmd begins "file"
   19131 MAGIC_CMD=$MAGIC_CMD
   19132 
   19133 # Used on cygwin: DLL creation program.
   19134 DLLTOOL="$DLLTOOL"
   19135 
   19136 # Used on cygwin: object dumper.
   19137 OBJDUMP="$OBJDUMP"
   19138 
   19139 # Used on cygwin: assembler.
   19140 AS="$AS"
   19141 
   19142 # The name of the directory that contains temporary libtool files.
   19143 objdir=$objdir
   19144 
   19145 # How to create reloadable object files.
   19146 reload_flag=$lt_reload_flag
   19147 reload_cmds=$lt_reload_cmds
   19148 
   19149 # How to pass a linker flag through the compiler.
   19150 wl=$lt_lt_prog_compiler_wl_RC
   19151 
   19152 # Object file suffix (normally "o").
   19153 objext="$ac_objext"
   19154 
   19155 # Old archive suffix (normally "a").
   19156 libext="$libext"
   19157 
   19158 # Shared library suffix (normally ".so").
   19159 shrext_cmds='$shrext_cmds'
   19160 
   19161 # Executable file suffix (normally "").
   19162 exeext="$exeext"
   19163 
   19164 # Additional compiler flags for building library objects.
   19165 pic_flag=$lt_lt_prog_compiler_pic_RC
   19166 pic_mode=$pic_mode
   19167 
   19168 # What is the maximum length of a command?
   19169 max_cmd_len=$lt_cv_sys_max_cmd_len
   19170 
   19171 # Does compiler simultaneously support -c and -o options?
   19172 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19173 
   19174 # Must we lock files when doing compilation?
   19175 need_locks=$lt_need_locks
   19176 
   19177 # Do we need the lib prefix for modules?
   19178 need_lib_prefix=$need_lib_prefix
   19179 
   19180 # Do we need a version for libraries?
   19181 need_version=$need_version
   19182 
   19183 # Whether dlopen is supported.
   19184 dlopen_support=$enable_dlopen
   19185 
   19186 # Whether dlopen of programs is supported.
   19187 dlopen_self=$enable_dlopen_self
   19188 
   19189 # Whether dlopen of statically linked programs is supported.
   19190 dlopen_self_static=$enable_dlopen_self_static
   19191 
   19192 # Compiler flag to prevent dynamic linking.
   19193 link_static_flag=$lt_lt_prog_compiler_static_RC
   19194 
   19195 # Compiler flag to turn off builtin functions.
   19196 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19197 
   19198 # Compiler flag to allow reflexive dlopens.
   19199 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19200 
   19201 # Compiler flag to generate shared objects directly from archives.
   19202 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19203 
   19204 # Compiler flag to generate thread-safe objects.
   19205 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19206 
   19207 # Library versioning type.
   19208 version_type=$version_type
   19209 
   19210 # Format of library name prefix.
   19211 libname_spec=$lt_libname_spec
   19212 
   19213 # List of archive names.  First name is the real one, the rest are links.
   19214 # The last name is the one that the linker finds with -lNAME.
   19215 library_names_spec=$lt_library_names_spec
   19216 
   19217 # The coded name of the library, if different from the real name.
   19218 soname_spec=$lt_soname_spec
   19219 
   19220 # Commands used to build and install an old-style archive.
   19221 RANLIB=$lt_RANLIB
   19222 old_archive_cmds=$lt_old_archive_cmds_RC
   19223 old_postinstall_cmds=$lt_old_postinstall_cmds
   19224 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19225 
   19226 # Create an old-style archive from a shared archive.
   19227 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19228 
   19229 # Create a temporary old-style archive to link instead of a shared archive.
   19230 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19231 
   19232 # Commands used to build and install a shared archive.
   19233 archive_cmds=$lt_archive_cmds_RC
   19234 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19235 postinstall_cmds=$lt_postinstall_cmds
   19236 postuninstall_cmds=$lt_postuninstall_cmds
   19237 
   19238 # Commands used to build a loadable module (assumed same as above if empty)
   19239 module_cmds=$lt_module_cmds_RC
   19240 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19241 
   19242 # Commands to strip libraries.
   19243 old_striplib=$lt_old_striplib
   19244 striplib=$lt_striplib
   19245 
   19246 # Dependencies to place before the objects being linked to create a
   19247 # shared library.
   19248 predep_objects=$lt_predep_objects_RC
   19249 
   19250 # Dependencies to place after the objects being linked to create a
   19251 # shared library.
   19252 postdep_objects=$lt_postdep_objects_RC
   19253 
   19254 # Dependencies to place before the objects being linked to create a
   19255 # shared library.
   19256 predeps=$lt_predeps_RC
   19257 
   19258 # Dependencies to place after the objects being linked to create a
   19259 # shared library.
   19260 postdeps=$lt_postdeps_RC
   19261 
   19262 # The library search path used internally by the compiler when linking
   19263 # a shared library.
   19264 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19265 
   19266 # Method to check whether dependent libraries are shared objects.
   19267 deplibs_check_method=$lt_deplibs_check_method
   19268 
   19269 # Command to use when deplibs_check_method == file_magic.
   19270 file_magic_cmd=$lt_file_magic_cmd
   19271 
   19272 # Flag that allows shared libraries with undefined symbols to be built.
   19273 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19274 
   19275 # Flag that forces no undefined symbols.
   19276 no_undefined_flag=$lt_no_undefined_flag_RC
   19277 
   19278 # Commands used to finish a libtool library installation in a directory.
   19279 finish_cmds=$lt_finish_cmds
   19280 
   19281 # Same as above, but a single script fragment to be evaled but not shown.
   19282 finish_eval=$lt_finish_eval
   19283 
   19284 # Take the output of nm and produce a listing of raw symbols and C names.
   19285 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19286 
   19287 # Transform the output of nm in a proper C declaration
   19288 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19289 
   19290 # Transform the output of nm in a C name address pair
   19291 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19292 
   19293 # This is the shared library runtime path variable.
   19294 runpath_var=$runpath_var
   19295 
   19296 # This is the shared library path variable.
   19297 shlibpath_var=$shlibpath_var
   19298 
   19299 # Is shlibpath searched before the hard-coded library search path?
   19300 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19301 
   19302 # How to hardcode a shared library path into an executable.
   19303 hardcode_action=$hardcode_action_RC
   19304 
   19305 # Whether we should hardcode library paths into libraries.
   19306 hardcode_into_libs=$hardcode_into_libs
   19307 
   19308 # Flag to hardcode \$libdir into a binary during linking.
   19309 # This must work even if \$libdir does not exist.
   19310 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19311 
   19312 # If ld is used when linking, flag to hardcode \$libdir into
   19313 # a binary during linking. This must work even if \$libdir does
   19314 # not exist.
   19315 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19316 
   19317 # Whether we need a single -rpath flag with a separated argument.
   19318 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19319 
   19320 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19321 # resulting binary.
   19322 hardcode_direct=$hardcode_direct_RC
   19323 
   19324 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19325 # resulting binary.
   19326 hardcode_minus_L=$hardcode_minus_L_RC
   19327 
   19328 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19329 # the resulting binary.
   19330 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19331 
   19332 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19333 # and all subsequent libraries and executables linked against it.
   19334 hardcode_automatic=$hardcode_automatic_RC
   19335 
   19336 # Variables whose values should be saved in libtool wrapper scripts and
   19337 # restored at relink time.
   19338 variables_saved_for_relink="$variables_saved_for_relink"
   19339 
   19340 # Whether libtool must link a program against all its dependency libraries.
   19341 link_all_deplibs=$link_all_deplibs_RC
   19342 
   19343 # Compile-time system search path for libraries
   19344 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19345 
   19346 # Run-time system search path for libraries
   19347 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19348 
   19349 # Fix the shell variable \$srcfile for the compiler.
   19350 fix_srcfile_path=$lt_fix_srcfile_path
   19351 
   19352 # Set to yes if exported symbols are required.
   19353 always_export_symbols=$always_export_symbols_RC
   19354 
   19355 # The commands to list exported symbols.
   19356 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19357 
   19358 # The commands to extract the exported symbol list from a shared archive.
   19359 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19360 
   19361 # Symbols that should not be listed in the preloaded symbols.
   19362 exclude_expsyms=$lt_exclude_expsyms_RC
   19363 
   19364 # Symbols that must always be exported.
   19365 include_expsyms=$lt_include_expsyms_RC
   19366 
   19367 # ### END LIBTOOL TAG CONFIG: $tagname
   19368 
   19369 __EOF__
   19370 
   19371 
   19372 else
   19373   # If there is no Makefile yet, we rely on a make rule to execute
   19374   # `config.status --recheck' to rerun these tests and create the
   19375   # libtool script then.
   19376   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19377   if test -f "$ltmain_in"; then
   19378     test -f Makefile && make "$ltmain"
   19379   fi
   19380 fi
   19381 
   19382 
   19383 ac_ext=c
   19384 ac_cpp='$CPP $CPPFLAGS'
   19385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19388 
   19389 CC="$lt_save_CC"
   19390 
   19391 	;;
   19392 
   19393       *)
   19394 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19395 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19396    { (exit 1); exit 1; }; }
   19397 	;;
   19398       esac
   19399 
   19400       # Append the new tag name to the list of available tags.
   19401       if test -n "$tagname" ; then
   19402       available_tags="$available_tags $tagname"
   19403     fi
   19404     fi
   19405   done
   19406   IFS="$lt_save_ifs"
   19407 
   19408   # Now substitute the updated list of available tags.
   19409   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19410     mv "${ofile}T" "$ofile"
   19411     chmod +x "$ofile"
   19412   else
   19413     rm -f "${ofile}T"
   19414     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19415 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19416    { (exit 1); exit 1; }; }
   19417   fi
   19418 fi
   19419 
   19420 
   19421 
   19422 # This can be used to rebuild libtool when needed
   19423 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19424 
   19425 # Always use our own libtool.
   19426 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19427 
   19428 # Prevent multiple expansion
   19429 
   19430 
   19431 
   19432 
   19433 
   19434 
   19435 
   19436 
   19437 
   19438 
   19439 
   19440 
   19441 
   19442 
   19443 
   19444 
   19445 
   19446 
   19447 
   19448 
   19449 ac_ext=c
   19450 ac_cpp='$CPP $CPPFLAGS'
   19451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19454 if test -n "$ac_tool_prefix"; then
   19455   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19456 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19459 if test "${ac_cv_prog_CC+set}" = set; then
   19460   echo $ECHO_N "(cached) $ECHO_C" >&6
   19461 else
   19462   if test -n "$CC"; then
   19463   ac_cv_prog_CC="$CC" # Let the user override the test.
   19464 else
   19465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19466 for as_dir in $PATH
   19467 do
   19468   IFS=$as_save_IFS
   19469   test -z "$as_dir" && as_dir=.
   19470   for ac_exec_ext in '' $ac_executable_extensions; do
   19471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19472     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19473     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19474     break 2
   19475   fi
   19476 done
   19477 done
   19478 IFS=$as_save_IFS
   19479 
   19480 fi
   19481 fi
   19482 CC=$ac_cv_prog_CC
   19483 if test -n "$CC"; then
   19484   { echo "$as_me:$LINENO: result: $CC" >&5
   19485 echo "${ECHO_T}$CC" >&6; }
   19486 else
   19487   { echo "$as_me:$LINENO: result: no" >&5
   19488 echo "${ECHO_T}no" >&6; }
   19489 fi
   19490 
   19491 
   19492 fi
   19493 if test -z "$ac_cv_prog_CC"; then
   19494   ac_ct_CC=$CC
   19495   # Extract the first word of "gcc", so it can be a program name with args.
   19496 set dummy gcc; ac_word=$2
   19497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19500   echo $ECHO_N "(cached) $ECHO_C" >&6
   19501 else
   19502   if test -n "$ac_ct_CC"; then
   19503   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19504 else
   19505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19506 for as_dir in $PATH
   19507 do
   19508   IFS=$as_save_IFS
   19509   test -z "$as_dir" && as_dir=.
   19510   for ac_exec_ext in '' $ac_executable_extensions; do
   19511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19512     ac_cv_prog_ac_ct_CC="gcc"
   19513     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19514     break 2
   19515   fi
   19516 done
   19517 done
   19518 IFS=$as_save_IFS
   19519 
   19520 fi
   19521 fi
   19522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19523 if test -n "$ac_ct_CC"; then
   19524   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19525 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19526 else
   19527   { echo "$as_me:$LINENO: result: no" >&5
   19528 echo "${ECHO_T}no" >&6; }
   19529 fi
   19530 
   19531   if test "x$ac_ct_CC" = x; then
   19532     CC=""
   19533   else
   19534     case $cross_compiling:$ac_tool_warned in
   19535 yes:)
   19536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19537 whose name does not start with the host triplet.  If you think this
   19538 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19540 whose name does not start with the host triplet.  If you think this
   19541 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19542 ac_tool_warned=yes ;;
   19543 esac
   19544     CC=$ac_ct_CC
   19545   fi
   19546 else
   19547   CC="$ac_cv_prog_CC"
   19548 fi
   19549 
   19550 if test -z "$CC"; then
   19551           if test -n "$ac_tool_prefix"; then
   19552     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19553 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19556 if test "${ac_cv_prog_CC+set}" = set; then
   19557   echo $ECHO_N "(cached) $ECHO_C" >&6
   19558 else
   19559   if test -n "$CC"; then
   19560   ac_cv_prog_CC="$CC" # Let the user override the test.
   19561 else
   19562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19563 for as_dir in $PATH
   19564 do
   19565   IFS=$as_save_IFS
   19566   test -z "$as_dir" && as_dir=.
   19567   for ac_exec_ext in '' $ac_executable_extensions; do
   19568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19569     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19570     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19571     break 2
   19572   fi
   19573 done
   19574 done
   19575 IFS=$as_save_IFS
   19576 
   19577 fi
   19578 fi
   19579 CC=$ac_cv_prog_CC
   19580 if test -n "$CC"; then
   19581   { echo "$as_me:$LINENO: result: $CC" >&5
   19582 echo "${ECHO_T}$CC" >&6; }
   19583 else
   19584   { echo "$as_me:$LINENO: result: no" >&5
   19585 echo "${ECHO_T}no" >&6; }
   19586 fi
   19587 
   19588 
   19589   fi
   19590 fi
   19591 if test -z "$CC"; then
   19592   # Extract the first word of "cc", so it can be a program name with args.
   19593 set dummy cc; ac_word=$2
   19594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19596 if test "${ac_cv_prog_CC+set}" = set; then
   19597   echo $ECHO_N "(cached) $ECHO_C" >&6
   19598 else
   19599   if test -n "$CC"; then
   19600   ac_cv_prog_CC="$CC" # Let the user override the test.
   19601 else
   19602   ac_prog_rejected=no
   19603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19604 for as_dir in $PATH
   19605 do
   19606   IFS=$as_save_IFS
   19607   test -z "$as_dir" && as_dir=.
   19608   for ac_exec_ext in '' $ac_executable_extensions; do
   19609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19610     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19611        ac_prog_rejected=yes
   19612        continue
   19613      fi
   19614     ac_cv_prog_CC="cc"
   19615     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19616     break 2
   19617   fi
   19618 done
   19619 done
   19620 IFS=$as_save_IFS
   19621 
   19622 if test $ac_prog_rejected = yes; then
   19623   # We found a bogon in the path, so make sure we never use it.
   19624   set dummy $ac_cv_prog_CC
   19625   shift
   19626   if test $# != 0; then
   19627     # We chose a different compiler from the bogus one.
   19628     # However, it has the same basename, so the bogon will be chosen
   19629     # first if we set CC to just the basename; use the full file name.
   19630     shift
   19631     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   19632   fi
   19633 fi
   19634 fi
   19635 fi
   19636 CC=$ac_cv_prog_CC
   19637 if test -n "$CC"; then
   19638   { echo "$as_me:$LINENO: result: $CC" >&5
   19639 echo "${ECHO_T}$CC" >&6; }
   19640 else
   19641   { echo "$as_me:$LINENO: result: no" >&5
   19642 echo "${ECHO_T}no" >&6; }
   19643 fi
   19644 
   19645 
   19646 fi
   19647 if test -z "$CC"; then
   19648   if test -n "$ac_tool_prefix"; then
   19649   for ac_prog in cl.exe
   19650   do
   19651     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19655 if test "${ac_cv_prog_CC+set}" = set; then
   19656   echo $ECHO_N "(cached) $ECHO_C" >&6
   19657 else
   19658   if test -n "$CC"; then
   19659   ac_cv_prog_CC="$CC" # Let the user override the test.
   19660 else
   19661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19662 for as_dir in $PATH
   19663 do
   19664   IFS=$as_save_IFS
   19665   test -z "$as_dir" && as_dir=.
   19666   for ac_exec_ext in '' $ac_executable_extensions; do
   19667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19668     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19669     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19670     break 2
   19671   fi
   19672 done
   19673 done
   19674 IFS=$as_save_IFS
   19675 
   19676 fi
   19677 fi
   19678 CC=$ac_cv_prog_CC
   19679 if test -n "$CC"; then
   19680   { echo "$as_me:$LINENO: result: $CC" >&5
   19681 echo "${ECHO_T}$CC" >&6; }
   19682 else
   19683   { echo "$as_me:$LINENO: result: no" >&5
   19684 echo "${ECHO_T}no" >&6; }
   19685 fi
   19686 
   19687 
   19688     test -n "$CC" && break
   19689   done
   19690 fi
   19691 if test -z "$CC"; then
   19692   ac_ct_CC=$CC
   19693   for ac_prog in cl.exe
   19694 do
   19695   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19696 set dummy $ac_prog; ac_word=$2
   19697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19700   echo $ECHO_N "(cached) $ECHO_C" >&6
   19701 else
   19702   if test -n "$ac_ct_CC"; then
   19703   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19704 else
   19705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19706 for as_dir in $PATH
   19707 do
   19708   IFS=$as_save_IFS
   19709   test -z "$as_dir" && as_dir=.
   19710   for ac_exec_ext in '' $ac_executable_extensions; do
   19711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19712     ac_cv_prog_ac_ct_CC="$ac_prog"
   19713     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19714     break 2
   19715   fi
   19716 done
   19717 done
   19718 IFS=$as_save_IFS
   19719 
   19720 fi
   19721 fi
   19722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19723 if test -n "$ac_ct_CC"; then
   19724   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19725 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19726 else
   19727   { echo "$as_me:$LINENO: result: no" >&5
   19728 echo "${ECHO_T}no" >&6; }
   19729 fi
   19730 
   19731 
   19732   test -n "$ac_ct_CC" && break
   19733 done
   19734 
   19735   if test "x$ac_ct_CC" = x; then
   19736     CC=""
   19737   else
   19738     case $cross_compiling:$ac_tool_warned in
   19739 yes:)
   19740 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19741 whose name does not start with the host triplet.  If you think this
   19742 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19743 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19744 whose name does not start with the host triplet.  If you think this
   19745 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19746 ac_tool_warned=yes ;;
   19747 esac
   19748     CC=$ac_ct_CC
   19749   fi
   19750 fi
   19751 
   19752 fi
   19753 
   19754 
   19755 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   19756 See \`config.log' for more details." >&5
   19757 echo "$as_me: error: no acceptable C compiler found in \$PATH
   19758 See \`config.log' for more details." >&2;}
   19759    { (exit 1); exit 1; }; }
   19760 
   19761 # Provide some information about the compiler.
   19762 echo "$as_me:$LINENO: checking for C compiler version" >&5
   19763 ac_compiler=`set X $ac_compile; echo $2`
   19764 { (ac_try="$ac_compiler --version >&5"
   19765 case "(($ac_try" in
   19766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19767   *) ac_try_echo=$ac_try;;
   19768 esac
   19769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19770   (eval "$ac_compiler --version >&5") 2>&5
   19771   ac_status=$?
   19772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19773   (exit $ac_status); }
   19774 { (ac_try="$ac_compiler -v >&5"
   19775 case "(($ac_try" in
   19776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19777   *) ac_try_echo=$ac_try;;
   19778 esac
   19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19780   (eval "$ac_compiler -v >&5") 2>&5
   19781   ac_status=$?
   19782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19783   (exit $ac_status); }
   19784 { (ac_try="$ac_compiler -V >&5"
   19785 case "(($ac_try" in
   19786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19787   *) ac_try_echo=$ac_try;;
   19788 esac
   19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19790   (eval "$ac_compiler -V >&5") 2>&5
   19791   ac_status=$?
   19792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19793   (exit $ac_status); }
   19794 
   19795 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19796 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   19797 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19798   echo $ECHO_N "(cached) $ECHO_C" >&6
   19799 else
   19800   cat >conftest.$ac_ext <<_ACEOF
   19801 /* confdefs.h.  */
   19802 _ACEOF
   19803 cat confdefs.h >>conftest.$ac_ext
   19804 cat >>conftest.$ac_ext <<_ACEOF
   19805 /* end confdefs.h.  */
   19806 
   19807 int
   19808 main ()
   19809 {
   19810 #ifndef __GNUC__
   19811        choke me
   19812 #endif
   19813 
   19814   ;
   19815   return 0;
   19816 }
   19817 _ACEOF
   19818 rm -f conftest.$ac_objext
   19819 if { (ac_try="$ac_compile"
   19820 case "(($ac_try" in
   19821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19822   *) ac_try_echo=$ac_try;;
   19823 esac
   19824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19825   (eval "$ac_compile") 2>conftest.er1
   19826   ac_status=$?
   19827   grep -v '^ *+' conftest.er1 >conftest.err
   19828   rm -f conftest.er1
   19829   cat conftest.err >&5
   19830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19831   (exit $ac_status); } && {
   19832 	 test -z "$ac_c_werror_flag" ||
   19833 	 test ! -s conftest.err
   19834        } && test -s conftest.$ac_objext; then
   19835   ac_compiler_gnu=yes
   19836 else
   19837   echo "$as_me: failed program was:" >&5
   19838 sed 's/^/| /' conftest.$ac_ext >&5
   19839 
   19840 	ac_compiler_gnu=no
   19841 fi
   19842 
   19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19845 
   19846 fi
   19847 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19848 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   19849 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19850 ac_test_CFLAGS=${CFLAGS+set}
   19851 ac_save_CFLAGS=$CFLAGS
   19852 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19853 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   19854 if test "${ac_cv_prog_cc_g+set}" = set; then
   19855   echo $ECHO_N "(cached) $ECHO_C" >&6
   19856 else
   19857   ac_save_c_werror_flag=$ac_c_werror_flag
   19858    ac_c_werror_flag=yes
   19859    ac_cv_prog_cc_g=no
   19860    CFLAGS="-g"
   19861    cat >conftest.$ac_ext <<_ACEOF
   19862 /* confdefs.h.  */
   19863 _ACEOF
   19864 cat confdefs.h >>conftest.$ac_ext
   19865 cat >>conftest.$ac_ext <<_ACEOF
   19866 /* end confdefs.h.  */
   19867 
   19868 int
   19869 main ()
   19870 {
   19871 
   19872   ;
   19873   return 0;
   19874 }
   19875 _ACEOF
   19876 rm -f conftest.$ac_objext
   19877 if { (ac_try="$ac_compile"
   19878 case "(($ac_try" in
   19879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19880   *) ac_try_echo=$ac_try;;
   19881 esac
   19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19883   (eval "$ac_compile") 2>conftest.er1
   19884   ac_status=$?
   19885   grep -v '^ *+' conftest.er1 >conftest.err
   19886   rm -f conftest.er1
   19887   cat conftest.err >&5
   19888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19889   (exit $ac_status); } && {
   19890 	 test -z "$ac_c_werror_flag" ||
   19891 	 test ! -s conftest.err
   19892        } && test -s conftest.$ac_objext; then
   19893   ac_cv_prog_cc_g=yes
   19894 else
   19895   echo "$as_me: failed program was:" >&5
   19896 sed 's/^/| /' conftest.$ac_ext >&5
   19897 
   19898 	CFLAGS=""
   19899       cat >conftest.$ac_ext <<_ACEOF
   19900 /* confdefs.h.  */
   19901 _ACEOF
   19902 cat confdefs.h >>conftest.$ac_ext
   19903 cat >>conftest.$ac_ext <<_ACEOF
   19904 /* end confdefs.h.  */
   19905 
   19906 int
   19907 main ()
   19908 {
   19909 
   19910   ;
   19911   return 0;
   19912 }
   19913 _ACEOF
   19914 rm -f conftest.$ac_objext
   19915 if { (ac_try="$ac_compile"
   19916 case "(($ac_try" in
   19917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19918   *) ac_try_echo=$ac_try;;
   19919 esac
   19920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19921   (eval "$ac_compile") 2>conftest.er1
   19922   ac_status=$?
   19923   grep -v '^ *+' conftest.er1 >conftest.err
   19924   rm -f conftest.er1
   19925   cat conftest.err >&5
   19926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19927   (exit $ac_status); } && {
   19928 	 test -z "$ac_c_werror_flag" ||
   19929 	 test ! -s conftest.err
   19930        } && test -s conftest.$ac_objext; then
   19931   :
   19932 else
   19933   echo "$as_me: failed program was:" >&5
   19934 sed 's/^/| /' conftest.$ac_ext >&5
   19935 
   19936 	ac_c_werror_flag=$ac_save_c_werror_flag
   19937 	 CFLAGS="-g"
   19938 	 cat >conftest.$ac_ext <<_ACEOF
   19939 /* confdefs.h.  */
   19940 _ACEOF
   19941 cat confdefs.h >>conftest.$ac_ext
   19942 cat >>conftest.$ac_ext <<_ACEOF
   19943 /* end confdefs.h.  */
   19944 
   19945 int
   19946 main ()
   19947 {
   19948 
   19949   ;
   19950   return 0;
   19951 }
   19952 _ACEOF
   19953 rm -f conftest.$ac_objext
   19954 if { (ac_try="$ac_compile"
   19955 case "(($ac_try" in
   19956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19957   *) ac_try_echo=$ac_try;;
   19958 esac
   19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19960   (eval "$ac_compile") 2>conftest.er1
   19961   ac_status=$?
   19962   grep -v '^ *+' conftest.er1 >conftest.err
   19963   rm -f conftest.er1
   19964   cat conftest.err >&5
   19965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19966   (exit $ac_status); } && {
   19967 	 test -z "$ac_c_werror_flag" ||
   19968 	 test ! -s conftest.err
   19969        } && test -s conftest.$ac_objext; then
   19970   ac_cv_prog_cc_g=yes
   19971 else
   19972   echo "$as_me: failed program was:" >&5
   19973 sed 's/^/| /' conftest.$ac_ext >&5
   19974 
   19975 
   19976 fi
   19977 
   19978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19979 fi
   19980 
   19981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19982 fi
   19983 
   19984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19985    ac_c_werror_flag=$ac_save_c_werror_flag
   19986 fi
   19987 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19988 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   19989 if test "$ac_test_CFLAGS" = set; then
   19990   CFLAGS=$ac_save_CFLAGS
   19991 elif test $ac_cv_prog_cc_g = yes; then
   19992   if test "$GCC" = yes; then
   19993     CFLAGS="-g -O2"
   19994   else
   19995     CFLAGS="-g"
   19996   fi
   19997 else
   19998   if test "$GCC" = yes; then
   19999     CFLAGS="-O2"
   20000   else
   20001     CFLAGS=
   20002   fi
   20003 fi
   20004 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20005 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   20006 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20007   echo $ECHO_N "(cached) $ECHO_C" >&6
   20008 else
   20009   ac_cv_prog_cc_c89=no
   20010 ac_save_CC=$CC
   20011 cat >conftest.$ac_ext <<_ACEOF
   20012 /* confdefs.h.  */
   20013 _ACEOF
   20014 cat confdefs.h >>conftest.$ac_ext
   20015 cat >>conftest.$ac_ext <<_ACEOF
   20016 /* end confdefs.h.  */
   20017 #include <stdarg.h>
   20018 #include <stdio.h>
   20019 #include <sys/types.h>
   20020 #include <sys/stat.h>
   20021 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20022 struct buf { int x; };
   20023 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20024 static char *e (p, i)
   20025      char **p;
   20026      int i;
   20027 {
   20028   return p[i];
   20029 }
   20030 static char *f (char * (*g) (char **, int), char **p, ...)
   20031 {
   20032   char *s;
   20033   va_list v;
   20034   va_start (v,p);
   20035   s = g (p, va_arg (v,int));
   20036   va_end (v);
   20037   return s;
   20038 }
   20039 
   20040 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20041    function prototypes and stuff, but not '\xHH' hex character constants.
   20042    These don't provoke an error unfortunately, instead are silently treated
   20043    as 'x'.  The following induces an error, until -std is added to get
   20044    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20045    array size at least.  It's necessary to write '\x00'==0 to get something
   20046    that's true only with -std.  */
   20047 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20048 
   20049 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20050    inside strings and character constants.  */
   20051 #define FOO(x) 'x'
   20052 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20053 
   20054 int test (int i, double x);
   20055 struct s1 {int (*f) (int a);};
   20056 struct s2 {int (*f) (double a);};
   20057 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20058 int argc;
   20059 char **argv;
   20060 int
   20061 main ()
   20062 {
   20063 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20064   ;
   20065   return 0;
   20066 }
   20067 _ACEOF
   20068 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20069 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20070 do
   20071   CC="$ac_save_CC $ac_arg"
   20072   rm -f conftest.$ac_objext
   20073 if { (ac_try="$ac_compile"
   20074 case "(($ac_try" in
   20075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20076   *) ac_try_echo=$ac_try;;
   20077 esac
   20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20079   (eval "$ac_compile") 2>conftest.er1
   20080   ac_status=$?
   20081   grep -v '^ *+' conftest.er1 >conftest.err
   20082   rm -f conftest.er1
   20083   cat conftest.err >&5
   20084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20085   (exit $ac_status); } && {
   20086 	 test -z "$ac_c_werror_flag" ||
   20087 	 test ! -s conftest.err
   20088        } && test -s conftest.$ac_objext; then
   20089   ac_cv_prog_cc_c89=$ac_arg
   20090 else
   20091   echo "$as_me: failed program was:" >&5
   20092 sed 's/^/| /' conftest.$ac_ext >&5
   20093 
   20094 
   20095 fi
   20096 
   20097 rm -f core conftest.err conftest.$ac_objext
   20098   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20099 done
   20100 rm -f conftest.$ac_ext
   20101 CC=$ac_save_CC
   20102 
   20103 fi
   20104 # AC_CACHE_VAL
   20105 case "x$ac_cv_prog_cc_c89" in
   20106   x)
   20107     { echo "$as_me:$LINENO: result: none needed" >&5
   20108 echo "${ECHO_T}none needed" >&6; } ;;
   20109   xno)
   20110     { echo "$as_me:$LINENO: result: unsupported" >&5
   20111 echo "${ECHO_T}unsupported" >&6; } ;;
   20112   *)
   20113     CC="$CC $ac_cv_prog_cc_c89"
   20114     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20115 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   20116 esac
   20117 
   20118 
   20119 ac_ext=c
   20120 ac_cpp='$CPP $CPPFLAGS'
   20121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20124 
   20125 depcc="$CC"   am_compiler_list=
   20126 
   20127 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20128 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   20129 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20130   echo $ECHO_N "(cached) $ECHO_C" >&6
   20131 else
   20132   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20133   # We make a subdir and do the tests there.  Otherwise we can end up
   20134   # making bogus files that we don't know about and never remove.  For
   20135   # instance it was reported that on HP-UX the gcc test will end up
   20136   # making a dummy file named `D' -- because `-MD' means `put the output
   20137   # in D'.
   20138   mkdir conftest.dir
   20139   # Copy depcomp to subdir because otherwise we won't find it if we're
   20140   # using a relative directory.
   20141   cp "$am_depcomp" conftest.dir
   20142   cd conftest.dir
   20143   # We will build objects and dependencies in a subdirectory because
   20144   # it helps to detect inapplicable dependency modes.  For instance
   20145   # both Tru64's cc and ICC support -MD to output dependencies as a
   20146   # side effect of compilation, but ICC will put the dependencies in
   20147   # the current directory while Tru64 will put them in the object
   20148   # directory.
   20149   mkdir sub
   20150 
   20151   am_cv_CC_dependencies_compiler_type=none
   20152   if test "$am_compiler_list" = ""; then
   20153      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20154   fi
   20155   for depmode in $am_compiler_list; do
   20156     # Setup a source with many dependencies, because some compilers
   20157     # like to wrap large dependency lists on column 80 (with \), and
   20158     # we should not choose a depcomp mode which is confused by this.
   20159     #
   20160     # We need to recreate these files for each test, as the compiler may
   20161     # overwrite some of them when testing with obscure command lines.
   20162     # This happens at least with the AIX C compiler.
   20163     : > sub/conftest.c
   20164     for i in 1 2 3 4 5 6; do
   20165       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20166       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20167       # Solaris 8's {/usr,}/bin/sh.
   20168       touch sub/conftst$i.h
   20169     done
   20170     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20171 
   20172     case $depmode in
   20173     nosideeffect)
   20174       # after this tag, mechanisms are not by side-effect, so they'll
   20175       # only be used when explicitly requested
   20176       if test "x$enable_dependency_tracking" = xyes; then
   20177 	continue
   20178       else
   20179 	break
   20180       fi
   20181       ;;
   20182     none) break ;;
   20183     esac
   20184     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20185     # mode.  It turns out that the SunPro C++ compiler does not properly
   20186     # handle `-M -o', and we need to detect this.
   20187     if depmode=$depmode \
   20188        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20189        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20190        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20191          >/dev/null 2>conftest.err &&
   20192        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20193        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20194        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20195        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20196       # icc doesn't choke on unknown options, it will just issue warnings
   20197       # or remarks (even with -Werror).  So we grep stderr for any message
   20198       # that says an option was ignored or not supported.
   20199       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20200       #   icc: Command line warning: ignoring option '-M'; no argument required
   20201       # The diagnosis changed in icc 8.0:
   20202       #   icc: Command line remark: option '-MP' not supported
   20203       if (grep 'ignoring option' conftest.err ||
   20204           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20205         am_cv_CC_dependencies_compiler_type=$depmode
   20206         break
   20207       fi
   20208     fi
   20209   done
   20210 
   20211   cd ..
   20212   rm -rf conftest.dir
   20213 else
   20214   am_cv_CC_dependencies_compiler_type=none
   20215 fi
   20216 
   20217 fi
   20218 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20219 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20220 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20221 
   20222  if
   20223   test "x$enable_dependency_tracking" != xno \
   20224   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20225   am__fastdepCC_TRUE=
   20226   am__fastdepCC_FALSE='#'
   20227 else
   20228   am__fastdepCC_TRUE='#'
   20229   am__fastdepCC_FALSE=
   20230 fi
   20231 
   20232 
   20233 
   20234 
   20235 
   20236 
   20237 
   20238 # Check whether --with-xorg-module-dir was given.
   20239 if test "${with_xorg_module_dir+set}" = set; then
   20240   withval=$with_xorg_module_dir; moduledir="$withval"
   20241 else
   20242   moduledir="$libdir/xorg/modules"
   20243 fi
   20244 
   20245 
   20246 # Check whether --enable-dri was given.
   20247 if test "${enable_dri+set}" = set; then
   20248   enableval=$enable_dri; DRI="$enableval"
   20249 else
   20250   DRI=auto
   20251 fi
   20252 
   20253 # Check whether --enable-exa was given.
   20254 if test "${enable_exa+set}" = set; then
   20255   enableval=$enable_exa; EXA="$enableval"
   20256 else
   20257   EXA=yes
   20258 fi
   20259 
   20260 
   20261 # Checks for extensions
   20262 
   20263 	SAVE_CFLAGS="$CFLAGS"
   20264 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20265 	cat >conftest.$ac_ext <<_ACEOF
   20266 /* confdefs.h.  */
   20267 _ACEOF
   20268 cat confdefs.h >>conftest.$ac_ext
   20269 cat >>conftest.$ac_ext <<_ACEOF
   20270 /* end confdefs.h.  */
   20271 
   20272 #include "xorg-server.h"
   20273 #if !defined RANDR
   20274 #error RANDR not defined
   20275 #endif
   20276 
   20277 int
   20278 main ()
   20279 {
   20280 
   20281   ;
   20282   return 0;
   20283 }
   20284 _ACEOF
   20285 rm -f conftest.$ac_objext
   20286 if { (ac_try="$ac_compile"
   20287 case "(($ac_try" in
   20288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20289   *) ac_try_echo=$ac_try;;
   20290 esac
   20291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20292   (eval "$ac_compile") 2>conftest.er1
   20293   ac_status=$?
   20294   grep -v '^ *+' conftest.er1 >conftest.err
   20295   rm -f conftest.er1
   20296   cat conftest.err >&5
   20297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20298   (exit $ac_status); } && {
   20299 	 test -z "$ac_c_werror_flag" ||
   20300 	 test ! -s conftest.err
   20301        } && test -s conftest.$ac_objext; then
   20302   _EXT_CHECK=yes
   20303 else
   20304   echo "$as_me: failed program was:" >&5
   20305 sed 's/^/| /' conftest.$ac_ext >&5
   20306 
   20307 	_EXT_CHECK=no
   20308 fi
   20309 
   20310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20311 	CFLAGS="$SAVE_CFLAGS"
   20312 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20313 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20314 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20315 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20316 	if test "$_EXT_CHECK" != no; then
   20317 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20318 	fi
   20319 
   20320 
   20321 	SAVE_CFLAGS="$CFLAGS"
   20322 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20323 	cat >conftest.$ac_ext <<_ACEOF
   20324 /* confdefs.h.  */
   20325 _ACEOF
   20326 cat confdefs.h >>conftest.$ac_ext
   20327 cat >>conftest.$ac_ext <<_ACEOF
   20328 /* end confdefs.h.  */
   20329 
   20330 #include "xorg-server.h"
   20331 #if !defined RENDER
   20332 #error RENDER not defined
   20333 #endif
   20334 
   20335 int
   20336 main ()
   20337 {
   20338 
   20339   ;
   20340   return 0;
   20341 }
   20342 _ACEOF
   20343 rm -f conftest.$ac_objext
   20344 if { (ac_try="$ac_compile"
   20345 case "(($ac_try" in
   20346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20347   *) ac_try_echo=$ac_try;;
   20348 esac
   20349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20350   (eval "$ac_compile") 2>conftest.er1
   20351   ac_status=$?
   20352   grep -v '^ *+' conftest.er1 >conftest.err
   20353   rm -f conftest.er1
   20354   cat conftest.err >&5
   20355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20356   (exit $ac_status); } && {
   20357 	 test -z "$ac_c_werror_flag" ||
   20358 	 test ! -s conftest.err
   20359        } && test -s conftest.$ac_objext; then
   20360   _EXT_CHECK=yes
   20361 else
   20362   echo "$as_me: failed program was:" >&5
   20363 sed 's/^/| /' conftest.$ac_ext >&5
   20364 
   20365 	_EXT_CHECK=no
   20366 fi
   20367 
   20368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20369 	CFLAGS="$SAVE_CFLAGS"
   20370 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20371 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20372 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20373 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20374 	if test "$_EXT_CHECK" != no; then
   20375 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20376 	fi
   20377 
   20378 
   20379 	SAVE_CFLAGS="$CFLAGS"
   20380 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20381 	cat >conftest.$ac_ext <<_ACEOF
   20382 /* confdefs.h.  */
   20383 _ACEOF
   20384 cat confdefs.h >>conftest.$ac_ext
   20385 cat >>conftest.$ac_ext <<_ACEOF
   20386 /* end confdefs.h.  */
   20387 
   20388 #include "xorg-server.h"
   20389 #if !defined XV
   20390 #error XV not defined
   20391 #endif
   20392 
   20393 int
   20394 main ()
   20395 {
   20396 
   20397   ;
   20398   return 0;
   20399 }
   20400 _ACEOF
   20401 rm -f conftest.$ac_objext
   20402 if { (ac_try="$ac_compile"
   20403 case "(($ac_try" in
   20404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20405   *) ac_try_echo=$ac_try;;
   20406 esac
   20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20408   (eval "$ac_compile") 2>conftest.er1
   20409   ac_status=$?
   20410   grep -v '^ *+' conftest.er1 >conftest.err
   20411   rm -f conftest.er1
   20412   cat conftest.err >&5
   20413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20414   (exit $ac_status); } && {
   20415 	 test -z "$ac_c_werror_flag" ||
   20416 	 test ! -s conftest.err
   20417        } && test -s conftest.$ac_objext; then
   20418   _EXT_CHECK=yes
   20419 else
   20420   echo "$as_me: failed program was:" >&5
   20421 sed 's/^/| /' conftest.$ac_ext >&5
   20422 
   20423 	_EXT_CHECK=no
   20424 fi
   20425 
   20426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20427 	CFLAGS="$SAVE_CFLAGS"
   20428 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   20429 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   20430 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20431 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20432 	if test "$_EXT_CHECK" != no; then
   20433 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20434 	fi
   20435 
   20436 
   20437 	SAVE_CFLAGS="$CFLAGS"
   20438 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20439 	cat >conftest.$ac_ext <<_ACEOF
   20440 /* confdefs.h.  */
   20441 _ACEOF
   20442 cat confdefs.h >>conftest.$ac_ext
   20443 cat >>conftest.$ac_ext <<_ACEOF
   20444 /* end confdefs.h.  */
   20445 
   20446 #include "xorg-server.h"
   20447 #if !defined DPMSExtension
   20448 #error DPMSExtension not defined
   20449 #endif
   20450 
   20451 int
   20452 main ()
   20453 {
   20454 
   20455   ;
   20456   return 0;
   20457 }
   20458 _ACEOF
   20459 rm -f conftest.$ac_objext
   20460 if { (ac_try="$ac_compile"
   20461 case "(($ac_try" in
   20462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20463   *) ac_try_echo=$ac_try;;
   20464 esac
   20465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20466   (eval "$ac_compile") 2>conftest.er1
   20467   ac_status=$?
   20468   grep -v '^ *+' conftest.er1 >conftest.err
   20469   rm -f conftest.er1
   20470   cat conftest.err >&5
   20471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20472   (exit $ac_status); } && {
   20473 	 test -z "$ac_c_werror_flag" ||
   20474 	 test ! -s conftest.err
   20475        } && test -s conftest.$ac_objext; then
   20476   _EXT_CHECK=yes
   20477 else
   20478   echo "$as_me: failed program was:" >&5
   20479 sed 's/^/| /' conftest.$ac_ext >&5
   20480 
   20481 	_EXT_CHECK=no
   20482 fi
   20483 
   20484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20485 	CFLAGS="$SAVE_CFLAGS"
   20486 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   20487 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   20488 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20489 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20490 	if test "$_EXT_CHECK" != no; then
   20491 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20492 	fi
   20493 
   20494 
   20495 # Checks for pkg-config packages
   20496 
   20497 
   20498 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20499 	if test -n "$ac_tool_prefix"; then
   20500   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20501 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20504 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20505   echo $ECHO_N "(cached) $ECHO_C" >&6
   20506 else
   20507   case $PKG_CONFIG in
   20508   [\\/]* | ?:[\\/]*)
   20509   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20510   ;;
   20511   *)
   20512   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20513 for as_dir in $PATH
   20514 do
   20515   IFS=$as_save_IFS
   20516   test -z "$as_dir" && as_dir=.
   20517   for ac_exec_ext in '' $ac_executable_extensions; do
   20518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20519     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20520     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20521     break 2
   20522   fi
   20523 done
   20524 done
   20525 IFS=$as_save_IFS
   20526 
   20527   ;;
   20528 esac
   20529 fi
   20530 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20531 if test -n "$PKG_CONFIG"; then
   20532   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20533 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20534 else
   20535   { echo "$as_me:$LINENO: result: no" >&5
   20536 echo "${ECHO_T}no" >&6; }
   20537 fi
   20538 
   20539 
   20540 fi
   20541 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20542   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20543   # Extract the first word of "pkg-config", so it can be a program name with args.
   20544 set dummy pkg-config; ac_word=$2
   20545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20547 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20548   echo $ECHO_N "(cached) $ECHO_C" >&6
   20549 else
   20550   case $ac_pt_PKG_CONFIG in
   20551   [\\/]* | ?:[\\/]*)
   20552   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20553   ;;
   20554   *)
   20555   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20556 for as_dir in $PATH
   20557 do
   20558   IFS=$as_save_IFS
   20559   test -z "$as_dir" && as_dir=.
   20560   for ac_exec_ext in '' $ac_executable_extensions; do
   20561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20562     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20563     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20564     break 2
   20565   fi
   20566 done
   20567 done
   20568 IFS=$as_save_IFS
   20569 
   20570   ;;
   20571 esac
   20572 fi
   20573 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20574 if test -n "$ac_pt_PKG_CONFIG"; then
   20575   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20576 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20577 else
   20578   { echo "$as_me:$LINENO: result: no" >&5
   20579 echo "${ECHO_T}no" >&6; }
   20580 fi
   20581 
   20582   if test "x$ac_pt_PKG_CONFIG" = x; then
   20583     PKG_CONFIG=""
   20584   else
   20585     case $cross_compiling:$ac_tool_warned in
   20586 yes:)
   20587 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20588 whose name does not start with the host triplet.  If you think this
   20589 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20590 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20591 whose name does not start with the host triplet.  If you think this
   20592 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20593 ac_tool_warned=yes ;;
   20594 esac
   20595     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20596   fi
   20597 else
   20598   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20599 fi
   20600 
   20601 fi
   20602 if test -n "$PKG_CONFIG"; then
   20603 	_pkg_min_version=0.9.0
   20604 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20605 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20606 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20607 		{ echo "$as_me:$LINENO: result: yes" >&5
   20608 echo "${ECHO_T}yes" >&6; }
   20609 	else
   20610 		{ echo "$as_me:$LINENO: result: no" >&5
   20611 echo "${ECHO_T}no" >&6; }
   20612 		PKG_CONFIG=""
   20613 	fi
   20614 
   20615 fi
   20616 
   20617 pkg_failed=no
   20618 { echo "$as_me:$LINENO: checking for XORG" >&5
   20619 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   20620 
   20621 if test -n "$PKG_CONFIG"; then
   20622     if test -n "$XORG_CFLAGS"; then
   20623         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20624     else
   20625         if test -n "$PKG_CONFIG" && \
   20626     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20627   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20628   ac_status=$?
   20629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20630   (exit $ac_status); }; then
   20631   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20632 else
   20633   pkg_failed=yes
   20634 fi
   20635     fi
   20636 else
   20637 	pkg_failed=untried
   20638 fi
   20639 if test -n "$PKG_CONFIG"; then
   20640     if test -n "$XORG_LIBS"; then
   20641         pkg_cv_XORG_LIBS="$XORG_LIBS"
   20642     else
   20643         if test -n "$PKG_CONFIG" && \
   20644     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20645   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20646   ac_status=$?
   20647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20648   (exit $ac_status); }; then
   20649   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20650 else
   20651   pkg_failed=yes
   20652 fi
   20653     fi
   20654 else
   20655 	pkg_failed=untried
   20656 fi
   20657 
   20658 
   20659 
   20660 if test $pkg_failed = yes; then
   20661 
   20662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20663         _pkg_short_errors_supported=yes
   20664 else
   20665         _pkg_short_errors_supported=no
   20666 fi
   20667         if test $_pkg_short_errors_supported = yes; then
   20668 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES"`
   20669         else
   20670 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES"`
   20671         fi
   20672 	# Put the nasty error message in config.log where it belongs
   20673 	echo "$XORG_PKG_ERRORS" >&5
   20674 
   20675 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   20676 
   20677 $XORG_PKG_ERRORS
   20678 
   20679 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20680 installed software in a non-standard prefix.
   20681 
   20682 Alternatively, you may set the environment variables XORG_CFLAGS
   20683 and XORG_LIBS to avoid the need to call pkg-config.
   20684 See the pkg-config man page for more details.
   20685 " >&5
   20686 echo "$as_me: error: Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   20687 
   20688 $XORG_PKG_ERRORS
   20689 
   20690 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20691 installed software in a non-standard prefix.
   20692 
   20693 Alternatively, you may set the environment variables XORG_CFLAGS
   20694 and XORG_LIBS to avoid the need to call pkg-config.
   20695 See the pkg-config man page for more details.
   20696 " >&2;}
   20697    { (exit 1); exit 1; }; }
   20698 elif test $pkg_failed = untried; then
   20699 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20700 is in your PATH or set the PKG_CONFIG environment variable to the full
   20701 path to pkg-config.
   20702 
   20703 Alternatively, you may set the environment variables XORG_CFLAGS
   20704 and XORG_LIBS to avoid the need to call pkg-config.
   20705 See the pkg-config man page for more details.
   20706 
   20707 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20708 See \`config.log' for more details." >&5
   20709 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20710 is in your PATH or set the PKG_CONFIG environment variable to the full
   20711 path to pkg-config.
   20712 
   20713 Alternatively, you may set the environment variables XORG_CFLAGS
   20714 and XORG_LIBS to avoid the need to call pkg-config.
   20715 See the pkg-config man page for more details.
   20716 
   20717 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20718 See \`config.log' for more details." >&2;}
   20719    { (exit 1); exit 1; }; }
   20720 else
   20721 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20722 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20723         { echo "$as_me:$LINENO: result: yes" >&5
   20724 echo "${ECHO_T}yes" >&6; }
   20725 	:
   20726 fi
   20727 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   20728 
   20729 # Checks for libraries.
   20730 
   20731 # Checks for header files.
   20732 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20733 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   20734 if test "${ac_cv_header_stdc+set}" = set; then
   20735   echo $ECHO_N "(cached) $ECHO_C" >&6
   20736 else
   20737   cat >conftest.$ac_ext <<_ACEOF
   20738 /* confdefs.h.  */
   20739 _ACEOF
   20740 cat confdefs.h >>conftest.$ac_ext
   20741 cat >>conftest.$ac_ext <<_ACEOF
   20742 /* end confdefs.h.  */
   20743 #include <stdlib.h>
   20744 #include <stdarg.h>
   20745 #include <string.h>
   20746 #include <float.h>
   20747 
   20748 int
   20749 main ()
   20750 {
   20751 
   20752   ;
   20753   return 0;
   20754 }
   20755 _ACEOF
   20756 rm -f conftest.$ac_objext
   20757 if { (ac_try="$ac_compile"
   20758 case "(($ac_try" in
   20759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20760   *) ac_try_echo=$ac_try;;
   20761 esac
   20762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20763   (eval "$ac_compile") 2>conftest.er1
   20764   ac_status=$?
   20765   grep -v '^ *+' conftest.er1 >conftest.err
   20766   rm -f conftest.er1
   20767   cat conftest.err >&5
   20768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20769   (exit $ac_status); } && {
   20770 	 test -z "$ac_c_werror_flag" ||
   20771 	 test ! -s conftest.err
   20772        } && test -s conftest.$ac_objext; then
   20773   ac_cv_header_stdc=yes
   20774 else
   20775   echo "$as_me: failed program was:" >&5
   20776 sed 's/^/| /' conftest.$ac_ext >&5
   20777 
   20778 	ac_cv_header_stdc=no
   20779 fi
   20780 
   20781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20782 
   20783 if test $ac_cv_header_stdc = yes; then
   20784   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20785   cat >conftest.$ac_ext <<_ACEOF
   20786 /* confdefs.h.  */
   20787 _ACEOF
   20788 cat confdefs.h >>conftest.$ac_ext
   20789 cat >>conftest.$ac_ext <<_ACEOF
   20790 /* end confdefs.h.  */
   20791 #include <string.h>
   20792 
   20793 _ACEOF
   20794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20795   $EGREP "memchr" >/dev/null 2>&1; then
   20796   :
   20797 else
   20798   ac_cv_header_stdc=no
   20799 fi
   20800 rm -f conftest*
   20801 
   20802 fi
   20803 
   20804 if test $ac_cv_header_stdc = yes; then
   20805   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20806   cat >conftest.$ac_ext <<_ACEOF
   20807 /* confdefs.h.  */
   20808 _ACEOF
   20809 cat confdefs.h >>conftest.$ac_ext
   20810 cat >>conftest.$ac_ext <<_ACEOF
   20811 /* end confdefs.h.  */
   20812 #include <stdlib.h>
   20813 
   20814 _ACEOF
   20815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20816   $EGREP "free" >/dev/null 2>&1; then
   20817   :
   20818 else
   20819   ac_cv_header_stdc=no
   20820 fi
   20821 rm -f conftest*
   20822 
   20823 fi
   20824 
   20825 if test $ac_cv_header_stdc = yes; then
   20826   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20827   if test "$cross_compiling" = yes; then
   20828   :
   20829 else
   20830   cat >conftest.$ac_ext <<_ACEOF
   20831 /* confdefs.h.  */
   20832 _ACEOF
   20833 cat confdefs.h >>conftest.$ac_ext
   20834 cat >>conftest.$ac_ext <<_ACEOF
   20835 /* end confdefs.h.  */
   20836 #include <ctype.h>
   20837 #include <stdlib.h>
   20838 #if ((' ' & 0x0FF) == 0x020)
   20839 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20840 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20841 #else
   20842 # define ISLOWER(c) \
   20843 		   (('a' <= (c) && (c) <= 'i') \
   20844 		     || ('j' <= (c) && (c) <= 'r') \
   20845 		     || ('s' <= (c) && (c) <= 'z'))
   20846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20847 #endif
   20848 
   20849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20850 int
   20851 main ()
   20852 {
   20853   int i;
   20854   for (i = 0; i < 256; i++)
   20855     if (XOR (islower (i), ISLOWER (i))
   20856 	|| toupper (i) != TOUPPER (i))
   20857       return 2;
   20858   return 0;
   20859 }
   20860 _ACEOF
   20861 rm -f conftest$ac_exeext
   20862 if { (ac_try="$ac_link"
   20863 case "(($ac_try" in
   20864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20865   *) ac_try_echo=$ac_try;;
   20866 esac
   20867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20868   (eval "$ac_link") 2>&5
   20869   ac_status=$?
   20870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20871   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20872   { (case "(($ac_try" in
   20873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20874   *) ac_try_echo=$ac_try;;
   20875 esac
   20876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20877   (eval "$ac_try") 2>&5
   20878   ac_status=$?
   20879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20880   (exit $ac_status); }; }; then
   20881   :
   20882 else
   20883   echo "$as_me: program exited with status $ac_status" >&5
   20884 echo "$as_me: failed program was:" >&5
   20885 sed 's/^/| /' conftest.$ac_ext >&5
   20886 
   20887 ( exit $ac_status )
   20888 ac_cv_header_stdc=no
   20889 fi
   20890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20891 fi
   20892 
   20893 
   20894 fi
   20895 fi
   20896 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20897 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   20898 if test $ac_cv_header_stdc = yes; then
   20899 
   20900 cat >>confdefs.h <<\_ACEOF
   20901 #define STDC_HEADERS 1
   20902 _ACEOF
   20903 
   20904 fi
   20905 
   20906 
   20907 if test "x$DRI" != xno; then
   20908         as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   20909 { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   20910 echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
   20911 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20912   echo $ECHO_N "(cached) $ECHO_C" >&6
   20913 else
   20914   test "$cross_compiling" = yes &&
   20915   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   20916 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   20917    { (exit 1); exit 1; }; }
   20918 if test -r "${sdkdir}/dri.h"; then
   20919   eval "$as_ac_File=yes"
   20920 else
   20921   eval "$as_ac_File=no"
   20922 fi
   20923 fi
   20924 ac_res=`eval echo '${'$as_ac_File'}'`
   20925 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20926 echo "${ECHO_T}$ac_res" >&6; }
   20927 if test `eval echo '${'$as_ac_File'}'` = yes; then
   20928   have_dri_h="yes"
   20929 else
   20930   have_dri_h="no"
   20931 fi
   20932 
   20933         as_ac_File=`echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   20934 { echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   20935 echo $ECHO_N "checking for ${sdkdir}/sarea.h... $ECHO_C" >&6; }
   20936 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20937   echo $ECHO_N "(cached) $ECHO_C" >&6
   20938 else
   20939   test "$cross_compiling" = yes &&
   20940   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   20941 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   20942    { (exit 1); exit 1; }; }
   20943 if test -r "${sdkdir}/sarea.h"; then
   20944   eval "$as_ac_File=yes"
   20945 else
   20946   eval "$as_ac_File=no"
   20947 fi
   20948 fi
   20949 ac_res=`eval echo '${'$as_ac_File'}'`
   20950 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20951 echo "${ECHO_T}$ac_res" >&6; }
   20952 if test `eval echo '${'$as_ac_File'}'` = yes; then
   20953   have_sarea_h="yes"
   20954 else
   20955   have_sarea_h="no"
   20956 fi
   20957 
   20958         as_ac_File=`echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   20959 { echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   20960 echo $ECHO_N "checking for ${sdkdir}/dristruct.h... $ECHO_C" >&6; }
   20961 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20962   echo $ECHO_N "(cached) $ECHO_C" >&6
   20963 else
   20964   test "$cross_compiling" = yes &&
   20965   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   20966 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   20967    { (exit 1); exit 1; }; }
   20968 if test -r "${sdkdir}/dristruct.h"; then
   20969   eval "$as_ac_File=yes"
   20970 else
   20971   eval "$as_ac_File=no"
   20972 fi
   20973 fi
   20974 ac_res=`eval echo '${'$as_ac_File'}'`
   20975 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20976 echo "${ECHO_T}$ac_res" >&6; }
   20977 if test `eval echo '${'$as_ac_File'}'` = yes; then
   20978   have_dristruct_h="yes"
   20979 else
   20980   have_dristruct_h="no"
   20981 fi
   20982 
   20983 fi
   20984 
   20985 { echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   20986 echo $ECHO_N "checking whether to include DRI support... $ECHO_C" >&6; }
   20987 if test "x$DRI" = xauto; then
   20988         if test "x$have_dri_h" = xyes && \
   20989            test "x$have_sarea_h" = xyes && \
   20990            test "x$have_dristruct_h" = xyes; then
   20991                 DRI="yes"
   20992         else
   20993                 DRI="no"
   20994         fi
   20995 fi
   20996 { echo "$as_me:$LINENO: result: $DRI" >&5
   20997 echo "${ECHO_T}$DRI" >&6; }
   20998 
   20999  if test "x$DRI" = xyes; then
   21000   DRI_TRUE=
   21001   DRI_FALSE='#'
   21002 else
   21003   DRI_TRUE='#'
   21004   DRI_FALSE=
   21005 fi
   21006 
   21007 if test "x$DRI" = xyes; then
   21008 
   21009 pkg_failed=no
   21010 { echo "$as_me:$LINENO: checking for DRI" >&5
   21011 echo $ECHO_N "checking for DRI... $ECHO_C" >&6; }
   21012 
   21013 if test -n "$PKG_CONFIG"; then
   21014     if test -n "$DRI_CFLAGS"; then
   21015         pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   21016     else
   21017         if test -n "$PKG_CONFIG" && \
   21018     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\"") >&5
   21019   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   21020   ac_status=$?
   21021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21022   (exit $ac_status); }; then
   21023   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   21024 else
   21025   pkg_failed=yes
   21026 fi
   21027     fi
   21028 else
   21029 	pkg_failed=untried
   21030 fi
   21031 if test -n "$PKG_CONFIG"; then
   21032     if test -n "$DRI_LIBS"; then
   21033         pkg_cv_DRI_LIBS="$DRI_LIBS"
   21034     else
   21035         if test -n "$PKG_CONFIG" && \
   21036     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\"") >&5
   21037   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   21038   ac_status=$?
   21039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21040   (exit $ac_status); }; then
   21041   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   21042 else
   21043   pkg_failed=yes
   21044 fi
   21045     fi
   21046 else
   21047 	pkg_failed=untried
   21048 fi
   21049 
   21050 
   21051 
   21052 if test $pkg_failed = yes; then
   21053 
   21054 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21055         _pkg_short_errors_supported=yes
   21056 else
   21057         _pkg_short_errors_supported=no
   21058 fi
   21059         if test $_pkg_short_errors_supported = yes; then
   21060 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.0 xf86driproto"`
   21061         else
   21062 	        DRI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.0 xf86driproto"`
   21063         fi
   21064 	# Put the nasty error message in config.log where it belongs
   21065 	echo "$DRI_PKG_ERRORS" >&5
   21066 
   21067 	{ { echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   21068 
   21069 $DRI_PKG_ERRORS
   21070 
   21071 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21072 installed software in a non-standard prefix.
   21073 
   21074 Alternatively, you may set the environment variables DRI_CFLAGS
   21075 and DRI_LIBS to avoid the need to call pkg-config.
   21076 See the pkg-config man page for more details.
   21077 " >&5
   21078 echo "$as_me: error: Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   21079 
   21080 $DRI_PKG_ERRORS
   21081 
   21082 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21083 installed software in a non-standard prefix.
   21084 
   21085 Alternatively, you may set the environment variables DRI_CFLAGS
   21086 and DRI_LIBS to avoid the need to call pkg-config.
   21087 See the pkg-config man page for more details.
   21088 " >&2;}
   21089    { (exit 1); exit 1; }; }
   21090 elif test $pkg_failed = untried; then
   21091 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21092 is in your PATH or set the PKG_CONFIG environment variable to the full
   21093 path to pkg-config.
   21094 
   21095 Alternatively, you may set the environment variables DRI_CFLAGS
   21096 and DRI_LIBS to avoid the need to call pkg-config.
   21097 See the pkg-config man page for more details.
   21098 
   21099 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21100 See \`config.log' for more details." >&5
   21101 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21102 is in your PATH or set the PKG_CONFIG environment variable to the full
   21103 path to pkg-config.
   21104 
   21105 Alternatively, you may set the environment variables DRI_CFLAGS
   21106 and DRI_LIBS to avoid the need to call pkg-config.
   21107 See the pkg-config man page for more details.
   21108 
   21109 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21110 See \`config.log' for more details." >&2;}
   21111    { (exit 1); exit 1; }; }
   21112 else
   21113 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   21114 	DRI_LIBS=$pkg_cv_DRI_LIBS
   21115         { echo "$as_me:$LINENO: result: yes" >&5
   21116 echo "${ECHO_T}yes" >&6; }
   21117 	:
   21118 fi
   21119 
   21120 cat >>confdefs.h <<\_ACEOF
   21121 #define XF86DRI 1
   21122 _ACEOF
   21123 
   21124 
   21125 cat >>confdefs.h <<\_ACEOF
   21126 #define XF86DRI_DEVEL 1
   21127 _ACEOF
   21128 
   21129 fi
   21130 
   21131 save_CFLAGS="$CFLAGS"
   21132 CFLAGS="$XORG_CFLAGS"
   21133 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21134 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   21135 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21136   echo $ECHO_N "(cached) $ECHO_C" >&6
   21137 else
   21138   cat >conftest.$ac_ext <<_ACEOF
   21139 /* confdefs.h.  */
   21140 _ACEOF
   21141 cat confdefs.h >>conftest.$ac_ext
   21142 cat >>conftest.$ac_ext <<_ACEOF
   21143 /* end confdefs.h.  */
   21144 #include "xorg-server.h"
   21145 
   21146 int
   21147 main ()
   21148 {
   21149 #ifndef XSERVER_LIBPCIACCESS
   21150   (void) XSERVER_LIBPCIACCESS;
   21151 #endif
   21152 
   21153   ;
   21154   return 0;
   21155 }
   21156 _ACEOF
   21157 rm -f conftest.$ac_objext
   21158 if { (ac_try="$ac_compile"
   21159 case "(($ac_try" in
   21160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21161   *) ac_try_echo=$ac_try;;
   21162 esac
   21163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21164   (eval "$ac_compile") 2>conftest.er1
   21165   ac_status=$?
   21166   grep -v '^ *+' conftest.er1 >conftest.err
   21167   rm -f conftest.er1
   21168   cat conftest.err >&5
   21169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21170   (exit $ac_status); } && {
   21171 	 test -z "$ac_c_werror_flag" ||
   21172 	 test ! -s conftest.err
   21173        } && test -s conftest.$ac_objext; then
   21174   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21175 else
   21176   echo "$as_me: failed program was:" >&5
   21177 sed 's/^/| /' conftest.$ac_ext >&5
   21178 
   21179 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21180 fi
   21181 
   21182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21183 fi
   21184 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21185 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21186 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   21187   XSERVER_LIBPCIACCESS=yes
   21188 else
   21189   XSERVER_LIBPCIACCESS=no
   21190 fi
   21191 
   21192 CFLAGS="$save_CFLAGS"
   21193 
   21194 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21195 
   21196 pkg_failed=no
   21197 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21198 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   21199 
   21200 if test -n "$PKG_CONFIG"; then
   21201     if test -n "$PCIACCESS_CFLAGS"; then
   21202         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21203     else
   21204         if test -n "$PKG_CONFIG" && \
   21205     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21206   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21207   ac_status=$?
   21208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21209   (exit $ac_status); }; then
   21210   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21211 else
   21212   pkg_failed=yes
   21213 fi
   21214     fi
   21215 else
   21216 	pkg_failed=untried
   21217 fi
   21218 if test -n "$PKG_CONFIG"; then
   21219     if test -n "$PCIACCESS_LIBS"; then
   21220         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21221     else
   21222         if test -n "$PKG_CONFIG" && \
   21223     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21224   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21225   ac_status=$?
   21226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21227   (exit $ac_status); }; then
   21228   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21229 else
   21230   pkg_failed=yes
   21231 fi
   21232     fi
   21233 else
   21234 	pkg_failed=untried
   21235 fi
   21236 
   21237 
   21238 
   21239 if test $pkg_failed = yes; then
   21240 
   21241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21242         _pkg_short_errors_supported=yes
   21243 else
   21244         _pkg_short_errors_supported=no
   21245 fi
   21246         if test $_pkg_short_errors_supported = yes; then
   21247 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   21248         else
   21249 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   21250         fi
   21251 	# Put the nasty error message in config.log where it belongs
   21252 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21253 
   21254 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21255 
   21256 $PCIACCESS_PKG_ERRORS
   21257 
   21258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21259 installed software in a non-standard prefix.
   21260 
   21261 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21262 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21263 See the pkg-config man page for more details.
   21264 " >&5
   21265 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21266 
   21267 $PCIACCESS_PKG_ERRORS
   21268 
   21269 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21270 installed software in a non-standard prefix.
   21271 
   21272 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21273 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21274 See the pkg-config man page for more details.
   21275 " >&2;}
   21276    { (exit 1); exit 1; }; }
   21277 elif test $pkg_failed = untried; then
   21278 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21279 is in your PATH or set the PKG_CONFIG environment variable to the full
   21280 path to pkg-config.
   21281 
   21282 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21283 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21284 See the pkg-config man page for more details.
   21285 
   21286 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21287 See \`config.log' for more details." >&5
   21288 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21289 is in your PATH or set the PKG_CONFIG environment variable to the full
   21290 path to pkg-config.
   21291 
   21292 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21293 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21294 See the pkg-config man page for more details.
   21295 
   21296 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21297 See \`config.log' for more details." >&2;}
   21298    { (exit 1); exit 1; }; }
   21299 else
   21300 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21301 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21302         { echo "$as_me:$LINENO: result: yes" >&5
   21303 echo "${ECHO_T}yes" >&6; }
   21304 	:
   21305 fi
   21306 fi
   21307  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21308   XSERVER_LIBPCIACCESS_TRUE=
   21309   XSERVER_LIBPCIACCESS_FALSE='#'
   21310 else
   21311   XSERVER_LIBPCIACCESS_TRUE='#'
   21312   XSERVER_LIBPCIACCESS_FALSE=
   21313 fi
   21314 
   21315 
   21316  if true; then
   21317   USE_XAA_TRUE=
   21318   USE_XAA_FALSE='#'
   21319 else
   21320   USE_XAA_TRUE='#'
   21321   USE_XAA_FALSE=
   21322 fi
   21323 
   21324 
   21325 cat >>confdefs.h <<\_ACEOF
   21326 #define USE_XAA 1
   21327 _ACEOF
   21328 
   21329 
   21330 # Properly handle EXA.
   21331 { echo "$as_me:$LINENO: checking whether to enable EXA support" >&5
   21332 echo $ECHO_N "checking whether to enable EXA support... $ECHO_C" >&6; }
   21333 if test "x$EXA" = xyes; then
   21334     { echo "$as_me:$LINENO: result: yes" >&5
   21335 echo "${ECHO_T}yes" >&6; }
   21336 
   21337     SAVE_CPPFLAGS="$CPPFLAGS"
   21338     CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21339     if test "${ac_cv_header_exa_h+set}" = set; then
   21340   { echo "$as_me:$LINENO: checking for exa.h" >&5
   21341 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21342 if test "${ac_cv_header_exa_h+set}" = set; then
   21343   echo $ECHO_N "(cached) $ECHO_C" >&6
   21344 fi
   21345 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21346 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21347 else
   21348   # Is the header compilable?
   21349 { echo "$as_me:$LINENO: checking exa.h usability" >&5
   21350 echo $ECHO_N "checking exa.h usability... $ECHO_C" >&6; }
   21351 cat >conftest.$ac_ext <<_ACEOF
   21352 /* confdefs.h.  */
   21353 _ACEOF
   21354 cat confdefs.h >>conftest.$ac_ext
   21355 cat >>conftest.$ac_ext <<_ACEOF
   21356 /* end confdefs.h.  */
   21357 $ac_includes_default
   21358 #include <exa.h>
   21359 _ACEOF
   21360 rm -f conftest.$ac_objext
   21361 if { (ac_try="$ac_compile"
   21362 case "(($ac_try" in
   21363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21364   *) ac_try_echo=$ac_try;;
   21365 esac
   21366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21367   (eval "$ac_compile") 2>conftest.er1
   21368   ac_status=$?
   21369   grep -v '^ *+' conftest.er1 >conftest.err
   21370   rm -f conftest.er1
   21371   cat conftest.err >&5
   21372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21373   (exit $ac_status); } && {
   21374 	 test -z "$ac_c_werror_flag" ||
   21375 	 test ! -s conftest.err
   21376        } && test -s conftest.$ac_objext; then
   21377   ac_header_compiler=yes
   21378 else
   21379   echo "$as_me: failed program was:" >&5
   21380 sed 's/^/| /' conftest.$ac_ext >&5
   21381 
   21382 	ac_header_compiler=no
   21383 fi
   21384 
   21385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21386 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21387 echo "${ECHO_T}$ac_header_compiler" >&6; }
   21388 
   21389 # Is the header present?
   21390 { echo "$as_me:$LINENO: checking exa.h presence" >&5
   21391 echo $ECHO_N "checking exa.h presence... $ECHO_C" >&6; }
   21392 cat >conftest.$ac_ext <<_ACEOF
   21393 /* confdefs.h.  */
   21394 _ACEOF
   21395 cat confdefs.h >>conftest.$ac_ext
   21396 cat >>conftest.$ac_ext <<_ACEOF
   21397 /* end confdefs.h.  */
   21398 #include <exa.h>
   21399 _ACEOF
   21400 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21401 case "(($ac_try" in
   21402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21403   *) ac_try_echo=$ac_try;;
   21404 esac
   21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21406   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21407   ac_status=$?
   21408   grep -v '^ *+' conftest.er1 >conftest.err
   21409   rm -f conftest.er1
   21410   cat conftest.err >&5
   21411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21412   (exit $ac_status); } >/dev/null && {
   21413 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21414 	 test ! -s conftest.err
   21415        }; then
   21416   ac_header_preproc=yes
   21417 else
   21418   echo "$as_me: failed program was:" >&5
   21419 sed 's/^/| /' conftest.$ac_ext >&5
   21420 
   21421   ac_header_preproc=no
   21422 fi
   21423 
   21424 rm -f conftest.err conftest.$ac_ext
   21425 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21426 echo "${ECHO_T}$ac_header_preproc" >&6; }
   21427 
   21428 # So?  What about this header?
   21429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21430   yes:no: )
   21431     { echo "$as_me:$LINENO: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21432 echo "$as_me: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21433     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the compiler's result" >&5
   21434 echo "$as_me: WARNING: exa.h: proceeding with the compiler's result" >&2;}
   21435     ac_header_preproc=yes
   21436     ;;
   21437   no:yes:* )
   21438     { echo "$as_me:$LINENO: WARNING: exa.h: present but cannot be compiled" >&5
   21439 echo "$as_me: WARNING: exa.h: present but cannot be compiled" >&2;}
   21440     { echo "$as_me:$LINENO: WARNING: exa.h:     check for missing prerequisite headers?" >&5
   21441 echo "$as_me: WARNING: exa.h:     check for missing prerequisite headers?" >&2;}
   21442     { echo "$as_me:$LINENO: WARNING: exa.h: see the Autoconf documentation" >&5
   21443 echo "$as_me: WARNING: exa.h: see the Autoconf documentation" >&2;}
   21444     { echo "$as_me:$LINENO: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&5
   21445 echo "$as_me: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21446     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the preprocessor's result" >&5
   21447 echo "$as_me: WARNING: exa.h: proceeding with the preprocessor's result" >&2;}
   21448     { echo "$as_me:$LINENO: WARNING: exa.h: in the future, the compiler will take precedence" >&5
   21449 echo "$as_me: WARNING: exa.h: in the future, the compiler will take precedence" >&2;}
   21450     ( cat <<\_ASBOX
   21451 ## ---------------------------------------------------------------------- ##
   21452 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21453 ## ---------------------------------------------------------------------- ##
   21454 _ASBOX
   21455      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21456     ;;
   21457 esac
   21458 { echo "$as_me:$LINENO: checking for exa.h" >&5
   21459 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21460 if test "${ac_cv_header_exa_h+set}" = set; then
   21461   echo $ECHO_N "(cached) $ECHO_C" >&6
   21462 else
   21463   ac_cv_header_exa_h=$ac_header_preproc
   21464 fi
   21465 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21466 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21467 
   21468 fi
   21469 if test $ac_cv_header_exa_h = yes; then
   21470   have_exa_h="yes"
   21471 else
   21472   have_exa_h="no"
   21473 fi
   21474 
   21475 
   21476     CPPFLAGS="$SAVE_CPPFLAGS"
   21477 else
   21478     { echo "$as_me:$LINENO: result: no" >&5
   21479 echo "${ECHO_T}no" >&6; }
   21480 fi
   21481 
   21482 SAVE_CPPFLAGS="$CPPFLAGS"
   21483 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21484 if test "x$have_exa_h" = xyes; then
   21485     { echo "$as_me:$LINENO: checking whether EXA version is at least 2.0.0" >&5
   21486 echo $ECHO_N "checking whether EXA version is at least 2.0.0... $ECHO_C" >&6; }
   21487     cat >conftest.$ac_ext <<_ACEOF
   21488 /* confdefs.h.  */
   21489 _ACEOF
   21490 cat confdefs.h >>conftest.$ac_ext
   21491 cat >>conftest.$ac_ext <<_ACEOF
   21492 /* end confdefs.h.  */
   21493 
   21494 #include "exa.h"
   21495 #if EXA_VERSION_MAJOR < 2
   21496 #error OLD EXA!
   21497 #endif
   21498 
   21499 int
   21500 main ()
   21501 {
   21502 
   21503   ;
   21504   return 0;
   21505 }
   21506 _ACEOF
   21507 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21508 case "(($ac_try" in
   21509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21510   *) ac_try_echo=$ac_try;;
   21511 esac
   21512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21513   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21514   ac_status=$?
   21515   grep -v '^ *+' conftest.er1 >conftest.err
   21516   rm -f conftest.er1
   21517   cat conftest.err >&5
   21518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21519   (exit $ac_status); } >/dev/null && {
   21520 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21521 	 test ! -s conftest.err
   21522        }; then
   21523   USE_EXA=yes
   21524 else
   21525   echo "$as_me: failed program was:" >&5
   21526 sed 's/^/| /' conftest.$ac_ext >&5
   21527 
   21528   USE_EXA=no
   21529 fi
   21530 
   21531 rm -f conftest.err conftest.$ac_ext
   21532     { echo "$as_me:$LINENO: result: $USE_EXA" >&5
   21533 echo "${ECHO_T}$USE_EXA" >&6; }
   21534 
   21535     if test "x$USE_EXA" = xyes; then
   21536 
   21537 cat >>confdefs.h <<\_ACEOF
   21538 #define USE_EXA 1
   21539 _ACEOF
   21540 
   21541     fi
   21542 fi
   21543 CPPFLAGS="$SAVE_CPPFLAGS"
   21544 
   21545  if test "x$USE_EXA" = xyes; then
   21546   USE_EXA_TRUE=
   21547   USE_EXA_FALSE='#'
   21548 else
   21549   USE_EXA_TRUE='#'
   21550   USE_EXA_FALSE=
   21551 fi
   21552 
   21553 
   21554 
   21555 
   21556 
   21557 
   21558 DRIVER_NAME=mga
   21559 
   21560 
   21561 
   21562 
   21563 
   21564 if test x$APP_MAN_SUFFIX = x    ; then
   21565     APP_MAN_SUFFIX=1
   21566 fi
   21567 if test x$APP_MAN_DIR = x    ; then
   21568     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21569 fi
   21570 
   21571 if test x$LIB_MAN_SUFFIX = x    ; then
   21572     LIB_MAN_SUFFIX=3
   21573 fi
   21574 if test x$LIB_MAN_DIR = x    ; then
   21575     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21576 fi
   21577 
   21578 if test x$FILE_MAN_SUFFIX = x    ; then
   21579     case $host_os in
   21580 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21581 	*)		FILE_MAN_SUFFIX=5  ;;
   21582     esac
   21583 fi
   21584 if test x$FILE_MAN_DIR = x    ; then
   21585     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21586 fi
   21587 
   21588 if test x$MISC_MAN_SUFFIX = x    ; then
   21589     case $host_os in
   21590 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21591 	*)		MISC_MAN_SUFFIX=7  ;;
   21592     esac
   21593 fi
   21594 if test x$MISC_MAN_DIR = x    ; then
   21595     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21596 fi
   21597 
   21598 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21599     case $host_os in
   21600 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21601 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21602     esac
   21603 fi
   21604 if test x$DRIVER_MAN_DIR = x    ; then
   21605     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21606 fi
   21607 
   21608 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21609     case $host_os in
   21610 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21611 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21612     esac
   21613 fi
   21614 if test x$ADMIN_MAN_DIR = x    ; then
   21615     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21616 fi
   21617 
   21618 
   21619 
   21620 
   21621 
   21622 
   21623 
   21624 
   21625 
   21626 
   21627 
   21628 
   21629 
   21630 
   21631 
   21632 
   21633 
   21634 # Check whether --with-release-version was given.
   21635 if test "${with_release_version+set}" = set; then
   21636   withval=$with_release_version; RELEASE_VERSION="$withval"
   21637 else
   21638   RELEASE_VERSION=""
   21639 fi
   21640 
   21641 	if test "x$RELEASE_VERSION" != "x"; then
   21642 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21643 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21644 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21645 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21646 	fi
   21647 
   21648 cat >>confdefs.h <<_ACEOF
   21649 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21650 _ACEOF
   21651 
   21652 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
   21653 	if test "x$PVM" = "x"; then
   21654 		PVM="0"
   21655 	fi
   21656 
   21657 cat >>confdefs.h <<_ACEOF
   21658 #define PACKAGE_VERSION_MINOR $PVM
   21659 _ACEOF
   21660 
   21661 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
   21662 	if test "x$PVP" = "x"; then
   21663 		PVP="0"
   21664 	fi
   21665 
   21666 cat >>confdefs.h <<_ACEOF
   21667 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21668 _ACEOF
   21669 
   21670 
   21671 
   21672 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile util/Makefile"
   21673 
   21674 cat >confcache <<\_ACEOF
   21675 # This file is a shell script that caches the results of configure
   21676 # tests run on this system so they can be shared between configure
   21677 # scripts and configure runs, see configure's option --config-cache.
   21678 # It is not useful on other systems.  If it contains results you don't
   21679 # want to keep, you may remove or edit it.
   21680 #
   21681 # config.status only pays attention to the cache file if you give it
   21682 # the --recheck option to rerun configure.
   21683 #
   21684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21686 # following values.
   21687 
   21688 _ACEOF
   21689 
   21690 # The following way of writing the cache mishandles newlines in values,
   21691 # but we know of no workaround that is simple, portable, and efficient.
   21692 # So, we kill variables containing newlines.
   21693 # Ultrix sh set writes to stderr and can't be redirected directly,
   21694 # and sets the high bit in the cache file unless we assign to the vars.
   21695 (
   21696   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21697     eval ac_val=\$$ac_var
   21698     case $ac_val in #(
   21699     *${as_nl}*)
   21700       case $ac_var in #(
   21701       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   21702 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21703       esac
   21704       case $ac_var in #(
   21705       _ | IFS | as_nl) ;; #(
   21706       *) $as_unset $ac_var ;;
   21707       esac ;;
   21708     esac
   21709   done
   21710 
   21711   (set) 2>&1 |
   21712     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21713     *${as_nl}ac_space=\ *)
   21714       # `set' does not quote correctly, so add quotes (double-quote
   21715       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21716       sed -n \
   21717 	"s/'/'\\\\''/g;
   21718 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21719       ;; #(
   21720     *)
   21721       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21722       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21723       ;;
   21724     esac |
   21725     sort
   21726 ) |
   21727   sed '
   21728      /^ac_cv_env_/b end
   21729      t clear
   21730      :clear
   21731      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21732      t end
   21733      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21734      :end' >>confcache
   21735 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21736   if test -w "$cache_file"; then
   21737     test "x$cache_file" != "x/dev/null" &&
   21738       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21739 echo "$as_me: updating cache $cache_file" >&6;}
   21740     cat confcache >$cache_file
   21741   else
   21742     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21743 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21744   fi
   21745 fi
   21746 rm -f confcache
   21747 
   21748 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21749 # Let make expand exec_prefix.
   21750 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21751 
   21752 DEFS=-DHAVE_CONFIG_H
   21753 
   21754 ac_libobjs=
   21755 ac_ltlibobjs=
   21756 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21757   # 1. Remove the extension, and $U if already installed.
   21758   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21759   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21760   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21761   #    will be set to the directory where LIBOBJS objects are built.
   21762   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21763   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21764 done
   21765 LIBOBJS=$ac_libobjs
   21766 
   21767 LTLIBOBJS=$ac_ltlibobjs
   21768 
   21769 
   21770 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21771   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21772 Usually this means the macro was only invoked conditionally." >&5
   21773 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21774 Usually this means the macro was only invoked conditionally." >&2;}
   21775    { (exit 1); exit 1; }; }
   21776 fi
   21777 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21778   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21779 Usually this means the macro was only invoked conditionally." >&5
   21780 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21781 Usually this means the macro was only invoked conditionally." >&2;}
   21782    { (exit 1); exit 1; }; }
   21783 fi
   21784 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21785   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21786 Usually this means the macro was only invoked conditionally." >&5
   21787 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21788 Usually this means the macro was only invoked conditionally." >&2;}
   21789    { (exit 1); exit 1; }; }
   21790 fi
   21791 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21792   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21793 Usually this means the macro was only invoked conditionally." >&5
   21794 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21795 Usually this means the macro was only invoked conditionally." >&2;}
   21796    { (exit 1); exit 1; }; }
   21797 fi
   21798 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21799   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21800 Usually this means the macro was only invoked conditionally." >&5
   21801 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21802 Usually this means the macro was only invoked conditionally." >&2;}
   21803    { (exit 1); exit 1; }; }
   21804 fi
   21805 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   21806   { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   21807 Usually this means the macro was only invoked conditionally." >&5
   21808 echo "$as_me: error: conditional \"DRI\" was never defined.
   21809 Usually this means the macro was only invoked conditionally." >&2;}
   21810    { (exit 1); exit 1; }; }
   21811 fi
   21812 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   21813   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21814 Usually this means the macro was only invoked conditionally." >&5
   21815 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21816 Usually this means the macro was only invoked conditionally." >&2;}
   21817    { (exit 1); exit 1; }; }
   21818 fi
   21819 if test -z "${USE_XAA_TRUE}" && test -z "${USE_XAA_FALSE}"; then
   21820   { { echo "$as_me:$LINENO: error: conditional \"USE_XAA\" was never defined.
   21821 Usually this means the macro was only invoked conditionally." >&5
   21822 echo "$as_me: error: conditional \"USE_XAA\" was never defined.
   21823 Usually this means the macro was only invoked conditionally." >&2;}
   21824    { (exit 1); exit 1; }; }
   21825 fi
   21826 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   21827   { { echo "$as_me:$LINENO: error: conditional \"USE_EXA\" was never defined.
   21828 Usually this means the macro was only invoked conditionally." >&5
   21829 echo "$as_me: error: conditional \"USE_EXA\" was never defined.
   21830 Usually this means the macro was only invoked conditionally." >&2;}
   21831    { (exit 1); exit 1; }; }
   21832 fi
   21833 
   21834 : ${CONFIG_STATUS=./config.status}
   21835 ac_clean_files_save=$ac_clean_files
   21836 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21837 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21838 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21839 cat >$CONFIG_STATUS <<_ACEOF
   21840 #! $SHELL
   21841 # Generated by $as_me.
   21842 # Run this file to recreate the current configuration.
   21843 # Compiler output produced by configure, useful for debugging
   21844 # configure, is in config.log if it exists.
   21845 
   21846 debug=false
   21847 ac_cs_recheck=false
   21848 ac_cs_silent=false
   21849 SHELL=\${CONFIG_SHELL-$SHELL}
   21850 _ACEOF
   21851 
   21852 cat >>$CONFIG_STATUS <<\_ACEOF
   21853 ## --------------------- ##
   21854 ## M4sh Initialization.  ##
   21855 ## --------------------- ##
   21856 
   21857 # Be more Bourne compatible
   21858 DUALCASE=1; export DUALCASE # for MKS sh
   21859 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21860   emulate sh
   21861   NULLCMD=:
   21862   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21863   # is contrary to our usage.  Disable this feature.
   21864   alias -g '${1+"$@"}'='"$@"'
   21865   setopt NO_GLOB_SUBST
   21866 else
   21867   case `(set -o) 2>/dev/null` in
   21868   *posix*) set -o posix ;;
   21869 esac
   21870 
   21871 fi
   21872 
   21873 
   21874 
   21875 
   21876 # PATH needs CR
   21877 # Avoid depending upon Character Ranges.
   21878 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21879 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21880 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21881 as_cr_digits='0123456789'
   21882 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21883 
   21884 # The user is always right.
   21885 if test "${PATH_SEPARATOR+set}" != set; then
   21886   echo "#! /bin/sh" >conf$$.sh
   21887   echo  "exit 0"   >>conf$$.sh
   21888   chmod +x conf$$.sh
   21889   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21890     PATH_SEPARATOR=';'
   21891   else
   21892     PATH_SEPARATOR=:
   21893   fi
   21894   rm -f conf$$.sh
   21895 fi
   21896 
   21897 # Support unset when possible.
   21898 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21899   as_unset=unset
   21900 else
   21901   as_unset=false
   21902 fi
   21903 
   21904 
   21905 # IFS
   21906 # We need space, tab and new line, in precisely that order.  Quoting is
   21907 # there to prevent editors from complaining about space-tab.
   21908 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21909 # splitting by setting IFS to empty value.)
   21910 as_nl='
   21911 '
   21912 IFS=" ""	$as_nl"
   21913 
   21914 # Find who we are.  Look in the path if we contain no directory separator.
   21915 case $0 in
   21916   *[\\/]* ) as_myself=$0 ;;
   21917   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21918 for as_dir in $PATH
   21919 do
   21920   IFS=$as_save_IFS
   21921   test -z "$as_dir" && as_dir=.
   21922   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21923 done
   21924 IFS=$as_save_IFS
   21925 
   21926      ;;
   21927 esac
   21928 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21929 # in which case we are not to be found in the path.
   21930 if test "x$as_myself" = x; then
   21931   as_myself=$0
   21932 fi
   21933 if test ! -f "$as_myself"; then
   21934   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21935   { (exit 1); exit 1; }
   21936 fi
   21937 
   21938 # Work around bugs in pre-3.0 UWIN ksh.
   21939 for as_var in ENV MAIL MAILPATH
   21940 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21941 done
   21942 PS1='$ '
   21943 PS2='> '
   21944 PS4='+ '
   21945 
   21946 # NLS nuisances.
   21947 for as_var in \
   21948   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   21949   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   21950   LC_TELEPHONE LC_TIME
   21951 do
   21952   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   21953     eval $as_var=C; export $as_var
   21954   else
   21955     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21956   fi
   21957 done
   21958 
   21959 # Required to use basename.
   21960 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21961    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21962   as_expr=expr
   21963 else
   21964   as_expr=false
   21965 fi
   21966 
   21967 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21968   as_basename=basename
   21969 else
   21970   as_basename=false
   21971 fi
   21972 
   21973 
   21974 # Name of the executable.
   21975 as_me=`$as_basename -- "$0" ||
   21976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21977 	 X"$0" : 'X\(//\)$' \| \
   21978 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21979 echo X/"$0" |
   21980     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21981 	    s//\1/
   21982 	    q
   21983 	  }
   21984 	  /^X\/\(\/\/\)$/{
   21985 	    s//\1/
   21986 	    q
   21987 	  }
   21988 	  /^X\/\(\/\).*/{
   21989 	    s//\1/
   21990 	    q
   21991 	  }
   21992 	  s/.*/./; q'`
   21993 
   21994 # CDPATH.
   21995 $as_unset CDPATH
   21996 
   21997 
   21998 
   21999   as_lineno_1=$LINENO
   22000   as_lineno_2=$LINENO
   22001   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22002   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22003 
   22004   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22005   # uniformly replaced by the line number.  The first 'sed' inserts a
   22006   # line-number line after each line using $LINENO; the second 'sed'
   22007   # does the real work.  The second script uses 'N' to pair each
   22008   # line-number line with the line containing $LINENO, and appends
   22009   # trailing '-' during substitution so that $LINENO is not a special
   22010   # case at line end.
   22011   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22012   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22013   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22014   sed -n '
   22015     p
   22016     /[$]LINENO/=
   22017   ' <$as_myself |
   22018     sed '
   22019       s/[$]LINENO.*/&-/
   22020       t lineno
   22021       b
   22022       :lineno
   22023       N
   22024       :loop
   22025       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22026       t loop
   22027       s/-\n.*//
   22028     ' >$as_me.lineno &&
   22029   chmod +x "$as_me.lineno" ||
   22030     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22031    { (exit 1); exit 1; }; }
   22032 
   22033   # Don't try to exec as it changes $[0], causing all sort of problems
   22034   # (the dirname of $[0] is not the place where we might find the
   22035   # original and so on.  Autoconf is especially sensitive to this).
   22036   . "./$as_me.lineno"
   22037   # Exit status is that of the last command.
   22038   exit
   22039 }
   22040 
   22041 
   22042 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22043   as_dirname=dirname
   22044 else
   22045   as_dirname=false
   22046 fi
   22047 
   22048 ECHO_C= ECHO_N= ECHO_T=
   22049 case `echo -n x` in
   22050 -n*)
   22051   case `echo 'x\c'` in
   22052   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22053   *)   ECHO_C='\c';;
   22054   esac;;
   22055 *)
   22056   ECHO_N='-n';;
   22057 esac
   22058 
   22059 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22060    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22061   as_expr=expr
   22062 else
   22063   as_expr=false
   22064 fi
   22065 
   22066 rm -f conf$$ conf$$.exe conf$$.file
   22067 if test -d conf$$.dir; then
   22068   rm -f conf$$.dir/conf$$.file
   22069 else
   22070   rm -f conf$$.dir
   22071   mkdir conf$$.dir
   22072 fi
   22073 echo >conf$$.file
   22074 if ln -s conf$$.file conf$$ 2>/dev/null; then
   22075   as_ln_s='ln -s'
   22076   # ... but there are two gotchas:
   22077   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22078   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22079   # In both cases, we have to default to `cp -p'.
   22080   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22081     as_ln_s='cp -p'
   22082 elif ln conf$$.file conf$$ 2>/dev/null; then
   22083   as_ln_s=ln
   22084 else
   22085   as_ln_s='cp -p'
   22086 fi
   22087 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22088 rmdir conf$$.dir 2>/dev/null
   22089 
   22090 if mkdir -p . 2>/dev/null; then
   22091   as_mkdir_p=:
   22092 else
   22093   test -d ./-p && rmdir ./-p
   22094   as_mkdir_p=false
   22095 fi
   22096 
   22097 if test -x / >/dev/null 2>&1; then
   22098   as_test_x='test -x'
   22099 else
   22100   if ls -dL / >/dev/null 2>&1; then
   22101     as_ls_L_option=L
   22102   else
   22103     as_ls_L_option=
   22104   fi
   22105   as_test_x='
   22106     eval sh -c '\''
   22107       if test -d "$1"; then
   22108         test -d "$1/.";
   22109       else
   22110 	case $1 in
   22111         -*)set "./$1";;
   22112 	esac;
   22113 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22114 	???[sx]*):;;*)false;;esac;fi
   22115     '\'' sh
   22116   '
   22117 fi
   22118 as_executable_p=$as_test_x
   22119 
   22120 # Sed expression to map a string onto a valid CPP name.
   22121 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22122 
   22123 # Sed expression to map a string onto a valid variable name.
   22124 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22125 
   22126 
   22127 exec 6>&1
   22128 
   22129 # Save the log message, to keep $[0] and so on meaningful, and to
   22130 # report actual input values of CONFIG_FILES etc. instead of their
   22131 # values after options handling.
   22132 ac_log="
   22133 This file was extended by xf86-video-mga $as_me 1.4.8, which was
   22134 generated by GNU Autoconf 2.61.  Invocation command line was
   22135 
   22136   CONFIG_FILES    = $CONFIG_FILES
   22137   CONFIG_HEADERS  = $CONFIG_HEADERS
   22138   CONFIG_LINKS    = $CONFIG_LINKS
   22139   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22140   $ $0 $@
   22141 
   22142 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22143 "
   22144 
   22145 _ACEOF
   22146 
   22147 cat >>$CONFIG_STATUS <<_ACEOF
   22148 # Files that config.status was made for.
   22149 config_files="$ac_config_files"
   22150 config_headers="$ac_config_headers"
   22151 config_commands="$ac_config_commands"
   22152 
   22153 _ACEOF
   22154 
   22155 cat >>$CONFIG_STATUS <<\_ACEOF
   22156 ac_cs_usage="\
   22157 \`$as_me' instantiates files from templates according to the
   22158 current configuration.
   22159 
   22160 Usage: $0 [OPTIONS] [FILE]...
   22161 
   22162   -h, --help       print this help, then exit
   22163   -V, --version    print version number and configuration settings, then exit
   22164   -q, --quiet      do not print progress messages
   22165   -d, --debug      don't remove temporary files
   22166       --recheck    update $as_me by reconfiguring in the same conditions
   22167   --file=FILE[:TEMPLATE]
   22168 		   instantiate the configuration file FILE
   22169   --header=FILE[:TEMPLATE]
   22170 		   instantiate the configuration header FILE
   22171 
   22172 Configuration files:
   22173 $config_files
   22174 
   22175 Configuration headers:
   22176 $config_headers
   22177 
   22178 Configuration commands:
   22179 $config_commands
   22180 
   22181 Report bugs to <bug-autoconf (at] gnu.org>."
   22182 
   22183 _ACEOF
   22184 cat >>$CONFIG_STATUS <<_ACEOF
   22185 ac_cs_version="\\
   22186 xf86-video-mga config.status 1.4.8
   22187 configured by $0, generated by GNU Autoconf 2.61,
   22188   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22189 
   22190 Copyright (C) 2006 Free Software Foundation, Inc.
   22191 This config.status script is free software; the Free Software Foundation
   22192 gives unlimited permission to copy, distribute and modify it."
   22193 
   22194 ac_pwd='$ac_pwd'
   22195 srcdir='$srcdir'
   22196 INSTALL='$INSTALL'
   22197 MKDIR_P='$MKDIR_P'
   22198 _ACEOF
   22199 
   22200 cat >>$CONFIG_STATUS <<\_ACEOF
   22201 # If no file are specified by the user, then we need to provide default
   22202 # value.  By we need to know if files were specified by the user.
   22203 ac_need_defaults=:
   22204 while test $# != 0
   22205 do
   22206   case $1 in
   22207   --*=*)
   22208     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22209     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22210     ac_shift=:
   22211     ;;
   22212   *)
   22213     ac_option=$1
   22214     ac_optarg=$2
   22215     ac_shift=shift
   22216     ;;
   22217   esac
   22218 
   22219   case $ac_option in
   22220   # Handling of the options.
   22221   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22222     ac_cs_recheck=: ;;
   22223   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22224     echo "$ac_cs_version"; exit ;;
   22225   --debug | --debu | --deb | --de | --d | -d )
   22226     debug=: ;;
   22227   --file | --fil | --fi | --f )
   22228     $ac_shift
   22229     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   22230     ac_need_defaults=false;;
   22231   --header | --heade | --head | --hea )
   22232     $ac_shift
   22233     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   22234     ac_need_defaults=false;;
   22235   --he | --h)
   22236     # Conflict between --help and --header
   22237     { echo "$as_me: error: ambiguous option: $1
   22238 Try \`$0 --help' for more information." >&2
   22239    { (exit 1); exit 1; }; };;
   22240   --help | --hel | -h )
   22241     echo "$ac_cs_usage"; exit ;;
   22242   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22243   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22244     ac_cs_silent=: ;;
   22245 
   22246   # This is an error.
   22247   -*) { echo "$as_me: error: unrecognized option: $1
   22248 Try \`$0 --help' for more information." >&2
   22249    { (exit 1); exit 1; }; } ;;
   22250 
   22251   *) ac_config_targets="$ac_config_targets $1"
   22252      ac_need_defaults=false ;;
   22253 
   22254   esac
   22255   shift
   22256 done
   22257 
   22258 ac_configure_extra_args=
   22259 
   22260 if $ac_cs_silent; then
   22261   exec 6>/dev/null
   22262   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22263 fi
   22264 
   22265 _ACEOF
   22266 cat >>$CONFIG_STATUS <<_ACEOF
   22267 if \$ac_cs_recheck; then
   22268   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   22269   CONFIG_SHELL=$SHELL
   22270   export CONFIG_SHELL
   22271   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22272 fi
   22273 
   22274 _ACEOF
   22275 cat >>$CONFIG_STATUS <<\_ACEOF
   22276 exec 5>>config.log
   22277 {
   22278   echo
   22279   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22280 ## Running $as_me. ##
   22281 _ASBOX
   22282   echo "$ac_log"
   22283 } >&5
   22284 
   22285 _ACEOF
   22286 cat >>$CONFIG_STATUS <<_ACEOF
   22287 #
   22288 # INIT-COMMANDS
   22289 #
   22290 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22291 
   22292 _ACEOF
   22293 
   22294 cat >>$CONFIG_STATUS <<\_ACEOF
   22295 
   22296 # Handling of arguments.
   22297 for ac_config_target in $ac_config_targets
   22298 do
   22299   case $ac_config_target in
   22300     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22301     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22302     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22303     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22304     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22305     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   22306 
   22307   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22308 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22309    { (exit 1); exit 1; }; };;
   22310   esac
   22311 done
   22312 
   22313 
   22314 # If the user did not use the arguments to specify the items to instantiate,
   22315 # then the envvar interface is used.  Set only those that are not.
   22316 # We use the long form for the default assignment because of an extremely
   22317 # bizarre bug on SunOS 4.1.3.
   22318 if $ac_need_defaults; then
   22319   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22320   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22321   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22322 fi
   22323 
   22324 # Have a temporary directory for convenience.  Make it in the build tree
   22325 # simply because there is no reason against having it here, and in addition,
   22326 # creating and moving files from /tmp can sometimes cause problems.
   22327 # Hook for its removal unless debugging.
   22328 # Note that there is a small window in which the directory will not be cleaned:
   22329 # after its creation but before its name has been assigned to `$tmp'.
   22330 $debug ||
   22331 {
   22332   tmp=
   22333   trap 'exit_status=$?
   22334   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22335 ' 0
   22336   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22337 }
   22338 # Create a (secure) tmp directory for tmp files.
   22339 
   22340 {
   22341   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22342   test -n "$tmp" && test -d "$tmp"
   22343 }  ||
   22344 {
   22345   tmp=./conf$$-$RANDOM
   22346   (umask 077 && mkdir "$tmp")
   22347 } ||
   22348 {
   22349    echo "$me: cannot create a temporary directory in ." >&2
   22350    { (exit 1); exit 1; }
   22351 }
   22352 
   22353 #
   22354 # Set up the sed scripts for CONFIG_FILES section.
   22355 #
   22356 
   22357 # No need to generate the scripts if there are no CONFIG_FILES.
   22358 # This happens for instance when ./config.status config.h
   22359 if test -n "$CONFIG_FILES"; then
   22360 
   22361 _ACEOF
   22362 
   22363 
   22364 
   22365 ac_delim='%!_!# '
   22366 for ac_last_try in false false false false false :; do
   22367   cat >conf$$subs.sed <<_ACEOF
   22368 SHELL!$SHELL$ac_delim
   22369 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   22370 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   22371 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   22372 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   22373 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   22374 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   22375 exec_prefix!$exec_prefix$ac_delim
   22376 prefix!$prefix$ac_delim
   22377 program_transform_name!$program_transform_name$ac_delim
   22378 bindir!$bindir$ac_delim
   22379 sbindir!$sbindir$ac_delim
   22380 libexecdir!$libexecdir$ac_delim
   22381 datarootdir!$datarootdir$ac_delim
   22382 datadir!$datadir$ac_delim
   22383 sysconfdir!$sysconfdir$ac_delim
   22384 sharedstatedir!$sharedstatedir$ac_delim
   22385 localstatedir!$localstatedir$ac_delim
   22386 includedir!$includedir$ac_delim
   22387 oldincludedir!$oldincludedir$ac_delim
   22388 docdir!$docdir$ac_delim
   22389 infodir!$infodir$ac_delim
   22390 htmldir!$htmldir$ac_delim
   22391 dvidir!$dvidir$ac_delim
   22392 pdfdir!$pdfdir$ac_delim
   22393 psdir!$psdir$ac_delim
   22394 libdir!$libdir$ac_delim
   22395 localedir!$localedir$ac_delim
   22396 mandir!$mandir$ac_delim
   22397 DEFS!$DEFS$ac_delim
   22398 ECHO_C!$ECHO_C$ac_delim
   22399 ECHO_N!$ECHO_N$ac_delim
   22400 ECHO_T!$ECHO_T$ac_delim
   22401 LIBS!$LIBS$ac_delim
   22402 build_alias!$build_alias$ac_delim
   22403 host_alias!$host_alias$ac_delim
   22404 target_alias!$target_alias$ac_delim
   22405 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   22406 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   22407 INSTALL_DATA!$INSTALL_DATA$ac_delim
   22408 am__isrc!$am__isrc$ac_delim
   22409 CYGPATH_W!$CYGPATH_W$ac_delim
   22410 PACKAGE!$PACKAGE$ac_delim
   22411 VERSION!$VERSION$ac_delim
   22412 ACLOCAL!$ACLOCAL$ac_delim
   22413 AUTOCONF!$AUTOCONF$ac_delim
   22414 AUTOMAKE!$AUTOMAKE$ac_delim
   22415 AUTOHEADER!$AUTOHEADER$ac_delim
   22416 MAKEINFO!$MAKEINFO$ac_delim
   22417 install_sh!$install_sh$ac_delim
   22418 STRIP!$STRIP$ac_delim
   22419 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   22420 mkdir_p!$mkdir_p$ac_delim
   22421 AWK!$AWK$ac_delim
   22422 SET_MAKE!$SET_MAKE$ac_delim
   22423 am__leading_dot!$am__leading_dot$ac_delim
   22424 AMTAR!$AMTAR$ac_delim
   22425 am__tar!$am__tar$ac_delim
   22426 am__untar!$am__untar$ac_delim
   22427 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   22428 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   22429 MAINT!$MAINT$ac_delim
   22430 build!$build$ac_delim
   22431 build_cpu!$build_cpu$ac_delim
   22432 build_vendor!$build_vendor$ac_delim
   22433 build_os!$build_os$ac_delim
   22434 host!$host$ac_delim
   22435 host_cpu!$host_cpu$ac_delim
   22436 host_vendor!$host_vendor$ac_delim
   22437 host_os!$host_os$ac_delim
   22438 CC!$CC$ac_delim
   22439 CFLAGS!$CFLAGS$ac_delim
   22440 LDFLAGS!$LDFLAGS$ac_delim
   22441 CPPFLAGS!$CPPFLAGS$ac_delim
   22442 ac_ct_CC!$ac_ct_CC$ac_delim
   22443 EXEEXT!$EXEEXT$ac_delim
   22444 OBJEXT!$OBJEXT$ac_delim
   22445 DEPDIR!$DEPDIR$ac_delim
   22446 am__include!$am__include$ac_delim
   22447 am__quote!$am__quote$ac_delim
   22448 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   22449 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   22450 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   22451 CCDEPMODE!$CCDEPMODE$ac_delim
   22452 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   22453 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   22454 SED!$SED$ac_delim
   22455 GREP!$GREP$ac_delim
   22456 EGREP!$EGREP$ac_delim
   22457 LN_S!$LN_S$ac_delim
   22458 ECHO!$ECHO$ac_delim
   22459 AR!$AR$ac_delim
   22460 RANLIB!$RANLIB$ac_delim
   22461 CPP!$CPP$ac_delim
   22462 CXX!$CXX$ac_delim
   22463 CXXFLAGS!$CXXFLAGS$ac_delim
   22464 ac_ct_CXX!$ac_ct_CXX$ac_delim
   22465 _ACEOF
   22466 
   22467   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   22468     break
   22469   elif $ac_last_try; then
   22470     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22471 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22472    { (exit 1); exit 1; }; }
   22473   else
   22474     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22475   fi
   22476 done
   22477 
   22478 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22479 if test -n "$ac_eof"; then
   22480   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22481   ac_eof=`expr $ac_eof + 1`
   22482 fi
   22483 
   22484 cat >>$CONFIG_STATUS <<_ACEOF
   22485 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   22486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22487 _ACEOF
   22488 sed '
   22489 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22490 s/^/s,@/; s/!/@,|#_!!_#|/
   22491 :n
   22492 t n
   22493 s/'"$ac_delim"'$/,g/; t
   22494 s/$/\\/; p
   22495 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22496 ' >>$CONFIG_STATUS <conf$$subs.sed
   22497 rm -f conf$$subs.sed
   22498 cat >>$CONFIG_STATUS <<_ACEOF
   22499 CEOF$ac_eof
   22500 _ACEOF
   22501 
   22502 
   22503 ac_delim='%!_!# '
   22504 for ac_last_try in false false false false false :; do
   22505   cat >conf$$subs.sed <<_ACEOF
   22506 CXXDEPMODE!$CXXDEPMODE$ac_delim
   22507 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   22508 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   22509 CXXCPP!$CXXCPP$ac_delim
   22510 F77!$F77$ac_delim
   22511 FFLAGS!$FFLAGS$ac_delim
   22512 ac_ct_F77!$ac_ct_F77$ac_delim
   22513 LIBTOOL!$LIBTOOL$ac_delim
   22514 PKG_CONFIG!$PKG_CONFIG$ac_delim
   22515 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   22516 XORG_LIBS!$XORG_LIBS$ac_delim
   22517 DRI_TRUE!$DRI_TRUE$ac_delim
   22518 DRI_FALSE!$DRI_FALSE$ac_delim
   22519 DRI_CFLAGS!$DRI_CFLAGS$ac_delim
   22520 DRI_LIBS!$DRI_LIBS$ac_delim
   22521 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   22522 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   22523 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   22524 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   22525 USE_XAA_TRUE!$USE_XAA_TRUE$ac_delim
   22526 USE_XAA_FALSE!$USE_XAA_FALSE$ac_delim
   22527 USE_EXA_TRUE!$USE_EXA_TRUE$ac_delim
   22528 USE_EXA_FALSE!$USE_EXA_FALSE$ac_delim
   22529 moduledir!$moduledir$ac_delim
   22530 DRIVER_NAME!$DRIVER_NAME$ac_delim
   22531 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   22532 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   22533 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   22534 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   22535 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   22536 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   22537 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   22538 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   22539 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   22540 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   22541 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   22542 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   22543 LIBOBJS!$LIBOBJS$ac_delim
   22544 LTLIBOBJS!$LTLIBOBJS$ac_delim
   22545 _ACEOF
   22546 
   22547   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then
   22548     break
   22549   elif $ac_last_try; then
   22550     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22551 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22552    { (exit 1); exit 1; }; }
   22553   else
   22554     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22555   fi
   22556 done
   22557 
   22558 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22559 if test -n "$ac_eof"; then
   22560   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22561   ac_eof=`expr $ac_eof + 1`
   22562 fi
   22563 
   22564 cat >>$CONFIG_STATUS <<_ACEOF
   22565 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   22566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   22567 _ACEOF
   22568 sed '
   22569 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22570 s/^/s,@/; s/!/@,|#_!!_#|/
   22571 :n
   22572 t n
   22573 s/'"$ac_delim"'$/,g/; t
   22574 s/$/\\/; p
   22575 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22576 ' >>$CONFIG_STATUS <conf$$subs.sed
   22577 rm -f conf$$subs.sed
   22578 cat >>$CONFIG_STATUS <<_ACEOF
   22579 :end
   22580 s/|#_!!_#|//g
   22581 CEOF$ac_eof
   22582 _ACEOF
   22583 
   22584 
   22585 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22586 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22587 # trailing colons and then remove the whole line if VPATH becomes empty
   22588 # (actually we leave an empty line to preserve line numbers).
   22589 if test "x$srcdir" = x.; then
   22590   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22591 s/:*\$(srcdir):*/:/
   22592 s/:*\${srcdir}:*/:/
   22593 s/:*@srcdir@:*/:/
   22594 s/^\([^=]*=[	 ]*\):*/\1/
   22595 s/:*$//
   22596 s/^[^=]*=[	 ]*$//
   22597 }'
   22598 fi
   22599 
   22600 cat >>$CONFIG_STATUS <<\_ACEOF
   22601 fi # test -n "$CONFIG_FILES"
   22602 
   22603 
   22604 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   22605 do
   22606   case $ac_tag in
   22607   :[FHLC]) ac_mode=$ac_tag; continue;;
   22608   esac
   22609   case $ac_mode$ac_tag in
   22610   :[FHL]*:*);;
   22611   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   22612 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   22613    { (exit 1); exit 1; }; };;
   22614   :[FH]-) ac_tag=-:-;;
   22615   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22616   esac
   22617   ac_save_IFS=$IFS
   22618   IFS=:
   22619   set x $ac_tag
   22620   IFS=$ac_save_IFS
   22621   shift
   22622   ac_file=$1
   22623   shift
   22624 
   22625   case $ac_mode in
   22626   :L) ac_source=$1;;
   22627   :[FH])
   22628     ac_file_inputs=
   22629     for ac_f
   22630     do
   22631       case $ac_f in
   22632       -) ac_f="$tmp/stdin";;
   22633       *) # Look for the file first in the build tree, then in the source tree
   22634 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22635 	 # because $ac_f cannot contain `:'.
   22636 	 test -f "$ac_f" ||
   22637 	   case $ac_f in
   22638 	   [\\/$]*) false;;
   22639 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22640 	   esac ||
   22641 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22642 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22643    { (exit 1); exit 1; }; };;
   22644       esac
   22645       ac_file_inputs="$ac_file_inputs $ac_f"
   22646     done
   22647 
   22648     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22649     # use $as_me), people would be surprised to read:
   22650     #    /* config.h.  Generated by config.status.  */
   22651     configure_input="Generated from "`IFS=:
   22652 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   22653     if test x"$ac_file" != x-; then
   22654       configure_input="$ac_file.  $configure_input"
   22655       { echo "$as_me:$LINENO: creating $ac_file" >&5
   22656 echo "$as_me: creating $ac_file" >&6;}
   22657     fi
   22658 
   22659     case $ac_tag in
   22660     *:-:* | *:-) cat >"$tmp/stdin";;
   22661     esac
   22662     ;;
   22663   esac
   22664 
   22665   ac_dir=`$as_dirname -- "$ac_file" ||
   22666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22667 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22668 	 X"$ac_file" : 'X\(//\)$' \| \
   22669 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22670 echo X"$ac_file" |
   22671     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22672 	    s//\1/
   22673 	    q
   22674 	  }
   22675 	  /^X\(\/\/\)[^/].*/{
   22676 	    s//\1/
   22677 	    q
   22678 	  }
   22679 	  /^X\(\/\/\)$/{
   22680 	    s//\1/
   22681 	    q
   22682 	  }
   22683 	  /^X\(\/\).*/{
   22684 	    s//\1/
   22685 	    q
   22686 	  }
   22687 	  s/.*/./; q'`
   22688   { as_dir="$ac_dir"
   22689   case $as_dir in #(
   22690   -*) as_dir=./$as_dir;;
   22691   esac
   22692   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22693     as_dirs=
   22694     while :; do
   22695       case $as_dir in #(
   22696       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22697       *) as_qdir=$as_dir;;
   22698       esac
   22699       as_dirs="'$as_qdir' $as_dirs"
   22700       as_dir=`$as_dirname -- "$as_dir" ||
   22701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22702 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22703 	 X"$as_dir" : 'X\(//\)$' \| \
   22704 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22705 echo X"$as_dir" |
   22706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22707 	    s//\1/
   22708 	    q
   22709 	  }
   22710 	  /^X\(\/\/\)[^/].*/{
   22711 	    s//\1/
   22712 	    q
   22713 	  }
   22714 	  /^X\(\/\/\)$/{
   22715 	    s//\1/
   22716 	    q
   22717 	  }
   22718 	  /^X\(\/\).*/{
   22719 	    s//\1/
   22720 	    q
   22721 	  }
   22722 	  s/.*/./; q'`
   22723       test -d "$as_dir" && break
   22724     done
   22725     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22726   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22727 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22728    { (exit 1); exit 1; }; }; }
   22729   ac_builddir=.
   22730 
   22731 case "$ac_dir" in
   22732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22733 *)
   22734   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22735   # A ".." for each directory in $ac_dir_suffix.
   22736   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22737   case $ac_top_builddir_sub in
   22738   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22739   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22740   esac ;;
   22741 esac
   22742 ac_abs_top_builddir=$ac_pwd
   22743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22744 # for backward compatibility:
   22745 ac_top_builddir=$ac_top_build_prefix
   22746 
   22747 case $srcdir in
   22748   .)  # We are building in place.
   22749     ac_srcdir=.
   22750     ac_top_srcdir=$ac_top_builddir_sub
   22751     ac_abs_top_srcdir=$ac_pwd ;;
   22752   [\\/]* | ?:[\\/]* )  # Absolute name.
   22753     ac_srcdir=$srcdir$ac_dir_suffix;
   22754     ac_top_srcdir=$srcdir
   22755     ac_abs_top_srcdir=$srcdir ;;
   22756   *) # Relative name.
   22757     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22758     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22759     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22760 esac
   22761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22762 
   22763 
   22764   case $ac_mode in
   22765   :F)
   22766   #
   22767   # CONFIG_FILE
   22768   #
   22769 
   22770   case $INSTALL in
   22771   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22772   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22773   esac
   22774   ac_MKDIR_P=$MKDIR_P
   22775   case $MKDIR_P in
   22776   [\\/$]* | ?:[\\/]* ) ;;
   22777   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22778   esac
   22779 _ACEOF
   22780 
   22781 cat >>$CONFIG_STATUS <<\_ACEOF
   22782 # If the template does not know about datarootdir, expand it.
   22783 # FIXME: This hack should be removed a few years after 2.60.
   22784 ac_datarootdir_hack=; ac_datarootdir_seen=
   22785 
   22786 case `sed -n '/datarootdir/ {
   22787   p
   22788   q
   22789 }
   22790 /@datadir@/p
   22791 /@docdir@/p
   22792 /@infodir@/p
   22793 /@localedir@/p
   22794 /@mandir@/p
   22795 ' $ac_file_inputs` in
   22796 *datarootdir*) ac_datarootdir_seen=yes;;
   22797 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22798   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22799 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22800 _ACEOF
   22801 cat >>$CONFIG_STATUS <<_ACEOF
   22802   ac_datarootdir_hack='
   22803   s&@datadir@&$datadir&g
   22804   s&@docdir@&$docdir&g
   22805   s&@infodir@&$infodir&g
   22806   s&@localedir@&$localedir&g
   22807   s&@mandir@&$mandir&g
   22808     s&\\\${datarootdir}&$datarootdir&g' ;;
   22809 esac
   22810 _ACEOF
   22811 
   22812 # Neutralize VPATH when `$srcdir' = `.'.
   22813 # Shell code in configure.ac might set extrasub.
   22814 # FIXME: do we really want to maintain this feature?
   22815 cat >>$CONFIG_STATUS <<_ACEOF
   22816   sed "$ac_vpsub
   22817 $extrasub
   22818 _ACEOF
   22819 cat >>$CONFIG_STATUS <<\_ACEOF
   22820 :t
   22821 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22822 s&@configure_input@&$configure_input&;t t
   22823 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22824 s&@srcdir@&$ac_srcdir&;t t
   22825 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22826 s&@top_srcdir@&$ac_top_srcdir&;t t
   22827 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22828 s&@builddir@&$ac_builddir&;t t
   22829 s&@abs_builddir@&$ac_abs_builddir&;t t
   22830 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22831 s&@INSTALL@&$ac_INSTALL&;t t
   22832 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22833 $ac_datarootdir_hack
   22834 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   22835 
   22836 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22837   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22838   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22839   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22840 which seems to be undefined.  Please make sure it is defined." >&5
   22841 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22842 which seems to be undefined.  Please make sure it is defined." >&2;}
   22843 
   22844   rm -f "$tmp/stdin"
   22845   case $ac_file in
   22846   -) cat "$tmp/out"; rm -f "$tmp/out";;
   22847   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   22848   esac
   22849  ;;
   22850   :H)
   22851   #
   22852   # CONFIG_HEADER
   22853   #
   22854 _ACEOF
   22855 
   22856 # Transform confdefs.h into a sed script `conftest.defines', that
   22857 # substitutes the proper values into config.h.in to produce config.h.
   22858 rm -f conftest.defines conftest.tail
   22859 # First, append a space to every undef/define line, to ease matching.
   22860 echo 's/$/ /' >conftest.defines
   22861 # Then, protect against being on the right side of a sed subst, or in
   22862 # an unquoted here document, in config.status.  If some macros were
   22863 # called several times there might be several #defines for the same
   22864 # symbol, which is useless.  But do not sort them, since the last
   22865 # AC_DEFINE must be honored.
   22866 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22867 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   22868 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   22869 # PARAMS is the parameter list in the macro definition--in most cases, it's
   22870 # just an empty string.
   22871 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   22872 ac_dB='\\)[	 (].*,\\1define\\2'
   22873 ac_dC=' '
   22874 ac_dD=' ,'
   22875 
   22876 uniq confdefs.h |
   22877   sed -n '
   22878 	t rset
   22879 	:rset
   22880 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   22881 	t ok
   22882 	d
   22883 	:ok
   22884 	s/[\\&,]/\\&/g
   22885 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   22886 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   22887   ' >>conftest.defines
   22888 
   22889 # Remove the space that was appended to ease matching.
   22890 # Then replace #undef with comments.  This is necessary, for
   22891 # example, in the case of _POSIX_SOURCE, which is predefined and required
   22892 # on some systems where configure will not decide to define it.
   22893 # (The regexp can be short, since the line contains either #define or #undef.)
   22894 echo 's/ $//
   22895 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   22896 
   22897 # Break up conftest.defines:
   22898 ac_max_sed_lines=50
   22899 
   22900 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   22901 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   22902 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   22903 # et cetera.
   22904 ac_in='$ac_file_inputs'
   22905 ac_out='"$tmp/out1"'
   22906 ac_nxt='"$tmp/out2"'
   22907 
   22908 while :
   22909 do
   22910   # Write a here document:
   22911     cat >>$CONFIG_STATUS <<_ACEOF
   22912     # First, check the format of the line:
   22913     cat >"\$tmp/defines.sed" <<\\CEOF
   22914 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   22915 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   22916 b
   22917 :def
   22918 _ACEOF
   22919   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   22920   echo 'CEOF
   22921     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   22922   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   22923   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   22924   grep . conftest.tail >/dev/null || break
   22925   rm -f conftest.defines
   22926   mv conftest.tail conftest.defines
   22927 done
   22928 rm -f conftest.defines conftest.tail
   22929 
   22930 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   22931 cat >>$CONFIG_STATUS <<\_ACEOF
   22932   if test x"$ac_file" != x-; then
   22933     echo "/* $configure_input  */" >"$tmp/config.h"
   22934     cat "$ac_result" >>"$tmp/config.h"
   22935     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   22936       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22937 echo "$as_me: $ac_file is unchanged" >&6;}
   22938     else
   22939       rm -f $ac_file
   22940       mv "$tmp/config.h" $ac_file
   22941     fi
   22942   else
   22943     echo "/* $configure_input  */"
   22944     cat "$ac_result"
   22945   fi
   22946   rm -f "$tmp/out12"
   22947 # Compute $ac_file's index in $config_headers.
   22948 _am_stamp_count=1
   22949 for _am_header in $config_headers :; do
   22950   case $_am_header in
   22951     $ac_file | $ac_file:* )
   22952       break ;;
   22953     * )
   22954       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22955   esac
   22956 done
   22957 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   22958 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22959 	 X$ac_file : 'X\(//\)[^/]' \| \
   22960 	 X$ac_file : 'X\(//\)$' \| \
   22961 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   22962 echo X$ac_file |
   22963     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22964 	    s//\1/
   22965 	    q
   22966 	  }
   22967 	  /^X\(\/\/\)[^/].*/{
   22968 	    s//\1/
   22969 	    q
   22970 	  }
   22971 	  /^X\(\/\/\)$/{
   22972 	    s//\1/
   22973 	    q
   22974 	  }
   22975 	  /^X\(\/\).*/{
   22976 	    s//\1/
   22977 	    q
   22978 	  }
   22979 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22980  ;;
   22981 
   22982   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22983 echo "$as_me: executing $ac_file commands" >&6;}
   22984  ;;
   22985   esac
   22986 
   22987 
   22988   case $ac_file$ac_mode in
   22989     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   22990   # Strip MF so we end up with the name of the file.
   22991   mf=`echo "$mf" | sed -e 's/:.*$//'`
   22992   # Check whether this is an Automake generated Makefile or not.
   22993   # We used to match only the files named `Makefile.in', but
   22994   # some people rename them; so instead we look at the file content.
   22995   # Grep'ing the first line is not enough: some people post-process
   22996   # each Makefile.in and add a new line on top of each file to say so.
   22997   # Grep'ing the whole file is not good either: AIX grep has a line
   22998   # limit of 2048, but all sed's we know have understand at least 4000.
   22999   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   23000     dirpart=`$as_dirname -- "$mf" ||
   23001 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23002 	 X"$mf" : 'X\(//\)[^/]' \| \
   23003 	 X"$mf" : 'X\(//\)$' \| \
   23004 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23005 echo X"$mf" |
   23006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23007 	    s//\1/
   23008 	    q
   23009 	  }
   23010 	  /^X\(\/\/\)[^/].*/{
   23011 	    s//\1/
   23012 	    q
   23013 	  }
   23014 	  /^X\(\/\/\)$/{
   23015 	    s//\1/
   23016 	    q
   23017 	  }
   23018 	  /^X\(\/\).*/{
   23019 	    s//\1/
   23020 	    q
   23021 	  }
   23022 	  s/.*/./; q'`
   23023   else
   23024     continue
   23025   fi
   23026   # Extract the definition of DEPDIR, am__include, and am__quote
   23027   # from the Makefile without running `make'.
   23028   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23029   test -z "$DEPDIR" && continue
   23030   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23031   test -z "am__include" && continue
   23032   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23033   # When using ansi2knr, U may be empty or an underscore; expand it
   23034   U=`sed -n 's/^U = //p' < "$mf"`
   23035   # Find all dependency output files, they are included files with
   23036   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23037   # simplest approach to changing $(DEPDIR) to its actual value in the
   23038   # expansion.
   23039   for file in `sed -n "
   23040     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23041        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23042     # Make sure the directory exists.
   23043     test -f "$dirpart/$file" && continue
   23044     fdir=`$as_dirname -- "$file" ||
   23045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23046 	 X"$file" : 'X\(//\)[^/]' \| \
   23047 	 X"$file" : 'X\(//\)$' \| \
   23048 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23049 echo X"$file" |
   23050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23051 	    s//\1/
   23052 	    q
   23053 	  }
   23054 	  /^X\(\/\/\)[^/].*/{
   23055 	    s//\1/
   23056 	    q
   23057 	  }
   23058 	  /^X\(\/\/\)$/{
   23059 	    s//\1/
   23060 	    q
   23061 	  }
   23062 	  /^X\(\/\).*/{
   23063 	    s//\1/
   23064 	    q
   23065 	  }
   23066 	  s/.*/./; q'`
   23067     { as_dir=$dirpart/$fdir
   23068   case $as_dir in #(
   23069   -*) as_dir=./$as_dir;;
   23070   esac
   23071   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23072     as_dirs=
   23073     while :; do
   23074       case $as_dir in #(
   23075       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23076       *) as_qdir=$as_dir;;
   23077       esac
   23078       as_dirs="'$as_qdir' $as_dirs"
   23079       as_dir=`$as_dirname -- "$as_dir" ||
   23080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23081 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23082 	 X"$as_dir" : 'X\(//\)$' \| \
   23083 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23084 echo X"$as_dir" |
   23085     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23086 	    s//\1/
   23087 	    q
   23088 	  }
   23089 	  /^X\(\/\/\)[^/].*/{
   23090 	    s//\1/
   23091 	    q
   23092 	  }
   23093 	  /^X\(\/\/\)$/{
   23094 	    s//\1/
   23095 	    q
   23096 	  }
   23097 	  /^X\(\/\).*/{
   23098 	    s//\1/
   23099 	    q
   23100 	  }
   23101 	  s/.*/./; q'`
   23102       test -d "$as_dir" && break
   23103     done
   23104     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23105   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23106 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23107    { (exit 1); exit 1; }; }; }
   23108     # echo "creating $dirpart/$file"
   23109     echo '# dummy' > "$dirpart/$file"
   23110   done
   23111 done
   23112  ;;
   23113 
   23114   esac
   23115 done # for ac_tag
   23116 
   23117 
   23118 { (exit 0); exit 0; }
   23119 _ACEOF
   23120 chmod +x $CONFIG_STATUS
   23121 ac_clean_files=$ac_clean_files_save
   23122 
   23123 
   23124 # configure is writing to config.log, and then calls config.status.
   23125 # config.status does its own redirection, appending to config.log.
   23126 # Unfortunately, on DOS this fails, as config.log is still kept open
   23127 # by configure, so config.status won't be able to write to it; its
   23128 # output is simply discarded.  So we exec the FD to /dev/null,
   23129 # effectively closing config.log, so it can be properly (re)opened and
   23130 # appended to by config.status.  When coming back to configure, we
   23131 # need to make the FD available again.
   23132 if test "$no_create" != yes; then
   23133   ac_cs_success=:
   23134   ac_config_status_args=
   23135   test "$silent" = yes &&
   23136     ac_config_status_args="$ac_config_status_args --quiet"
   23137   exec 5>/dev/null
   23138   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23139   exec 5>>config.log
   23140   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23141   # would make configure fail if this is the last instruction.
   23142   $ac_cs_success || { (exit 1); exit 1; }
   23143 fi
   23144 
   23145