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-r128 6.8.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 echo=${ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $echo works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<EOF
    584 $*
    585 EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$ECHO"; then
    594 if test "X${echo_test_string+set}" != Xset; then
    595 # find a string as large as possible, as long as the shell can cope with it
    596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    599        echo_test_string=`eval $cmd` &&
    600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    601     then
    602       break
    603     fi
    604   done
    605 fi
    606 
    607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    609    test "X$echo_testing_string" = "X$echo_test_string"; then
    610   :
    611 else
    612   # The Solaris, AIX, and Digital Unix default echo programs unquote
    613   # backslashes.  This makes it impossible to quote backslashes using
    614   #   echo "$something" | sed 's/\\/\\\\/g'
    615   #
    616   # So, first we look for a working echo in the user's PATH.
    617 
    618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    619   for dir in $PATH /usr/ucb; do
    620     IFS="$lt_save_ifs"
    621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    624        test "X$echo_testing_string" = "X$echo_test_string"; then
    625       echo="$dir/echo"
    626       break
    627     fi
    628   done
    629   IFS="$lt_save_ifs"
    630 
    631   if test "X$echo" = Xecho; then
    632     # We didn't find a better echo, so look for alternatives.
    633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    635        test "X$echo_testing_string" = "X$echo_test_string"; then
    636       # This shell has a builtin print -r that does the trick.
    637       echo='print -r'
    638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    639 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    640       # If we have ksh, try running configure again with it.
    641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    642       export ORIGINAL_CONFIG_SHELL
    643       CONFIG_SHELL=/bin/ksh
    644       export CONFIG_SHELL
    645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    646     else
    647       # Try using printf.
    648       echo='printf %s\n'
    649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    650 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    651 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	# Cool, printf works
    653 	:
    654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = 'X\t' &&
    656 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    657 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    658 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    659 	export CONFIG_SHELL
    660 	SHELL="$CONFIG_SHELL"
    661 	export SHELL
    662 	echo="$CONFIG_SHELL $0 --fallback-echo"
    663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = 'X\t' &&
    665 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    666 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    667 	echo="$CONFIG_SHELL $0 --fallback-echo"
    668       else
    669 	# maybe with a smaller string...
    670 	prev=:
    671 
    672 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    673 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    674 	  then
    675 	    break
    676 	  fi
    677 	  prev="$cmd"
    678 	done
    679 
    680 	if test "$prev" != 'sed 50q "$0"'; then
    681 	  echo_test_string=`eval $prev`
    682 	  export echo_test_string
    683 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    684 	else
    685 	  # Oops.  We lost completely, so just stick with echo.
    686 	  echo=echo
    687 	fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 fi
    693 
    694 # Copy echo and quote the copy suitably for passing to libtool from
    695 # the Makefile, instead of quoting the original, which is used later.
    696 ECHO=$echo
    697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    699 fi
    700 
    701 
    702 
    703 
    704 tagnames=${tagnames+${tagnames},}CXX
    705 
    706 tagnames=${tagnames+${tagnames},}F77
    707 
    708 exec 7<&0 </dev/null 6>&1
    709 
    710 # Name of the host.
    711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    712 # so uname gets run too.
    713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    714 
    715 #
    716 # Initializations.
    717 #
    718 ac_default_prefix=/usr/local
    719 ac_clean_files=
    720 ac_config_libobj_dir=.
    721 LIBOBJS=
    722 cross_compiling=no
    723 subdirs=
    724 MFLAGS=
    725 MAKEFLAGS=
    726 SHELL=${CONFIG_SHELL-/bin/sh}
    727 
    728 # Identity of this package.
    729 PACKAGE_NAME='xf86-video-r128'
    730 PACKAGE_TARNAME='xf86-video-r128'
    731 PACKAGE_VERSION='6.8.0'
    732 PACKAGE_STRING='xf86-video-r128 6.8.0'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 ac_unique_file="Makefile.am"
    736 # Factoring default headers for most tests.
    737 ac_includes_default="\
    738 #include <stdio.h>
    739 #ifdef HAVE_SYS_TYPES_H
    740 # include <sys/types.h>
    741 #endif
    742 #ifdef HAVE_SYS_STAT_H
    743 # include <sys/stat.h>
    744 #endif
    745 #ifdef STDC_HEADERS
    746 # include <stdlib.h>
    747 # include <stddef.h>
    748 #else
    749 # ifdef HAVE_STDLIB_H
    750 #  include <stdlib.h>
    751 # endif
    752 #endif
    753 #ifdef HAVE_STRING_H
    754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    755 #  include <memory.h>
    756 # endif
    757 # include <string.h>
    758 #endif
    759 #ifdef HAVE_STRINGS_H
    760 # include <strings.h>
    761 #endif
    762 #ifdef HAVE_INTTYPES_H
    763 # include <inttypes.h>
    764 #endif
    765 #ifdef HAVE_STDINT_H
    766 # include <stdint.h>
    767 #endif
    768 #ifdef HAVE_UNISTD_H
    769 # include <unistd.h>
    770 #endif"
    771 
    772 ac_subst_vars='SHELL
    773 PATH_SEPARATOR
    774 PACKAGE_NAME
    775 PACKAGE_TARNAME
    776 PACKAGE_VERSION
    777 PACKAGE_STRING
    778 PACKAGE_BUGREPORT
    779 exec_prefix
    780 prefix
    781 program_transform_name
    782 bindir
    783 sbindir
    784 libexecdir
    785 datarootdir
    786 datadir
    787 sysconfdir
    788 sharedstatedir
    789 localstatedir
    790 includedir
    791 oldincludedir
    792 docdir
    793 infodir
    794 htmldir
    795 dvidir
    796 pdfdir
    797 psdir
    798 libdir
    799 localedir
    800 mandir
    801 DEFS
    802 ECHO_C
    803 ECHO_N
    804 ECHO_T
    805 LIBS
    806 build_alias
    807 host_alias
    808 target_alias
    809 INSTALL_PROGRAM
    810 INSTALL_SCRIPT
    811 INSTALL_DATA
    812 am__isrc
    813 CYGPATH_W
    814 PACKAGE
    815 VERSION
    816 ACLOCAL
    817 AUTOCONF
    818 AUTOMAKE
    819 AUTOHEADER
    820 MAKEINFO
    821 install_sh
    822 STRIP
    823 INSTALL_STRIP_PROGRAM
    824 mkdir_p
    825 AWK
    826 SET_MAKE
    827 am__leading_dot
    828 AMTAR
    829 am__tar
    830 am__untar
    831 MAINTAINER_MODE_TRUE
    832 MAINTAINER_MODE_FALSE
    833 MAINT
    834 build
    835 build_cpu
    836 build_vendor
    837 build_os
    838 host
    839 host_cpu
    840 host_vendor
    841 host_os
    842 CC
    843 CFLAGS
    844 LDFLAGS
    845 CPPFLAGS
    846 ac_ct_CC
    847 EXEEXT
    848 OBJEXT
    849 DEPDIR
    850 am__include
    851 am__quote
    852 AMDEP_TRUE
    853 AMDEP_FALSE
    854 AMDEPBACKSLASH
    855 CCDEPMODE
    856 am__fastdepCC_TRUE
    857 am__fastdepCC_FALSE
    858 SED
    859 GREP
    860 EGREP
    861 LN_S
    862 ECHO
    863 AR
    864 RANLIB
    865 CPP
    866 CXX
    867 CXXFLAGS
    868 ac_ct_CXX
    869 CXXDEPMODE
    870 am__fastdepCXX_TRUE
    871 am__fastdepCXX_FALSE
    872 CXXCPP
    873 F77
    874 FFLAGS
    875 ac_ct_F77
    876 LIBTOOL
    877 PKG_CONFIG
    878 XORG_CFLAGS
    879 XORG_LIBS
    880 DRI_TRUE
    881 DRI_FALSE
    882 DRI_CFLAGS
    883 DRI_LIBS
    884 USE_EXA_TRUE
    885 USE_EXA_FALSE
    886 PCIACCESS_CFLAGS
    887 PCIACCESS_LIBS
    888 XSERVER_LIBPCIACCESS_TRUE
    889 XSERVER_LIBPCIACCESS_FALSE
    890 moduledir
    891 DRIVER_NAME
    892 APP_MAN_SUFFIX
    893 LIB_MAN_SUFFIX
    894 FILE_MAN_SUFFIX
    895 MISC_MAN_SUFFIX
    896 DRIVER_MAN_SUFFIX
    897 ADMIN_MAN_SUFFIX
    898 APP_MAN_DIR
    899 LIB_MAN_DIR
    900 FILE_MAN_DIR
    901 MISC_MAN_DIR
    902 DRIVER_MAN_DIR
    903 ADMIN_MAN_DIR
    904 LINUXDOC
    905 PS2PDF
    906 BUILD_LINUXDOC_TRUE
    907 BUILD_LINUXDOC_FALSE
    908 BUILD_PDFDOC_TRUE
    909 BUILD_PDFDOC_FALSE
    910 MAKE_TEXT
    911 MAKE_PS
    912 MAKE_PDF
    913 MAKE_HTML
    914 LIBOBJS
    915 LTLIBOBJS'
    916 ac_subst_files=''
    917       ac_precious_vars='build_alias
    918 host_alias
    919 target_alias
    920 CC
    921 CFLAGS
    922 LDFLAGS
    923 LIBS
    924 CPPFLAGS
    925 CPP
    926 CXX
    927 CXXFLAGS
    928 CCC
    929 CXXCPP
    930 F77
    931 FFLAGS
    932 PKG_CONFIG
    933 XORG_CFLAGS
    934 XORG_LIBS
    935 DRI_CFLAGS
    936 DRI_LIBS
    937 PCIACCESS_CFLAGS
    938 PCIACCESS_LIBS'
    939 
    940 
    941 # Initialize some variables set by options.
    942 ac_init_help=
    943 ac_init_version=false
    944 # The variables have the same names as the options, with
    945 # dashes changed to underlines.
    946 cache_file=/dev/null
    947 exec_prefix=NONE
    948 no_create=
    949 no_recursion=
    950 prefix=NONE
    951 program_prefix=NONE
    952 program_suffix=NONE
    953 program_transform_name=s,x,x,
    954 silent=
    955 site=
    956 srcdir=
    957 verbose=
    958 x_includes=NONE
    959 x_libraries=NONE
    960 
    961 # Installation directory options.
    962 # These are left unexpanded so users can "make install exec_prefix=/foo"
    963 # and all the variables that are supposed to be based on exec_prefix
    964 # by default will actually change.
    965 # Use braces instead of parens because sh, perl, etc. also accept them.
    966 # (The list follows the same order as the GNU Coding Standards.)
    967 bindir='${exec_prefix}/bin'
    968 sbindir='${exec_prefix}/sbin'
    969 libexecdir='${exec_prefix}/libexec'
    970 datarootdir='${prefix}/share'
    971 datadir='${datarootdir}'
    972 sysconfdir='${prefix}/etc'
    973 sharedstatedir='${prefix}/com'
    974 localstatedir='${prefix}/var'
    975 includedir='${prefix}/include'
    976 oldincludedir='/usr/include'
    977 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    978 infodir='${datarootdir}/info'
    979 htmldir='${docdir}'
    980 dvidir='${docdir}'
    981 pdfdir='${docdir}'
    982 psdir='${docdir}'
    983 libdir='${exec_prefix}/lib'
    984 localedir='${datarootdir}/locale'
    985 mandir='${datarootdir}/man'
    986 
    987 ac_prev=
    988 ac_dashdash=
    989 for ac_option
    990 do
    991   # If the previous option needs an argument, assign it.
    992   if test -n "$ac_prev"; then
    993     eval $ac_prev=\$ac_option
    994     ac_prev=
    995     continue
    996   fi
    997 
    998   case $ac_option in
    999   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1000   *)	ac_optarg=yes ;;
   1001   esac
   1002 
   1003   # Accept the important Cygnus configure options, so we can diagnose typos.
   1004 
   1005   case $ac_dashdash$ac_option in
   1006   --)
   1007     ac_dashdash=yes ;;
   1008 
   1009   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1010     ac_prev=bindir ;;
   1011   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1012     bindir=$ac_optarg ;;
   1013 
   1014   -build | --build | --buil | --bui | --bu)
   1015     ac_prev=build_alias ;;
   1016   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1017     build_alias=$ac_optarg ;;
   1018 
   1019   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1020   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1021     ac_prev=cache_file ;;
   1022   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1023   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1024     cache_file=$ac_optarg ;;
   1025 
   1026   --config-cache | -C)
   1027     cache_file=config.cache ;;
   1028 
   1029   -datadir | --datadir | --datadi | --datad)
   1030     ac_prev=datadir ;;
   1031   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1032     datadir=$ac_optarg ;;
   1033 
   1034   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1035   | --dataroo | --dataro | --datar)
   1036     ac_prev=datarootdir ;;
   1037   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1038   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1039     datarootdir=$ac_optarg ;;
   1040 
   1041   -disable-* | --disable-*)
   1042     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1043     # Reject names that are not valid shell variable names.
   1044     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1045       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1046    { (exit 1); exit 1; }; }
   1047     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1048     eval enable_$ac_feature=no ;;
   1049 
   1050   -docdir | --docdir | --docdi | --doc | --do)
   1051     ac_prev=docdir ;;
   1052   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1053     docdir=$ac_optarg ;;
   1054 
   1055   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1056     ac_prev=dvidir ;;
   1057   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1058     dvidir=$ac_optarg ;;
   1059 
   1060   -enable-* | --enable-*)
   1061     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1062     # Reject names that are not valid shell variable names.
   1063     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1064       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1065    { (exit 1); exit 1; }; }
   1066     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1067     eval enable_$ac_feature=\$ac_optarg ;;
   1068 
   1069   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1070   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1071   | --exec | --exe | --ex)
   1072     ac_prev=exec_prefix ;;
   1073   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1074   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1075   | --exec=* | --exe=* | --ex=*)
   1076     exec_prefix=$ac_optarg ;;
   1077 
   1078   -gas | --gas | --ga | --g)
   1079     # Obsolete; use --with-gas.
   1080     with_gas=yes ;;
   1081 
   1082   -help | --help | --hel | --he | -h)
   1083     ac_init_help=long ;;
   1084   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1085     ac_init_help=recursive ;;
   1086   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1087     ac_init_help=short ;;
   1088 
   1089   -host | --host | --hos | --ho)
   1090     ac_prev=host_alias ;;
   1091   -host=* | --host=* | --hos=* | --ho=*)
   1092     host_alias=$ac_optarg ;;
   1093 
   1094   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1095     ac_prev=htmldir ;;
   1096   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1097   | --ht=*)
   1098     htmldir=$ac_optarg ;;
   1099 
   1100   -includedir | --includedir | --includedi | --included | --include \
   1101   | --includ | --inclu | --incl | --inc)
   1102     ac_prev=includedir ;;
   1103   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1104   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1105     includedir=$ac_optarg ;;
   1106 
   1107   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1108     ac_prev=infodir ;;
   1109   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1110     infodir=$ac_optarg ;;
   1111 
   1112   -libdir | --libdir | --libdi | --libd)
   1113     ac_prev=libdir ;;
   1114   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1115     libdir=$ac_optarg ;;
   1116 
   1117   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1118   | --libexe | --libex | --libe)
   1119     ac_prev=libexecdir ;;
   1120   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1121   | --libexe=* | --libex=* | --libe=*)
   1122     libexecdir=$ac_optarg ;;
   1123 
   1124   -localedir | --localedir | --localedi | --localed | --locale)
   1125     ac_prev=localedir ;;
   1126   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1127     localedir=$ac_optarg ;;
   1128 
   1129   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1130   | --localstate | --localstat | --localsta | --localst | --locals)
   1131     ac_prev=localstatedir ;;
   1132   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1133   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1134     localstatedir=$ac_optarg ;;
   1135 
   1136   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1137     ac_prev=mandir ;;
   1138   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1139     mandir=$ac_optarg ;;
   1140 
   1141   -nfp | --nfp | --nf)
   1142     # Obsolete; use --without-fp.
   1143     with_fp=no ;;
   1144 
   1145   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1146   | --no-cr | --no-c | -n)
   1147     no_create=yes ;;
   1148 
   1149   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1150   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1151     no_recursion=yes ;;
   1152 
   1153   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1154   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1155   | --oldin | --oldi | --old | --ol | --o)
   1156     ac_prev=oldincludedir ;;
   1157   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1158   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1159   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1160     oldincludedir=$ac_optarg ;;
   1161 
   1162   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1163     ac_prev=prefix ;;
   1164   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1165     prefix=$ac_optarg ;;
   1166 
   1167   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1168   | --program-pre | --program-pr | --program-p)
   1169     ac_prev=program_prefix ;;
   1170   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1171   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1172     program_prefix=$ac_optarg ;;
   1173 
   1174   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1175   | --program-suf | --program-su | --program-s)
   1176     ac_prev=program_suffix ;;
   1177   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1178   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1179     program_suffix=$ac_optarg ;;
   1180 
   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     ac_prev=program_transform_name ;;
   1189   -program-transform-name=* | --program-transform-name=* \
   1190   | --program-transform-nam=* | --program-transform-na=* \
   1191   | --program-transform-n=* | --program-transform-=* \
   1192   | --program-transform=* | --program-transfor=* \
   1193   | --program-transfo=* | --program-transf=* \
   1194   | --program-trans=* | --program-tran=* \
   1195   | --progr-tra=* | --program-tr=* | --program-t=*)
   1196     program_transform_name=$ac_optarg ;;
   1197 
   1198   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1199     ac_prev=pdfdir ;;
   1200   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1201     pdfdir=$ac_optarg ;;
   1202 
   1203   -psdir | --psdir | --psdi | --psd | --ps)
   1204     ac_prev=psdir ;;
   1205   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1206     psdir=$ac_optarg ;;
   1207 
   1208   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1209   | -silent | --silent | --silen | --sile | --sil)
   1210     silent=yes ;;
   1211 
   1212   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1213     ac_prev=sbindir ;;
   1214   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1215   | --sbi=* | --sb=*)
   1216     sbindir=$ac_optarg ;;
   1217 
   1218   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1219   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1220   | --sharedst | --shareds | --shared | --share | --shar \
   1221   | --sha | --sh)
   1222     ac_prev=sharedstatedir ;;
   1223   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1224   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1225   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1226   | --sha=* | --sh=*)
   1227     sharedstatedir=$ac_optarg ;;
   1228 
   1229   -site | --site | --sit)
   1230     ac_prev=site ;;
   1231   -site=* | --site=* | --sit=*)
   1232     site=$ac_optarg ;;
   1233 
   1234   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1235     ac_prev=srcdir ;;
   1236   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1237     srcdir=$ac_optarg ;;
   1238 
   1239   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1240   | --syscon | --sysco | --sysc | --sys | --sy)
   1241     ac_prev=sysconfdir ;;
   1242   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1243   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1244     sysconfdir=$ac_optarg ;;
   1245 
   1246   -target | --target | --targe | --targ | --tar | --ta | --t)
   1247     ac_prev=target_alias ;;
   1248   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1249     target_alias=$ac_optarg ;;
   1250 
   1251   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1252     verbose=yes ;;
   1253 
   1254   -version | --version | --versio | --versi | --vers | -V)
   1255     ac_init_version=: ;;
   1256 
   1257   -with-* | --with-*)
   1258     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1259     # Reject names that are not valid shell variable names.
   1260     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1261       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1262    { (exit 1); exit 1; }; }
   1263     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1264     eval with_$ac_package=\$ac_optarg ;;
   1265 
   1266   -without-* | --without-*)
   1267     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1268     # Reject names that are not valid shell variable names.
   1269     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1270       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1271    { (exit 1); exit 1; }; }
   1272     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1273     eval with_$ac_package=no ;;
   1274 
   1275   --x)
   1276     # Obsolete; use --with-x.
   1277     with_x=yes ;;
   1278 
   1279   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1280   | --x-incl | --x-inc | --x-in | --x-i)
   1281     ac_prev=x_includes ;;
   1282   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1283   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1284     x_includes=$ac_optarg ;;
   1285 
   1286   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1287   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1288     ac_prev=x_libraries ;;
   1289   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1290   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1291     x_libraries=$ac_optarg ;;
   1292 
   1293   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1294 Try \`$0 --help' for more information." >&2
   1295    { (exit 1); exit 1; }; }
   1296     ;;
   1297 
   1298   *=*)
   1299     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1300     # Reject names that are not valid shell variable names.
   1301     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1302       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1303    { (exit 1); exit 1; }; }
   1304     eval $ac_envvar=\$ac_optarg
   1305     export $ac_envvar ;;
   1306 
   1307   *)
   1308     # FIXME: should be removed in autoconf 3.0.
   1309     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1310     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1311       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1312     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1313     ;;
   1314 
   1315   esac
   1316 done
   1317 
   1318 if test -n "$ac_prev"; then
   1319   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1320   { echo "$as_me: error: missing argument to $ac_option" >&2
   1321    { (exit 1); exit 1; }; }
   1322 fi
   1323 
   1324 # Be sure to have absolute directory names.
   1325 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1326 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1327 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1328 		libdir localedir mandir
   1329 do
   1330   eval ac_val=\$$ac_var
   1331   case $ac_val in
   1332     [\\/$]* | ?:[\\/]* )  continue;;
   1333     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1334   esac
   1335   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1336    { (exit 1); exit 1; }; }
   1337 done
   1338 
   1339 # There might be people who depend on the old broken behavior: `$host'
   1340 # used to hold the argument of --host etc.
   1341 # FIXME: To remove some day.
   1342 build=$build_alias
   1343 host=$host_alias
   1344 target=$target_alias
   1345 
   1346 # FIXME: To remove some day.
   1347 if test "x$host_alias" != x; then
   1348   if test "x$build_alias" = x; then
   1349     cross_compiling=maybe
   1350     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1351     If a cross compiler is detected then cross compile mode will be used." >&2
   1352   elif test "x$build_alias" != "x$host_alias"; then
   1353     cross_compiling=yes
   1354   fi
   1355 fi
   1356 
   1357 ac_tool_prefix=
   1358 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1359 
   1360 test "$silent" = yes && exec 6>/dev/null
   1361 
   1362 
   1363 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1364 ac_ls_di=`ls -di .` &&
   1365 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1366   { echo "$as_me: error: Working directory cannot be determined" >&2
   1367    { (exit 1); exit 1; }; }
   1368 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1369   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1370    { (exit 1); exit 1; }; }
   1371 
   1372 
   1373 # Find the source files, if location was not specified.
   1374 if test -z "$srcdir"; then
   1375   ac_srcdir_defaulted=yes
   1376   # Try the directory containing this script, then the parent directory.
   1377   ac_confdir=`$as_dirname -- "$0" ||
   1378 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1379 	 X"$0" : 'X\(//\)[^/]' \| \
   1380 	 X"$0" : 'X\(//\)$' \| \
   1381 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1382 echo X"$0" |
   1383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1384 	    s//\1/
   1385 	    q
   1386 	  }
   1387 	  /^X\(\/\/\)[^/].*/{
   1388 	    s//\1/
   1389 	    q
   1390 	  }
   1391 	  /^X\(\/\/\)$/{
   1392 	    s//\1/
   1393 	    q
   1394 	  }
   1395 	  /^X\(\/\).*/{
   1396 	    s//\1/
   1397 	    q
   1398 	  }
   1399 	  s/.*/./; q'`
   1400   srcdir=$ac_confdir
   1401   if test ! -r "$srcdir/$ac_unique_file"; then
   1402     srcdir=..
   1403   fi
   1404 else
   1405   ac_srcdir_defaulted=no
   1406 fi
   1407 if test ! -r "$srcdir/$ac_unique_file"; then
   1408   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1409   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1410    { (exit 1); exit 1; }; }
   1411 fi
   1412 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1413 ac_abs_confdir=`(
   1414 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1415    { (exit 1); exit 1; }; }
   1416 	pwd)`
   1417 # When building in place, set srcdir=.
   1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1419   srcdir=.
   1420 fi
   1421 # Remove unnecessary trailing slashes from srcdir.
   1422 # Double slashes in file names in object file debugging info
   1423 # mess up M-x gdb in Emacs.
   1424 case $srcdir in
   1425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1426 esac
   1427 for ac_var in $ac_precious_vars; do
   1428   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1429   eval ac_env_${ac_var}_value=\$${ac_var}
   1430   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1431   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1432 done
   1433 
   1434 #
   1435 # Report the --help message.
   1436 #
   1437 if test "$ac_init_help" = "long"; then
   1438   # Omit some internal or obsolete options to make the list less imposing.
   1439   # This message is too long to be a string in the A/UX 3.1 sh.
   1440   cat <<_ACEOF
   1441 \`configure' configures xf86-video-r128 6.8.0 to adapt to many kinds of systems.
   1442 
   1443 Usage: $0 [OPTION]... [VAR=VALUE]...
   1444 
   1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1446 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1447 
   1448 Defaults for the options are specified in brackets.
   1449 
   1450 Configuration:
   1451   -h, --help              display this help and exit
   1452       --help=short        display options specific to this package
   1453       --help=recursive    display the short help of all the included packages
   1454   -V, --version           display version information and exit
   1455   -q, --quiet, --silent   do not print \`checking...' messages
   1456       --cache-file=FILE   cache test results in FILE [disabled]
   1457   -C, --config-cache      alias for \`--cache-file=config.cache'
   1458   -n, --no-create         do not create output files
   1459       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1460 
   1461 Installation directories:
   1462   --prefix=PREFIX         install architecture-independent files in PREFIX
   1463 			  [$ac_default_prefix]
   1464   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1465 			  [PREFIX]
   1466 
   1467 By default, \`make install' will install all the files in
   1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1470 for instance \`--prefix=\$HOME'.
   1471 
   1472 For better control, use the options below.
   1473 
   1474 Fine tuning of the installation directories:
   1475   --bindir=DIR           user executables [EPREFIX/bin]
   1476   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1477   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1478   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1479   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1480   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1481   --libdir=DIR           object code libraries [EPREFIX/lib]
   1482   --includedir=DIR       C header files [PREFIX/include]
   1483   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1484   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1485   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1486   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1487   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1488   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1489   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-r128]
   1490   --htmldir=DIR          html documentation [DOCDIR]
   1491   --dvidir=DIR           dvi documentation [DOCDIR]
   1492   --pdfdir=DIR           pdf documentation [DOCDIR]
   1493   --psdir=DIR            ps documentation [DOCDIR]
   1494 _ACEOF
   1495 
   1496   cat <<\_ACEOF
   1497 
   1498 Program names:
   1499   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1500   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1501   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1502 
   1503 System types:
   1504   --build=BUILD     configure for building on BUILD [guessed]
   1505   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1506 _ACEOF
   1507 fi
   1508 
   1509 if test -n "$ac_init_help"; then
   1510   case $ac_init_help in
   1511      short | recursive ) echo "Configuration of xf86-video-r128 6.8.0:";;
   1512    esac
   1513   cat <<\_ACEOF
   1514 
   1515 Optional Features:
   1516   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1517   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1518   --enable-maintainer-mode  enable make rules and dependencies not useful
   1519 			  (and sometimes confusing) to the casual installer
   1520   --enable-static[=PKGS]  build static libraries [default=no]
   1521   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1522   --enable-fast-install[=PKGS]
   1523                           optimize for fast installation [default=yes]
   1524   --disable-dependency-tracking  speeds up one-time build
   1525   --enable-dependency-tracking   do not reject slow dependency extractors
   1526   --disable-libtool-lock  avoid locking (might break parallel builds)
   1527   --disable-dri           Disable DRI support [default=auto]
   1528 
   1529 Optional Packages:
   1530   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1531   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1532   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1533   --with-pic              try to use only PIC/non-PIC objects [default=use
   1534                           both]
   1535   --with-tags[=TAGS]      include additional configurations [automatic]
   1536   --with-xorg-module-dir=DIR
   1537                           Default xorg module directory
   1538                           [default=$libdir/xorg/modules]
   1539   --with-release-version=STRING
   1540                           Use release version string in package name
   1541 
   1542 Some influential environment variables:
   1543   CC          C compiler command
   1544   CFLAGS      C compiler flags
   1545   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1546               nonstandard directory <lib dir>
   1547   LIBS        libraries to pass to the linker, e.g. -l<library>
   1548   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1549               you have headers in a nonstandard directory <include dir>
   1550   CPP         C preprocessor
   1551   CXX         C++ compiler command
   1552   CXXFLAGS    C++ compiler flags
   1553   CXXCPP      C++ preprocessor
   1554   F77         Fortran 77 compiler command
   1555   FFLAGS      Fortran 77 compiler flags
   1556   PKG_CONFIG  path to pkg-config utility
   1557   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1558   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1559   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1560   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1561   PCIACCESS_CFLAGS
   1562               C compiler flags for PCIACCESS, overriding pkg-config
   1563   PCIACCESS_LIBS
   1564               linker flags for PCIACCESS, overriding pkg-config
   1565 
   1566 Use these variables to override the choices made by `configure' or to help
   1567 it to find libraries and programs with nonstandard names/locations.
   1568 
   1569 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1570 _ACEOF
   1571 ac_status=$?
   1572 fi
   1573 
   1574 if test "$ac_init_help" = "recursive"; then
   1575   # If there are subdirs, report their specific --help.
   1576   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1577     test -d "$ac_dir" || continue
   1578     ac_builddir=.
   1579 
   1580 case "$ac_dir" in
   1581 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1582 *)
   1583   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1584   # A ".." for each directory in $ac_dir_suffix.
   1585   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1586   case $ac_top_builddir_sub in
   1587   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1588   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1589   esac ;;
   1590 esac
   1591 ac_abs_top_builddir=$ac_pwd
   1592 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1593 # for backward compatibility:
   1594 ac_top_builddir=$ac_top_build_prefix
   1595 
   1596 case $srcdir in
   1597   .)  # We are building in place.
   1598     ac_srcdir=.
   1599     ac_top_srcdir=$ac_top_builddir_sub
   1600     ac_abs_top_srcdir=$ac_pwd ;;
   1601   [\\/]* | ?:[\\/]* )  # Absolute name.
   1602     ac_srcdir=$srcdir$ac_dir_suffix;
   1603     ac_top_srcdir=$srcdir
   1604     ac_abs_top_srcdir=$srcdir ;;
   1605   *) # Relative name.
   1606     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1607     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1608     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1609 esac
   1610 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1611 
   1612     cd "$ac_dir" || { ac_status=$?; continue; }
   1613     # Check for guested configure.
   1614     if test -f "$ac_srcdir/configure.gnu"; then
   1615       echo &&
   1616       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1617     elif test -f "$ac_srcdir/configure"; then
   1618       echo &&
   1619       $SHELL "$ac_srcdir/configure" --help=recursive
   1620     else
   1621       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1622     fi || ac_status=$?
   1623     cd "$ac_pwd" || { ac_status=$?; break; }
   1624   done
   1625 fi
   1626 
   1627 test -n "$ac_init_help" && exit $ac_status
   1628 if $ac_init_version; then
   1629   cat <<\_ACEOF
   1630 xf86-video-r128 configure 6.8.0
   1631 generated by GNU Autoconf 2.61
   1632 
   1633 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1634 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1635 This configure script is free software; the Free Software Foundation
   1636 gives unlimited permission to copy, distribute and modify it.
   1637 _ACEOF
   1638   exit
   1639 fi
   1640 cat >config.log <<_ACEOF
   1641 This file contains any messages produced by compilers while
   1642 running configure, to aid debugging if configure makes a mistake.
   1643 
   1644 It was created by xf86-video-r128 $as_me 6.8.0, which was
   1645 generated by GNU Autoconf 2.61.  Invocation command line was
   1646 
   1647   $ $0 $@
   1648 
   1649 _ACEOF
   1650 exec 5>>config.log
   1651 {
   1652 cat <<_ASUNAME
   1653 ## --------- ##
   1654 ## Platform. ##
   1655 ## --------- ##
   1656 
   1657 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1658 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1659 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1660 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1661 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1662 
   1663 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1664 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1665 
   1666 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1667 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1668 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1669 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1670 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1671 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1672 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1673 
   1674 _ASUNAME
   1675 
   1676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1677 for as_dir in $PATH
   1678 do
   1679   IFS=$as_save_IFS
   1680   test -z "$as_dir" && as_dir=.
   1681   echo "PATH: $as_dir"
   1682 done
   1683 IFS=$as_save_IFS
   1684 
   1685 } >&5
   1686 
   1687 cat >&5 <<_ACEOF
   1688 
   1689 
   1690 ## ----------- ##
   1691 ## Core tests. ##
   1692 ## ----------- ##
   1693 
   1694 _ACEOF
   1695 
   1696 
   1697 # Keep a trace of the command line.
   1698 # Strip out --no-create and --no-recursion so they do not pile up.
   1699 # Strip out --silent because we don't want to record it for future runs.
   1700 # Also quote any args containing shell meta-characters.
   1701 # Make two passes to allow for proper duplicate-argument suppression.
   1702 ac_configure_args=
   1703 ac_configure_args0=
   1704 ac_configure_args1=
   1705 ac_must_keep_next=false
   1706 for ac_pass in 1 2
   1707 do
   1708   for ac_arg
   1709   do
   1710     case $ac_arg in
   1711     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1712     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1713     | -silent | --silent | --silen | --sile | --sil)
   1714       continue ;;
   1715     *\'*)
   1716       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1717     esac
   1718     case $ac_pass in
   1719     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1720     2)
   1721       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1722       if test $ac_must_keep_next = true; then
   1723 	ac_must_keep_next=false # Got value, back to normal.
   1724       else
   1725 	case $ac_arg in
   1726 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1727 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1728 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1729 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1730 	    case "$ac_configure_args0 " in
   1731 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1732 	    esac
   1733 	    ;;
   1734 	  -* ) ac_must_keep_next=true ;;
   1735 	esac
   1736       fi
   1737       ac_configure_args="$ac_configure_args '$ac_arg'"
   1738       ;;
   1739     esac
   1740   done
   1741 done
   1742 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1743 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1744 
   1745 # When interrupted or exit'd, cleanup temporary files, and complete
   1746 # config.log.  We remove comments because anyway the quotes in there
   1747 # would cause problems or look ugly.
   1748 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1749 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1750 trap 'exit_status=$?
   1751   # Save into config.log some information that might help in debugging.
   1752   {
   1753     echo
   1754 
   1755     cat <<\_ASBOX
   1756 ## ---------------- ##
   1757 ## Cache variables. ##
   1758 ## ---------------- ##
   1759 _ASBOX
   1760     echo
   1761     # The following way of writing the cache mishandles newlines in values,
   1762 (
   1763   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1764     eval ac_val=\$$ac_var
   1765     case $ac_val in #(
   1766     *${as_nl}*)
   1767       case $ac_var in #(
   1768       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1769 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1770       esac
   1771       case $ac_var in #(
   1772       _ | IFS | as_nl) ;; #(
   1773       *) $as_unset $ac_var ;;
   1774       esac ;;
   1775     esac
   1776   done
   1777   (set) 2>&1 |
   1778     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1779     *${as_nl}ac_space=\ *)
   1780       sed -n \
   1781 	"s/'\''/'\''\\\\'\'''\''/g;
   1782 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1783       ;; #(
   1784     *)
   1785       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1786       ;;
   1787     esac |
   1788     sort
   1789 )
   1790     echo
   1791 
   1792     cat <<\_ASBOX
   1793 ## ----------------- ##
   1794 ## Output variables. ##
   1795 ## ----------------- ##
   1796 _ASBOX
   1797     echo
   1798     for ac_var in $ac_subst_vars
   1799     do
   1800       eval ac_val=\$$ac_var
   1801       case $ac_val in
   1802       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1803       esac
   1804       echo "$ac_var='\''$ac_val'\''"
   1805     done | sort
   1806     echo
   1807 
   1808     if test -n "$ac_subst_files"; then
   1809       cat <<\_ASBOX
   1810 ## ------------------- ##
   1811 ## File substitutions. ##
   1812 ## ------------------- ##
   1813 _ASBOX
   1814       echo
   1815       for ac_var in $ac_subst_files
   1816       do
   1817 	eval ac_val=\$$ac_var
   1818 	case $ac_val in
   1819 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1820 	esac
   1821 	echo "$ac_var='\''$ac_val'\''"
   1822       done | sort
   1823       echo
   1824     fi
   1825 
   1826     if test -s confdefs.h; then
   1827       cat <<\_ASBOX
   1828 ## ----------- ##
   1829 ## confdefs.h. ##
   1830 ## ----------- ##
   1831 _ASBOX
   1832       echo
   1833       cat confdefs.h
   1834       echo
   1835     fi
   1836     test "$ac_signal" != 0 &&
   1837       echo "$as_me: caught signal $ac_signal"
   1838     echo "$as_me: exit $exit_status"
   1839   } >&5
   1840   rm -f core *.core core.conftest.* &&
   1841     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1842     exit $exit_status
   1843 ' 0
   1844 for ac_signal in 1 2 13 15; do
   1845   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1846 done
   1847 ac_signal=0
   1848 
   1849 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1850 rm -f -r conftest* confdefs.h
   1851 
   1852 # Predefined preprocessor variables.
   1853 
   1854 cat >>confdefs.h <<_ACEOF
   1855 #define PACKAGE_NAME "$PACKAGE_NAME"
   1856 _ACEOF
   1857 
   1858 
   1859 cat >>confdefs.h <<_ACEOF
   1860 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1861 _ACEOF
   1862 
   1863 
   1864 cat >>confdefs.h <<_ACEOF
   1865 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1866 _ACEOF
   1867 
   1868 
   1869 cat >>confdefs.h <<_ACEOF
   1870 #define PACKAGE_STRING "$PACKAGE_STRING"
   1871 _ACEOF
   1872 
   1873 
   1874 cat >>confdefs.h <<_ACEOF
   1875 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1876 _ACEOF
   1877 
   1878 
   1879 # Let the site file select an alternate cache file if it wants to.
   1880 # Prefer explicitly selected file to automatically selected ones.
   1881 if test -n "$CONFIG_SITE"; then
   1882   set x "$CONFIG_SITE"
   1883 elif test "x$prefix" != xNONE; then
   1884   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1885 else
   1886   set x "$ac_default_prefix/share/config.site" \
   1887 	"$ac_default_prefix/etc/config.site"
   1888 fi
   1889 shift
   1890 for ac_site_file
   1891 do
   1892   if test -r "$ac_site_file"; then
   1893     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1894 echo "$as_me: loading site script $ac_site_file" >&6;}
   1895     sed 's/^/| /' "$ac_site_file" >&5
   1896     . "$ac_site_file"
   1897   fi
   1898 done
   1899 
   1900 if test -r "$cache_file"; then
   1901   # Some versions of bash will fail to source /dev/null (special
   1902   # files actually), so we avoid doing that.
   1903   if test -f "$cache_file"; then
   1904     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1905 echo "$as_me: loading cache $cache_file" >&6;}
   1906     case $cache_file in
   1907       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1908       *)                      . "./$cache_file";;
   1909     esac
   1910   fi
   1911 else
   1912   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1913 echo "$as_me: creating cache $cache_file" >&6;}
   1914   >$cache_file
   1915 fi
   1916 
   1917 # Check that the precious variables saved in the cache have kept the same
   1918 # value.
   1919 ac_cache_corrupted=false
   1920 for ac_var in $ac_precious_vars; do
   1921   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1922   eval ac_new_set=\$ac_env_${ac_var}_set
   1923   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1924   eval ac_new_val=\$ac_env_${ac_var}_value
   1925   case $ac_old_set,$ac_new_set in
   1926     set,)
   1927       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1928 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1929       ac_cache_corrupted=: ;;
   1930     ,set)
   1931       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1932 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1933       ac_cache_corrupted=: ;;
   1934     ,);;
   1935     *)
   1936       if test "x$ac_old_val" != "x$ac_new_val"; then
   1937 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1938 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1939 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1940 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1941 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1942 echo "$as_me:   current value: $ac_new_val" >&2;}
   1943 	ac_cache_corrupted=:
   1944       fi;;
   1945   esac
   1946   # Pass precious variables to config.status.
   1947   if test "$ac_new_set" = set; then
   1948     case $ac_new_val in
   1949     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1950     *) ac_arg=$ac_var=$ac_new_val ;;
   1951     esac
   1952     case " $ac_configure_args " in
   1953       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1954       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1955     esac
   1956   fi
   1957 done
   1958 if $ac_cache_corrupted; then
   1959   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1960 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1961   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1962 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1963    { (exit 1); exit 1; }; }
   1964 fi
   1965 
   1966 
   1967 
   1968 
   1969 
   1970 
   1971 
   1972 
   1973 
   1974 
   1975 
   1976 
   1977 
   1978 
   1979 
   1980 
   1981 
   1982 
   1983 
   1984 
   1985 
   1986 
   1987 
   1988 
   1989 
   1990 ac_ext=c
   1991 ac_cpp='$CPP $CPPFLAGS'
   1992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1995 
   1996 
   1997 
   1998 
   1999 ac_config_headers="$ac_config_headers config.h"
   2000 
   2001 ac_aux_dir=
   2002 for ac_dir in . "$srcdir"/.; do
   2003   if test -f "$ac_dir/install-sh"; then
   2004     ac_aux_dir=$ac_dir
   2005     ac_install_sh="$ac_aux_dir/install-sh -c"
   2006     break
   2007   elif test -f "$ac_dir/install.sh"; then
   2008     ac_aux_dir=$ac_dir
   2009     ac_install_sh="$ac_aux_dir/install.sh -c"
   2010     break
   2011   elif test -f "$ac_dir/shtool"; then
   2012     ac_aux_dir=$ac_dir
   2013     ac_install_sh="$ac_aux_dir/shtool install -c"
   2014     break
   2015   fi
   2016 done
   2017 if test -z "$ac_aux_dir"; then
   2018   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2019 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2020    { (exit 1); exit 1; }; }
   2021 fi
   2022 
   2023 # These three variables are undocumented and unsupported,
   2024 # and are intended to be withdrawn in a future Autoconf release.
   2025 # They can cause serious problems if a builder's source tree is in a directory
   2026 # whose full name contains unusual characters.
   2027 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2028 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2029 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2030 
   2031 
   2032 
   2033 am__api_version='1.10'
   2034 
   2035 # Find a good install program.  We prefer a C program (faster),
   2036 # so one script is as good as another.  But avoid the broken or
   2037 # incompatible versions:
   2038 # SysV /etc/install, /usr/sbin/install
   2039 # SunOS /usr/etc/install
   2040 # IRIX /sbin/install
   2041 # AIX /bin/install
   2042 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2046 # OS/2's system install, which has a completely different semantic
   2047 # ./install, which can be erroneously created by make from ./install.sh.
   2048 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2049 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2050 if test -z "$INSTALL"; then
   2051 if test "${ac_cv_path_install+set}" = set; then
   2052   echo $ECHO_N "(cached) $ECHO_C" >&6
   2053 else
   2054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2055 for as_dir in $PATH
   2056 do
   2057   IFS=$as_save_IFS
   2058   test -z "$as_dir" && as_dir=.
   2059   # Account for people who put trailing slashes in PATH elements.
   2060 case $as_dir/ in
   2061   ./ | .// | /cC/* | \
   2062   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2063   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2064   /usr/ucb/* ) ;;
   2065   *)
   2066     # OSF1 and SCO ODT 3.0 have their own names for install.
   2067     # Don't use installbsd from OSF since it installs stuff as root
   2068     # by default.
   2069     for ac_prog in ginstall scoinst install; do
   2070       for ac_exec_ext in '' $ac_executable_extensions; do
   2071 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2072 	  if test $ac_prog = install &&
   2073 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2074 	    # AIX install.  It has an incompatible calling convention.
   2075 	    :
   2076 	  elif test $ac_prog = install &&
   2077 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2078 	    # program-specific install script used by HP pwplus--don't use.
   2079 	    :
   2080 	  else
   2081 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2082 	    break 3
   2083 	  fi
   2084 	fi
   2085       done
   2086     done
   2087     ;;
   2088 esac
   2089 done
   2090 IFS=$as_save_IFS
   2091 
   2092 
   2093 fi
   2094   if test "${ac_cv_path_install+set}" = set; then
   2095     INSTALL=$ac_cv_path_install
   2096   else
   2097     # As a last resort, use the slow shell script.  Don't cache a
   2098     # value for INSTALL within a source directory, because that will
   2099     # break other packages using the cache if that directory is
   2100     # removed, or if the value is a relative name.
   2101     INSTALL=$ac_install_sh
   2102   fi
   2103 fi
   2104 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2105 echo "${ECHO_T}$INSTALL" >&6; }
   2106 
   2107 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2108 # It thinks the first close brace ends the variable substitution.
   2109 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2110 
   2111 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2112 
   2113 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2114 
   2115 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2116 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2117 # Just in case
   2118 sleep 1
   2119 echo timestamp > conftest.file
   2120 # Do `set' in a subshell so we don't clobber the current shell's
   2121 # arguments.  Must try -L first in case configure is actually a
   2122 # symlink; some systems play weird games with the mod time of symlinks
   2123 # (eg FreeBSD returns the mod time of the symlink's containing
   2124 # directory).
   2125 if (
   2126    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2127    if test "$*" = "X"; then
   2128       # -L didn't work.
   2129       set X `ls -t $srcdir/configure conftest.file`
   2130    fi
   2131    rm -f conftest.file
   2132    if test "$*" != "X $srcdir/configure conftest.file" \
   2133       && test "$*" != "X conftest.file $srcdir/configure"; then
   2134 
   2135       # If neither matched, then we have a broken ls.  This can happen
   2136       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2137       # broken ls alias from the environment.  This has actually
   2138       # happened.  Such a system could not be considered "sane".
   2139       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2140 alias in your environment" >&5
   2141 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2142 alias in your environment" >&2;}
   2143    { (exit 1); exit 1; }; }
   2144    fi
   2145 
   2146    test "$2" = conftest.file
   2147    )
   2148 then
   2149    # Ok.
   2150    :
   2151 else
   2152    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2153 Check your system clock" >&5
   2154 echo "$as_me: error: newly created file is older than distributed files!
   2155 Check your system clock" >&2;}
   2156    { (exit 1); exit 1; }; }
   2157 fi
   2158 { echo "$as_me:$LINENO: result: yes" >&5
   2159 echo "${ECHO_T}yes" >&6; }
   2160 test "$program_prefix" != NONE &&
   2161   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2162 # Use a double $ so make ignores it.
   2163 test "$program_suffix" != NONE &&
   2164   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2165 # Double any \ or $.  echo might interpret backslashes.
   2166 # By default was `s,x,x', remove it if useless.
   2167 cat <<\_ACEOF >conftest.sed
   2168 s/[\\$]/&&/g;s/;s,x,x,$//
   2169 _ACEOF
   2170 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2171 rm -f conftest.sed
   2172 
   2173 # expand $ac_aux_dir to an absolute path
   2174 am_aux_dir=`cd $ac_aux_dir && pwd`
   2175 
   2176 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2177 # Use eval to expand $SHELL
   2178 if eval "$MISSING --run true"; then
   2179   am_missing_run="$MISSING --run "
   2180 else
   2181   am_missing_run=
   2182   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2183 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2184 fi
   2185 
   2186 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2187 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2188 if test -z "$MKDIR_P"; then
   2189   if test "${ac_cv_path_mkdir+set}" = set; then
   2190   echo $ECHO_N "(cached) $ECHO_C" >&6
   2191 else
   2192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2193 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2194 do
   2195   IFS=$as_save_IFS
   2196   test -z "$as_dir" && as_dir=.
   2197   for ac_prog in mkdir gmkdir; do
   2198 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2199 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2200 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2201 	     'mkdir (GNU coreutils) '* | \
   2202 	     'mkdir (coreutils) '* | \
   2203 	     'mkdir (fileutils) '4.1*)
   2204 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2205 	       break 3;;
   2206 	   esac
   2207 	 done
   2208        done
   2209 done
   2210 IFS=$as_save_IFS
   2211 
   2212 fi
   2213 
   2214   if test "${ac_cv_path_mkdir+set}" = set; then
   2215     MKDIR_P="$ac_cv_path_mkdir -p"
   2216   else
   2217     # As a last resort, use the slow shell script.  Don't cache a
   2218     # value for MKDIR_P within a source directory, because that will
   2219     # break other packages using the cache if that directory is
   2220     # removed, or if the value is a relative name.
   2221     test -d ./--version && rmdir ./--version
   2222     MKDIR_P="$ac_install_sh -d"
   2223   fi
   2224 fi
   2225 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2226 echo "${ECHO_T}$MKDIR_P" >&6; }
   2227 
   2228 mkdir_p="$MKDIR_P"
   2229 case $mkdir_p in
   2230   [\\/$]* | ?:[\\/]*) ;;
   2231   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2232 esac
   2233 
   2234 for ac_prog in gawk mawk nawk awk
   2235 do
   2236   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2237 set dummy $ac_prog; ac_word=$2
   2238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2240 if test "${ac_cv_prog_AWK+set}" = set; then
   2241   echo $ECHO_N "(cached) $ECHO_C" >&6
   2242 else
   2243   if test -n "$AWK"; then
   2244   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2245 else
   2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2247 for as_dir in $PATH
   2248 do
   2249   IFS=$as_save_IFS
   2250   test -z "$as_dir" && as_dir=.
   2251   for ac_exec_ext in '' $ac_executable_extensions; do
   2252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2253     ac_cv_prog_AWK="$ac_prog"
   2254     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2255     break 2
   2256   fi
   2257 done
   2258 done
   2259 IFS=$as_save_IFS
   2260 
   2261 fi
   2262 fi
   2263 AWK=$ac_cv_prog_AWK
   2264 if test -n "$AWK"; then
   2265   { echo "$as_me:$LINENO: result: $AWK" >&5
   2266 echo "${ECHO_T}$AWK" >&6; }
   2267 else
   2268   { echo "$as_me:$LINENO: result: no" >&5
   2269 echo "${ECHO_T}no" >&6; }
   2270 fi
   2271 
   2272 
   2273   test -n "$AWK" && break
   2274 done
   2275 
   2276 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2277 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2278 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2279 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2280   echo $ECHO_N "(cached) $ECHO_C" >&6
   2281 else
   2282   cat >conftest.make <<\_ACEOF
   2283 SHELL = /bin/sh
   2284 all:
   2285 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2286 _ACEOF
   2287 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2288 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2289   *@@@%%%=?*=@@@%%%*)
   2290     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2291   *)
   2292     eval ac_cv_prog_make_${ac_make}_set=no;;
   2293 esac
   2294 rm -f conftest.make
   2295 fi
   2296 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2297   { echo "$as_me:$LINENO: result: yes" >&5
   2298 echo "${ECHO_T}yes" >&6; }
   2299   SET_MAKE=
   2300 else
   2301   { echo "$as_me:$LINENO: result: no" >&5
   2302 echo "${ECHO_T}no" >&6; }
   2303   SET_MAKE="MAKE=${MAKE-make}"
   2304 fi
   2305 
   2306 rm -rf .tst 2>/dev/null
   2307 mkdir .tst 2>/dev/null
   2308 if test -d .tst; then
   2309   am__leading_dot=.
   2310 else
   2311   am__leading_dot=_
   2312 fi
   2313 rmdir .tst 2>/dev/null
   2314 
   2315 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2316   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2317   # is not polluted with repeated "-I."
   2318   am__isrc=' -I$(srcdir)'
   2319   # test to see if srcdir already configured
   2320   if test -f $srcdir/config.status; then
   2321     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2322 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2323    { (exit 1); exit 1; }; }
   2324   fi
   2325 fi
   2326 
   2327 # test whether we have cygpath
   2328 if test -z "$CYGPATH_W"; then
   2329   if (cygpath --version) >/dev/null 2>/dev/null; then
   2330     CYGPATH_W='cygpath -w'
   2331   else
   2332     CYGPATH_W=echo
   2333   fi
   2334 fi
   2335 
   2336 
   2337 # Define the identity of the package.
   2338  PACKAGE='xf86-video-r128'
   2339  VERSION='6.8.0'
   2340 
   2341 
   2342 cat >>confdefs.h <<_ACEOF
   2343 #define PACKAGE "$PACKAGE"
   2344 _ACEOF
   2345 
   2346 
   2347 cat >>confdefs.h <<_ACEOF
   2348 #define VERSION "$VERSION"
   2349 _ACEOF
   2350 
   2351 # Some tools Automake needs.
   2352 
   2353 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2354 
   2355 
   2356 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2357 
   2358 
   2359 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2360 
   2361 
   2362 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2363 
   2364 
   2365 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2366 
   2367 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2368 
   2369 # Installed binaries are usually stripped using `strip' when the user
   2370 # run `make install-strip'.  However `strip' might not be the right
   2371 # tool to use in cross-compilation environments, therefore Automake
   2372 # will honor the `STRIP' environment variable to overrule this program.
   2373 if test "$cross_compiling" != no; then
   2374   if test -n "$ac_tool_prefix"; then
   2375   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2376 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2379 if test "${ac_cv_prog_STRIP+set}" = set; then
   2380   echo $ECHO_N "(cached) $ECHO_C" >&6
   2381 else
   2382   if test -n "$STRIP"; then
   2383   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2384 else
   2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2386 for as_dir in $PATH
   2387 do
   2388   IFS=$as_save_IFS
   2389   test -z "$as_dir" && as_dir=.
   2390   for ac_exec_ext in '' $ac_executable_extensions; do
   2391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2392     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2393     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2394     break 2
   2395   fi
   2396 done
   2397 done
   2398 IFS=$as_save_IFS
   2399 
   2400 fi
   2401 fi
   2402 STRIP=$ac_cv_prog_STRIP
   2403 if test -n "$STRIP"; then
   2404   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2405 echo "${ECHO_T}$STRIP" >&6; }
   2406 else
   2407   { echo "$as_me:$LINENO: result: no" >&5
   2408 echo "${ECHO_T}no" >&6; }
   2409 fi
   2410 
   2411 
   2412 fi
   2413 if test -z "$ac_cv_prog_STRIP"; then
   2414   ac_ct_STRIP=$STRIP
   2415   # Extract the first word of "strip", so it can be a program name with args.
   2416 set dummy strip; ac_word=$2
   2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2419 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2420   echo $ECHO_N "(cached) $ECHO_C" >&6
   2421 else
   2422   if test -n "$ac_ct_STRIP"; then
   2423   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2424 else
   2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2426 for as_dir in $PATH
   2427 do
   2428   IFS=$as_save_IFS
   2429   test -z "$as_dir" && as_dir=.
   2430   for ac_exec_ext in '' $ac_executable_extensions; do
   2431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2432     ac_cv_prog_ac_ct_STRIP="strip"
   2433     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2434     break 2
   2435   fi
   2436 done
   2437 done
   2438 IFS=$as_save_IFS
   2439 
   2440 fi
   2441 fi
   2442 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2443 if test -n "$ac_ct_STRIP"; then
   2444   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2445 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2446 else
   2447   { echo "$as_me:$LINENO: result: no" >&5
   2448 echo "${ECHO_T}no" >&6; }
   2449 fi
   2450 
   2451   if test "x$ac_ct_STRIP" = x; then
   2452     STRIP=":"
   2453   else
   2454     case $cross_compiling:$ac_tool_warned in
   2455 yes:)
   2456 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2457 whose name does not start with the host triplet.  If you think this
   2458 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2459 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2460 whose name does not start with the host triplet.  If you think this
   2461 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2462 ac_tool_warned=yes ;;
   2463 esac
   2464     STRIP=$ac_ct_STRIP
   2465   fi
   2466 else
   2467   STRIP="$ac_cv_prog_STRIP"
   2468 fi
   2469 
   2470 fi
   2471 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2472 
   2473 # We need awk for the "check" target.  The system "awk" is bad on
   2474 # some platforms.
   2475 # Always define AMTAR for backward compatibility.
   2476 
   2477 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2478 
   2479 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2480 
   2481 
   2482 
   2483 
   2484 
   2485 
   2486 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2487 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2488     # Check whether --enable-maintainer-mode was given.
   2489 if test "${enable_maintainer_mode+set}" = set; then
   2490   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2491 else
   2492   USE_MAINTAINER_MODE=no
   2493 fi
   2494 
   2495   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2496 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2497    if test $USE_MAINTAINER_MODE = yes; then
   2498   MAINTAINER_MODE_TRUE=
   2499   MAINTAINER_MODE_FALSE='#'
   2500 else
   2501   MAINTAINER_MODE_TRUE='#'
   2502   MAINTAINER_MODE_FALSE=
   2503 fi
   2504 
   2505   MAINT=$MAINTAINER_MODE_TRUE
   2506 
   2507 
   2508 
   2509 # Checks for programs.
   2510 # Check whether --enable-static was given.
   2511 if test "${enable_static+set}" = set; then
   2512   enableval=$enable_static; p=${PACKAGE-default}
   2513     case $enableval in
   2514     yes) enable_static=yes ;;
   2515     no) enable_static=no ;;
   2516     *)
   2517      enable_static=no
   2518       # Look at the argument we got.  We use all the common list separators.
   2519       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2520       for pkg in $enableval; do
   2521 	IFS="$lt_save_ifs"
   2522 	if test "X$pkg" = "X$p"; then
   2523 	  enable_static=yes
   2524 	fi
   2525       done
   2526       IFS="$lt_save_ifs"
   2527       ;;
   2528     esac
   2529 else
   2530   enable_static=no
   2531 fi
   2532 
   2533 
   2534 
   2535 # Check whether --enable-shared was given.
   2536 if test "${enable_shared+set}" = set; then
   2537   enableval=$enable_shared; p=${PACKAGE-default}
   2538     case $enableval in
   2539     yes) enable_shared=yes ;;
   2540     no) enable_shared=no ;;
   2541     *)
   2542       enable_shared=no
   2543       # Look at the argument we got.  We use all the common list separators.
   2544       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2545       for pkg in $enableval; do
   2546 	IFS="$lt_save_ifs"
   2547 	if test "X$pkg" = "X$p"; then
   2548 	  enable_shared=yes
   2549 	fi
   2550       done
   2551       IFS="$lt_save_ifs"
   2552       ;;
   2553     esac
   2554 else
   2555   enable_shared=yes
   2556 fi
   2557 
   2558 
   2559 # Check whether --enable-fast-install was given.
   2560 if test "${enable_fast_install+set}" = set; then
   2561   enableval=$enable_fast_install; p=${PACKAGE-default}
   2562     case $enableval in
   2563     yes) enable_fast_install=yes ;;
   2564     no) enable_fast_install=no ;;
   2565     *)
   2566       enable_fast_install=no
   2567       # Look at the argument we got.  We use all the common list separators.
   2568       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2569       for pkg in $enableval; do
   2570 	IFS="$lt_save_ifs"
   2571 	if test "X$pkg" = "X$p"; then
   2572 	  enable_fast_install=yes
   2573 	fi
   2574       done
   2575       IFS="$lt_save_ifs"
   2576       ;;
   2577     esac
   2578 else
   2579   enable_fast_install=yes
   2580 fi
   2581 
   2582 
   2583 # Make sure we can run config.sub.
   2584 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2585   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2586 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2587    { (exit 1); exit 1; }; }
   2588 
   2589 { echo "$as_me:$LINENO: checking build system type" >&5
   2590 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2591 if test "${ac_cv_build+set}" = set; then
   2592   echo $ECHO_N "(cached) $ECHO_C" >&6
   2593 else
   2594   ac_build_alias=$build_alias
   2595 test "x$ac_build_alias" = x &&
   2596   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2597 test "x$ac_build_alias" = x &&
   2598   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2599 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2600    { (exit 1); exit 1; }; }
   2601 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2602   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2603 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2604    { (exit 1); exit 1; }; }
   2605 
   2606 fi
   2607 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2608 echo "${ECHO_T}$ac_cv_build" >&6; }
   2609 case $ac_cv_build in
   2610 *-*-*) ;;
   2611 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2612 echo "$as_me: error: invalid value of canonical build" >&2;}
   2613    { (exit 1); exit 1; }; };;
   2614 esac
   2615 build=$ac_cv_build
   2616 ac_save_IFS=$IFS; IFS='-'
   2617 set x $ac_cv_build
   2618 shift
   2619 build_cpu=$1
   2620 build_vendor=$2
   2621 shift; shift
   2622 # Remember, the first character of IFS is used to create $*,
   2623 # except with old shells:
   2624 build_os=$*
   2625 IFS=$ac_save_IFS
   2626 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2627 
   2628 
   2629 { echo "$as_me:$LINENO: checking host system type" >&5
   2630 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2631 if test "${ac_cv_host+set}" = set; then
   2632   echo $ECHO_N "(cached) $ECHO_C" >&6
   2633 else
   2634   if test "x$host_alias" = x; then
   2635   ac_cv_host=$ac_cv_build
   2636 else
   2637   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2638     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2639 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2640    { (exit 1); exit 1; }; }
   2641 fi
   2642 
   2643 fi
   2644 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2645 echo "${ECHO_T}$ac_cv_host" >&6; }
   2646 case $ac_cv_host in
   2647 *-*-*) ;;
   2648 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2649 echo "$as_me: error: invalid value of canonical host" >&2;}
   2650    { (exit 1); exit 1; }; };;
   2651 esac
   2652 host=$ac_cv_host
   2653 ac_save_IFS=$IFS; IFS='-'
   2654 set x $ac_cv_host
   2655 shift
   2656 host_cpu=$1
   2657 host_vendor=$2
   2658 shift; shift
   2659 # Remember, the first character of IFS is used to create $*,
   2660 # except with old shells:
   2661 host_os=$*
   2662 IFS=$ac_save_IFS
   2663 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2664 
   2665 
   2666 DEPDIR="${am__leading_dot}deps"
   2667 
   2668 ac_config_commands="$ac_config_commands depfiles"
   2669 
   2670 
   2671 am_make=${MAKE-make}
   2672 cat > confinc << 'END'
   2673 am__doit:
   2674 	@echo done
   2675 .PHONY: am__doit
   2676 END
   2677 # If we don't find an include directive, just comment out the code.
   2678 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2679 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2680 am__include="#"
   2681 am__quote=
   2682 _am_result=none
   2683 # First try GNU make style include.
   2684 echo "include confinc" > confmf
   2685 # We grep out `Entering directory' and `Leaving directory'
   2686 # messages which can occur if `w' ends up in MAKEFLAGS.
   2687 # In particular we don't look at `^make:' because GNU make might
   2688 # be invoked under some other name (usually "gmake"), in which
   2689 # case it prints its new name instead of `make'.
   2690 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2691    am__include=include
   2692    am__quote=
   2693    _am_result=GNU
   2694 fi
   2695 # Now try BSD make style include.
   2696 if test "$am__include" = "#"; then
   2697    echo '.include "confinc"' > confmf
   2698    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2699       am__include=.include
   2700       am__quote="\""
   2701       _am_result=BSD
   2702    fi
   2703 fi
   2704 
   2705 
   2706 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2707 echo "${ECHO_T}$_am_result" >&6; }
   2708 rm -f confinc confmf
   2709 
   2710 # Check whether --enable-dependency-tracking was given.
   2711 if test "${enable_dependency_tracking+set}" = set; then
   2712   enableval=$enable_dependency_tracking;
   2713 fi
   2714 
   2715 if test "x$enable_dependency_tracking" != xno; then
   2716   am_depcomp="$ac_aux_dir/depcomp"
   2717   AMDEPBACKSLASH='\'
   2718 fi
   2719  if test "x$enable_dependency_tracking" != xno; then
   2720   AMDEP_TRUE=
   2721   AMDEP_FALSE='#'
   2722 else
   2723   AMDEP_TRUE='#'
   2724   AMDEP_FALSE=
   2725 fi
   2726 
   2727 
   2728 ac_ext=c
   2729 ac_cpp='$CPP $CPPFLAGS'
   2730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2733 if test -n "$ac_tool_prefix"; then
   2734   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2735 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2738 if test "${ac_cv_prog_CC+set}" = set; then
   2739   echo $ECHO_N "(cached) $ECHO_C" >&6
   2740 else
   2741   if test -n "$CC"; then
   2742   ac_cv_prog_CC="$CC" # Let the user override the test.
   2743 else
   2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2745 for as_dir in $PATH
   2746 do
   2747   IFS=$as_save_IFS
   2748   test -z "$as_dir" && as_dir=.
   2749   for ac_exec_ext in '' $ac_executable_extensions; do
   2750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2751     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2752     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2753     break 2
   2754   fi
   2755 done
   2756 done
   2757 IFS=$as_save_IFS
   2758 
   2759 fi
   2760 fi
   2761 CC=$ac_cv_prog_CC
   2762 if test -n "$CC"; then
   2763   { echo "$as_me:$LINENO: result: $CC" >&5
   2764 echo "${ECHO_T}$CC" >&6; }
   2765 else
   2766   { echo "$as_me:$LINENO: result: no" >&5
   2767 echo "${ECHO_T}no" >&6; }
   2768 fi
   2769 
   2770 
   2771 fi
   2772 if test -z "$ac_cv_prog_CC"; then
   2773   ac_ct_CC=$CC
   2774   # Extract the first word of "gcc", so it can be a program name with args.
   2775 set dummy gcc; ac_word=$2
   2776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2778 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2779   echo $ECHO_N "(cached) $ECHO_C" >&6
   2780 else
   2781   if test -n "$ac_ct_CC"; then
   2782   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2783 else
   2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2785 for as_dir in $PATH
   2786 do
   2787   IFS=$as_save_IFS
   2788   test -z "$as_dir" && as_dir=.
   2789   for ac_exec_ext in '' $ac_executable_extensions; do
   2790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2791     ac_cv_prog_ac_ct_CC="gcc"
   2792     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2793     break 2
   2794   fi
   2795 done
   2796 done
   2797 IFS=$as_save_IFS
   2798 
   2799 fi
   2800 fi
   2801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2802 if test -n "$ac_ct_CC"; then
   2803   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2804 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2805 else
   2806   { echo "$as_me:$LINENO: result: no" >&5
   2807 echo "${ECHO_T}no" >&6; }
   2808 fi
   2809 
   2810   if test "x$ac_ct_CC" = x; then
   2811     CC=""
   2812   else
   2813     case $cross_compiling:$ac_tool_warned in
   2814 yes:)
   2815 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2816 whose name does not start with the host triplet.  If you think this
   2817 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2818 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2819 whose name does not start with the host triplet.  If you think this
   2820 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2821 ac_tool_warned=yes ;;
   2822 esac
   2823     CC=$ac_ct_CC
   2824   fi
   2825 else
   2826   CC="$ac_cv_prog_CC"
   2827 fi
   2828 
   2829 if test -z "$CC"; then
   2830           if test -n "$ac_tool_prefix"; then
   2831     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2832 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2835 if test "${ac_cv_prog_CC+set}" = set; then
   2836   echo $ECHO_N "(cached) $ECHO_C" >&6
   2837 else
   2838   if test -n "$CC"; then
   2839   ac_cv_prog_CC="$CC" # Let the user override the test.
   2840 else
   2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2842 for as_dir in $PATH
   2843 do
   2844   IFS=$as_save_IFS
   2845   test -z "$as_dir" && as_dir=.
   2846   for ac_exec_ext in '' $ac_executable_extensions; do
   2847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2848     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2849     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2850     break 2
   2851   fi
   2852 done
   2853 done
   2854 IFS=$as_save_IFS
   2855 
   2856 fi
   2857 fi
   2858 CC=$ac_cv_prog_CC
   2859 if test -n "$CC"; then
   2860   { echo "$as_me:$LINENO: result: $CC" >&5
   2861 echo "${ECHO_T}$CC" >&6; }
   2862 else
   2863   { echo "$as_me:$LINENO: result: no" >&5
   2864 echo "${ECHO_T}no" >&6; }
   2865 fi
   2866 
   2867 
   2868   fi
   2869 fi
   2870 if test -z "$CC"; then
   2871   # Extract the first word of "cc", so it can be a program name with args.
   2872 set dummy cc; ac_word=$2
   2873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2875 if test "${ac_cv_prog_CC+set}" = set; then
   2876   echo $ECHO_N "(cached) $ECHO_C" >&6
   2877 else
   2878   if test -n "$CC"; then
   2879   ac_cv_prog_CC="$CC" # Let the user override the test.
   2880 else
   2881   ac_prog_rejected=no
   2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2883 for as_dir in $PATH
   2884 do
   2885   IFS=$as_save_IFS
   2886   test -z "$as_dir" && as_dir=.
   2887   for ac_exec_ext in '' $ac_executable_extensions; do
   2888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2889     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2890        ac_prog_rejected=yes
   2891        continue
   2892      fi
   2893     ac_cv_prog_CC="cc"
   2894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2895     break 2
   2896   fi
   2897 done
   2898 done
   2899 IFS=$as_save_IFS
   2900 
   2901 if test $ac_prog_rejected = yes; then
   2902   # We found a bogon in the path, so make sure we never use it.
   2903   set dummy $ac_cv_prog_CC
   2904   shift
   2905   if test $# != 0; then
   2906     # We chose a different compiler from the bogus one.
   2907     # However, it has the same basename, so the bogon will be chosen
   2908     # first if we set CC to just the basename; use the full file name.
   2909     shift
   2910     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2911   fi
   2912 fi
   2913 fi
   2914 fi
   2915 CC=$ac_cv_prog_CC
   2916 if test -n "$CC"; then
   2917   { echo "$as_me:$LINENO: result: $CC" >&5
   2918 echo "${ECHO_T}$CC" >&6; }
   2919 else
   2920   { echo "$as_me:$LINENO: result: no" >&5
   2921 echo "${ECHO_T}no" >&6; }
   2922 fi
   2923 
   2924 
   2925 fi
   2926 if test -z "$CC"; then
   2927   if test -n "$ac_tool_prefix"; then
   2928   for ac_prog in cl.exe
   2929   do
   2930     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2934 if test "${ac_cv_prog_CC+set}" = set; then
   2935   echo $ECHO_N "(cached) $ECHO_C" >&6
   2936 else
   2937   if test -n "$CC"; then
   2938   ac_cv_prog_CC="$CC" # Let the user override the test.
   2939 else
   2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2941 for as_dir in $PATH
   2942 do
   2943   IFS=$as_save_IFS
   2944   test -z "$as_dir" && as_dir=.
   2945   for ac_exec_ext in '' $ac_executable_extensions; do
   2946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2947     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2949     break 2
   2950   fi
   2951 done
   2952 done
   2953 IFS=$as_save_IFS
   2954 
   2955 fi
   2956 fi
   2957 CC=$ac_cv_prog_CC
   2958 if test -n "$CC"; then
   2959   { echo "$as_me:$LINENO: result: $CC" >&5
   2960 echo "${ECHO_T}$CC" >&6; }
   2961 else
   2962   { echo "$as_me:$LINENO: result: no" >&5
   2963 echo "${ECHO_T}no" >&6; }
   2964 fi
   2965 
   2966 
   2967     test -n "$CC" && break
   2968   done
   2969 fi
   2970 if test -z "$CC"; then
   2971   ac_ct_CC=$CC
   2972   for ac_prog in cl.exe
   2973 do
   2974   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2975 set dummy $ac_prog; ac_word=$2
   2976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2979   echo $ECHO_N "(cached) $ECHO_C" >&6
   2980 else
   2981   if test -n "$ac_ct_CC"; then
   2982   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2983 else
   2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2985 for as_dir in $PATH
   2986 do
   2987   IFS=$as_save_IFS
   2988   test -z "$as_dir" && as_dir=.
   2989   for ac_exec_ext in '' $ac_executable_extensions; do
   2990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2991     ac_cv_prog_ac_ct_CC="$ac_prog"
   2992     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2993     break 2
   2994   fi
   2995 done
   2996 done
   2997 IFS=$as_save_IFS
   2998 
   2999 fi
   3000 fi
   3001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3002 if test -n "$ac_ct_CC"; then
   3003   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3004 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3005 else
   3006   { echo "$as_me:$LINENO: result: no" >&5
   3007 echo "${ECHO_T}no" >&6; }
   3008 fi
   3009 
   3010 
   3011   test -n "$ac_ct_CC" && break
   3012 done
   3013 
   3014   if test "x$ac_ct_CC" = x; then
   3015     CC=""
   3016   else
   3017     case $cross_compiling:$ac_tool_warned in
   3018 yes:)
   3019 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3020 whose name does not start with the host triplet.  If you think this
   3021 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3022 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3023 whose name does not start with the host triplet.  If you think this
   3024 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3025 ac_tool_warned=yes ;;
   3026 esac
   3027     CC=$ac_ct_CC
   3028   fi
   3029 fi
   3030 
   3031 fi
   3032 
   3033 
   3034 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3035 See \`config.log' for more details." >&5
   3036 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3037 See \`config.log' for more details." >&2;}
   3038    { (exit 1); exit 1; }; }
   3039 
   3040 # Provide some information about the compiler.
   3041 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3042 ac_compiler=`set X $ac_compile; echo $2`
   3043 { (ac_try="$ac_compiler --version >&5"
   3044 case "(($ac_try" in
   3045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3046   *) ac_try_echo=$ac_try;;
   3047 esac
   3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3049   (eval "$ac_compiler --version >&5") 2>&5
   3050   ac_status=$?
   3051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3052   (exit $ac_status); }
   3053 { (ac_try="$ac_compiler -v >&5"
   3054 case "(($ac_try" in
   3055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3056   *) ac_try_echo=$ac_try;;
   3057 esac
   3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3059   (eval "$ac_compiler -v >&5") 2>&5
   3060   ac_status=$?
   3061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3062   (exit $ac_status); }
   3063 { (ac_try="$ac_compiler -V >&5"
   3064 case "(($ac_try" in
   3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3066   *) ac_try_echo=$ac_try;;
   3067 esac
   3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3069   (eval "$ac_compiler -V >&5") 2>&5
   3070   ac_status=$?
   3071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3072   (exit $ac_status); }
   3073 
   3074 cat >conftest.$ac_ext <<_ACEOF
   3075 /* confdefs.h.  */
   3076 _ACEOF
   3077 cat confdefs.h >>conftest.$ac_ext
   3078 cat >>conftest.$ac_ext <<_ACEOF
   3079 /* end confdefs.h.  */
   3080 
   3081 int
   3082 main ()
   3083 {
   3084 
   3085   ;
   3086   return 0;
   3087 }
   3088 _ACEOF
   3089 ac_clean_files_save=$ac_clean_files
   3090 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3091 # Try to create an executable without -o first, disregard a.out.
   3092 # It will help us diagnose broken compilers, and finding out an intuition
   3093 # of exeext.
   3094 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3095 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3096 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3097 #
   3098 # List of possible output files, starting from the most likely.
   3099 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3100 # only as a last resort.  b.out is created by i960 compilers.
   3101 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3102 #
   3103 # The IRIX 6 linker writes into existing files which may not be
   3104 # executable, retaining their permissions.  Remove them first so a
   3105 # subsequent execution test works.
   3106 ac_rmfiles=
   3107 for ac_file in $ac_files
   3108 do
   3109   case $ac_file in
   3110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3111     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3112   esac
   3113 done
   3114 rm -f $ac_rmfiles
   3115 
   3116 if { (ac_try="$ac_link_default"
   3117 case "(($ac_try" in
   3118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3119   *) ac_try_echo=$ac_try;;
   3120 esac
   3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3122   (eval "$ac_link_default") 2>&5
   3123   ac_status=$?
   3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3125   (exit $ac_status); }; then
   3126   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3127 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3128 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3129 # so that the user can short-circuit this test for compilers unknown to
   3130 # Autoconf.
   3131 for ac_file in $ac_files ''
   3132 do
   3133   test -f "$ac_file" || continue
   3134   case $ac_file in
   3135     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3136 	;;
   3137     [ab].out )
   3138 	# We found the default executable, but exeext='' is most
   3139 	# certainly right.
   3140 	break;;
   3141     *.* )
   3142         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3143 	then :; else
   3144 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3145 	fi
   3146 	# We set ac_cv_exeext here because the later test for it is not
   3147 	# safe: cross compilers may not add the suffix if given an `-o'
   3148 	# argument, so we may need to know it at that point already.
   3149 	# Even if this section looks crufty: it has the advantage of
   3150 	# actually working.
   3151 	break;;
   3152     * )
   3153 	break;;
   3154   esac
   3155 done
   3156 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3157 
   3158 else
   3159   ac_file=''
   3160 fi
   3161 
   3162 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3163 echo "${ECHO_T}$ac_file" >&6; }
   3164 if test -z "$ac_file"; then
   3165   echo "$as_me: failed program was:" >&5
   3166 sed 's/^/| /' conftest.$ac_ext >&5
   3167 
   3168 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3169 See \`config.log' for more details." >&5
   3170 echo "$as_me: error: C compiler cannot create executables
   3171 See \`config.log' for more details." >&2;}
   3172    { (exit 77); exit 77; }; }
   3173 fi
   3174 
   3175 ac_exeext=$ac_cv_exeext
   3176 
   3177 # Check that the compiler produces executables we can run.  If not, either
   3178 # the compiler is broken, or we cross compile.
   3179 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3180 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3181 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3182 # If not cross compiling, check that we can run a simple program.
   3183 if test "$cross_compiling" != yes; then
   3184   if { ac_try='./$ac_file'
   3185   { (case "(($ac_try" in
   3186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3187   *) ac_try_echo=$ac_try;;
   3188 esac
   3189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3190   (eval "$ac_try") 2>&5
   3191   ac_status=$?
   3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3193   (exit $ac_status); }; }; then
   3194     cross_compiling=no
   3195   else
   3196     if test "$cross_compiling" = maybe; then
   3197 	cross_compiling=yes
   3198     else
   3199 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3200 If you meant to cross compile, use \`--host'.
   3201 See \`config.log' for more details." >&5
   3202 echo "$as_me: error: cannot run C compiled programs.
   3203 If you meant to cross compile, use \`--host'.
   3204 See \`config.log' for more details." >&2;}
   3205    { (exit 1); exit 1; }; }
   3206     fi
   3207   fi
   3208 fi
   3209 { echo "$as_me:$LINENO: result: yes" >&5
   3210 echo "${ECHO_T}yes" >&6; }
   3211 
   3212 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3213 ac_clean_files=$ac_clean_files_save
   3214 # Check that the compiler produces executables we can run.  If not, either
   3215 # the compiler is broken, or we cross compile.
   3216 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3217 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3218 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3219 echo "${ECHO_T}$cross_compiling" >&6; }
   3220 
   3221 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3222 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3223 if { (ac_try="$ac_link"
   3224 case "(($ac_try" in
   3225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3226   *) ac_try_echo=$ac_try;;
   3227 esac
   3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3229   (eval "$ac_link") 2>&5
   3230   ac_status=$?
   3231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3232   (exit $ac_status); }; then
   3233   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3234 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3235 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3236 # `rm'.
   3237 for ac_file in conftest.exe conftest conftest.*; do
   3238   test -f "$ac_file" || continue
   3239   case $ac_file in
   3240     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3241     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3242 	  break;;
   3243     * ) break;;
   3244   esac
   3245 done
   3246 else
   3247   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3248 See \`config.log' for more details." >&5
   3249 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3250 See \`config.log' for more details." >&2;}
   3251    { (exit 1); exit 1; }; }
   3252 fi
   3253 
   3254 rm -f conftest$ac_cv_exeext
   3255 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3256 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3257 
   3258 rm -f conftest.$ac_ext
   3259 EXEEXT=$ac_cv_exeext
   3260 ac_exeext=$EXEEXT
   3261 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3262 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3263 if test "${ac_cv_objext+set}" = set; then
   3264   echo $ECHO_N "(cached) $ECHO_C" >&6
   3265 else
   3266   cat >conftest.$ac_ext <<_ACEOF
   3267 /* confdefs.h.  */
   3268 _ACEOF
   3269 cat confdefs.h >>conftest.$ac_ext
   3270 cat >>conftest.$ac_ext <<_ACEOF
   3271 /* end confdefs.h.  */
   3272 
   3273 int
   3274 main ()
   3275 {
   3276 
   3277   ;
   3278   return 0;
   3279 }
   3280 _ACEOF
   3281 rm -f conftest.o conftest.obj
   3282 if { (ac_try="$ac_compile"
   3283 case "(($ac_try" in
   3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3285   *) ac_try_echo=$ac_try;;
   3286 esac
   3287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3288   (eval "$ac_compile") 2>&5
   3289   ac_status=$?
   3290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3291   (exit $ac_status); }; then
   3292   for ac_file in conftest.o conftest.obj conftest.*; do
   3293   test -f "$ac_file" || continue;
   3294   case $ac_file in
   3295     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3296     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3297        break;;
   3298   esac
   3299 done
   3300 else
   3301   echo "$as_me: failed program was:" >&5
   3302 sed 's/^/| /' conftest.$ac_ext >&5
   3303 
   3304 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3305 See \`config.log' for more details." >&5
   3306 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3307 See \`config.log' for more details." >&2;}
   3308    { (exit 1); exit 1; }; }
   3309 fi
   3310 
   3311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3312 fi
   3313 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3314 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3315 OBJEXT=$ac_cv_objext
   3316 ac_objext=$OBJEXT
   3317 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3318 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3319 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3320   echo $ECHO_N "(cached) $ECHO_C" >&6
   3321 else
   3322   cat >conftest.$ac_ext <<_ACEOF
   3323 /* confdefs.h.  */
   3324 _ACEOF
   3325 cat confdefs.h >>conftest.$ac_ext
   3326 cat >>conftest.$ac_ext <<_ACEOF
   3327 /* end confdefs.h.  */
   3328 
   3329 int
   3330 main ()
   3331 {
   3332 #ifndef __GNUC__
   3333        choke me
   3334 #endif
   3335 
   3336   ;
   3337   return 0;
   3338 }
   3339 _ACEOF
   3340 rm -f conftest.$ac_objext
   3341 if { (ac_try="$ac_compile"
   3342 case "(($ac_try" in
   3343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3344   *) ac_try_echo=$ac_try;;
   3345 esac
   3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3347   (eval "$ac_compile") 2>conftest.er1
   3348   ac_status=$?
   3349   grep -v '^ *+' conftest.er1 >conftest.err
   3350   rm -f conftest.er1
   3351   cat conftest.err >&5
   3352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3353   (exit $ac_status); } && {
   3354 	 test -z "$ac_c_werror_flag" ||
   3355 	 test ! -s conftest.err
   3356        } && test -s conftest.$ac_objext; then
   3357   ac_compiler_gnu=yes
   3358 else
   3359   echo "$as_me: failed program was:" >&5
   3360 sed 's/^/| /' conftest.$ac_ext >&5
   3361 
   3362 	ac_compiler_gnu=no
   3363 fi
   3364 
   3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3366 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3367 
   3368 fi
   3369 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3370 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3371 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3372 ac_test_CFLAGS=${CFLAGS+set}
   3373 ac_save_CFLAGS=$CFLAGS
   3374 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3375 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3376 if test "${ac_cv_prog_cc_g+set}" = set; then
   3377   echo $ECHO_N "(cached) $ECHO_C" >&6
   3378 else
   3379   ac_save_c_werror_flag=$ac_c_werror_flag
   3380    ac_c_werror_flag=yes
   3381    ac_cv_prog_cc_g=no
   3382    CFLAGS="-g"
   3383    cat >conftest.$ac_ext <<_ACEOF
   3384 /* confdefs.h.  */
   3385 _ACEOF
   3386 cat confdefs.h >>conftest.$ac_ext
   3387 cat >>conftest.$ac_ext <<_ACEOF
   3388 /* end confdefs.h.  */
   3389 
   3390 int
   3391 main ()
   3392 {
   3393 
   3394   ;
   3395   return 0;
   3396 }
   3397 _ACEOF
   3398 rm -f conftest.$ac_objext
   3399 if { (ac_try="$ac_compile"
   3400 case "(($ac_try" in
   3401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3402   *) ac_try_echo=$ac_try;;
   3403 esac
   3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3405   (eval "$ac_compile") 2>conftest.er1
   3406   ac_status=$?
   3407   grep -v '^ *+' conftest.er1 >conftest.err
   3408   rm -f conftest.er1
   3409   cat conftest.err >&5
   3410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3411   (exit $ac_status); } && {
   3412 	 test -z "$ac_c_werror_flag" ||
   3413 	 test ! -s conftest.err
   3414        } && test -s conftest.$ac_objext; then
   3415   ac_cv_prog_cc_g=yes
   3416 else
   3417   echo "$as_me: failed program was:" >&5
   3418 sed 's/^/| /' conftest.$ac_ext >&5
   3419 
   3420 	CFLAGS=""
   3421       cat >conftest.$ac_ext <<_ACEOF
   3422 /* confdefs.h.  */
   3423 _ACEOF
   3424 cat confdefs.h >>conftest.$ac_ext
   3425 cat >>conftest.$ac_ext <<_ACEOF
   3426 /* end confdefs.h.  */
   3427 
   3428 int
   3429 main ()
   3430 {
   3431 
   3432   ;
   3433   return 0;
   3434 }
   3435 _ACEOF
   3436 rm -f conftest.$ac_objext
   3437 if { (ac_try="$ac_compile"
   3438 case "(($ac_try" in
   3439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3440   *) ac_try_echo=$ac_try;;
   3441 esac
   3442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3443   (eval "$ac_compile") 2>conftest.er1
   3444   ac_status=$?
   3445   grep -v '^ *+' conftest.er1 >conftest.err
   3446   rm -f conftest.er1
   3447   cat conftest.err >&5
   3448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3449   (exit $ac_status); } && {
   3450 	 test -z "$ac_c_werror_flag" ||
   3451 	 test ! -s conftest.err
   3452        } && test -s conftest.$ac_objext; then
   3453   :
   3454 else
   3455   echo "$as_me: failed program was:" >&5
   3456 sed 's/^/| /' conftest.$ac_ext >&5
   3457 
   3458 	ac_c_werror_flag=$ac_save_c_werror_flag
   3459 	 CFLAGS="-g"
   3460 	 cat >conftest.$ac_ext <<_ACEOF
   3461 /* confdefs.h.  */
   3462 _ACEOF
   3463 cat confdefs.h >>conftest.$ac_ext
   3464 cat >>conftest.$ac_ext <<_ACEOF
   3465 /* end confdefs.h.  */
   3466 
   3467 int
   3468 main ()
   3469 {
   3470 
   3471   ;
   3472   return 0;
   3473 }
   3474 _ACEOF
   3475 rm -f conftest.$ac_objext
   3476 if { (ac_try="$ac_compile"
   3477 case "(($ac_try" in
   3478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3479   *) ac_try_echo=$ac_try;;
   3480 esac
   3481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3482   (eval "$ac_compile") 2>conftest.er1
   3483   ac_status=$?
   3484   grep -v '^ *+' conftest.er1 >conftest.err
   3485   rm -f conftest.er1
   3486   cat conftest.err >&5
   3487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3488   (exit $ac_status); } && {
   3489 	 test -z "$ac_c_werror_flag" ||
   3490 	 test ! -s conftest.err
   3491        } && test -s conftest.$ac_objext; then
   3492   ac_cv_prog_cc_g=yes
   3493 else
   3494   echo "$as_me: failed program was:" >&5
   3495 sed 's/^/| /' conftest.$ac_ext >&5
   3496 
   3497 
   3498 fi
   3499 
   3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3501 fi
   3502 
   3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3504 fi
   3505 
   3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3507    ac_c_werror_flag=$ac_save_c_werror_flag
   3508 fi
   3509 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3510 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3511 if test "$ac_test_CFLAGS" = set; then
   3512   CFLAGS=$ac_save_CFLAGS
   3513 elif test $ac_cv_prog_cc_g = yes; then
   3514   if test "$GCC" = yes; then
   3515     CFLAGS="-g -O2"
   3516   else
   3517     CFLAGS="-g"
   3518   fi
   3519 else
   3520   if test "$GCC" = yes; then
   3521     CFLAGS="-O2"
   3522   else
   3523     CFLAGS=
   3524   fi
   3525 fi
   3526 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3527 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3528 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3529   echo $ECHO_N "(cached) $ECHO_C" >&6
   3530 else
   3531   ac_cv_prog_cc_c89=no
   3532 ac_save_CC=$CC
   3533 cat >conftest.$ac_ext <<_ACEOF
   3534 /* confdefs.h.  */
   3535 _ACEOF
   3536 cat confdefs.h >>conftest.$ac_ext
   3537 cat >>conftest.$ac_ext <<_ACEOF
   3538 /* end confdefs.h.  */
   3539 #include <stdarg.h>
   3540 #include <stdio.h>
   3541 #include <sys/types.h>
   3542 #include <sys/stat.h>
   3543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3544 struct buf { int x; };
   3545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3546 static char *e (p, i)
   3547      char **p;
   3548      int i;
   3549 {
   3550   return p[i];
   3551 }
   3552 static char *f (char * (*g) (char **, int), char **p, ...)
   3553 {
   3554   char *s;
   3555   va_list v;
   3556   va_start (v,p);
   3557   s = g (p, va_arg (v,int));
   3558   va_end (v);
   3559   return s;
   3560 }
   3561 
   3562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3563    function prototypes and stuff, but not '\xHH' hex character constants.
   3564    These don't provoke an error unfortunately, instead are silently treated
   3565    as 'x'.  The following induces an error, until -std is added to get
   3566    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3567    array size at least.  It's necessary to write '\x00'==0 to get something
   3568    that's true only with -std.  */
   3569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3570 
   3571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3572    inside strings and character constants.  */
   3573 #define FOO(x) 'x'
   3574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3575 
   3576 int test (int i, double x);
   3577 struct s1 {int (*f) (int a);};
   3578 struct s2 {int (*f) (double a);};
   3579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3580 int argc;
   3581 char **argv;
   3582 int
   3583 main ()
   3584 {
   3585 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3586   ;
   3587   return 0;
   3588 }
   3589 _ACEOF
   3590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3591 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3592 do
   3593   CC="$ac_save_CC $ac_arg"
   3594   rm -f conftest.$ac_objext
   3595 if { (ac_try="$ac_compile"
   3596 case "(($ac_try" in
   3597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3598   *) ac_try_echo=$ac_try;;
   3599 esac
   3600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3601   (eval "$ac_compile") 2>conftest.er1
   3602   ac_status=$?
   3603   grep -v '^ *+' conftest.er1 >conftest.err
   3604   rm -f conftest.er1
   3605   cat conftest.err >&5
   3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3607   (exit $ac_status); } && {
   3608 	 test -z "$ac_c_werror_flag" ||
   3609 	 test ! -s conftest.err
   3610        } && test -s conftest.$ac_objext; then
   3611   ac_cv_prog_cc_c89=$ac_arg
   3612 else
   3613   echo "$as_me: failed program was:" >&5
   3614 sed 's/^/| /' conftest.$ac_ext >&5
   3615 
   3616 
   3617 fi
   3618 
   3619 rm -f core conftest.err conftest.$ac_objext
   3620   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3621 done
   3622 rm -f conftest.$ac_ext
   3623 CC=$ac_save_CC
   3624 
   3625 fi
   3626 # AC_CACHE_VAL
   3627 case "x$ac_cv_prog_cc_c89" in
   3628   x)
   3629     { echo "$as_me:$LINENO: result: none needed" >&5
   3630 echo "${ECHO_T}none needed" >&6; } ;;
   3631   xno)
   3632     { echo "$as_me:$LINENO: result: unsupported" >&5
   3633 echo "${ECHO_T}unsupported" >&6; } ;;
   3634   *)
   3635     CC="$CC $ac_cv_prog_cc_c89"
   3636     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3637 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3638 esac
   3639 
   3640 
   3641 ac_ext=c
   3642 ac_cpp='$CPP $CPPFLAGS'
   3643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3646 
   3647 depcc="$CC"   am_compiler_list=
   3648 
   3649 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3650 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3651 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3652   echo $ECHO_N "(cached) $ECHO_C" >&6
   3653 else
   3654   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3655   # We make a subdir and do the tests there.  Otherwise we can end up
   3656   # making bogus files that we don't know about and never remove.  For
   3657   # instance it was reported that on HP-UX the gcc test will end up
   3658   # making a dummy file named `D' -- because `-MD' means `put the output
   3659   # in D'.
   3660   mkdir conftest.dir
   3661   # Copy depcomp to subdir because otherwise we won't find it if we're
   3662   # using a relative directory.
   3663   cp "$am_depcomp" conftest.dir
   3664   cd conftest.dir
   3665   # We will build objects and dependencies in a subdirectory because
   3666   # it helps to detect inapplicable dependency modes.  For instance
   3667   # both Tru64's cc and ICC support -MD to output dependencies as a
   3668   # side effect of compilation, but ICC will put the dependencies in
   3669   # the current directory while Tru64 will put them in the object
   3670   # directory.
   3671   mkdir sub
   3672 
   3673   am_cv_CC_dependencies_compiler_type=none
   3674   if test "$am_compiler_list" = ""; then
   3675      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3676   fi
   3677   for depmode in $am_compiler_list; do
   3678     # Setup a source with many dependencies, because some compilers
   3679     # like to wrap large dependency lists on column 80 (with \), and
   3680     # we should not choose a depcomp mode which is confused by this.
   3681     #
   3682     # We need to recreate these files for each test, as the compiler may
   3683     # overwrite some of them when testing with obscure command lines.
   3684     # This happens at least with the AIX C compiler.
   3685     : > sub/conftest.c
   3686     for i in 1 2 3 4 5 6; do
   3687       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3688       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3689       # Solaris 8's {/usr,}/bin/sh.
   3690       touch sub/conftst$i.h
   3691     done
   3692     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3693 
   3694     case $depmode in
   3695     nosideeffect)
   3696       # after this tag, mechanisms are not by side-effect, so they'll
   3697       # only be used when explicitly requested
   3698       if test "x$enable_dependency_tracking" = xyes; then
   3699 	continue
   3700       else
   3701 	break
   3702       fi
   3703       ;;
   3704     none) break ;;
   3705     esac
   3706     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3707     # mode.  It turns out that the SunPro C++ compiler does not properly
   3708     # handle `-M -o', and we need to detect this.
   3709     if depmode=$depmode \
   3710        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3711        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3712        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3713          >/dev/null 2>conftest.err &&
   3714        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3715        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3716        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3717        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3718       # icc doesn't choke on unknown options, it will just issue warnings
   3719       # or remarks (even with -Werror).  So we grep stderr for any message
   3720       # that says an option was ignored or not supported.
   3721       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3722       #   icc: Command line warning: ignoring option '-M'; no argument required
   3723       # The diagnosis changed in icc 8.0:
   3724       #   icc: Command line remark: option '-MP' not supported
   3725       if (grep 'ignoring option' conftest.err ||
   3726           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3727         am_cv_CC_dependencies_compiler_type=$depmode
   3728         break
   3729       fi
   3730     fi
   3731   done
   3732 
   3733   cd ..
   3734   rm -rf conftest.dir
   3735 else
   3736   am_cv_CC_dependencies_compiler_type=none
   3737 fi
   3738 
   3739 fi
   3740 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3741 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3742 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3743 
   3744  if
   3745   test "x$enable_dependency_tracking" != xno \
   3746   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3747   am__fastdepCC_TRUE=
   3748   am__fastdepCC_FALSE='#'
   3749 else
   3750   am__fastdepCC_TRUE='#'
   3751   am__fastdepCC_FALSE=
   3752 fi
   3753 
   3754 
   3755 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3756 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3757 if test "${lt_cv_path_SED+set}" = set; then
   3758   echo $ECHO_N "(cached) $ECHO_C" >&6
   3759 else
   3760   # Loop through the user's path and test for sed and gsed.
   3761 # Then use that list of sed's as ones to test for truncation.
   3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3763 for as_dir in $PATH
   3764 do
   3765   IFS=$as_save_IFS
   3766   test -z "$as_dir" && as_dir=.
   3767   for lt_ac_prog in sed gsed; do
   3768     for ac_exec_ext in '' $ac_executable_extensions; do
   3769       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3770         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3771       fi
   3772     done
   3773   done
   3774 done
   3775 IFS=$as_save_IFS
   3776 lt_ac_max=0
   3777 lt_ac_count=0
   3778 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3779 # along with /bin/sed that truncates output.
   3780 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3781   test ! -f $lt_ac_sed && continue
   3782   cat /dev/null > conftest.in
   3783   lt_ac_count=0
   3784   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3785   # Check for GNU sed and select it if it is found.
   3786   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3787     lt_cv_path_SED=$lt_ac_sed
   3788     break
   3789   fi
   3790   while true; do
   3791     cat conftest.in conftest.in >conftest.tmp
   3792     mv conftest.tmp conftest.in
   3793     cp conftest.in conftest.nl
   3794     echo >>conftest.nl
   3795     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3796     cmp -s conftest.out conftest.nl || break
   3797     # 10000 chars as input seems more than enough
   3798     test $lt_ac_count -gt 10 && break
   3799     lt_ac_count=`expr $lt_ac_count + 1`
   3800     if test $lt_ac_count -gt $lt_ac_max; then
   3801       lt_ac_max=$lt_ac_count
   3802       lt_cv_path_SED=$lt_ac_sed
   3803     fi
   3804   done
   3805 done
   3806 
   3807 fi
   3808 
   3809 SED=$lt_cv_path_SED
   3810 
   3811 { echo "$as_me:$LINENO: result: $SED" >&5
   3812 echo "${ECHO_T}$SED" >&6; }
   3813 
   3814 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3815 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3816 if test "${ac_cv_path_GREP+set}" = set; then
   3817   echo $ECHO_N "(cached) $ECHO_C" >&6
   3818 else
   3819   # Extract the first word of "grep ggrep" to use in msg output
   3820 if test -z "$GREP"; then
   3821 set dummy grep ggrep; ac_prog_name=$2
   3822 if test "${ac_cv_path_GREP+set}" = set; then
   3823   echo $ECHO_N "(cached) $ECHO_C" >&6
   3824 else
   3825   ac_path_GREP_found=false
   3826 # Loop through the user's path and test for each of PROGNAME-LIST
   3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3828 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3829 do
   3830   IFS=$as_save_IFS
   3831   test -z "$as_dir" && as_dir=.
   3832   for ac_prog in grep ggrep; do
   3833   for ac_exec_ext in '' $ac_executable_extensions; do
   3834     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3835     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3836     # Check for GNU ac_path_GREP and select it if it is found.
   3837   # Check for GNU $ac_path_GREP
   3838 case `"$ac_path_GREP" --version 2>&1` in
   3839 *GNU*)
   3840   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3841 *)
   3842   ac_count=0
   3843   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3844   while :
   3845   do
   3846     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3847     mv "conftest.tmp" "conftest.in"
   3848     cp "conftest.in" "conftest.nl"
   3849     echo 'GREP' >> "conftest.nl"
   3850     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3851     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3852     ac_count=`expr $ac_count + 1`
   3853     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3854       # Best one so far, save it but keep looking for a better one
   3855       ac_cv_path_GREP="$ac_path_GREP"
   3856       ac_path_GREP_max=$ac_count
   3857     fi
   3858     # 10*(2^10) chars as input seems more than enough
   3859     test $ac_count -gt 10 && break
   3860   done
   3861   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3862 esac
   3863 
   3864 
   3865     $ac_path_GREP_found && break 3
   3866   done
   3867 done
   3868 
   3869 done
   3870 IFS=$as_save_IFS
   3871 
   3872 
   3873 fi
   3874 
   3875 GREP="$ac_cv_path_GREP"
   3876 if test -z "$GREP"; then
   3877   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3878 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3879    { (exit 1); exit 1; }; }
   3880 fi
   3881 
   3882 else
   3883   ac_cv_path_GREP=$GREP
   3884 fi
   3885 
   3886 
   3887 fi
   3888 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3889 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3890  GREP="$ac_cv_path_GREP"
   3891 
   3892 
   3893 { echo "$as_me:$LINENO: checking for egrep" >&5
   3894 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3895 if test "${ac_cv_path_EGREP+set}" = set; then
   3896   echo $ECHO_N "(cached) $ECHO_C" >&6
   3897 else
   3898   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3899    then ac_cv_path_EGREP="$GREP -E"
   3900    else
   3901      # Extract the first word of "egrep" to use in msg output
   3902 if test -z "$EGREP"; then
   3903 set dummy egrep; ac_prog_name=$2
   3904 if test "${ac_cv_path_EGREP+set}" = set; then
   3905   echo $ECHO_N "(cached) $ECHO_C" >&6
   3906 else
   3907   ac_path_EGREP_found=false
   3908 # Loop through the user's path and test for each of PROGNAME-LIST
   3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3910 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3911 do
   3912   IFS=$as_save_IFS
   3913   test -z "$as_dir" && as_dir=.
   3914   for ac_prog in egrep; do
   3915   for ac_exec_ext in '' $ac_executable_extensions; do
   3916     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3917     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3918     # Check for GNU ac_path_EGREP and select it if it is found.
   3919   # Check for GNU $ac_path_EGREP
   3920 case `"$ac_path_EGREP" --version 2>&1` in
   3921 *GNU*)
   3922   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3923 *)
   3924   ac_count=0
   3925   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3926   while :
   3927   do
   3928     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3929     mv "conftest.tmp" "conftest.in"
   3930     cp "conftest.in" "conftest.nl"
   3931     echo 'EGREP' >> "conftest.nl"
   3932     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3933     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3934     ac_count=`expr $ac_count + 1`
   3935     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3936       # Best one so far, save it but keep looking for a better one
   3937       ac_cv_path_EGREP="$ac_path_EGREP"
   3938       ac_path_EGREP_max=$ac_count
   3939     fi
   3940     # 10*(2^10) chars as input seems more than enough
   3941     test $ac_count -gt 10 && break
   3942   done
   3943   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3944 esac
   3945 
   3946 
   3947     $ac_path_EGREP_found && break 3
   3948   done
   3949 done
   3950 
   3951 done
   3952 IFS=$as_save_IFS
   3953 
   3954 
   3955 fi
   3956 
   3957 EGREP="$ac_cv_path_EGREP"
   3958 if test -z "$EGREP"; then
   3959   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3960 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3961    { (exit 1); exit 1; }; }
   3962 fi
   3963 
   3964 else
   3965   ac_cv_path_EGREP=$EGREP
   3966 fi
   3967 
   3968 
   3969    fi
   3970 fi
   3971 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3972 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3973  EGREP="$ac_cv_path_EGREP"
   3974 
   3975 
   3976 
   3977 # Check whether --with-gnu-ld was given.
   3978 if test "${with_gnu_ld+set}" = set; then
   3979   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3980 else
   3981   with_gnu_ld=no
   3982 fi
   3983 
   3984 ac_prog=ld
   3985 if test "$GCC" = yes; then
   3986   # Check if gcc -print-prog-name=ld gives a path.
   3987   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3988 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3989   case $host in
   3990   *-*-mingw*)
   3991     # gcc leaves a trailing carriage return which upsets mingw
   3992     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3993   *)
   3994     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3995   esac
   3996   case $ac_prog in
   3997     # Accept absolute paths.
   3998     [\\/]* | ?:[\\/]*)
   3999       re_direlt='/[^/][^/]*/\.\./'
   4000       # Canonicalize the pathname of ld
   4001       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4002       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4003 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4004       done
   4005       test -z "$LD" && LD="$ac_prog"
   4006       ;;
   4007   "")
   4008     # If it fails, then pretend we aren't using GCC.
   4009     ac_prog=ld
   4010     ;;
   4011   *)
   4012     # If it is relative, then search for the first ld in PATH.
   4013     with_gnu_ld=unknown
   4014     ;;
   4015   esac
   4016 elif test "$with_gnu_ld" = yes; then
   4017   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4018 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4019 else
   4020   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4021 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4022 fi
   4023 if test "${lt_cv_path_LD+set}" = set; then
   4024   echo $ECHO_N "(cached) $ECHO_C" >&6
   4025 else
   4026   if test -z "$LD"; then
   4027   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4028   for ac_dir in $PATH; do
   4029     IFS="$lt_save_ifs"
   4030     test -z "$ac_dir" && ac_dir=.
   4031     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4032       lt_cv_path_LD="$ac_dir/$ac_prog"
   4033       # Check to see if the program is GNU ld.  I'd rather use --version,
   4034       # but apparently some variants of GNU ld only accept -v.
   4035       # Break only if it was the GNU/non-GNU ld that we prefer.
   4036       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4037       *GNU* | *'with BFD'*)
   4038 	test "$with_gnu_ld" != no && break
   4039 	;;
   4040       *)
   4041 	test "$with_gnu_ld" != yes && break
   4042 	;;
   4043       esac
   4044     fi
   4045   done
   4046   IFS="$lt_save_ifs"
   4047 else
   4048   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4049 fi
   4050 fi
   4051 
   4052 LD="$lt_cv_path_LD"
   4053 if test -n "$LD"; then
   4054   { echo "$as_me:$LINENO: result: $LD" >&5
   4055 echo "${ECHO_T}$LD" >&6; }
   4056 else
   4057   { echo "$as_me:$LINENO: result: no" >&5
   4058 echo "${ECHO_T}no" >&6; }
   4059 fi
   4060 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4061 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4062    { (exit 1); exit 1; }; }
   4063 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4064 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4065 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4066   echo $ECHO_N "(cached) $ECHO_C" >&6
   4067 else
   4068   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4069 case `$LD -v 2>&1 </dev/null` in
   4070 *GNU* | *'with BFD'*)
   4071   lt_cv_prog_gnu_ld=yes
   4072   ;;
   4073 *)
   4074   lt_cv_prog_gnu_ld=no
   4075   ;;
   4076 esac
   4077 fi
   4078 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4079 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4080 with_gnu_ld=$lt_cv_prog_gnu_ld
   4081 
   4082 
   4083 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4084 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4085 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4086   echo $ECHO_N "(cached) $ECHO_C" >&6
   4087 else
   4088   lt_cv_ld_reload_flag='-r'
   4089 fi
   4090 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4091 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4092 reload_flag=$lt_cv_ld_reload_flag
   4093 case $reload_flag in
   4094 "" | " "*) ;;
   4095 *) reload_flag=" $reload_flag" ;;
   4096 esac
   4097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4098 case $host_os in
   4099   darwin*)
   4100     if test "$GCC" = yes; then
   4101       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4102     else
   4103       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4104     fi
   4105     ;;
   4106 esac
   4107 
   4108 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4109 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4110 if test "${lt_cv_path_NM+set}" = set; then
   4111   echo $ECHO_N "(cached) $ECHO_C" >&6
   4112 else
   4113   if test -n "$NM"; then
   4114   # Let the user override the test.
   4115   lt_cv_path_NM="$NM"
   4116 else
   4117   lt_nm_to_check="${ac_tool_prefix}nm"
   4118   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4119     lt_nm_to_check="$lt_nm_to_check nm"
   4120   fi
   4121   for lt_tmp_nm in $lt_nm_to_check; do
   4122     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4123     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4124       IFS="$lt_save_ifs"
   4125       test -z "$ac_dir" && ac_dir=.
   4126       tmp_nm="$ac_dir/$lt_tmp_nm"
   4127       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4128 	# Check to see if the nm accepts a BSD-compat flag.
   4129 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4130 	#   nm: unknown option "B" ignored
   4131 	# Tru64's nm complains that /dev/null is an invalid object file
   4132 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4133 	*/dev/null* | *'Invalid file or object type'*)
   4134 	  lt_cv_path_NM="$tmp_nm -B"
   4135 	  break
   4136 	  ;;
   4137 	*)
   4138 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4139 	  */dev/null*)
   4140 	    lt_cv_path_NM="$tmp_nm -p"
   4141 	    break
   4142 	    ;;
   4143 	  *)
   4144 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4145 	    continue # so that we can try to find one that supports BSD flags
   4146 	    ;;
   4147 	  esac
   4148 	  ;;
   4149 	esac
   4150       fi
   4151     done
   4152     IFS="$lt_save_ifs"
   4153   done
   4154   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4155 fi
   4156 fi
   4157 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4158 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4159 NM="$lt_cv_path_NM"
   4160 
   4161 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4162 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4163 LN_S=$as_ln_s
   4164 if test "$LN_S" = "ln -s"; then
   4165   { echo "$as_me:$LINENO: result: yes" >&5
   4166 echo "${ECHO_T}yes" >&6; }
   4167 else
   4168   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4169 echo "${ECHO_T}no, using $LN_S" >&6; }
   4170 fi
   4171 
   4172 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4173 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4174 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4175   echo $ECHO_N "(cached) $ECHO_C" >&6
   4176 else
   4177   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4178 lt_cv_file_magic_test_file=
   4179 lt_cv_deplibs_check_method='unknown'
   4180 # Need to set the preceding variable on all platforms that support
   4181 # interlibrary dependencies.
   4182 # 'none' -- dependencies not supported.
   4183 # `unknown' -- same as none, but documents that we really don't know.
   4184 # 'pass_all' -- all dependencies passed with no checks.
   4185 # 'test_compile' -- check by making test program.
   4186 # 'file_magic [[regex]]' -- check by looking for files in library path
   4187 # which responds to the $file_magic_cmd with a given extended regex.
   4188 # If you have `file' or equivalent on your system and you're not sure
   4189 # whether `pass_all' will *always* work, you probably want this one.
   4190 
   4191 case $host_os in
   4192 aix4* | aix5*)
   4193   lt_cv_deplibs_check_method=pass_all
   4194   ;;
   4195 
   4196 beos*)
   4197   lt_cv_deplibs_check_method=pass_all
   4198   ;;
   4199 
   4200 bsdi[45]*)
   4201   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4202   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4203   lt_cv_file_magic_test_file=/shlib/libc.so
   4204   ;;
   4205 
   4206 cygwin*)
   4207   # func_win32_libid is a shell function defined in ltmain.sh
   4208   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4209   lt_cv_file_magic_cmd='func_win32_libid'
   4210   ;;
   4211 
   4212 mingw* | pw32*)
   4213   # Base MSYS/MinGW do not provide the 'file' command needed by
   4214   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4215   # unless we find 'file', for example because we are cross-compiling.
   4216   if ( file / ) >/dev/null 2>&1; then
   4217     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4218     lt_cv_file_magic_cmd='func_win32_libid'
   4219   else
   4220     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4221     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4222   fi
   4223   ;;
   4224 
   4225 darwin* | rhapsody*)
   4226   lt_cv_deplibs_check_method=pass_all
   4227   ;;
   4228 
   4229 freebsd* | dragonfly*)
   4230   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4231     case $host_cpu in
   4232     i*86 )
   4233       # Not sure whether the presence of OpenBSD here was a mistake.
   4234       # Let's accept both of them until this is cleared up.
   4235       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4236       lt_cv_file_magic_cmd=/usr/bin/file
   4237       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4238       ;;
   4239     esac
   4240   else
   4241     lt_cv_deplibs_check_method=pass_all
   4242   fi
   4243   ;;
   4244 
   4245 gnu*)
   4246   lt_cv_deplibs_check_method=pass_all
   4247   ;;
   4248 
   4249 hpux10.20* | hpux11*)
   4250   lt_cv_file_magic_cmd=/usr/bin/file
   4251   case $host_cpu in
   4252   ia64*)
   4253     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4254     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4255     ;;
   4256   hppa*64*)
   4257     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]'
   4258     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4259     ;;
   4260   *)
   4261     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4262     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4263     ;;
   4264   esac
   4265   ;;
   4266 
   4267 interix[3-9]*)
   4268   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4269   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4270   ;;
   4271 
   4272 irix5* | irix6* | nonstopux*)
   4273   case $LD in
   4274   *-32|*"-32 ") libmagic=32-bit;;
   4275   *-n32|*"-n32 ") libmagic=N32;;
   4276   *-64|*"-64 ") libmagic=64-bit;;
   4277   *) libmagic=never-match;;
   4278   esac
   4279   lt_cv_deplibs_check_method=pass_all
   4280   ;;
   4281 
   4282 # This must be Linux ELF.
   4283 linux* | k*bsd*-gnu)
   4284   lt_cv_deplibs_check_method=pass_all
   4285   ;;
   4286 
   4287 netbsd*)
   4288   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4289     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4290   else
   4291     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4292   fi
   4293   ;;
   4294 
   4295 newos6*)
   4296   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4297   lt_cv_file_magic_cmd=/usr/bin/file
   4298   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4299   ;;
   4300 
   4301 nto-qnx*)
   4302   lt_cv_deplibs_check_method=unknown
   4303   ;;
   4304 
   4305 openbsd*)
   4306   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4307     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4308   else
   4309     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4310   fi
   4311   ;;
   4312 
   4313 osf3* | osf4* | osf5*)
   4314   lt_cv_deplibs_check_method=pass_all
   4315   ;;
   4316 
   4317 rdos*)
   4318   lt_cv_deplibs_check_method=pass_all
   4319   ;;
   4320 
   4321 solaris*)
   4322   lt_cv_deplibs_check_method=pass_all
   4323   ;;
   4324 
   4325 sysv4 | sysv4.3*)
   4326   case $host_vendor in
   4327   motorola)
   4328     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]'
   4329     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4330     ;;
   4331   ncr)
   4332     lt_cv_deplibs_check_method=pass_all
   4333     ;;
   4334   sequent)
   4335     lt_cv_file_magic_cmd='/bin/file'
   4336     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4337     ;;
   4338   sni)
   4339     lt_cv_file_magic_cmd='/bin/file'
   4340     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4341     lt_cv_file_magic_test_file=/lib/libc.so
   4342     ;;
   4343   siemens)
   4344     lt_cv_deplibs_check_method=pass_all
   4345     ;;
   4346   pc)
   4347     lt_cv_deplibs_check_method=pass_all
   4348     ;;
   4349   esac
   4350   ;;
   4351 
   4352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4353   lt_cv_deplibs_check_method=pass_all
   4354   ;;
   4355 esac
   4356 
   4357 fi
   4358 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4359 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4360 file_magic_cmd=$lt_cv_file_magic_cmd
   4361 deplibs_check_method=$lt_cv_deplibs_check_method
   4362 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4363 
   4364 
   4365 
   4366 
   4367 # If no C compiler was specified, use CC.
   4368 LTCC=${LTCC-"$CC"}
   4369 
   4370 # If no C compiler flags were specified, use CFLAGS.
   4371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4372 
   4373 # Allow CC to be a program name with arguments.
   4374 compiler=$CC
   4375 
   4376 
   4377 # Check whether --enable-libtool-lock was given.
   4378 if test "${enable_libtool_lock+set}" = set; then
   4379   enableval=$enable_libtool_lock;
   4380 fi
   4381 
   4382 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4383 
   4384 # Some flags need to be propagated to the compiler or linker for good
   4385 # libtool support.
   4386 case $host in
   4387 ia64-*-hpux*)
   4388   # Find out which ABI we are using.
   4389   echo 'int i;' > conftest.$ac_ext
   4390   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4391   (eval $ac_compile) 2>&5
   4392   ac_status=$?
   4393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4394   (exit $ac_status); }; then
   4395     case `/usr/bin/file conftest.$ac_objext` in
   4396     *ELF-32*)
   4397       HPUX_IA64_MODE="32"
   4398       ;;
   4399     *ELF-64*)
   4400       HPUX_IA64_MODE="64"
   4401       ;;
   4402     esac
   4403   fi
   4404   rm -rf conftest*
   4405   ;;
   4406 *-*-irix6*)
   4407   # Find out which ABI we are using.
   4408   echo '#line 4408 "configure"' > conftest.$ac_ext
   4409   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4410   (eval $ac_compile) 2>&5
   4411   ac_status=$?
   4412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4413   (exit $ac_status); }; then
   4414    if test "$lt_cv_prog_gnu_ld" = yes; then
   4415     case `/usr/bin/file conftest.$ac_objext` in
   4416     *32-bit*)
   4417       LD="${LD-ld} -melf32bsmip"
   4418       ;;
   4419     *N32*)
   4420       LD="${LD-ld} -melf32bmipn32"
   4421       ;;
   4422     *64-bit*)
   4423       LD="${LD-ld} -melf64bmip"
   4424       ;;
   4425     esac
   4426    else
   4427     case `/usr/bin/file conftest.$ac_objext` in
   4428     *32-bit*)
   4429       LD="${LD-ld} -32"
   4430       ;;
   4431     *N32*)
   4432       LD="${LD-ld} -n32"
   4433       ;;
   4434     *64-bit*)
   4435       LD="${LD-ld} -64"
   4436       ;;
   4437     esac
   4438    fi
   4439   fi
   4440   rm -rf conftest*
   4441   ;;
   4442 
   4443 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4444 s390*-*linux*|sparc*-*linux*)
   4445   # Find out which ABI we are using.
   4446   echo 'int i;' > conftest.$ac_ext
   4447   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4448   (eval $ac_compile) 2>&5
   4449   ac_status=$?
   4450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4451   (exit $ac_status); }; then
   4452     case `/usr/bin/file conftest.o` in
   4453     *32-bit*)
   4454       case $host in
   4455         x86_64-*kfreebsd*-gnu)
   4456           LD="${LD-ld} -m elf_i386_fbsd"
   4457           ;;
   4458         x86_64-*linux*)
   4459           LD="${LD-ld} -m elf_i386"
   4460           ;;
   4461         ppc64-*linux*|powerpc64-*linux*)
   4462           LD="${LD-ld} -m elf32ppclinux"
   4463           ;;
   4464         s390x-*linux*)
   4465           LD="${LD-ld} -m elf_s390"
   4466           ;;
   4467         sparc64-*linux*)
   4468           LD="${LD-ld} -m elf32_sparc"
   4469           ;;
   4470       esac
   4471       ;;
   4472     *64-bit*)
   4473       libsuff=64
   4474       case $host in
   4475         x86_64-*kfreebsd*-gnu)
   4476           LD="${LD-ld} -m elf_x86_64_fbsd"
   4477           ;;
   4478         x86_64-*linux*)
   4479           LD="${LD-ld} -m elf_x86_64"
   4480           ;;
   4481         ppc*-*linux*|powerpc*-*linux*)
   4482           LD="${LD-ld} -m elf64ppc"
   4483           ;;
   4484         s390*-*linux*)
   4485           LD="${LD-ld} -m elf64_s390"
   4486           ;;
   4487         sparc*-*linux*)
   4488           LD="${LD-ld} -m elf64_sparc"
   4489           ;;
   4490       esac
   4491       ;;
   4492     esac
   4493   fi
   4494   rm -rf conftest*
   4495   ;;
   4496 
   4497 *-*-sco3.2v5*)
   4498   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4499   SAVE_CFLAGS="$CFLAGS"
   4500   CFLAGS="$CFLAGS -belf"
   4501   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4502 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4503 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4504   echo $ECHO_N "(cached) $ECHO_C" >&6
   4505 else
   4506   ac_ext=c
   4507 ac_cpp='$CPP $CPPFLAGS'
   4508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4511 
   4512      cat >conftest.$ac_ext <<_ACEOF
   4513 /* confdefs.h.  */
   4514 _ACEOF
   4515 cat confdefs.h >>conftest.$ac_ext
   4516 cat >>conftest.$ac_ext <<_ACEOF
   4517 /* end confdefs.h.  */
   4518 
   4519 int
   4520 main ()
   4521 {
   4522 
   4523   ;
   4524   return 0;
   4525 }
   4526 _ACEOF
   4527 rm -f conftest.$ac_objext conftest$ac_exeext
   4528 if { (ac_try="$ac_link"
   4529 case "(($ac_try" in
   4530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4531   *) ac_try_echo=$ac_try;;
   4532 esac
   4533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4534   (eval "$ac_link") 2>conftest.er1
   4535   ac_status=$?
   4536   grep -v '^ *+' conftest.er1 >conftest.err
   4537   rm -f conftest.er1
   4538   cat conftest.err >&5
   4539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4540   (exit $ac_status); } && {
   4541 	 test -z "$ac_c_werror_flag" ||
   4542 	 test ! -s conftest.err
   4543        } && test -s conftest$ac_exeext &&
   4544        $as_test_x conftest$ac_exeext; then
   4545   lt_cv_cc_needs_belf=yes
   4546 else
   4547   echo "$as_me: failed program was:" >&5
   4548 sed 's/^/| /' conftest.$ac_ext >&5
   4549 
   4550 	lt_cv_cc_needs_belf=no
   4551 fi
   4552 
   4553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4554       conftest$ac_exeext conftest.$ac_ext
   4555      ac_ext=c
   4556 ac_cpp='$CPP $CPPFLAGS'
   4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4560 
   4561 fi
   4562 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4563 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4564   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4565     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4566     CFLAGS="$SAVE_CFLAGS"
   4567   fi
   4568   ;;
   4569 sparc*-*solaris*)
   4570   # Find out which ABI we are using.
   4571   echo 'int i;' > conftest.$ac_ext
   4572   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4573   (eval $ac_compile) 2>&5
   4574   ac_status=$?
   4575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4576   (exit $ac_status); }; then
   4577     case `/usr/bin/file conftest.o` in
   4578     *64-bit*)
   4579       case $lt_cv_prog_gnu_ld in
   4580       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4581       *)    LD="${LD-ld} -64" ;;
   4582       esac
   4583       ;;
   4584     esac
   4585   fi
   4586   rm -rf conftest*
   4587   ;;
   4588 
   4589 
   4590 esac
   4591 
   4592 need_locks="$enable_libtool_lock"
   4593 
   4594 
   4595 ac_ext=c
   4596 ac_cpp='$CPP $CPPFLAGS'
   4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4600 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4601 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4602 # On Suns, sometimes $CPP names a directory.
   4603 if test -n "$CPP" && test -d "$CPP"; then
   4604   CPP=
   4605 fi
   4606 if test -z "$CPP"; then
   4607   if test "${ac_cv_prog_CPP+set}" = set; then
   4608   echo $ECHO_N "(cached) $ECHO_C" >&6
   4609 else
   4610       # Double quotes because CPP needs to be expanded
   4611     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4612     do
   4613       ac_preproc_ok=false
   4614 for ac_c_preproc_warn_flag in '' yes
   4615 do
   4616   # Use a header file that comes with gcc, so configuring glibc
   4617   # with a fresh cross-compiler works.
   4618   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4619   # <limits.h> exists even on freestanding compilers.
   4620   # On the NeXT, cc -E runs the code through the compiler's parser,
   4621   # not just through cpp. "Syntax error" is here to catch this case.
   4622   cat >conftest.$ac_ext <<_ACEOF
   4623 /* confdefs.h.  */
   4624 _ACEOF
   4625 cat confdefs.h >>conftest.$ac_ext
   4626 cat >>conftest.$ac_ext <<_ACEOF
   4627 /* end confdefs.h.  */
   4628 #ifdef __STDC__
   4629 # include <limits.h>
   4630 #else
   4631 # include <assert.h>
   4632 #endif
   4633 		     Syntax error
   4634 _ACEOF
   4635 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4636 case "(($ac_try" in
   4637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4638   *) ac_try_echo=$ac_try;;
   4639 esac
   4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4641   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4642   ac_status=$?
   4643   grep -v '^ *+' conftest.er1 >conftest.err
   4644   rm -f conftest.er1
   4645   cat conftest.err >&5
   4646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4647   (exit $ac_status); } >/dev/null && {
   4648 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4649 	 test ! -s conftest.err
   4650        }; then
   4651   :
   4652 else
   4653   echo "$as_me: failed program was:" >&5
   4654 sed 's/^/| /' conftest.$ac_ext >&5
   4655 
   4656   # Broken: fails on valid input.
   4657 continue
   4658 fi
   4659 
   4660 rm -f conftest.err conftest.$ac_ext
   4661 
   4662   # OK, works on sane cases.  Now check whether nonexistent headers
   4663   # can be detected and how.
   4664   cat >conftest.$ac_ext <<_ACEOF
   4665 /* confdefs.h.  */
   4666 _ACEOF
   4667 cat confdefs.h >>conftest.$ac_ext
   4668 cat >>conftest.$ac_ext <<_ACEOF
   4669 /* end confdefs.h.  */
   4670 #include <ac_nonexistent.h>
   4671 _ACEOF
   4672 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4673 case "(($ac_try" in
   4674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4675   *) ac_try_echo=$ac_try;;
   4676 esac
   4677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4678   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4679   ac_status=$?
   4680   grep -v '^ *+' conftest.er1 >conftest.err
   4681   rm -f conftest.er1
   4682   cat conftest.err >&5
   4683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4684   (exit $ac_status); } >/dev/null && {
   4685 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4686 	 test ! -s conftest.err
   4687        }; then
   4688   # Broken: success on invalid input.
   4689 continue
   4690 else
   4691   echo "$as_me: failed program was:" >&5
   4692 sed 's/^/| /' conftest.$ac_ext >&5
   4693 
   4694   # Passes both tests.
   4695 ac_preproc_ok=:
   4696 break
   4697 fi
   4698 
   4699 rm -f conftest.err conftest.$ac_ext
   4700 
   4701 done
   4702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4703 rm -f conftest.err conftest.$ac_ext
   4704 if $ac_preproc_ok; then
   4705   break
   4706 fi
   4707 
   4708     done
   4709     ac_cv_prog_CPP=$CPP
   4710 
   4711 fi
   4712   CPP=$ac_cv_prog_CPP
   4713 else
   4714   ac_cv_prog_CPP=$CPP
   4715 fi
   4716 { echo "$as_me:$LINENO: result: $CPP" >&5
   4717 echo "${ECHO_T}$CPP" >&6; }
   4718 ac_preproc_ok=false
   4719 for ac_c_preproc_warn_flag in '' yes
   4720 do
   4721   # Use a header file that comes with gcc, so configuring glibc
   4722   # with a fresh cross-compiler works.
   4723   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4724   # <limits.h> exists even on freestanding compilers.
   4725   # On the NeXT, cc -E runs the code through the compiler's parser,
   4726   # not just through cpp. "Syntax error" is here to catch this case.
   4727   cat >conftest.$ac_ext <<_ACEOF
   4728 /* confdefs.h.  */
   4729 _ACEOF
   4730 cat confdefs.h >>conftest.$ac_ext
   4731 cat >>conftest.$ac_ext <<_ACEOF
   4732 /* end confdefs.h.  */
   4733 #ifdef __STDC__
   4734 # include <limits.h>
   4735 #else
   4736 # include <assert.h>
   4737 #endif
   4738 		     Syntax error
   4739 _ACEOF
   4740 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4741 case "(($ac_try" in
   4742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4743   *) ac_try_echo=$ac_try;;
   4744 esac
   4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4746   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4747   ac_status=$?
   4748   grep -v '^ *+' conftest.er1 >conftest.err
   4749   rm -f conftest.er1
   4750   cat conftest.err >&5
   4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4752   (exit $ac_status); } >/dev/null && {
   4753 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4754 	 test ! -s conftest.err
   4755        }; then
   4756   :
   4757 else
   4758   echo "$as_me: failed program was:" >&5
   4759 sed 's/^/| /' conftest.$ac_ext >&5
   4760 
   4761   # Broken: fails on valid input.
   4762 continue
   4763 fi
   4764 
   4765 rm -f conftest.err conftest.$ac_ext
   4766 
   4767   # OK, works on sane cases.  Now check whether nonexistent headers
   4768   # can be detected and how.
   4769   cat >conftest.$ac_ext <<_ACEOF
   4770 /* confdefs.h.  */
   4771 _ACEOF
   4772 cat confdefs.h >>conftest.$ac_ext
   4773 cat >>conftest.$ac_ext <<_ACEOF
   4774 /* end confdefs.h.  */
   4775 #include <ac_nonexistent.h>
   4776 _ACEOF
   4777 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4778 case "(($ac_try" in
   4779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4780   *) ac_try_echo=$ac_try;;
   4781 esac
   4782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4784   ac_status=$?
   4785   grep -v '^ *+' conftest.er1 >conftest.err
   4786   rm -f conftest.er1
   4787   cat conftest.err >&5
   4788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4789   (exit $ac_status); } >/dev/null && {
   4790 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4791 	 test ! -s conftest.err
   4792        }; then
   4793   # Broken: success on invalid input.
   4794 continue
   4795 else
   4796   echo "$as_me: failed program was:" >&5
   4797 sed 's/^/| /' conftest.$ac_ext >&5
   4798 
   4799   # Passes both tests.
   4800 ac_preproc_ok=:
   4801 break
   4802 fi
   4803 
   4804 rm -f conftest.err conftest.$ac_ext
   4805 
   4806 done
   4807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4808 rm -f conftest.err conftest.$ac_ext
   4809 if $ac_preproc_ok; then
   4810   :
   4811 else
   4812   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4813 See \`config.log' for more details." >&5
   4814 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4815 See \`config.log' for more details." >&2;}
   4816    { (exit 1); exit 1; }; }
   4817 fi
   4818 
   4819 ac_ext=c
   4820 ac_cpp='$CPP $CPPFLAGS'
   4821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4824 
   4825 
   4826 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4827 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4828 if test "${ac_cv_header_stdc+set}" = set; then
   4829   echo $ECHO_N "(cached) $ECHO_C" >&6
   4830 else
   4831   cat >conftest.$ac_ext <<_ACEOF
   4832 /* confdefs.h.  */
   4833 _ACEOF
   4834 cat confdefs.h >>conftest.$ac_ext
   4835 cat >>conftest.$ac_ext <<_ACEOF
   4836 /* end confdefs.h.  */
   4837 #include <stdlib.h>
   4838 #include <stdarg.h>
   4839 #include <string.h>
   4840 #include <float.h>
   4841 
   4842 int
   4843 main ()
   4844 {
   4845 
   4846   ;
   4847   return 0;
   4848 }
   4849 _ACEOF
   4850 rm -f conftest.$ac_objext
   4851 if { (ac_try="$ac_compile"
   4852 case "(($ac_try" in
   4853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4854   *) ac_try_echo=$ac_try;;
   4855 esac
   4856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4857   (eval "$ac_compile") 2>conftest.er1
   4858   ac_status=$?
   4859   grep -v '^ *+' conftest.er1 >conftest.err
   4860   rm -f conftest.er1
   4861   cat conftest.err >&5
   4862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4863   (exit $ac_status); } && {
   4864 	 test -z "$ac_c_werror_flag" ||
   4865 	 test ! -s conftest.err
   4866        } && test -s conftest.$ac_objext; then
   4867   ac_cv_header_stdc=yes
   4868 else
   4869   echo "$as_me: failed program was:" >&5
   4870 sed 's/^/| /' conftest.$ac_ext >&5
   4871 
   4872 	ac_cv_header_stdc=no
   4873 fi
   4874 
   4875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4876 
   4877 if test $ac_cv_header_stdc = yes; then
   4878   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4879   cat >conftest.$ac_ext <<_ACEOF
   4880 /* confdefs.h.  */
   4881 _ACEOF
   4882 cat confdefs.h >>conftest.$ac_ext
   4883 cat >>conftest.$ac_ext <<_ACEOF
   4884 /* end confdefs.h.  */
   4885 #include <string.h>
   4886 
   4887 _ACEOF
   4888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4889   $EGREP "memchr" >/dev/null 2>&1; then
   4890   :
   4891 else
   4892   ac_cv_header_stdc=no
   4893 fi
   4894 rm -f conftest*
   4895 
   4896 fi
   4897 
   4898 if test $ac_cv_header_stdc = yes; then
   4899   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4900   cat >conftest.$ac_ext <<_ACEOF
   4901 /* confdefs.h.  */
   4902 _ACEOF
   4903 cat confdefs.h >>conftest.$ac_ext
   4904 cat >>conftest.$ac_ext <<_ACEOF
   4905 /* end confdefs.h.  */
   4906 #include <stdlib.h>
   4907 
   4908 _ACEOF
   4909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4910   $EGREP "free" >/dev/null 2>&1; then
   4911   :
   4912 else
   4913   ac_cv_header_stdc=no
   4914 fi
   4915 rm -f conftest*
   4916 
   4917 fi
   4918 
   4919 if test $ac_cv_header_stdc = yes; then
   4920   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4921   if test "$cross_compiling" = yes; then
   4922   :
   4923 else
   4924   cat >conftest.$ac_ext <<_ACEOF
   4925 /* confdefs.h.  */
   4926 _ACEOF
   4927 cat confdefs.h >>conftest.$ac_ext
   4928 cat >>conftest.$ac_ext <<_ACEOF
   4929 /* end confdefs.h.  */
   4930 #include <ctype.h>
   4931 #include <stdlib.h>
   4932 #if ((' ' & 0x0FF) == 0x020)
   4933 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4934 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4935 #else
   4936 # define ISLOWER(c) \
   4937 		   (('a' <= (c) && (c) <= 'i') \
   4938 		     || ('j' <= (c) && (c) <= 'r') \
   4939 		     || ('s' <= (c) && (c) <= 'z'))
   4940 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4941 #endif
   4942 
   4943 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4944 int
   4945 main ()
   4946 {
   4947   int i;
   4948   for (i = 0; i < 256; i++)
   4949     if (XOR (islower (i), ISLOWER (i))
   4950 	|| toupper (i) != TOUPPER (i))
   4951       return 2;
   4952   return 0;
   4953 }
   4954 _ACEOF
   4955 rm -f conftest$ac_exeext
   4956 if { (ac_try="$ac_link"
   4957 case "(($ac_try" in
   4958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4959   *) ac_try_echo=$ac_try;;
   4960 esac
   4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4962   (eval "$ac_link") 2>&5
   4963   ac_status=$?
   4964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4965   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4966   { (case "(($ac_try" in
   4967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4968   *) ac_try_echo=$ac_try;;
   4969 esac
   4970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4971   (eval "$ac_try") 2>&5
   4972   ac_status=$?
   4973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4974   (exit $ac_status); }; }; then
   4975   :
   4976 else
   4977   echo "$as_me: program exited with status $ac_status" >&5
   4978 echo "$as_me: failed program was:" >&5
   4979 sed 's/^/| /' conftest.$ac_ext >&5
   4980 
   4981 ( exit $ac_status )
   4982 ac_cv_header_stdc=no
   4983 fi
   4984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4985 fi
   4986 
   4987 
   4988 fi
   4989 fi
   4990 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4991 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4992 if test $ac_cv_header_stdc = yes; then
   4993 
   4994 cat >>confdefs.h <<\_ACEOF
   4995 #define STDC_HEADERS 1
   4996 _ACEOF
   4997 
   4998 fi
   4999 
   5000 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5011 		  inttypes.h stdint.h unistd.h
   5012 do
   5013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5017   echo $ECHO_N "(cached) $ECHO_C" >&6
   5018 else
   5019   cat >conftest.$ac_ext <<_ACEOF
   5020 /* confdefs.h.  */
   5021 _ACEOF
   5022 cat confdefs.h >>conftest.$ac_ext
   5023 cat >>conftest.$ac_ext <<_ACEOF
   5024 /* end confdefs.h.  */
   5025 $ac_includes_default
   5026 
   5027 #include <$ac_header>
   5028 _ACEOF
   5029 rm -f conftest.$ac_objext
   5030 if { (ac_try="$ac_compile"
   5031 case "(($ac_try" in
   5032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5033   *) ac_try_echo=$ac_try;;
   5034 esac
   5035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5036   (eval "$ac_compile") 2>conftest.er1
   5037   ac_status=$?
   5038   grep -v '^ *+' conftest.er1 >conftest.err
   5039   rm -f conftest.er1
   5040   cat conftest.err >&5
   5041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5042   (exit $ac_status); } && {
   5043 	 test -z "$ac_c_werror_flag" ||
   5044 	 test ! -s conftest.err
   5045        } && test -s conftest.$ac_objext; then
   5046   eval "$as_ac_Header=yes"
   5047 else
   5048   echo "$as_me: failed program was:" >&5
   5049 sed 's/^/| /' conftest.$ac_ext >&5
   5050 
   5051 	eval "$as_ac_Header=no"
   5052 fi
   5053 
   5054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5055 fi
   5056 ac_res=`eval echo '${'$as_ac_Header'}'`
   5057 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5058 echo "${ECHO_T}$ac_res" >&6; }
   5059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5060   cat >>confdefs.h <<_ACEOF
   5061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5062 _ACEOF
   5063 
   5064 fi
   5065 
   5066 done
   5067 
   5068 
   5069 
   5070 for ac_header in dlfcn.h
   5071 do
   5072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5074   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5077   echo $ECHO_N "(cached) $ECHO_C" >&6
   5078 fi
   5079 ac_res=`eval echo '${'$as_ac_Header'}'`
   5080 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5081 echo "${ECHO_T}$ac_res" >&6; }
   5082 else
   5083   # Is the header compilable?
   5084 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5086 cat >conftest.$ac_ext <<_ACEOF
   5087 /* confdefs.h.  */
   5088 _ACEOF
   5089 cat confdefs.h >>conftest.$ac_ext
   5090 cat >>conftest.$ac_ext <<_ACEOF
   5091 /* end confdefs.h.  */
   5092 $ac_includes_default
   5093 #include <$ac_header>
   5094 _ACEOF
   5095 rm -f conftest.$ac_objext
   5096 if { (ac_try="$ac_compile"
   5097 case "(($ac_try" in
   5098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5099   *) ac_try_echo=$ac_try;;
   5100 esac
   5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5102   (eval "$ac_compile") 2>conftest.er1
   5103   ac_status=$?
   5104   grep -v '^ *+' conftest.er1 >conftest.err
   5105   rm -f conftest.er1
   5106   cat conftest.err >&5
   5107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5108   (exit $ac_status); } && {
   5109 	 test -z "$ac_c_werror_flag" ||
   5110 	 test ! -s conftest.err
   5111        } && test -s conftest.$ac_objext; then
   5112   ac_header_compiler=yes
   5113 else
   5114   echo "$as_me: failed program was:" >&5
   5115 sed 's/^/| /' conftest.$ac_ext >&5
   5116 
   5117 	ac_header_compiler=no
   5118 fi
   5119 
   5120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5121 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5122 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5123 
   5124 # Is the header present?
   5125 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5126 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5127 cat >conftest.$ac_ext <<_ACEOF
   5128 /* confdefs.h.  */
   5129 _ACEOF
   5130 cat confdefs.h >>conftest.$ac_ext
   5131 cat >>conftest.$ac_ext <<_ACEOF
   5132 /* end confdefs.h.  */
   5133 #include <$ac_header>
   5134 _ACEOF
   5135 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5136 case "(($ac_try" in
   5137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5138   *) ac_try_echo=$ac_try;;
   5139 esac
   5140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5141   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5142   ac_status=$?
   5143   grep -v '^ *+' conftest.er1 >conftest.err
   5144   rm -f conftest.er1
   5145   cat conftest.err >&5
   5146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5147   (exit $ac_status); } >/dev/null && {
   5148 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5149 	 test ! -s conftest.err
   5150        }; then
   5151   ac_header_preproc=yes
   5152 else
   5153   echo "$as_me: failed program was:" >&5
   5154 sed 's/^/| /' conftest.$ac_ext >&5
   5155 
   5156   ac_header_preproc=no
   5157 fi
   5158 
   5159 rm -f conftest.err conftest.$ac_ext
   5160 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5161 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5162 
   5163 # So?  What about this header?
   5164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5165   yes:no: )
   5166     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5167 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5168     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5169 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5170     ac_header_preproc=yes
   5171     ;;
   5172   no:yes:* )
   5173     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5175     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5176 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5177     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5178 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5179     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5180 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5181     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5183     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5184 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5185     ( cat <<\_ASBOX
   5186 ## ---------------------------------------------------------------------- ##
   5187 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5188 ## ---------------------------------------------------------------------- ##
   5189 _ASBOX
   5190      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5191     ;;
   5192 esac
   5193 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5196   echo $ECHO_N "(cached) $ECHO_C" >&6
   5197 else
   5198   eval "$as_ac_Header=\$ac_header_preproc"
   5199 fi
   5200 ac_res=`eval echo '${'$as_ac_Header'}'`
   5201 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5202 echo "${ECHO_T}$ac_res" >&6; }
   5203 
   5204 fi
   5205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5206   cat >>confdefs.h <<_ACEOF
   5207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5208 _ACEOF
   5209 
   5210 fi
   5211 
   5212 done
   5213 
   5214 ac_ext=cpp
   5215 ac_cpp='$CXXCPP $CPPFLAGS'
   5216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5219 if test -z "$CXX"; then
   5220   if test -n "$CCC"; then
   5221     CXX=$CCC
   5222   else
   5223     if test -n "$ac_tool_prefix"; then
   5224   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5225   do
   5226     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5230 if test "${ac_cv_prog_CXX+set}" = set; then
   5231   echo $ECHO_N "(cached) $ECHO_C" >&6
   5232 else
   5233   if test -n "$CXX"; then
   5234   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5235 else
   5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5237 for as_dir in $PATH
   5238 do
   5239   IFS=$as_save_IFS
   5240   test -z "$as_dir" && as_dir=.
   5241   for ac_exec_ext in '' $ac_executable_extensions; do
   5242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5243     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5244     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5245     break 2
   5246   fi
   5247 done
   5248 done
   5249 IFS=$as_save_IFS
   5250 
   5251 fi
   5252 fi
   5253 CXX=$ac_cv_prog_CXX
   5254 if test -n "$CXX"; then
   5255   { echo "$as_me:$LINENO: result: $CXX" >&5
   5256 echo "${ECHO_T}$CXX" >&6; }
   5257 else
   5258   { echo "$as_me:$LINENO: result: no" >&5
   5259 echo "${ECHO_T}no" >&6; }
   5260 fi
   5261 
   5262 
   5263     test -n "$CXX" && break
   5264   done
   5265 fi
   5266 if test -z "$CXX"; then
   5267   ac_ct_CXX=$CXX
   5268   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5269 do
   5270   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5271 set dummy $ac_prog; ac_word=$2
   5272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5274 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5275   echo $ECHO_N "(cached) $ECHO_C" >&6
   5276 else
   5277   if test -n "$ac_ct_CXX"; then
   5278   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5279 else
   5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5281 for as_dir in $PATH
   5282 do
   5283   IFS=$as_save_IFS
   5284   test -z "$as_dir" && as_dir=.
   5285   for ac_exec_ext in '' $ac_executable_extensions; do
   5286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5287     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5288     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5289     break 2
   5290   fi
   5291 done
   5292 done
   5293 IFS=$as_save_IFS
   5294 
   5295 fi
   5296 fi
   5297 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5298 if test -n "$ac_ct_CXX"; then
   5299   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5300 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5301 else
   5302   { echo "$as_me:$LINENO: result: no" >&5
   5303 echo "${ECHO_T}no" >&6; }
   5304 fi
   5305 
   5306 
   5307   test -n "$ac_ct_CXX" && break
   5308 done
   5309 
   5310   if test "x$ac_ct_CXX" = x; then
   5311     CXX="g++"
   5312   else
   5313     case $cross_compiling:$ac_tool_warned in
   5314 yes:)
   5315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5316 whose name does not start with the host triplet.  If you think this
   5317 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5319 whose name does not start with the host triplet.  If you think this
   5320 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5321 ac_tool_warned=yes ;;
   5322 esac
   5323     CXX=$ac_ct_CXX
   5324   fi
   5325 fi
   5326 
   5327   fi
   5328 fi
   5329 # Provide some information about the compiler.
   5330 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5331 ac_compiler=`set X $ac_compile; echo $2`
   5332 { (ac_try="$ac_compiler --version >&5"
   5333 case "(($ac_try" in
   5334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5335   *) ac_try_echo=$ac_try;;
   5336 esac
   5337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5338   (eval "$ac_compiler --version >&5") 2>&5
   5339   ac_status=$?
   5340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5341   (exit $ac_status); }
   5342 { (ac_try="$ac_compiler -v >&5"
   5343 case "(($ac_try" in
   5344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5345   *) ac_try_echo=$ac_try;;
   5346 esac
   5347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5348   (eval "$ac_compiler -v >&5") 2>&5
   5349   ac_status=$?
   5350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5351   (exit $ac_status); }
   5352 { (ac_try="$ac_compiler -V >&5"
   5353 case "(($ac_try" in
   5354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5355   *) ac_try_echo=$ac_try;;
   5356 esac
   5357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5358   (eval "$ac_compiler -V >&5") 2>&5
   5359   ac_status=$?
   5360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5361   (exit $ac_status); }
   5362 
   5363 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5364 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5365 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5366   echo $ECHO_N "(cached) $ECHO_C" >&6
   5367 else
   5368   cat >conftest.$ac_ext <<_ACEOF
   5369 /* confdefs.h.  */
   5370 _ACEOF
   5371 cat confdefs.h >>conftest.$ac_ext
   5372 cat >>conftest.$ac_ext <<_ACEOF
   5373 /* end confdefs.h.  */
   5374 
   5375 int
   5376 main ()
   5377 {
   5378 #ifndef __GNUC__
   5379        choke me
   5380 #endif
   5381 
   5382   ;
   5383   return 0;
   5384 }
   5385 _ACEOF
   5386 rm -f conftest.$ac_objext
   5387 if { (ac_try="$ac_compile"
   5388 case "(($ac_try" in
   5389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5390   *) ac_try_echo=$ac_try;;
   5391 esac
   5392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5393   (eval "$ac_compile") 2>conftest.er1
   5394   ac_status=$?
   5395   grep -v '^ *+' conftest.er1 >conftest.err
   5396   rm -f conftest.er1
   5397   cat conftest.err >&5
   5398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5399   (exit $ac_status); } && {
   5400 	 test -z "$ac_cxx_werror_flag" ||
   5401 	 test ! -s conftest.err
   5402        } && test -s conftest.$ac_objext; then
   5403   ac_compiler_gnu=yes
   5404 else
   5405   echo "$as_me: failed program was:" >&5
   5406 sed 's/^/| /' conftest.$ac_ext >&5
   5407 
   5408 	ac_compiler_gnu=no
   5409 fi
   5410 
   5411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5412 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5413 
   5414 fi
   5415 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5416 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5417 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5418 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5419 ac_save_CXXFLAGS=$CXXFLAGS
   5420 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5421 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5422 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5423   echo $ECHO_N "(cached) $ECHO_C" >&6
   5424 else
   5425   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5426    ac_cxx_werror_flag=yes
   5427    ac_cv_prog_cxx_g=no
   5428    CXXFLAGS="-g"
   5429    cat >conftest.$ac_ext <<_ACEOF
   5430 /* confdefs.h.  */
   5431 _ACEOF
   5432 cat confdefs.h >>conftest.$ac_ext
   5433 cat >>conftest.$ac_ext <<_ACEOF
   5434 /* end confdefs.h.  */
   5435 
   5436 int
   5437 main ()
   5438 {
   5439 
   5440   ;
   5441   return 0;
   5442 }
   5443 _ACEOF
   5444 rm -f conftest.$ac_objext
   5445 if { (ac_try="$ac_compile"
   5446 case "(($ac_try" in
   5447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5448   *) ac_try_echo=$ac_try;;
   5449 esac
   5450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5451   (eval "$ac_compile") 2>conftest.er1
   5452   ac_status=$?
   5453   grep -v '^ *+' conftest.er1 >conftest.err
   5454   rm -f conftest.er1
   5455   cat conftest.err >&5
   5456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5457   (exit $ac_status); } && {
   5458 	 test -z "$ac_cxx_werror_flag" ||
   5459 	 test ! -s conftest.err
   5460        } && test -s conftest.$ac_objext; then
   5461   ac_cv_prog_cxx_g=yes
   5462 else
   5463   echo "$as_me: failed program was:" >&5
   5464 sed 's/^/| /' conftest.$ac_ext >&5
   5465 
   5466 	CXXFLAGS=""
   5467       cat >conftest.$ac_ext <<_ACEOF
   5468 /* confdefs.h.  */
   5469 _ACEOF
   5470 cat confdefs.h >>conftest.$ac_ext
   5471 cat >>conftest.$ac_ext <<_ACEOF
   5472 /* end confdefs.h.  */
   5473 
   5474 int
   5475 main ()
   5476 {
   5477 
   5478   ;
   5479   return 0;
   5480 }
   5481 _ACEOF
   5482 rm -f conftest.$ac_objext
   5483 if { (ac_try="$ac_compile"
   5484 case "(($ac_try" in
   5485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5486   *) ac_try_echo=$ac_try;;
   5487 esac
   5488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5489   (eval "$ac_compile") 2>conftest.er1
   5490   ac_status=$?
   5491   grep -v '^ *+' conftest.er1 >conftest.err
   5492   rm -f conftest.er1
   5493   cat conftest.err >&5
   5494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5495   (exit $ac_status); } && {
   5496 	 test -z "$ac_cxx_werror_flag" ||
   5497 	 test ! -s conftest.err
   5498        } && test -s conftest.$ac_objext; then
   5499   :
   5500 else
   5501   echo "$as_me: failed program was:" >&5
   5502 sed 's/^/| /' conftest.$ac_ext >&5
   5503 
   5504 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5505 	 CXXFLAGS="-g"
   5506 	 cat >conftest.$ac_ext <<_ACEOF
   5507 /* confdefs.h.  */
   5508 _ACEOF
   5509 cat confdefs.h >>conftest.$ac_ext
   5510 cat >>conftest.$ac_ext <<_ACEOF
   5511 /* end confdefs.h.  */
   5512 
   5513 int
   5514 main ()
   5515 {
   5516 
   5517   ;
   5518   return 0;
   5519 }
   5520 _ACEOF
   5521 rm -f conftest.$ac_objext
   5522 if { (ac_try="$ac_compile"
   5523 case "(($ac_try" in
   5524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5525   *) ac_try_echo=$ac_try;;
   5526 esac
   5527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5528   (eval "$ac_compile") 2>conftest.er1
   5529   ac_status=$?
   5530   grep -v '^ *+' conftest.er1 >conftest.err
   5531   rm -f conftest.er1
   5532   cat conftest.err >&5
   5533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5534   (exit $ac_status); } && {
   5535 	 test -z "$ac_cxx_werror_flag" ||
   5536 	 test ! -s conftest.err
   5537        } && test -s conftest.$ac_objext; then
   5538   ac_cv_prog_cxx_g=yes
   5539 else
   5540   echo "$as_me: failed program was:" >&5
   5541 sed 's/^/| /' conftest.$ac_ext >&5
   5542 
   5543 
   5544 fi
   5545 
   5546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5547 fi
   5548 
   5549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5550 fi
   5551 
   5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5553    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5554 fi
   5555 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5556 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5557 if test "$ac_test_CXXFLAGS" = set; then
   5558   CXXFLAGS=$ac_save_CXXFLAGS
   5559 elif test $ac_cv_prog_cxx_g = yes; then
   5560   if test "$GXX" = yes; then
   5561     CXXFLAGS="-g -O2"
   5562   else
   5563     CXXFLAGS="-g"
   5564   fi
   5565 else
   5566   if test "$GXX" = yes; then
   5567     CXXFLAGS="-O2"
   5568   else
   5569     CXXFLAGS=
   5570   fi
   5571 fi
   5572 ac_ext=cpp
   5573 ac_cpp='$CXXCPP $CPPFLAGS'
   5574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5577 
   5578 depcc="$CXX"  am_compiler_list=
   5579 
   5580 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5581 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5582 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5583   echo $ECHO_N "(cached) $ECHO_C" >&6
   5584 else
   5585   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5586   # We make a subdir and do the tests there.  Otherwise we can end up
   5587   # making bogus files that we don't know about and never remove.  For
   5588   # instance it was reported that on HP-UX the gcc test will end up
   5589   # making a dummy file named `D' -- because `-MD' means `put the output
   5590   # in D'.
   5591   mkdir conftest.dir
   5592   # Copy depcomp to subdir because otherwise we won't find it if we're
   5593   # using a relative directory.
   5594   cp "$am_depcomp" conftest.dir
   5595   cd conftest.dir
   5596   # We will build objects and dependencies in a subdirectory because
   5597   # it helps to detect inapplicable dependency modes.  For instance
   5598   # both Tru64's cc and ICC support -MD to output dependencies as a
   5599   # side effect of compilation, but ICC will put the dependencies in
   5600   # the current directory while Tru64 will put them in the object
   5601   # directory.
   5602   mkdir sub
   5603 
   5604   am_cv_CXX_dependencies_compiler_type=none
   5605   if test "$am_compiler_list" = ""; then
   5606      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5607   fi
   5608   for depmode in $am_compiler_list; do
   5609     # Setup a source with many dependencies, because some compilers
   5610     # like to wrap large dependency lists on column 80 (with \), and
   5611     # we should not choose a depcomp mode which is confused by this.
   5612     #
   5613     # We need to recreate these files for each test, as the compiler may
   5614     # overwrite some of them when testing with obscure command lines.
   5615     # This happens at least with the AIX C compiler.
   5616     : > sub/conftest.c
   5617     for i in 1 2 3 4 5 6; do
   5618       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5619       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5620       # Solaris 8's {/usr,}/bin/sh.
   5621       touch sub/conftst$i.h
   5622     done
   5623     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5624 
   5625     case $depmode in
   5626     nosideeffect)
   5627       # after this tag, mechanisms are not by side-effect, so they'll
   5628       # only be used when explicitly requested
   5629       if test "x$enable_dependency_tracking" = xyes; then
   5630 	continue
   5631       else
   5632 	break
   5633       fi
   5634       ;;
   5635     none) break ;;
   5636     esac
   5637     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5638     # mode.  It turns out that the SunPro C++ compiler does not properly
   5639     # handle `-M -o', and we need to detect this.
   5640     if depmode=$depmode \
   5641        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5642        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5643        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5644          >/dev/null 2>conftest.err &&
   5645        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5646        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5647        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5648        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5649       # icc doesn't choke on unknown options, it will just issue warnings
   5650       # or remarks (even with -Werror).  So we grep stderr for any message
   5651       # that says an option was ignored or not supported.
   5652       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5653       #   icc: Command line warning: ignoring option '-M'; no argument required
   5654       # The diagnosis changed in icc 8.0:
   5655       #   icc: Command line remark: option '-MP' not supported
   5656       if (grep 'ignoring option' conftest.err ||
   5657           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5658         am_cv_CXX_dependencies_compiler_type=$depmode
   5659         break
   5660       fi
   5661     fi
   5662   done
   5663 
   5664   cd ..
   5665   rm -rf conftest.dir
   5666 else
   5667   am_cv_CXX_dependencies_compiler_type=none
   5668 fi
   5669 
   5670 fi
   5671 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5672 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5673 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5674 
   5675  if
   5676   test "x$enable_dependency_tracking" != xno \
   5677   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5678   am__fastdepCXX_TRUE=
   5679   am__fastdepCXX_FALSE='#'
   5680 else
   5681   am__fastdepCXX_TRUE='#'
   5682   am__fastdepCXX_FALSE=
   5683 fi
   5684 
   5685 
   5686 
   5687 
   5688 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5689     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5690     (test "X$CXX" != "Xg++"))) ; then
   5691   ac_ext=cpp
   5692 ac_cpp='$CXXCPP $CPPFLAGS'
   5693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5696 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5697 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5698 if test -z "$CXXCPP"; then
   5699   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5700   echo $ECHO_N "(cached) $ECHO_C" >&6
   5701 else
   5702       # Double quotes because CXXCPP needs to be expanded
   5703     for CXXCPP in "$CXX -E" "/lib/cpp"
   5704     do
   5705       ac_preproc_ok=false
   5706 for ac_cxx_preproc_warn_flag in '' yes
   5707 do
   5708   # Use a header file that comes with gcc, so configuring glibc
   5709   # with a fresh cross-compiler works.
   5710   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5711   # <limits.h> exists even on freestanding compilers.
   5712   # On the NeXT, cc -E runs the code through the compiler's parser,
   5713   # not just through cpp. "Syntax error" is here to catch this case.
   5714   cat >conftest.$ac_ext <<_ACEOF
   5715 /* confdefs.h.  */
   5716 _ACEOF
   5717 cat confdefs.h >>conftest.$ac_ext
   5718 cat >>conftest.$ac_ext <<_ACEOF
   5719 /* end confdefs.h.  */
   5720 #ifdef __STDC__
   5721 # include <limits.h>
   5722 #else
   5723 # include <assert.h>
   5724 #endif
   5725 		     Syntax error
   5726 _ACEOF
   5727 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5728 case "(($ac_try" in
   5729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5730   *) ac_try_echo=$ac_try;;
   5731 esac
   5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5733   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5734   ac_status=$?
   5735   grep -v '^ *+' conftest.er1 >conftest.err
   5736   rm -f conftest.er1
   5737   cat conftest.err >&5
   5738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5739   (exit $ac_status); } >/dev/null && {
   5740 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5741 	 test ! -s conftest.err
   5742        }; then
   5743   :
   5744 else
   5745   echo "$as_me: failed program was:" >&5
   5746 sed 's/^/| /' conftest.$ac_ext >&5
   5747 
   5748   # Broken: fails on valid input.
   5749 continue
   5750 fi
   5751 
   5752 rm -f conftest.err conftest.$ac_ext
   5753 
   5754   # OK, works on sane cases.  Now check whether nonexistent headers
   5755   # can be detected and how.
   5756   cat >conftest.$ac_ext <<_ACEOF
   5757 /* confdefs.h.  */
   5758 _ACEOF
   5759 cat confdefs.h >>conftest.$ac_ext
   5760 cat >>conftest.$ac_ext <<_ACEOF
   5761 /* end confdefs.h.  */
   5762 #include <ac_nonexistent.h>
   5763 _ACEOF
   5764 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5765 case "(($ac_try" in
   5766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5767   *) ac_try_echo=$ac_try;;
   5768 esac
   5769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5770   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5771   ac_status=$?
   5772   grep -v '^ *+' conftest.er1 >conftest.err
   5773   rm -f conftest.er1
   5774   cat conftest.err >&5
   5775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5776   (exit $ac_status); } >/dev/null && {
   5777 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5778 	 test ! -s conftest.err
   5779        }; then
   5780   # Broken: success on invalid input.
   5781 continue
   5782 else
   5783   echo "$as_me: failed program was:" >&5
   5784 sed 's/^/| /' conftest.$ac_ext >&5
   5785 
   5786   # Passes both tests.
   5787 ac_preproc_ok=:
   5788 break
   5789 fi
   5790 
   5791 rm -f conftest.err conftest.$ac_ext
   5792 
   5793 done
   5794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5795 rm -f conftest.err conftest.$ac_ext
   5796 if $ac_preproc_ok; then
   5797   break
   5798 fi
   5799 
   5800     done
   5801     ac_cv_prog_CXXCPP=$CXXCPP
   5802 
   5803 fi
   5804   CXXCPP=$ac_cv_prog_CXXCPP
   5805 else
   5806   ac_cv_prog_CXXCPP=$CXXCPP
   5807 fi
   5808 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5809 echo "${ECHO_T}$CXXCPP" >&6; }
   5810 ac_preproc_ok=false
   5811 for ac_cxx_preproc_warn_flag in '' yes
   5812 do
   5813   # Use a header file that comes with gcc, so configuring glibc
   5814   # with a fresh cross-compiler works.
   5815   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5816   # <limits.h> exists even on freestanding compilers.
   5817   # On the NeXT, cc -E runs the code through the compiler's parser,
   5818   # not just through cpp. "Syntax error" is here to catch this case.
   5819   cat >conftest.$ac_ext <<_ACEOF
   5820 /* confdefs.h.  */
   5821 _ACEOF
   5822 cat confdefs.h >>conftest.$ac_ext
   5823 cat >>conftest.$ac_ext <<_ACEOF
   5824 /* end confdefs.h.  */
   5825 #ifdef __STDC__
   5826 # include <limits.h>
   5827 #else
   5828 # include <assert.h>
   5829 #endif
   5830 		     Syntax error
   5831 _ACEOF
   5832 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5833 case "(($ac_try" in
   5834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5835   *) ac_try_echo=$ac_try;;
   5836 esac
   5837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5838   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5839   ac_status=$?
   5840   grep -v '^ *+' conftest.er1 >conftest.err
   5841   rm -f conftest.er1
   5842   cat conftest.err >&5
   5843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5844   (exit $ac_status); } >/dev/null && {
   5845 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5846 	 test ! -s conftest.err
   5847        }; then
   5848   :
   5849 else
   5850   echo "$as_me: failed program was:" >&5
   5851 sed 's/^/| /' conftest.$ac_ext >&5
   5852 
   5853   # Broken: fails on valid input.
   5854 continue
   5855 fi
   5856 
   5857 rm -f conftest.err conftest.$ac_ext
   5858 
   5859   # OK, works on sane cases.  Now check whether nonexistent headers
   5860   # can be detected and how.
   5861   cat >conftest.$ac_ext <<_ACEOF
   5862 /* confdefs.h.  */
   5863 _ACEOF
   5864 cat confdefs.h >>conftest.$ac_ext
   5865 cat >>conftest.$ac_ext <<_ACEOF
   5866 /* end confdefs.h.  */
   5867 #include <ac_nonexistent.h>
   5868 _ACEOF
   5869 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5870 case "(($ac_try" in
   5871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5872   *) ac_try_echo=$ac_try;;
   5873 esac
   5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5875   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5876   ac_status=$?
   5877   grep -v '^ *+' conftest.er1 >conftest.err
   5878   rm -f conftest.er1
   5879   cat conftest.err >&5
   5880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5881   (exit $ac_status); } >/dev/null && {
   5882 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5883 	 test ! -s conftest.err
   5884        }; then
   5885   # Broken: success on invalid input.
   5886 continue
   5887 else
   5888   echo "$as_me: failed program was:" >&5
   5889 sed 's/^/| /' conftest.$ac_ext >&5
   5890 
   5891   # Passes both tests.
   5892 ac_preproc_ok=:
   5893 break
   5894 fi
   5895 
   5896 rm -f conftest.err conftest.$ac_ext
   5897 
   5898 done
   5899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5900 rm -f conftest.err conftest.$ac_ext
   5901 if $ac_preproc_ok; then
   5902   :
   5903 else
   5904   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5905 See \`config.log' for more details." >&5
   5906 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5907 See \`config.log' for more details." >&2;}
   5908    { (exit 1); exit 1; }; }
   5909 fi
   5910 
   5911 ac_ext=cpp
   5912 ac_cpp='$CXXCPP $CPPFLAGS'
   5913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5916 
   5917 fi
   5918 
   5919 
   5920 ac_ext=f
   5921 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5922 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5923 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5924 if test -n "$ac_tool_prefix"; then
   5925   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
   5926   do
   5927     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5931 if test "${ac_cv_prog_F77+set}" = set; then
   5932   echo $ECHO_N "(cached) $ECHO_C" >&6
   5933 else
   5934   if test -n "$F77"; then
   5935   ac_cv_prog_F77="$F77" # Let the user override the test.
   5936 else
   5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5938 for as_dir in $PATH
   5939 do
   5940   IFS=$as_save_IFS
   5941   test -z "$as_dir" && as_dir=.
   5942   for ac_exec_ext in '' $ac_executable_extensions; do
   5943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5944     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5945     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5946     break 2
   5947   fi
   5948 done
   5949 done
   5950 IFS=$as_save_IFS
   5951 
   5952 fi
   5953 fi
   5954 F77=$ac_cv_prog_F77
   5955 if test -n "$F77"; then
   5956   { echo "$as_me:$LINENO: result: $F77" >&5
   5957 echo "${ECHO_T}$F77" >&6; }
   5958 else
   5959   { echo "$as_me:$LINENO: result: no" >&5
   5960 echo "${ECHO_T}no" >&6; }
   5961 fi
   5962 
   5963 
   5964     test -n "$F77" && break
   5965   done
   5966 fi
   5967 if test -z "$F77"; then
   5968   ac_ct_F77=$F77
   5969   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
   5970 do
   5971   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5972 set dummy $ac_prog; ac_word=$2
   5973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5975 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5976   echo $ECHO_N "(cached) $ECHO_C" >&6
   5977 else
   5978   if test -n "$ac_ct_F77"; then
   5979   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5980 else
   5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5982 for as_dir in $PATH
   5983 do
   5984   IFS=$as_save_IFS
   5985   test -z "$as_dir" && as_dir=.
   5986   for ac_exec_ext in '' $ac_executable_extensions; do
   5987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5988     ac_cv_prog_ac_ct_F77="$ac_prog"
   5989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5990     break 2
   5991   fi
   5992 done
   5993 done
   5994 IFS=$as_save_IFS
   5995 
   5996 fi
   5997 fi
   5998 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5999 if test -n "$ac_ct_F77"; then
   6000   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6001 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6002 else
   6003   { echo "$as_me:$LINENO: result: no" >&5
   6004 echo "${ECHO_T}no" >&6; }
   6005 fi
   6006 
   6007 
   6008   test -n "$ac_ct_F77" && break
   6009 done
   6010 
   6011   if test "x$ac_ct_F77" = x; then
   6012     F77=""
   6013   else
   6014     case $cross_compiling:$ac_tool_warned in
   6015 yes:)
   6016 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6017 whose name does not start with the host triplet.  If you think this
   6018 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6019 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6020 whose name does not start with the host triplet.  If you think this
   6021 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6022 ac_tool_warned=yes ;;
   6023 esac
   6024     F77=$ac_ct_F77
   6025   fi
   6026 fi
   6027 
   6028 
   6029 # Provide some information about the compiler.
   6030 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6031 ac_compiler=`set X $ac_compile; echo $2`
   6032 { (ac_try="$ac_compiler --version >&5"
   6033 case "(($ac_try" in
   6034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6035   *) ac_try_echo=$ac_try;;
   6036 esac
   6037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6038   (eval "$ac_compiler --version >&5") 2>&5
   6039   ac_status=$?
   6040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6041   (exit $ac_status); }
   6042 { (ac_try="$ac_compiler -v >&5"
   6043 case "(($ac_try" in
   6044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6045   *) ac_try_echo=$ac_try;;
   6046 esac
   6047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6048   (eval "$ac_compiler -v >&5") 2>&5
   6049   ac_status=$?
   6050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6051   (exit $ac_status); }
   6052 { (ac_try="$ac_compiler -V >&5"
   6053 case "(($ac_try" in
   6054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6055   *) ac_try_echo=$ac_try;;
   6056 esac
   6057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6058   (eval "$ac_compiler -V >&5") 2>&5
   6059   ac_status=$?
   6060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6061   (exit $ac_status); }
   6062 rm -f a.out
   6063 
   6064 # If we don't use `.F' as extension, the preprocessor is not run on the
   6065 # input file.  (Note that this only needs to work for GNU compilers.)
   6066 ac_save_ext=$ac_ext
   6067 ac_ext=F
   6068 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6069 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6070 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6071   echo $ECHO_N "(cached) $ECHO_C" >&6
   6072 else
   6073   cat >conftest.$ac_ext <<_ACEOF
   6074       program main
   6075 #ifndef __GNUC__
   6076        choke me
   6077 #endif
   6078 
   6079       end
   6080 _ACEOF
   6081 rm -f conftest.$ac_objext
   6082 if { (ac_try="$ac_compile"
   6083 case "(($ac_try" in
   6084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6085   *) ac_try_echo=$ac_try;;
   6086 esac
   6087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6088   (eval "$ac_compile") 2>conftest.er1
   6089   ac_status=$?
   6090   grep -v '^ *+' conftest.er1 >conftest.err
   6091   rm -f conftest.er1
   6092   cat conftest.err >&5
   6093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6094   (exit $ac_status); } && {
   6095 	 test -z "$ac_f77_werror_flag" ||
   6096 	 test ! -s conftest.err
   6097        } && test -s conftest.$ac_objext; then
   6098   ac_compiler_gnu=yes
   6099 else
   6100   echo "$as_me: failed program was:" >&5
   6101 sed 's/^/| /' conftest.$ac_ext >&5
   6102 
   6103 	ac_compiler_gnu=no
   6104 fi
   6105 
   6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6107 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6108 
   6109 fi
   6110 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6111 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6112 ac_ext=$ac_save_ext
   6113 ac_test_FFLAGS=${FFLAGS+set}
   6114 ac_save_FFLAGS=$FFLAGS
   6115 FFLAGS=
   6116 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6117 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6118 if test "${ac_cv_prog_f77_g+set}" = set; then
   6119   echo $ECHO_N "(cached) $ECHO_C" >&6
   6120 else
   6121   FFLAGS=-g
   6122 cat >conftest.$ac_ext <<_ACEOF
   6123       program main
   6124 
   6125       end
   6126 _ACEOF
   6127 rm -f conftest.$ac_objext
   6128 if { (ac_try="$ac_compile"
   6129 case "(($ac_try" in
   6130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6131   *) ac_try_echo=$ac_try;;
   6132 esac
   6133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6134   (eval "$ac_compile") 2>conftest.er1
   6135   ac_status=$?
   6136   grep -v '^ *+' conftest.er1 >conftest.err
   6137   rm -f conftest.er1
   6138   cat conftest.err >&5
   6139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6140   (exit $ac_status); } && {
   6141 	 test -z "$ac_f77_werror_flag" ||
   6142 	 test ! -s conftest.err
   6143        } && test -s conftest.$ac_objext; then
   6144   ac_cv_prog_f77_g=yes
   6145 else
   6146   echo "$as_me: failed program was:" >&5
   6147 sed 's/^/| /' conftest.$ac_ext >&5
   6148 
   6149 	ac_cv_prog_f77_g=no
   6150 fi
   6151 
   6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6153 
   6154 fi
   6155 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6156 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6157 if test "$ac_test_FFLAGS" = set; then
   6158   FFLAGS=$ac_save_FFLAGS
   6159 elif test $ac_cv_prog_f77_g = yes; then
   6160   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6161     FFLAGS="-g -O2"
   6162   else
   6163     FFLAGS="-g"
   6164   fi
   6165 else
   6166   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6167     FFLAGS="-O2"
   6168   else
   6169     FFLAGS=
   6170   fi
   6171 fi
   6172 
   6173 G77=`test $ac_compiler_gnu = yes && echo yes`
   6174 ac_ext=c
   6175 ac_cpp='$CPP $CPPFLAGS'
   6176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6179 
   6180 
   6181 
   6182 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6183 
   6184 # find the maximum length of command line arguments
   6185 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6186 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6187 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6188   echo $ECHO_N "(cached) $ECHO_C" >&6
   6189 else
   6190     i=0
   6191   teststring="ABCD"
   6192 
   6193   case $build_os in
   6194   msdosdjgpp*)
   6195     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6196     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6197     # during glob expansion).  Even if it were fixed, the result of this
   6198     # check would be larger than it should be.
   6199     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6200     ;;
   6201 
   6202   gnu*)
   6203     # Under GNU Hurd, this test is not required because there is
   6204     # no limit to the length of command line arguments.
   6205     # Libtool will interpret -1 as no limit whatsoever
   6206     lt_cv_sys_max_cmd_len=-1;
   6207     ;;
   6208 
   6209   cygwin* | mingw*)
   6210     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6211     # about 5 minutes as the teststring grows exponentially.
   6212     # Worse, since 9x/ME are not pre-emptively multitasking,
   6213     # you end up with a "frozen" computer, even though with patience
   6214     # the test eventually succeeds (with a max line length of 256k).
   6215     # Instead, let's just punt: use the minimum linelength reported by
   6216     # all of the supported platforms: 8192 (on NT/2K/XP).
   6217     lt_cv_sys_max_cmd_len=8192;
   6218     ;;
   6219 
   6220   amigaos*)
   6221     # On AmigaOS with pdksh, this test takes hours, literally.
   6222     # So we just punt and use a minimum line length of 8192.
   6223     lt_cv_sys_max_cmd_len=8192;
   6224     ;;
   6225 
   6226   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6227     # This has been around since 386BSD, at least.  Likely further.
   6228     if test -x /sbin/sysctl; then
   6229       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6230     elif test -x /usr/sbin/sysctl; then
   6231       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6232     else
   6233       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6234     fi
   6235     # And add a safety zone
   6236     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6237     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6238     ;;
   6239 
   6240   interix*)
   6241     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6242     lt_cv_sys_max_cmd_len=196608
   6243     ;;
   6244 
   6245   osf*)
   6246     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6247     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6248     # nice to cause kernel panics so lets avoid the loop below.
   6249     # First set a reasonable default.
   6250     lt_cv_sys_max_cmd_len=16384
   6251     #
   6252     if test -x /sbin/sysconfig; then
   6253       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6254         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6255       esac
   6256     fi
   6257     ;;
   6258   sco3.2v5*)
   6259     lt_cv_sys_max_cmd_len=102400
   6260     ;;
   6261   sysv5* | sco5v6* | sysv4.2uw2*)
   6262     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6263     if test -n "$kargmax"; then
   6264       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6265     else
   6266       lt_cv_sys_max_cmd_len=32768
   6267     fi
   6268     ;;
   6269   *)
   6270     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6271     if test -n "$lt_cv_sys_max_cmd_len"; then
   6272       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6273       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6274     else
   6275       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6276       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6277 	       = "XX$teststring") >/dev/null 2>&1 &&
   6278 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6279 	      lt_cv_sys_max_cmd_len=$new_result &&
   6280 	      test $i != 17 # 1/2 MB should be enough
   6281       do
   6282         i=`expr $i + 1`
   6283         teststring=$teststring$teststring
   6284       done
   6285       teststring=
   6286       # Add a significant safety factor because C++ compilers can tack on massive
   6287       # amounts of additional arguments before passing them to the linker.
   6288       # It appears as though 1/2 is a usable value.
   6289       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6290     fi
   6291     ;;
   6292   esac
   6293 
   6294 fi
   6295 
   6296 if test -n $lt_cv_sys_max_cmd_len ; then
   6297   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6298 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6299 else
   6300   { echo "$as_me:$LINENO: result: none" >&5
   6301 echo "${ECHO_T}none" >&6; }
   6302 fi
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6309 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6310 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6311 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6312   echo $ECHO_N "(cached) $ECHO_C" >&6
   6313 else
   6314 
   6315 # These are sane defaults that work on at least a few old systems.
   6316 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6317 
   6318 # Character class describing NM global symbol codes.
   6319 symcode='[BCDEGRST]'
   6320 
   6321 # Regexp to match symbols that can be accessed directly from C.
   6322 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6323 
   6324 # Transform an extracted symbol line into a proper C declaration
   6325 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6326 
   6327 # Transform an extracted symbol line into symbol name and symbol address
   6328 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'"
   6329 
   6330 # Define system-specific variables.
   6331 case $host_os in
   6332 aix*)
   6333   symcode='[BCDT]'
   6334   ;;
   6335 cygwin* | mingw* | pw32*)
   6336   symcode='[ABCDGISTW]'
   6337   ;;
   6338 hpux*) # Its linker distinguishes data from code symbols
   6339   if test "$host_cpu" = ia64; then
   6340     symcode='[ABCDEGRST]'
   6341   fi
   6342   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6343   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'"
   6344   ;;
   6345 linux* | k*bsd*-gnu)
   6346   if test "$host_cpu" = ia64; then
   6347     symcode='[ABCDGIRSTW]'
   6348     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6349     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'"
   6350   fi
   6351   ;;
   6352 irix* | nonstopux*)
   6353   symcode='[BCDEGRST]'
   6354   ;;
   6355 osf*)
   6356   symcode='[BCDEGQRST]'
   6357   ;;
   6358 solaris*)
   6359   symcode='[BDRT]'
   6360   ;;
   6361 sco3.2v5*)
   6362   symcode='[DT]'
   6363   ;;
   6364 sysv4.2uw2*)
   6365   symcode='[DT]'
   6366   ;;
   6367 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6368   symcode='[ABDT]'
   6369   ;;
   6370 sysv4)
   6371   symcode='[DFNSTU]'
   6372   ;;
   6373 esac
   6374 
   6375 # Handle CRLF in mingw tool chain
   6376 opt_cr=
   6377 case $build_os in
   6378 mingw*)
   6379   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6380   ;;
   6381 esac
   6382 
   6383 # If we're using GNU nm, then use its standard symbol codes.
   6384 case `$NM -V 2>&1` in
   6385 *GNU* | *'with BFD'*)
   6386   symcode='[ABCDGIRSTW]' ;;
   6387 esac
   6388 
   6389 # Try without a prefix undercore, then with it.
   6390 for ac_symprfx in "" "_"; do
   6391 
   6392   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6393   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6394 
   6395   # Write the raw and C identifiers.
   6396   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6397 
   6398   # Check to see that the pipe works correctly.
   6399   pipe_works=no
   6400 
   6401   rm -f conftest*
   6402   cat > conftest.$ac_ext <<EOF
   6403 #ifdef __cplusplus
   6404 extern "C" {
   6405 #endif
   6406 char nm_test_var;
   6407 void nm_test_func(){}
   6408 #ifdef __cplusplus
   6409 }
   6410 #endif
   6411 int main(){nm_test_var='a';nm_test_func();return(0);}
   6412 EOF
   6413 
   6414   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6415   (eval $ac_compile) 2>&5
   6416   ac_status=$?
   6417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6418   (exit $ac_status); }; then
   6419     # Now try to grab the symbols.
   6420     nlist=conftest.nm
   6421     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6422   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6423   ac_status=$?
   6424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6425   (exit $ac_status); } && test -s "$nlist"; then
   6426       # Try sorting and uniquifying the output.
   6427       if sort "$nlist" | uniq > "$nlist"T; then
   6428 	mv -f "$nlist"T "$nlist"
   6429       else
   6430 	rm -f "$nlist"T
   6431       fi
   6432 
   6433       # Make sure that we snagged all the symbols we need.
   6434       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6435 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6436 	  cat <<EOF > conftest.$ac_ext
   6437 #ifdef __cplusplus
   6438 extern "C" {
   6439 #endif
   6440 
   6441 EOF
   6442 	  # Now generate the symbol file.
   6443 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6444 
   6445 	  cat <<EOF >> conftest.$ac_ext
   6446 #if defined (__STDC__) && __STDC__
   6447 # define lt_ptr_t void *
   6448 #else
   6449 # define lt_ptr_t char *
   6450 # define const
   6451 #endif
   6452 
   6453 /* The mapping between symbol names and symbols. */
   6454 const struct {
   6455   const char *name;
   6456   lt_ptr_t address;
   6457 }
   6458 lt_preloaded_symbols[] =
   6459 {
   6460 EOF
   6461 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6462 	  cat <<\EOF >> conftest.$ac_ext
   6463   {0, (lt_ptr_t) 0}
   6464 };
   6465 
   6466 #ifdef __cplusplus
   6467 }
   6468 #endif
   6469 EOF
   6470 	  # Now try linking the two files.
   6471 	  mv conftest.$ac_objext conftstm.$ac_objext
   6472 	  lt_save_LIBS="$LIBS"
   6473 	  lt_save_CFLAGS="$CFLAGS"
   6474 	  LIBS="conftstm.$ac_objext"
   6475 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6476 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6477   (eval $ac_link) 2>&5
   6478   ac_status=$?
   6479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6480   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6481 	    pipe_works=yes
   6482 	  fi
   6483 	  LIBS="$lt_save_LIBS"
   6484 	  CFLAGS="$lt_save_CFLAGS"
   6485 	else
   6486 	  echo "cannot find nm_test_func in $nlist" >&5
   6487 	fi
   6488       else
   6489 	echo "cannot find nm_test_var in $nlist" >&5
   6490       fi
   6491     else
   6492       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6493     fi
   6494   else
   6495     echo "$progname: failed program was:" >&5
   6496     cat conftest.$ac_ext >&5
   6497   fi
   6498   rm -f conftest* conftst*
   6499 
   6500   # Do not use the global_symbol_pipe unless it works.
   6501   if test "$pipe_works" = yes; then
   6502     break
   6503   else
   6504     lt_cv_sys_global_symbol_pipe=
   6505   fi
   6506 done
   6507 
   6508 fi
   6509 
   6510 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6511   lt_cv_sys_global_symbol_to_cdecl=
   6512 fi
   6513 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6514   { echo "$as_me:$LINENO: result: failed" >&5
   6515 echo "${ECHO_T}failed" >&6; }
   6516 else
   6517   { echo "$as_me:$LINENO: result: ok" >&5
   6518 echo "${ECHO_T}ok" >&6; }
   6519 fi
   6520 
   6521 { echo "$as_me:$LINENO: checking for objdir" >&5
   6522 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6523 if test "${lt_cv_objdir+set}" = set; then
   6524   echo $ECHO_N "(cached) $ECHO_C" >&6
   6525 else
   6526   rm -f .libs 2>/dev/null
   6527 mkdir .libs 2>/dev/null
   6528 if test -d .libs; then
   6529   lt_cv_objdir=.libs
   6530 else
   6531   # MS-DOS does not allow filenames that begin with a dot.
   6532   lt_cv_objdir=_libs
   6533 fi
   6534 rmdir .libs 2>/dev/null
   6535 fi
   6536 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6537 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6538 objdir=$lt_cv_objdir
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 case $host_os in
   6545 aix3*)
   6546   # AIX sometimes has problems with the GCC collect2 program.  For some
   6547   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6548   # vanish in a puff of smoke.
   6549   if test "X${COLLECT_NAMES+set}" != Xset; then
   6550     COLLECT_NAMES=
   6551     export COLLECT_NAMES
   6552   fi
   6553   ;;
   6554 esac
   6555 
   6556 # Sed substitution that helps us do robust quoting.  It backslashifies
   6557 # metacharacters that are still active within double-quoted strings.
   6558 Xsed='sed -e 1s/^X//'
   6559 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6560 
   6561 # Same as above, but do not quote variable references.
   6562 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6563 
   6564 # Sed substitution to delay expansion of an escaped shell variable in a
   6565 # double_quote_subst'ed string.
   6566 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6567 
   6568 # Sed substitution to avoid accidental globbing in evaled expressions
   6569 no_glob_subst='s/\*/\\\*/g'
   6570 
   6571 # Constants:
   6572 rm="rm -f"
   6573 
   6574 # Global variables:
   6575 default_ofile=libtool
   6576 can_build_shared=yes
   6577 
   6578 # All known linkers require a `.a' archive for static linking (except MSVC,
   6579 # which needs '.lib').
   6580 libext=a
   6581 ltmain="$ac_aux_dir/ltmain.sh"
   6582 ofile="$default_ofile"
   6583 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6584 
   6585 if test -n "$ac_tool_prefix"; then
   6586   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6587 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6590 if test "${ac_cv_prog_AR+set}" = set; then
   6591   echo $ECHO_N "(cached) $ECHO_C" >&6
   6592 else
   6593   if test -n "$AR"; then
   6594   ac_cv_prog_AR="$AR" # Let the user override the test.
   6595 else
   6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6597 for as_dir in $PATH
   6598 do
   6599   IFS=$as_save_IFS
   6600   test -z "$as_dir" && as_dir=.
   6601   for ac_exec_ext in '' $ac_executable_extensions; do
   6602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6603     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6604     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6605     break 2
   6606   fi
   6607 done
   6608 done
   6609 IFS=$as_save_IFS
   6610 
   6611 fi
   6612 fi
   6613 AR=$ac_cv_prog_AR
   6614 if test -n "$AR"; then
   6615   { echo "$as_me:$LINENO: result: $AR" >&5
   6616 echo "${ECHO_T}$AR" >&6; }
   6617 else
   6618   { echo "$as_me:$LINENO: result: no" >&5
   6619 echo "${ECHO_T}no" >&6; }
   6620 fi
   6621 
   6622 
   6623 fi
   6624 if test -z "$ac_cv_prog_AR"; then
   6625   ac_ct_AR=$AR
   6626   # Extract the first word of "ar", so it can be a program name with args.
   6627 set dummy ar; ac_word=$2
   6628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6630 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6631   echo $ECHO_N "(cached) $ECHO_C" >&6
   6632 else
   6633   if test -n "$ac_ct_AR"; then
   6634   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6635 else
   6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6637 for as_dir in $PATH
   6638 do
   6639   IFS=$as_save_IFS
   6640   test -z "$as_dir" && as_dir=.
   6641   for ac_exec_ext in '' $ac_executable_extensions; do
   6642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6643     ac_cv_prog_ac_ct_AR="ar"
   6644     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6645     break 2
   6646   fi
   6647 done
   6648 done
   6649 IFS=$as_save_IFS
   6650 
   6651 fi
   6652 fi
   6653 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6654 if test -n "$ac_ct_AR"; then
   6655   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6656 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6657 else
   6658   { echo "$as_me:$LINENO: result: no" >&5
   6659 echo "${ECHO_T}no" >&6; }
   6660 fi
   6661 
   6662   if test "x$ac_ct_AR" = x; then
   6663     AR="false"
   6664   else
   6665     case $cross_compiling:$ac_tool_warned in
   6666 yes:)
   6667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6668 whose name does not start with the host triplet.  If you think this
   6669 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6671 whose name does not start with the host triplet.  If you think this
   6672 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6673 ac_tool_warned=yes ;;
   6674 esac
   6675     AR=$ac_ct_AR
   6676   fi
   6677 else
   6678   AR="$ac_cv_prog_AR"
   6679 fi
   6680 
   6681 if test -n "$ac_tool_prefix"; then
   6682   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6683 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6686 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6687   echo $ECHO_N "(cached) $ECHO_C" >&6
   6688 else
   6689   if test -n "$RANLIB"; then
   6690   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6691 else
   6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6693 for as_dir in $PATH
   6694 do
   6695   IFS=$as_save_IFS
   6696   test -z "$as_dir" && as_dir=.
   6697   for ac_exec_ext in '' $ac_executable_extensions; do
   6698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6699     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6700     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6701     break 2
   6702   fi
   6703 done
   6704 done
   6705 IFS=$as_save_IFS
   6706 
   6707 fi
   6708 fi
   6709 RANLIB=$ac_cv_prog_RANLIB
   6710 if test -n "$RANLIB"; then
   6711   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6712 echo "${ECHO_T}$RANLIB" >&6; }
   6713 else
   6714   { echo "$as_me:$LINENO: result: no" >&5
   6715 echo "${ECHO_T}no" >&6; }
   6716 fi
   6717 
   6718 
   6719 fi
   6720 if test -z "$ac_cv_prog_RANLIB"; then
   6721   ac_ct_RANLIB=$RANLIB
   6722   # Extract the first word of "ranlib", so it can be a program name with args.
   6723 set dummy ranlib; ac_word=$2
   6724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6726 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6727   echo $ECHO_N "(cached) $ECHO_C" >&6
   6728 else
   6729   if test -n "$ac_ct_RANLIB"; then
   6730   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6731 else
   6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6733 for as_dir in $PATH
   6734 do
   6735   IFS=$as_save_IFS
   6736   test -z "$as_dir" && as_dir=.
   6737   for ac_exec_ext in '' $ac_executable_extensions; do
   6738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6739     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6740     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6741     break 2
   6742   fi
   6743 done
   6744 done
   6745 IFS=$as_save_IFS
   6746 
   6747 fi
   6748 fi
   6749 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6750 if test -n "$ac_ct_RANLIB"; then
   6751   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6752 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6753 else
   6754   { echo "$as_me:$LINENO: result: no" >&5
   6755 echo "${ECHO_T}no" >&6; }
   6756 fi
   6757 
   6758   if test "x$ac_ct_RANLIB" = x; then
   6759     RANLIB=":"
   6760   else
   6761     case $cross_compiling:$ac_tool_warned in
   6762 yes:)
   6763 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6764 whose name does not start with the host triplet.  If you think this
   6765 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6766 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6767 whose name does not start with the host triplet.  If you think this
   6768 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6769 ac_tool_warned=yes ;;
   6770 esac
   6771     RANLIB=$ac_ct_RANLIB
   6772   fi
   6773 else
   6774   RANLIB="$ac_cv_prog_RANLIB"
   6775 fi
   6776 
   6777 if test -n "$ac_tool_prefix"; then
   6778   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6779 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6782 if test "${ac_cv_prog_STRIP+set}" = set; then
   6783   echo $ECHO_N "(cached) $ECHO_C" >&6
   6784 else
   6785   if test -n "$STRIP"; then
   6786   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6787 else
   6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6789 for as_dir in $PATH
   6790 do
   6791   IFS=$as_save_IFS
   6792   test -z "$as_dir" && as_dir=.
   6793   for ac_exec_ext in '' $ac_executable_extensions; do
   6794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6795     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6797     break 2
   6798   fi
   6799 done
   6800 done
   6801 IFS=$as_save_IFS
   6802 
   6803 fi
   6804 fi
   6805 STRIP=$ac_cv_prog_STRIP
   6806 if test -n "$STRIP"; then
   6807   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6808 echo "${ECHO_T}$STRIP" >&6; }
   6809 else
   6810   { echo "$as_me:$LINENO: result: no" >&5
   6811 echo "${ECHO_T}no" >&6; }
   6812 fi
   6813 
   6814 
   6815 fi
   6816 if test -z "$ac_cv_prog_STRIP"; then
   6817   ac_ct_STRIP=$STRIP
   6818   # Extract the first word of "strip", so it can be a program name with args.
   6819 set dummy strip; ac_word=$2
   6820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6822 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6823   echo $ECHO_N "(cached) $ECHO_C" >&6
   6824 else
   6825   if test -n "$ac_ct_STRIP"; then
   6826   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6827 else
   6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6829 for as_dir in $PATH
   6830 do
   6831   IFS=$as_save_IFS
   6832   test -z "$as_dir" && as_dir=.
   6833   for ac_exec_ext in '' $ac_executable_extensions; do
   6834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6835     ac_cv_prog_ac_ct_STRIP="strip"
   6836     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6837     break 2
   6838   fi
   6839 done
   6840 done
   6841 IFS=$as_save_IFS
   6842 
   6843 fi
   6844 fi
   6845 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6846 if test -n "$ac_ct_STRIP"; then
   6847   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6848 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6849 else
   6850   { echo "$as_me:$LINENO: result: no" >&5
   6851 echo "${ECHO_T}no" >&6; }
   6852 fi
   6853 
   6854   if test "x$ac_ct_STRIP" = x; then
   6855     STRIP=":"
   6856   else
   6857     case $cross_compiling:$ac_tool_warned in
   6858 yes:)
   6859 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6860 whose name does not start with the host triplet.  If you think this
   6861 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6862 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6863 whose name does not start with the host triplet.  If you think this
   6864 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6865 ac_tool_warned=yes ;;
   6866 esac
   6867     STRIP=$ac_ct_STRIP
   6868   fi
   6869 else
   6870   STRIP="$ac_cv_prog_STRIP"
   6871 fi
   6872 
   6873 
   6874 old_CC="$CC"
   6875 old_CFLAGS="$CFLAGS"
   6876 
   6877 # Set sane defaults for various variables
   6878 test -z "$AR" && AR=ar
   6879 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6880 test -z "$AS" && AS=as
   6881 test -z "$CC" && CC=cc
   6882 test -z "$LTCC" && LTCC=$CC
   6883 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6884 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6885 test -z "$LD" && LD=ld
   6886 test -z "$LN_S" && LN_S="ln -s"
   6887 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6888 test -z "$NM" && NM=nm
   6889 test -z "$SED" && SED=sed
   6890 test -z "$OBJDUMP" && OBJDUMP=objdump
   6891 test -z "$RANLIB" && RANLIB=:
   6892 test -z "$STRIP" && STRIP=:
   6893 test -z "$ac_objext" && ac_objext=o
   6894 
   6895 # Determine commands to create old-style static archives.
   6896 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6897 old_postinstall_cmds='chmod 644 $oldlib'
   6898 old_postuninstall_cmds=
   6899 
   6900 if test -n "$RANLIB"; then
   6901   case $host_os in
   6902   openbsd*)
   6903     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6904     ;;
   6905   *)
   6906     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6907     ;;
   6908   esac
   6909   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6910 fi
   6911 
   6912 for cc_temp in $compiler""; do
   6913   case $cc_temp in
   6914     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6915     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6916     \-*) ;;
   6917     *) break;;
   6918   esac
   6919 done
   6920 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6921 
   6922 
   6923 # Only perform the check for file, if the check method requires it
   6924 case $deplibs_check_method in
   6925 file_magic*)
   6926   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6927     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6928 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6929 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6930   echo $ECHO_N "(cached) $ECHO_C" >&6
   6931 else
   6932   case $MAGIC_CMD in
   6933 [\\/*] |  ?:[\\/]*)
   6934   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6935   ;;
   6936 *)
   6937   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6938   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6939   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6940   for ac_dir in $ac_dummy; do
   6941     IFS="$lt_save_ifs"
   6942     test -z "$ac_dir" && ac_dir=.
   6943     if test -f $ac_dir/${ac_tool_prefix}file; then
   6944       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6945       if test -n "$file_magic_test_file"; then
   6946 	case $deplibs_check_method in
   6947 	"file_magic "*)
   6948 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6949 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6950 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6951 	    $EGREP "$file_magic_regex" > /dev/null; then
   6952 	    :
   6953 	  else
   6954 	    cat <<EOF 1>&2
   6955 
   6956 *** Warning: the command libtool uses to detect shared libraries,
   6957 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6958 *** The result is that libtool may fail to recognize shared libraries
   6959 *** as such.  This will affect the creation of libtool libraries that
   6960 *** depend on shared libraries, but programs linked with such libtool
   6961 *** libraries will work regardless of this problem.  Nevertheless, you
   6962 *** may want to report the problem to your system manager and/or to
   6963 *** bug-libtool@gnu.org
   6964 
   6965 EOF
   6966 	  fi ;;
   6967 	esac
   6968       fi
   6969       break
   6970     fi
   6971   done
   6972   IFS="$lt_save_ifs"
   6973   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6974   ;;
   6975 esac
   6976 fi
   6977 
   6978 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6979 if test -n "$MAGIC_CMD"; then
   6980   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6981 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6982 else
   6983   { echo "$as_me:$LINENO: result: no" >&5
   6984 echo "${ECHO_T}no" >&6; }
   6985 fi
   6986 
   6987 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6988   if test -n "$ac_tool_prefix"; then
   6989     { echo "$as_me:$LINENO: checking for file" >&5
   6990 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6991 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6992   echo $ECHO_N "(cached) $ECHO_C" >&6
   6993 else
   6994   case $MAGIC_CMD in
   6995 [\\/*] |  ?:[\\/]*)
   6996   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6997   ;;
   6998 *)
   6999   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7000   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7001   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7002   for ac_dir in $ac_dummy; do
   7003     IFS="$lt_save_ifs"
   7004     test -z "$ac_dir" && ac_dir=.
   7005     if test -f $ac_dir/file; then
   7006       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7007       if test -n "$file_magic_test_file"; then
   7008 	case $deplibs_check_method in
   7009 	"file_magic "*)
   7010 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7011 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7012 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7013 	    $EGREP "$file_magic_regex" > /dev/null; then
   7014 	    :
   7015 	  else
   7016 	    cat <<EOF 1>&2
   7017 
   7018 *** Warning: the command libtool uses to detect shared libraries,
   7019 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7020 *** The result is that libtool may fail to recognize shared libraries
   7021 *** as such.  This will affect the creation of libtool libraries that
   7022 *** depend on shared libraries, but programs linked with such libtool
   7023 *** libraries will work regardless of this problem.  Nevertheless, you
   7024 *** may want to report the problem to your system manager and/or to
   7025 *** bug-libtool@gnu.org
   7026 
   7027 EOF
   7028 	  fi ;;
   7029 	esac
   7030       fi
   7031       break
   7032     fi
   7033   done
   7034   IFS="$lt_save_ifs"
   7035   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7036   ;;
   7037 esac
   7038 fi
   7039 
   7040 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7041 if test -n "$MAGIC_CMD"; then
   7042   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7043 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7044 else
   7045   { echo "$as_me:$LINENO: result: no" >&5
   7046 echo "${ECHO_T}no" >&6; }
   7047 fi
   7048 
   7049   else
   7050     MAGIC_CMD=:
   7051   fi
   7052 fi
   7053 
   7054   fi
   7055   ;;
   7056 esac
   7057 
   7058 enable_dlopen=no
   7059 enable_win32_dll=no
   7060 
   7061 # Check whether --enable-libtool-lock was given.
   7062 if test "${enable_libtool_lock+set}" = set; then
   7063   enableval=$enable_libtool_lock;
   7064 fi
   7065 
   7066 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7067 
   7068 
   7069 # Check whether --with-pic was given.
   7070 if test "${with_pic+set}" = set; then
   7071   withval=$with_pic; pic_mode="$withval"
   7072 else
   7073   pic_mode=default
   7074 fi
   7075 
   7076 test -z "$pic_mode" && pic_mode=default
   7077 
   7078 # Use C for the default configuration in the libtool script
   7079 tagname=
   7080 lt_save_CC="$CC"
   7081 ac_ext=c
   7082 ac_cpp='$CPP $CPPFLAGS'
   7083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7086 
   7087 
   7088 # Source file extension for C test sources.
   7089 ac_ext=c
   7090 
   7091 # Object file extension for compiled C test sources.
   7092 objext=o
   7093 objext=$objext
   7094 
   7095 # Code to be used in simple compile tests
   7096 lt_simple_compile_test_code="int some_variable = 0;"
   7097 
   7098 # Code to be used in simple link tests
   7099 lt_simple_link_test_code='int main(){return(0);}'
   7100 
   7101 
   7102 # If no C compiler was specified, use CC.
   7103 LTCC=${LTCC-"$CC"}
   7104 
   7105 # If no C compiler flags were specified, use CFLAGS.
   7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7107 
   7108 # Allow CC to be a program name with arguments.
   7109 compiler=$CC
   7110 
   7111 
   7112 # save warnings/boilerplate of simple test code
   7113 ac_outfile=conftest.$ac_objext
   7114 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7115 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7116 _lt_compiler_boilerplate=`cat conftest.err`
   7117 $rm conftest*
   7118 
   7119 ac_outfile=conftest.$ac_objext
   7120 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7121 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7122 _lt_linker_boilerplate=`cat conftest.err`
   7123 $rm conftest*
   7124 
   7125 
   7126 
   7127 lt_prog_compiler_no_builtin_flag=
   7128 
   7129 if test "$GCC" = yes; then
   7130   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7131 
   7132 
   7133 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7134 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7135 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7136   echo $ECHO_N "(cached) $ECHO_C" >&6
   7137 else
   7138   lt_cv_prog_compiler_rtti_exceptions=no
   7139   ac_outfile=conftest.$ac_objext
   7140    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7141    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7142    # Insert the option either (1) after the last *FLAGS variable, or
   7143    # (2) before a word containing "conftest.", or (3) at the end.
   7144    # Note that $ac_compile itself does not contain backslashes and begins
   7145    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7146    # The option is referenced via a variable to avoid confusing sed.
   7147    lt_compile=`echo "$ac_compile" | $SED \
   7148    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7149    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7150    -e 's:$: $lt_compiler_flag:'`
   7151    (eval echo "\"\$as_me:7151: $lt_compile\"" >&5)
   7152    (eval "$lt_compile" 2>conftest.err)
   7153    ac_status=$?
   7154    cat conftest.err >&5
   7155    echo "$as_me:7155: \$? = $ac_status" >&5
   7156    if (exit $ac_status) && test -s "$ac_outfile"; then
   7157      # The compiler can only warn and ignore the option if not recognized
   7158      # So say no if there are warnings other than the usual output.
   7159      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7160      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7161      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7162        lt_cv_prog_compiler_rtti_exceptions=yes
   7163      fi
   7164    fi
   7165    $rm conftest*
   7166 
   7167 fi
   7168 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7169 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7170 
   7171 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7172     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7173 else
   7174     :
   7175 fi
   7176 
   7177 fi
   7178 
   7179 lt_prog_compiler_wl=
   7180 lt_prog_compiler_pic=
   7181 lt_prog_compiler_static=
   7182 
   7183 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7184 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7185 
   7186   if test "$GCC" = yes; then
   7187     lt_prog_compiler_wl='-Wl,'
   7188     lt_prog_compiler_static='-static'
   7189 
   7190     case $host_os in
   7191       aix*)
   7192       # All AIX code is PIC.
   7193       if test "$host_cpu" = ia64; then
   7194 	# AIX 5 now supports IA64 processor
   7195 	lt_prog_compiler_static='-Bstatic'
   7196       fi
   7197       ;;
   7198 
   7199     amigaos*)
   7200       # FIXME: we need at least 68020 code to build shared libraries, but
   7201       # adding the `-m68020' flag to GCC prevents building anything better,
   7202       # like `-m68040'.
   7203       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7204       ;;
   7205 
   7206     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7207       # PIC is the default for these OSes.
   7208       ;;
   7209 
   7210     mingw* | cygwin* | pw32* | os2*)
   7211       # This hack is so that the source file can tell whether it is being
   7212       # built for inclusion in a dll (and should export symbols for example).
   7213       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7214       # (--disable-auto-import) libraries
   7215       lt_prog_compiler_pic='-DDLL_EXPORT'
   7216       ;;
   7217 
   7218     darwin* | rhapsody*)
   7219       # PIC is the default on this platform
   7220       # Common symbols not allowed in MH_DYLIB files
   7221       lt_prog_compiler_pic='-fno-common'
   7222       ;;
   7223 
   7224     interix[3-9]*)
   7225       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7226       # Instead, we relocate shared libraries at runtime.
   7227       ;;
   7228 
   7229     msdosdjgpp*)
   7230       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7231       # on systems that don't support them.
   7232       lt_prog_compiler_can_build_shared=no
   7233       enable_shared=no
   7234       ;;
   7235 
   7236     sysv4*MP*)
   7237       if test -d /usr/nec; then
   7238 	lt_prog_compiler_pic=-Kconform_pic
   7239       fi
   7240       ;;
   7241 
   7242     hpux*)
   7243       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7244       # not for PA HP-UX.
   7245       case $host_cpu in
   7246       hppa*64*|ia64*)
   7247 	# +Z the default
   7248 	;;
   7249       *)
   7250 	lt_prog_compiler_pic='-fPIC'
   7251 	;;
   7252       esac
   7253       ;;
   7254 
   7255     *)
   7256       lt_prog_compiler_pic='-fPIC'
   7257       ;;
   7258     esac
   7259   else
   7260     # PORTME Check for flag to pass linker flags through the system compiler.
   7261     case $host_os in
   7262     aix*)
   7263       lt_prog_compiler_wl='-Wl,'
   7264       if test "$host_cpu" = ia64; then
   7265 	# AIX 5 now supports IA64 processor
   7266 	lt_prog_compiler_static='-Bstatic'
   7267       else
   7268 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7269       fi
   7270       ;;
   7271       darwin*)
   7272         # PIC is the default on this platform
   7273         # Common symbols not allowed in MH_DYLIB files
   7274        case $cc_basename in
   7275          xlc*)
   7276          lt_prog_compiler_pic='-qnocommon'
   7277          lt_prog_compiler_wl='-Wl,'
   7278          ;;
   7279        esac
   7280        ;;
   7281 
   7282     mingw* | cygwin* | pw32* | os2*)
   7283       # This hack is so that the source file can tell whether it is being
   7284       # built for inclusion in a dll (and should export symbols for example).
   7285       lt_prog_compiler_pic='-DDLL_EXPORT'
   7286       ;;
   7287 
   7288     hpux9* | hpux10* | hpux11*)
   7289       lt_prog_compiler_wl='-Wl,'
   7290       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7291       # not for PA HP-UX.
   7292       case $host_cpu in
   7293       hppa*64*|ia64*)
   7294 	# +Z the default
   7295 	;;
   7296       *)
   7297 	lt_prog_compiler_pic='+Z'
   7298 	;;
   7299       esac
   7300       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7301       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7302       ;;
   7303 
   7304     irix5* | irix6* | nonstopux*)
   7305       lt_prog_compiler_wl='-Wl,'
   7306       # PIC (with -KPIC) is the default.
   7307       lt_prog_compiler_static='-non_shared'
   7308       ;;
   7309 
   7310     newsos6)
   7311       lt_prog_compiler_pic='-KPIC'
   7312       lt_prog_compiler_static='-Bstatic'
   7313       ;;
   7314 
   7315     linux* | k*bsd*-gnu)
   7316       case $cc_basename in
   7317       icc* | ecc*)
   7318 	lt_prog_compiler_wl='-Wl,'
   7319 	lt_prog_compiler_pic='-KPIC'
   7320 	lt_prog_compiler_static='-static'
   7321         ;;
   7322       pgcc* | pgf77* | pgf90* | pgf95*)
   7323         # Portland Group compilers (*not* the Pentium gcc compiler,
   7324 	# which looks to be a dead project)
   7325 	lt_prog_compiler_wl='-Wl,'
   7326 	lt_prog_compiler_pic='-fpic'
   7327 	lt_prog_compiler_static='-Bstatic'
   7328         ;;
   7329       ccc*)
   7330         lt_prog_compiler_wl='-Wl,'
   7331         # All Alpha code is PIC.
   7332         lt_prog_compiler_static='-non_shared'
   7333         ;;
   7334       *)
   7335         case `$CC -V 2>&1 | sed 5q` in
   7336 	*Sun\ C*)
   7337 	  # Sun C 5.9
   7338 	  lt_prog_compiler_pic='-KPIC'
   7339 	  lt_prog_compiler_static='-Bstatic'
   7340 	  lt_prog_compiler_wl='-Wl,'
   7341 	  ;;
   7342 	*Sun\ F*)
   7343 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7344 	  lt_prog_compiler_pic='-KPIC'
   7345 	  lt_prog_compiler_static='-Bstatic'
   7346 	  lt_prog_compiler_wl=''
   7347 	  ;;
   7348 	esac
   7349 	;;
   7350       esac
   7351       ;;
   7352 
   7353     osf3* | osf4* | osf5*)
   7354       lt_prog_compiler_wl='-Wl,'
   7355       # All OSF/1 code is PIC.
   7356       lt_prog_compiler_static='-non_shared'
   7357       ;;
   7358 
   7359     rdos*)
   7360       lt_prog_compiler_static='-non_shared'
   7361       ;;
   7362 
   7363     solaris*)
   7364       lt_prog_compiler_pic='-KPIC'
   7365       lt_prog_compiler_static='-Bstatic'
   7366       case $cc_basename in
   7367       f77* | f90* | f95*)
   7368 	lt_prog_compiler_wl='-Qoption ld ';;
   7369       *)
   7370 	lt_prog_compiler_wl='-Wl,';;
   7371       esac
   7372       ;;
   7373 
   7374     sunos4*)
   7375       lt_prog_compiler_wl='-Qoption ld '
   7376       lt_prog_compiler_pic='-PIC'
   7377       lt_prog_compiler_static='-Bstatic'
   7378       ;;
   7379 
   7380     sysv4 | sysv4.2uw2* | sysv4.3*)
   7381       lt_prog_compiler_wl='-Wl,'
   7382       lt_prog_compiler_pic='-KPIC'
   7383       lt_prog_compiler_static='-Bstatic'
   7384       ;;
   7385 
   7386     sysv4*MP*)
   7387       if test -d /usr/nec ;then
   7388 	lt_prog_compiler_pic='-Kconform_pic'
   7389 	lt_prog_compiler_static='-Bstatic'
   7390       fi
   7391       ;;
   7392 
   7393     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7394       lt_prog_compiler_wl='-Wl,'
   7395       lt_prog_compiler_pic='-KPIC'
   7396       lt_prog_compiler_static='-Bstatic'
   7397       ;;
   7398 
   7399     unicos*)
   7400       lt_prog_compiler_wl='-Wl,'
   7401       lt_prog_compiler_can_build_shared=no
   7402       ;;
   7403 
   7404     uts4*)
   7405       lt_prog_compiler_pic='-pic'
   7406       lt_prog_compiler_static='-Bstatic'
   7407       ;;
   7408 
   7409     *)
   7410       lt_prog_compiler_can_build_shared=no
   7411       ;;
   7412     esac
   7413   fi
   7414 
   7415 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7416 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7417 
   7418 #
   7419 # Check to make sure the PIC flag actually works.
   7420 #
   7421 if test -n "$lt_prog_compiler_pic"; then
   7422 
   7423 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7424 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7425 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7426   echo $ECHO_N "(cached) $ECHO_C" >&6
   7427 else
   7428   lt_prog_compiler_pic_works=no
   7429   ac_outfile=conftest.$ac_objext
   7430    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7431    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7432    # Insert the option either (1) after the last *FLAGS variable, or
   7433    # (2) before a word containing "conftest.", or (3) at the end.
   7434    # Note that $ac_compile itself does not contain backslashes and begins
   7435    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7436    # The option is referenced via a variable to avoid confusing sed.
   7437    lt_compile=`echo "$ac_compile" | $SED \
   7438    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7439    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7440    -e 's:$: $lt_compiler_flag:'`
   7441    (eval echo "\"\$as_me:7441: $lt_compile\"" >&5)
   7442    (eval "$lt_compile" 2>conftest.err)
   7443    ac_status=$?
   7444    cat conftest.err >&5
   7445    echo "$as_me:7445: \$? = $ac_status" >&5
   7446    if (exit $ac_status) && test -s "$ac_outfile"; then
   7447      # The compiler can only warn and ignore the option if not recognized
   7448      # So say no if there are warnings other than the usual output.
   7449      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7450      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7451      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7452        lt_prog_compiler_pic_works=yes
   7453      fi
   7454    fi
   7455    $rm conftest*
   7456 
   7457 fi
   7458 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7459 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7460 
   7461 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7462     case $lt_prog_compiler_pic in
   7463      "" | " "*) ;;
   7464      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7465      esac
   7466 else
   7467     lt_prog_compiler_pic=
   7468      lt_prog_compiler_can_build_shared=no
   7469 fi
   7470 
   7471 fi
   7472 case $host_os in
   7473   # For platforms which do not support PIC, -DPIC is meaningless:
   7474   *djgpp*)
   7475     lt_prog_compiler_pic=
   7476     ;;
   7477   *)
   7478     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7479     ;;
   7480 esac
   7481 
   7482 #
   7483 # Check to make sure the static flag actually works.
   7484 #
   7485 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7486 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7487 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7488 if test "${lt_prog_compiler_static_works+set}" = set; then
   7489   echo $ECHO_N "(cached) $ECHO_C" >&6
   7490 else
   7491   lt_prog_compiler_static_works=no
   7492    save_LDFLAGS="$LDFLAGS"
   7493    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7494    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7495    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7496      # The linker can only warn and ignore the option if not recognized
   7497      # So say no if there are warnings
   7498      if test -s conftest.err; then
   7499        # Append any errors to the config.log.
   7500        cat conftest.err 1>&5
   7501        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7502        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7503        if diff conftest.exp conftest.er2 >/dev/null; then
   7504          lt_prog_compiler_static_works=yes
   7505        fi
   7506      else
   7507        lt_prog_compiler_static_works=yes
   7508      fi
   7509    fi
   7510    $rm conftest*
   7511    LDFLAGS="$save_LDFLAGS"
   7512 
   7513 fi
   7514 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7515 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7516 
   7517 if test x"$lt_prog_compiler_static_works" = xyes; then
   7518     :
   7519 else
   7520     lt_prog_compiler_static=
   7521 fi
   7522 
   7523 
   7524 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7525 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7526 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7527   echo $ECHO_N "(cached) $ECHO_C" >&6
   7528 else
   7529   lt_cv_prog_compiler_c_o=no
   7530    $rm -r conftest 2>/dev/null
   7531    mkdir conftest
   7532    cd conftest
   7533    mkdir out
   7534    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7535 
   7536    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7537    # Insert the option either (1) after the last *FLAGS variable, or
   7538    # (2) before a word containing "conftest.", or (3) at the end.
   7539    # Note that $ac_compile itself does not contain backslashes and begins
   7540    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7541    lt_compile=`echo "$ac_compile" | $SED \
   7542    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7543    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7544    -e 's:$: $lt_compiler_flag:'`
   7545    (eval echo "\"\$as_me:7545: $lt_compile\"" >&5)
   7546    (eval "$lt_compile" 2>out/conftest.err)
   7547    ac_status=$?
   7548    cat out/conftest.err >&5
   7549    echo "$as_me:7549: \$? = $ac_status" >&5
   7550    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7551    then
   7552      # The compiler can only warn and ignore the option if not recognized
   7553      # So say no if there are warnings
   7554      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7555      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7556      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7557        lt_cv_prog_compiler_c_o=yes
   7558      fi
   7559    fi
   7560    chmod u+w . 2>&5
   7561    $rm conftest*
   7562    # SGI C++ compiler will create directory out/ii_files/ for
   7563    # template instantiation
   7564    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7565    $rm out/* && rmdir out
   7566    cd ..
   7567    rmdir conftest
   7568    $rm conftest*
   7569 
   7570 fi
   7571 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7572 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7573 
   7574 
   7575 hard_links="nottested"
   7576 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7577   # do not overwrite the value of need_locks provided by the user
   7578   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7579 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7580   hard_links=yes
   7581   $rm conftest*
   7582   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7583   touch conftest.a
   7584   ln conftest.a conftest.b 2>&5 || hard_links=no
   7585   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7586   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7587 echo "${ECHO_T}$hard_links" >&6; }
   7588   if test "$hard_links" = no; then
   7589     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7590 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7591     need_locks=warn
   7592   fi
   7593 else
   7594   need_locks=no
   7595 fi
   7596 
   7597 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7598 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7599 
   7600   runpath_var=
   7601   allow_undefined_flag=
   7602   enable_shared_with_static_runtimes=no
   7603   archive_cmds=
   7604   archive_expsym_cmds=
   7605   old_archive_From_new_cmds=
   7606   old_archive_from_expsyms_cmds=
   7607   export_dynamic_flag_spec=
   7608   whole_archive_flag_spec=
   7609   thread_safe_flag_spec=
   7610   hardcode_libdir_flag_spec=
   7611   hardcode_libdir_flag_spec_ld=
   7612   hardcode_libdir_separator=
   7613   hardcode_direct=no
   7614   hardcode_minus_L=no
   7615   hardcode_shlibpath_var=unsupported
   7616   link_all_deplibs=unknown
   7617   hardcode_automatic=no
   7618   module_cmds=
   7619   module_expsym_cmds=
   7620   always_export_symbols=no
   7621   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7622   # include_expsyms should be a list of space-separated symbols to be *always*
   7623   # included in the symbol list
   7624   include_expsyms=
   7625   # exclude_expsyms can be an extended regexp of symbols to exclude
   7626   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7627   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7628   # as well as any symbol that contains `d'.
   7629   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7630   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7631   # platforms (ab)use it in PIC code, but their linkers get confused if
   7632   # the symbol is explicitly referenced.  Since portable code cannot
   7633   # rely on this symbol name, it's probably fine to never include it in
   7634   # preloaded symbol tables.
   7635   extract_expsyms_cmds=
   7636   # Just being paranoid about ensuring that cc_basename is set.
   7637   for cc_temp in $compiler""; do
   7638   case $cc_temp in
   7639     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7640     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7641     \-*) ;;
   7642     *) break;;
   7643   esac
   7644 done
   7645 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7646 
   7647   case $host_os in
   7648   cygwin* | mingw* | pw32*)
   7649     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7650     # When not using gcc, we currently assume that we are using
   7651     # Microsoft Visual C++.
   7652     if test "$GCC" != yes; then
   7653       with_gnu_ld=no
   7654     fi
   7655     ;;
   7656   interix*)
   7657     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7658     with_gnu_ld=yes
   7659     ;;
   7660   openbsd*)
   7661     with_gnu_ld=no
   7662     ;;
   7663   esac
   7664 
   7665   ld_shlibs=yes
   7666   if test "$with_gnu_ld" = yes; then
   7667     # If archive_cmds runs LD, not CC, wlarc should be empty
   7668     wlarc='${wl}'
   7669 
   7670     # Set some defaults for GNU ld with shared library support. These
   7671     # are reset later if shared libraries are not supported. Putting them
   7672     # here allows them to be overridden if necessary.
   7673     runpath_var=LD_RUN_PATH
   7674     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7675     export_dynamic_flag_spec='${wl}--export-dynamic'
   7676     # ancient GNU ld didn't support --whole-archive et. al.
   7677     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7678 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7679       else
   7680   	whole_archive_flag_spec=
   7681     fi
   7682     supports_anon_versioning=no
   7683     case `$LD -v 2>/dev/null` in
   7684       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7685       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7686       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7687       *\ 2.11.*) ;; # other 2.11 versions
   7688       *) supports_anon_versioning=yes ;;
   7689     esac
   7690 
   7691     # See if GNU ld supports shared libraries.
   7692     case $host_os in
   7693     aix3* | aix4* | aix5*)
   7694       # On AIX/PPC, the GNU linker is very broken
   7695       if test "$host_cpu" != ia64; then
   7696 	ld_shlibs=no
   7697 	cat <<EOF 1>&2
   7698 
   7699 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7700 *** to be unable to reliably create shared libraries on AIX.
   7701 *** Therefore, libtool is disabling shared libraries support.  If you
   7702 *** really care for shared libraries, you may want to modify your PATH
   7703 *** so that a non-GNU linker is found, and then restart.
   7704 
   7705 EOF
   7706       fi
   7707       ;;
   7708 
   7709     amigaos*)
   7710       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)'
   7711       hardcode_libdir_flag_spec='-L$libdir'
   7712       hardcode_minus_L=yes
   7713 
   7714       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7715       # that the semantics of dynamic libraries on AmigaOS, at least up
   7716       # to version 4, is to share data among multiple programs linked
   7717       # with the same dynamic library.  Since this doesn't match the
   7718       # behavior of shared libraries on other platforms, we can't use
   7719       # them.
   7720       ld_shlibs=no
   7721       ;;
   7722 
   7723     beos*)
   7724       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7725 	allow_undefined_flag=unsupported
   7726 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7727 	# support --undefined.  This deserves some investigation.  FIXME
   7728 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7729       else
   7730 	ld_shlibs=no
   7731       fi
   7732       ;;
   7733 
   7734     cygwin* | mingw* | pw32*)
   7735       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7736       # as there is no search path for DLLs.
   7737       hardcode_libdir_flag_spec='-L$libdir'
   7738       allow_undefined_flag=unsupported
   7739       always_export_symbols=no
   7740       enable_shared_with_static_runtimes=yes
   7741       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7742 
   7743       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7744         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7745 	# If the export-symbols file already is a .def file (1st line
   7746 	# is EXPORTS), use it as is; otherwise, prepend...
   7747 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7748 	  cp $export_symbols $output_objdir/$soname.def;
   7749 	else
   7750 	  echo EXPORTS > $output_objdir/$soname.def;
   7751 	  cat $export_symbols >> $output_objdir/$soname.def;
   7752 	fi~
   7753 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7754       else
   7755 	ld_shlibs=no
   7756       fi
   7757       ;;
   7758 
   7759     interix[3-9]*)
   7760       hardcode_direct=no
   7761       hardcode_shlibpath_var=no
   7762       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7763       export_dynamic_flag_spec='${wl}-E'
   7764       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7765       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7766       # default) and relocated if they conflict, which is a slow very memory
   7767       # consuming and fragmenting process.  To avoid this, we pick a random,
   7768       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7769       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7770       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7771       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'
   7772       ;;
   7773 
   7774     gnu* | linux* | k*bsd*-gnu)
   7775       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7776 	tmp_addflag=
   7777 	case $cc_basename,$host_cpu in
   7778 	pgcc*)				# Portland Group C compiler
   7779 	  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'
   7780 	  tmp_addflag=' $pic_flag'
   7781 	  ;;
   7782 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7783 	  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'
   7784 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7785 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7786 	  tmp_addflag=' -i_dynamic' ;;
   7787 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7788 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7789 	ifc* | ifort*)			# Intel Fortran compiler
   7790 	  tmp_addflag=' -nofor_main' ;;
   7791 	esac
   7792 	case `$CC -V 2>&1 | sed 5q` in
   7793 	*Sun\ C*)			# Sun C 5.9
   7794 	  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'
   7795 	  tmp_sharedflag='-G' ;;
   7796 	*Sun\ F*)			# Sun Fortran 8.3
   7797 	  tmp_sharedflag='-G' ;;
   7798 	*)
   7799 	  tmp_sharedflag='-shared' ;;
   7800 	esac
   7801 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7802 
   7803 	if test $supports_anon_versioning = yes; then
   7804 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7805   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7806   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7807 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7808 	fi
   7809       else
   7810 	ld_shlibs=no
   7811       fi
   7812       ;;
   7813 
   7814     netbsd*)
   7815       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7816 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7817 	wlarc=
   7818       else
   7819 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7820 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7821       fi
   7822       ;;
   7823 
   7824     solaris*)
   7825       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7826 	ld_shlibs=no
   7827 	cat <<EOF 1>&2
   7828 
   7829 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7830 *** create shared libraries on Solaris systems.  Therefore, libtool
   7831 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7832 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7833 *** your PATH or compiler configuration so that the native linker is
   7834 *** used, and then restart.
   7835 
   7836 EOF
   7837       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7838 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7839 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7840       else
   7841 	ld_shlibs=no
   7842       fi
   7843       ;;
   7844 
   7845     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7846       case `$LD -v 2>&1` in
   7847         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7848 	ld_shlibs=no
   7849 	cat <<_LT_EOF 1>&2
   7850 
   7851 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7852 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7853 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7854 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7855 *** your PATH or compiler configuration so that the native linker is
   7856 *** used, and then restart.
   7857 
   7858 _LT_EOF
   7859 	;;
   7860 	*)
   7861 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7862 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7863 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7864 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7865 	  else
   7866 	    ld_shlibs=no
   7867 	  fi
   7868 	;;
   7869       esac
   7870       ;;
   7871 
   7872     sunos4*)
   7873       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7874       wlarc=
   7875       hardcode_direct=yes
   7876       hardcode_shlibpath_var=no
   7877       ;;
   7878 
   7879     *)
   7880       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7881 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7882 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7883       else
   7884 	ld_shlibs=no
   7885       fi
   7886       ;;
   7887     esac
   7888 
   7889     if test "$ld_shlibs" = no; then
   7890       runpath_var=
   7891       hardcode_libdir_flag_spec=
   7892       export_dynamic_flag_spec=
   7893       whole_archive_flag_spec=
   7894     fi
   7895   else
   7896     # PORTME fill in a description of your system's linker (not GNU ld)
   7897     case $host_os in
   7898     aix3*)
   7899       allow_undefined_flag=unsupported
   7900       always_export_symbols=yes
   7901       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'
   7902       # Note: this linker hardcodes the directories in LIBPATH if there
   7903       # are no directories specified by -L.
   7904       hardcode_minus_L=yes
   7905       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7906 	# Neither direct hardcoding nor static linking is supported with a
   7907 	# broken collect2.
   7908 	hardcode_direct=unsupported
   7909       fi
   7910       ;;
   7911 
   7912     aix4* | aix5*)
   7913       if test "$host_cpu" = ia64; then
   7914 	# On IA64, the linker does run time linking by default, so we don't
   7915 	# have to do anything special.
   7916 	aix_use_runtimelinking=no
   7917 	exp_sym_flag='-Bexport'
   7918 	no_entry_flag=""
   7919       else
   7920 	# If we're using GNU nm, then we don't want the "-C" option.
   7921 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7922 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7923 	  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'
   7924 	else
   7925 	  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'
   7926 	fi
   7927 	aix_use_runtimelinking=no
   7928 
   7929 	# Test if we are trying to use run time linking or normal
   7930 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7931 	# need to do runtime linking.
   7932 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7933 	  for ld_flag in $LDFLAGS; do
   7934   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7935   	    aix_use_runtimelinking=yes
   7936   	    break
   7937   	  fi
   7938 	  done
   7939 	  ;;
   7940 	esac
   7941 
   7942 	exp_sym_flag='-bexport'
   7943 	no_entry_flag='-bnoentry'
   7944       fi
   7945 
   7946       # When large executables or shared objects are built, AIX ld can
   7947       # have problems creating the table of contents.  If linking a library
   7948       # or program results in "error TOC overflow" add -mminimal-toc to
   7949       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7950       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7951 
   7952       archive_cmds=''
   7953       hardcode_direct=yes
   7954       hardcode_libdir_separator=':'
   7955       link_all_deplibs=yes
   7956 
   7957       if test "$GCC" = yes; then
   7958 	case $host_os in aix4.[012]|aix4.[012].*)
   7959 	# We only want to do this on AIX 4.2 and lower, the check
   7960 	# below for broken collect2 doesn't work under 4.3+
   7961 	  collect2name=`${CC} -print-prog-name=collect2`
   7962 	  if test -f "$collect2name" && \
   7963   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7964 	  then
   7965   	  # We have reworked collect2
   7966   	  :
   7967 	  else
   7968   	  # We have old collect2
   7969   	  hardcode_direct=unsupported
   7970   	  # It fails to find uninstalled libraries when the uninstalled
   7971   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7972   	  # to unsupported forces relinking
   7973   	  hardcode_minus_L=yes
   7974   	  hardcode_libdir_flag_spec='-L$libdir'
   7975   	  hardcode_libdir_separator=
   7976 	  fi
   7977 	  ;;
   7978 	esac
   7979 	shared_flag='-shared'
   7980 	if test "$aix_use_runtimelinking" = yes; then
   7981 	  shared_flag="$shared_flag "'${wl}-G'
   7982 	fi
   7983       else
   7984 	# not using gcc
   7985 	if test "$host_cpu" = ia64; then
   7986   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7987   	# chokes on -Wl,-G. The following line is correct:
   7988 	  shared_flag='-G'
   7989 	else
   7990 	  if test "$aix_use_runtimelinking" = yes; then
   7991 	    shared_flag='${wl}-G'
   7992 	  else
   7993 	    shared_flag='${wl}-bM:SRE'
   7994 	  fi
   7995 	fi
   7996       fi
   7997 
   7998       # It seems that -bexpall does not export symbols beginning with
   7999       # underscore (_), so it is better to generate a list of symbols to export.
   8000       always_export_symbols=yes
   8001       if test "$aix_use_runtimelinking" = yes; then
   8002 	# Warning - without using the other runtime loading flags (-brtl),
   8003 	# -berok will link without error, but may produce a broken library.
   8004 	allow_undefined_flag='-berok'
   8005        # Determine the default libpath from the value encoded in an empty executable.
   8006        cat >conftest.$ac_ext <<_ACEOF
   8007 /* confdefs.h.  */
   8008 _ACEOF
   8009 cat confdefs.h >>conftest.$ac_ext
   8010 cat >>conftest.$ac_ext <<_ACEOF
   8011 /* end confdefs.h.  */
   8012 
   8013 int
   8014 main ()
   8015 {
   8016 
   8017   ;
   8018   return 0;
   8019 }
   8020 _ACEOF
   8021 rm -f conftest.$ac_objext conftest$ac_exeext
   8022 if { (ac_try="$ac_link"
   8023 case "(($ac_try" in
   8024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8025   *) ac_try_echo=$ac_try;;
   8026 esac
   8027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8028   (eval "$ac_link") 2>conftest.er1
   8029   ac_status=$?
   8030   grep -v '^ *+' conftest.er1 >conftest.err
   8031   rm -f conftest.er1
   8032   cat conftest.err >&5
   8033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8034   (exit $ac_status); } && {
   8035 	 test -z "$ac_c_werror_flag" ||
   8036 	 test ! -s conftest.err
   8037        } && test -s conftest$ac_exeext &&
   8038        $as_test_x conftest$ac_exeext; then
   8039 
   8040 lt_aix_libpath_sed='
   8041     /Import File Strings/,/^$/ {
   8042 	/^0/ {
   8043 	    s/^0  *\(.*\)$/\1/
   8044 	    p
   8045 	}
   8046     }'
   8047 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8048 # Check for a 64-bit object if we didn't find anything.
   8049 if test -z "$aix_libpath"; then
   8050   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8051 fi
   8052 else
   8053   echo "$as_me: failed program was:" >&5
   8054 sed 's/^/| /' conftest.$ac_ext >&5
   8055 
   8056 
   8057 fi
   8058 
   8059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8060       conftest$ac_exeext conftest.$ac_ext
   8061 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8062 
   8063        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8064 	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"
   8065        else
   8066 	if test "$host_cpu" = ia64; then
   8067 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8068 	  allow_undefined_flag="-z nodefs"
   8069 	  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"
   8070 	else
   8071 	 # Determine the default libpath from the value encoded in an empty executable.
   8072 	 cat >conftest.$ac_ext <<_ACEOF
   8073 /* confdefs.h.  */
   8074 _ACEOF
   8075 cat confdefs.h >>conftest.$ac_ext
   8076 cat >>conftest.$ac_ext <<_ACEOF
   8077 /* end confdefs.h.  */
   8078 
   8079 int
   8080 main ()
   8081 {
   8082 
   8083   ;
   8084   return 0;
   8085 }
   8086 _ACEOF
   8087 rm -f conftest.$ac_objext conftest$ac_exeext
   8088 if { (ac_try="$ac_link"
   8089 case "(($ac_try" in
   8090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8091   *) ac_try_echo=$ac_try;;
   8092 esac
   8093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8094   (eval "$ac_link") 2>conftest.er1
   8095   ac_status=$?
   8096   grep -v '^ *+' conftest.er1 >conftest.err
   8097   rm -f conftest.er1
   8098   cat conftest.err >&5
   8099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8100   (exit $ac_status); } && {
   8101 	 test -z "$ac_c_werror_flag" ||
   8102 	 test ! -s conftest.err
   8103        } && test -s conftest$ac_exeext &&
   8104        $as_test_x conftest$ac_exeext; then
   8105 
   8106 lt_aix_libpath_sed='
   8107     /Import File Strings/,/^$/ {
   8108 	/^0/ {
   8109 	    s/^0  *\(.*\)$/\1/
   8110 	    p
   8111 	}
   8112     }'
   8113 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8114 # Check for a 64-bit object if we didn't find anything.
   8115 if test -z "$aix_libpath"; then
   8116   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8117 fi
   8118 else
   8119   echo "$as_me: failed program was:" >&5
   8120 sed 's/^/| /' conftest.$ac_ext >&5
   8121 
   8122 
   8123 fi
   8124 
   8125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8126       conftest$ac_exeext conftest.$ac_ext
   8127 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8128 
   8129 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8130 	  # Warning - without using the other run time loading flags,
   8131 	  # -berok will link without error, but may produce a broken library.
   8132 	  no_undefined_flag=' ${wl}-bernotok'
   8133 	  allow_undefined_flag=' ${wl}-berok'
   8134 	  # Exported symbols can be pulled into shared objects from archives
   8135 	  whole_archive_flag_spec='$convenience'
   8136 	  archive_cmds_need_lc=yes
   8137 	  # This is similar to how AIX traditionally builds its shared libraries.
   8138 	  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'
   8139 	fi
   8140       fi
   8141       ;;
   8142 
   8143     amigaos*)
   8144       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)'
   8145       hardcode_libdir_flag_spec='-L$libdir'
   8146       hardcode_minus_L=yes
   8147       # see comment about different semantics on the GNU ld section
   8148       ld_shlibs=no
   8149       ;;
   8150 
   8151     bsdi[45]*)
   8152       export_dynamic_flag_spec=-rdynamic
   8153       ;;
   8154 
   8155     cygwin* | mingw* | pw32*)
   8156       # When not using gcc, we currently assume that we are using
   8157       # Microsoft Visual C++.
   8158       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8159       # no search path for DLLs.
   8160       hardcode_libdir_flag_spec=' '
   8161       allow_undefined_flag=unsupported
   8162       # Tell ltmain to make .lib files, not .a files.
   8163       libext=lib
   8164       # Tell ltmain to make .dll files, not .so files.
   8165       shrext_cmds=".dll"
   8166       # FIXME: Setting linknames here is a bad hack.
   8167       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8168       # The linker will automatically build a .lib file if we build a DLL.
   8169       old_archive_From_new_cmds='true'
   8170       # FIXME: Should let the user specify the lib program.
   8171       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8172       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8173       enable_shared_with_static_runtimes=yes
   8174       ;;
   8175 
   8176     darwin* | rhapsody*)
   8177       case $host_os in
   8178         rhapsody* | darwin1.[012])
   8179          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8180          ;;
   8181        *) # Darwin 1.3 on
   8182          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8183            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8184          else
   8185            case ${MACOSX_DEPLOYMENT_TARGET} in
   8186              10.[012])
   8187                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8188                ;;
   8189              10.*)
   8190                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8191                ;;
   8192            esac
   8193          fi
   8194          ;;
   8195       esac
   8196       archive_cmds_need_lc=no
   8197       hardcode_direct=no
   8198       hardcode_automatic=yes
   8199       hardcode_shlibpath_var=unsupported
   8200       whole_archive_flag_spec=''
   8201       link_all_deplibs=yes
   8202     if test "$GCC" = yes ; then
   8203     	output_verbose_link_cmd='echo'
   8204         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8205       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8206       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8207       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}'
   8208       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}'
   8209     else
   8210       case $cc_basename in
   8211         xlc*)
   8212          output_verbose_link_cmd='echo'
   8213          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8214          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8215           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8216          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}'
   8217           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}'
   8218           ;;
   8219        *)
   8220          ld_shlibs=no
   8221           ;;
   8222       esac
   8223     fi
   8224       ;;
   8225 
   8226     dgux*)
   8227       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8228       hardcode_libdir_flag_spec='-L$libdir'
   8229       hardcode_shlibpath_var=no
   8230       ;;
   8231 
   8232     freebsd1*)
   8233       ld_shlibs=no
   8234       ;;
   8235 
   8236     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8237     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8238     # does not break anything, and helps significantly (at the cost of a little
   8239     # extra space).
   8240     freebsd2.2*)
   8241       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8242       hardcode_libdir_flag_spec='-R$libdir'
   8243       hardcode_direct=yes
   8244       hardcode_shlibpath_var=no
   8245       ;;
   8246 
   8247     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8248     freebsd2*)
   8249       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8250       hardcode_direct=yes
   8251       hardcode_minus_L=yes
   8252       hardcode_shlibpath_var=no
   8253       ;;
   8254 
   8255     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8256     freebsd* | dragonfly*)
   8257       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8258       hardcode_libdir_flag_spec='-R$libdir'
   8259       hardcode_direct=yes
   8260       hardcode_shlibpath_var=no
   8261       ;;
   8262 
   8263     hpux9*)
   8264       if test "$GCC" = yes; then
   8265 	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'
   8266       else
   8267 	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'
   8268       fi
   8269       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8270       hardcode_libdir_separator=:
   8271       hardcode_direct=yes
   8272 
   8273       # hardcode_minus_L: Not really in the search PATH,
   8274       # but as the default location of the library.
   8275       hardcode_minus_L=yes
   8276       export_dynamic_flag_spec='${wl}-E'
   8277       ;;
   8278 
   8279     hpux10*)
   8280       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8281 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8282       else
   8283 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8284       fi
   8285       if test "$with_gnu_ld" = no; then
   8286 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8287 	hardcode_libdir_separator=:
   8288 
   8289 	hardcode_direct=yes
   8290 	export_dynamic_flag_spec='${wl}-E'
   8291 
   8292 	# hardcode_minus_L: Not really in the search PATH,
   8293 	# but as the default location of the library.
   8294 	hardcode_minus_L=yes
   8295       fi
   8296       ;;
   8297 
   8298     hpux11*)
   8299       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8300 	case $host_cpu in
   8301 	hppa*64*)
   8302 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8303 	  ;;
   8304 	ia64*)
   8305 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8306 	  ;;
   8307 	*)
   8308 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8309 	  ;;
   8310 	esac
   8311       else
   8312 	case $host_cpu in
   8313 	hppa*64*)
   8314 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8315 	  ;;
   8316 	ia64*)
   8317 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8318 	  ;;
   8319 	*)
   8320 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8321 	  ;;
   8322 	esac
   8323       fi
   8324       if test "$with_gnu_ld" = no; then
   8325 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8326 	hardcode_libdir_separator=:
   8327 
   8328 	case $host_cpu in
   8329 	hppa*64*|ia64*)
   8330 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8331 	  hardcode_direct=no
   8332 	  hardcode_shlibpath_var=no
   8333 	  ;;
   8334 	*)
   8335 	  hardcode_direct=yes
   8336 	  export_dynamic_flag_spec='${wl}-E'
   8337 
   8338 	  # hardcode_minus_L: Not really in the search PATH,
   8339 	  # but as the default location of the library.
   8340 	  hardcode_minus_L=yes
   8341 	  ;;
   8342 	esac
   8343       fi
   8344       ;;
   8345 
   8346     irix5* | irix6* | nonstopux*)
   8347       if test "$GCC" = yes; then
   8348 	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'
   8349       else
   8350 	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'
   8351 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8352       fi
   8353       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8354       hardcode_libdir_separator=:
   8355       link_all_deplibs=yes
   8356       ;;
   8357 
   8358     netbsd*)
   8359       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8360 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8361       else
   8362 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8363       fi
   8364       hardcode_libdir_flag_spec='-R$libdir'
   8365       hardcode_direct=yes
   8366       hardcode_shlibpath_var=no
   8367       ;;
   8368 
   8369     newsos6)
   8370       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8371       hardcode_direct=yes
   8372       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8373       hardcode_libdir_separator=:
   8374       hardcode_shlibpath_var=no
   8375       ;;
   8376 
   8377     openbsd*)
   8378       if test -f /usr/libexec/ld.so; then
   8379 	hardcode_direct=yes
   8380 	hardcode_shlibpath_var=no
   8381 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8382 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8383 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8384 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8385 	  export_dynamic_flag_spec='${wl}-E'
   8386 	else
   8387 	  case $host_os in
   8388 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8389 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8390 	     hardcode_libdir_flag_spec='-R$libdir'
   8391 	     ;;
   8392 	   *)
   8393 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8394 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8395 	     ;;
   8396 	  esac
   8397         fi
   8398       else
   8399 	ld_shlibs=no
   8400       fi
   8401       ;;
   8402 
   8403     os2*)
   8404       hardcode_libdir_flag_spec='-L$libdir'
   8405       hardcode_minus_L=yes
   8406       allow_undefined_flag=unsupported
   8407       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'
   8408       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8409       ;;
   8410 
   8411     osf3*)
   8412       if test "$GCC" = yes; then
   8413 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8414 	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'
   8415       else
   8416 	allow_undefined_flag=' -expect_unresolved \*'
   8417 	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'
   8418       fi
   8419       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8420       hardcode_libdir_separator=:
   8421       ;;
   8422 
   8423     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8424       if test "$GCC" = yes; then
   8425 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8426 	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'
   8427 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8428       else
   8429 	allow_undefined_flag=' -expect_unresolved \*'
   8430 	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'
   8431 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8432 	$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'
   8433 
   8434 	# Both c and cxx compiler support -rpath directly
   8435 	hardcode_libdir_flag_spec='-rpath $libdir'
   8436       fi
   8437       hardcode_libdir_separator=:
   8438       ;;
   8439 
   8440     solaris*)
   8441       no_undefined_flag=' -z text'
   8442       if test "$GCC" = yes; then
   8443 	wlarc='${wl}'
   8444 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8445 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8446 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8447       else
   8448 	wlarc=''
   8449 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8450 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8451   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8452       fi
   8453       hardcode_libdir_flag_spec='-R$libdir'
   8454       hardcode_shlibpath_var=no
   8455       case $host_os in
   8456       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8457       *)
   8458 	# The compiler driver will combine and reorder linker options,
   8459 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8460 	# but is careful enough not to reorder.
   8461  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8462 	if test "$GCC" = yes; then
   8463 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8464 	else
   8465 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8466 	fi
   8467 	;;
   8468       esac
   8469       link_all_deplibs=yes
   8470       ;;
   8471 
   8472     sunos4*)
   8473       if test "x$host_vendor" = xsequent; then
   8474 	# Use $CC to link under sequent, because it throws in some extra .o
   8475 	# files that make .init and .fini sections work.
   8476 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8477       else
   8478 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8479       fi
   8480       hardcode_libdir_flag_spec='-L$libdir'
   8481       hardcode_direct=yes
   8482       hardcode_minus_L=yes
   8483       hardcode_shlibpath_var=no
   8484       ;;
   8485 
   8486     sysv4)
   8487       case $host_vendor in
   8488 	sni)
   8489 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8490 	  hardcode_direct=yes # is this really true???
   8491 	;;
   8492 	siemens)
   8493 	  ## LD is ld it makes a PLAMLIB
   8494 	  ## CC just makes a GrossModule.
   8495 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8496 	  reload_cmds='$CC -r -o $output$reload_objs'
   8497 	  hardcode_direct=no
   8498         ;;
   8499 	motorola)
   8500 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8501 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8502 	;;
   8503       esac
   8504       runpath_var='LD_RUN_PATH'
   8505       hardcode_shlibpath_var=no
   8506       ;;
   8507 
   8508     sysv4.3*)
   8509       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8510       hardcode_shlibpath_var=no
   8511       export_dynamic_flag_spec='-Bexport'
   8512       ;;
   8513 
   8514     sysv4*MP*)
   8515       if test -d /usr/nec; then
   8516 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8517 	hardcode_shlibpath_var=no
   8518 	runpath_var=LD_RUN_PATH
   8519 	hardcode_runpath_var=yes
   8520 	ld_shlibs=yes
   8521       fi
   8522       ;;
   8523 
   8524     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8525       no_undefined_flag='${wl}-z,text'
   8526       archive_cmds_need_lc=no
   8527       hardcode_shlibpath_var=no
   8528       runpath_var='LD_RUN_PATH'
   8529 
   8530       if test "$GCC" = yes; then
   8531 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8532 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8533       else
   8534 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8535 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8536       fi
   8537       ;;
   8538 
   8539     sysv5* | sco3.2v5* | sco5v6*)
   8540       # Note: We can NOT use -z defs as we might desire, because we do not
   8541       # link with -lc, and that would cause any symbols used from libc to
   8542       # always be unresolved, which means just about no library would
   8543       # ever link correctly.  If we're not using GNU ld we use -z text
   8544       # though, which does catch some bad symbols but isn't as heavy-handed
   8545       # as -z defs.
   8546       no_undefined_flag='${wl}-z,text'
   8547       allow_undefined_flag='${wl}-z,nodefs'
   8548       archive_cmds_need_lc=no
   8549       hardcode_shlibpath_var=no
   8550       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8551       hardcode_libdir_separator=':'
   8552       link_all_deplibs=yes
   8553       export_dynamic_flag_spec='${wl}-Bexport'
   8554       runpath_var='LD_RUN_PATH'
   8555 
   8556       if test "$GCC" = yes; then
   8557 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8558 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8559       else
   8560 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8561 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8562       fi
   8563       ;;
   8564 
   8565     uts4*)
   8566       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8567       hardcode_libdir_flag_spec='-L$libdir'
   8568       hardcode_shlibpath_var=no
   8569       ;;
   8570 
   8571     *)
   8572       ld_shlibs=no
   8573       ;;
   8574     esac
   8575   fi
   8576 
   8577 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8578 echo "${ECHO_T}$ld_shlibs" >&6; }
   8579 test "$ld_shlibs" = no && can_build_shared=no
   8580 
   8581 #
   8582 # Do we need to explicitly link libc?
   8583 #
   8584 case "x$archive_cmds_need_lc" in
   8585 x|xyes)
   8586   # Assume -lc should be added
   8587   archive_cmds_need_lc=yes
   8588 
   8589   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8590     case $archive_cmds in
   8591     *'~'*)
   8592       # FIXME: we may have to deal with multi-command sequences.
   8593       ;;
   8594     '$CC '*)
   8595       # Test whether the compiler implicitly links with -lc since on some
   8596       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8597       # to ld, don't add -lc before -lgcc.
   8598       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8599 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8600       $rm conftest*
   8601       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8602 
   8603       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8604   (eval $ac_compile) 2>&5
   8605   ac_status=$?
   8606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8607   (exit $ac_status); } 2>conftest.err; then
   8608         soname=conftest
   8609         lib=conftest
   8610         libobjs=conftest.$ac_objext
   8611         deplibs=
   8612         wl=$lt_prog_compiler_wl
   8613 	pic_flag=$lt_prog_compiler_pic
   8614         compiler_flags=-v
   8615         linker_flags=-v
   8616         verstring=
   8617         output_objdir=.
   8618         libname=conftest
   8619         lt_save_allow_undefined_flag=$allow_undefined_flag
   8620         allow_undefined_flag=
   8621         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8622   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8623   ac_status=$?
   8624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8625   (exit $ac_status); }
   8626         then
   8627 	  archive_cmds_need_lc=no
   8628         else
   8629 	  archive_cmds_need_lc=yes
   8630         fi
   8631         allow_undefined_flag=$lt_save_allow_undefined_flag
   8632       else
   8633         cat conftest.err 1>&5
   8634       fi
   8635       $rm conftest*
   8636       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8637 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8638       ;;
   8639     esac
   8640   fi
   8641   ;;
   8642 esac
   8643 
   8644 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8645 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8646 library_names_spec=
   8647 libname_spec='lib$name'
   8648 soname_spec=
   8649 shrext_cmds=".so"
   8650 postinstall_cmds=
   8651 postuninstall_cmds=
   8652 finish_cmds=
   8653 finish_eval=
   8654 shlibpath_var=
   8655 shlibpath_overrides_runpath=unknown
   8656 version_type=none
   8657 dynamic_linker="$host_os ld.so"
   8658 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8659 
   8660 if test "$GCC" = yes; then
   8661   case $host_os in
   8662     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   8663     *) lt_awk_arg="/^libraries:/" ;;
   8664   esac
   8665   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8666   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   8667     # if the path contains ";" then we assume it to be the separator
   8668     # otherwise default to the standard path separator (i.e. ":") - it is
   8669     # assumed that no part of a normal pathname contains ";" but that should
   8670     # okay in the real world where ";" in dirpaths is itself problematic.
   8671     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   8672   else
   8673     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8674   fi
   8675   # Ok, now we have the path, separated by spaces, we can step through it
   8676   # and add multilib dir if necessary.
   8677   lt_tmp_lt_search_path_spec=
   8678   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   8679   for lt_sys_path in $lt_search_path_spec; do
   8680     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   8681       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   8682     else
   8683       test -d "$lt_sys_path" && \
   8684 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   8685     fi
   8686   done
   8687   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   8688 BEGIN {RS=" "; FS="/|\n";} {
   8689   lt_foo="";
   8690   lt_count=0;
   8691   for (lt_i = NF; lt_i > 0; lt_i--) {
   8692     if ($lt_i != "" && $lt_i != ".") {
   8693       if ($lt_i == "..") {
   8694         lt_count++;
   8695       } else {
   8696         if (lt_count == 0) {
   8697           lt_foo="/" $lt_i lt_foo;
   8698         } else {
   8699           lt_count--;
   8700         }
   8701       }
   8702     }
   8703   }
   8704   if (lt_foo != "") { lt_freq[lt_foo]++; }
   8705   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   8706 }'`
   8707   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   8708 else
   8709   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8710 fi
   8711 need_lib_prefix=unknown
   8712 hardcode_into_libs=no
   8713 
   8714 # when you set need_version to no, make sure it does not cause -set_version
   8715 # flags to be left without arguments
   8716 need_version=unknown
   8717 
   8718 case $host_os in
   8719 aix3*)
   8720   version_type=linux
   8721   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8722   shlibpath_var=LIBPATH
   8723 
   8724   # AIX 3 has no versioning support, so we append a major version to the name.
   8725   soname_spec='${libname}${release}${shared_ext}$major'
   8726   ;;
   8727 
   8728 aix4* | aix5*)
   8729   version_type=linux
   8730   need_lib_prefix=no
   8731   need_version=no
   8732   hardcode_into_libs=yes
   8733   if test "$host_cpu" = ia64; then
   8734     # AIX 5 supports IA64
   8735     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8736     shlibpath_var=LD_LIBRARY_PATH
   8737   else
   8738     # With GCC up to 2.95.x, collect2 would create an import file
   8739     # for dependence libraries.  The import file would start with
   8740     # the line `#! .'.  This would cause the generated library to
   8741     # depend on `.', always an invalid library.  This was fixed in
   8742     # development snapshots of GCC prior to 3.0.
   8743     case $host_os in
   8744       aix4 | aix4.[01] | aix4.[01].*)
   8745       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8746 	   echo ' yes '
   8747 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8748 	:
   8749       else
   8750 	can_build_shared=no
   8751       fi
   8752       ;;
   8753     esac
   8754     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8755     # soname into executable. Probably we can add versioning support to
   8756     # collect2, so additional links can be useful in future.
   8757     if test "$aix_use_runtimelinking" = yes; then
   8758       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8759       # instead of lib<name>.a to let people know that these are not
   8760       # typical AIX shared libraries.
   8761       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8762     else
   8763       # We preserve .a as extension for shared libraries through AIX4.2
   8764       # and later when we are not doing run time linking.
   8765       library_names_spec='${libname}${release}.a $libname.a'
   8766       soname_spec='${libname}${release}${shared_ext}$major'
   8767     fi
   8768     shlibpath_var=LIBPATH
   8769   fi
   8770   ;;
   8771 
   8772 amigaos*)
   8773   library_names_spec='$libname.ixlibrary $libname.a'
   8774   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8775   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'
   8776   ;;
   8777 
   8778 beos*)
   8779   library_names_spec='${libname}${shared_ext}'
   8780   dynamic_linker="$host_os ld.so"
   8781   shlibpath_var=LIBRARY_PATH
   8782   ;;
   8783 
   8784 bsdi[45]*)
   8785   version_type=linux
   8786   need_version=no
   8787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8788   soname_spec='${libname}${release}${shared_ext}$major'
   8789   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8790   shlibpath_var=LD_LIBRARY_PATH
   8791   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8792   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8793   # the default ld.so.conf also contains /usr/contrib/lib and
   8794   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8795   # libtool to hard-code these into programs
   8796   ;;
   8797 
   8798 cygwin* | mingw* | pw32*)
   8799   version_type=windows
   8800   shrext_cmds=".dll"
   8801   need_version=no
   8802   need_lib_prefix=no
   8803 
   8804   case $GCC,$host_os in
   8805   yes,cygwin* | yes,mingw* | yes,pw32*)
   8806     library_names_spec='$libname.dll.a'
   8807     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8808     postinstall_cmds='base_file=`basename \${file}`~
   8809       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8810       dldir=$destdir/`dirname \$dlpath`~
   8811       test -d \$dldir || mkdir -p \$dldir~
   8812       $install_prog $dir/$dlname \$dldir/$dlname~
   8813       chmod a+x \$dldir/$dlname'
   8814     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8815       dlpath=$dir/\$dldll~
   8816        $rm \$dlpath'
   8817     shlibpath_overrides_runpath=yes
   8818 
   8819     case $host_os in
   8820     cygwin*)
   8821       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8822       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8823       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8824       ;;
   8825     mingw*)
   8826       # MinGW DLLs use traditional 'lib' prefix
   8827       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8828       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8829       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8830         # It is most probably a Windows format PATH printed by
   8831         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8832         # path with ; separators, and with drive letters. We can handle the
   8833         # drive letters (cygwin fileutils understands them), so leave them,
   8834         # especially as we might pass files found there to a mingw objdump,
   8835         # which wouldn't understand a cygwinified path. Ahh.
   8836         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8837       else
   8838         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8839       fi
   8840       ;;
   8841     pw32*)
   8842       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8843       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8844       ;;
   8845     esac
   8846     ;;
   8847 
   8848   *)
   8849     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8850     ;;
   8851   esac
   8852   dynamic_linker='Win32 ld.exe'
   8853   # FIXME: first we should search . and the directory the executable is in
   8854   shlibpath_var=PATH
   8855   ;;
   8856 
   8857 darwin* | rhapsody*)
   8858   dynamic_linker="$host_os dyld"
   8859   version_type=darwin
   8860   need_lib_prefix=no
   8861   need_version=no
   8862   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8863   soname_spec='${libname}${release}${major}$shared_ext'
   8864   shlibpath_overrides_runpath=yes
   8865   shlibpath_var=DYLD_LIBRARY_PATH
   8866   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8867 
   8868   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   8869   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8870   ;;
   8871 
   8872 dgux*)
   8873   version_type=linux
   8874   need_lib_prefix=no
   8875   need_version=no
   8876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8877   soname_spec='${libname}${release}${shared_ext}$major'
   8878   shlibpath_var=LD_LIBRARY_PATH
   8879   ;;
   8880 
   8881 freebsd1*)
   8882   dynamic_linker=no
   8883   ;;
   8884 
   8885 freebsd* | dragonfly*)
   8886   # DragonFly does not have aout.  When/if they implement a new
   8887   # versioning mechanism, adjust this.
   8888   if test -x /usr/bin/objformat; then
   8889     objformat=`/usr/bin/objformat`
   8890   else
   8891     case $host_os in
   8892     freebsd[123]*) objformat=aout ;;
   8893     *) objformat=elf ;;
   8894     esac
   8895   fi
   8896   version_type=freebsd-$objformat
   8897   case $version_type in
   8898     freebsd-elf*)
   8899       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8900       need_version=no
   8901       need_lib_prefix=no
   8902       ;;
   8903     freebsd-*)
   8904       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8905       need_version=yes
   8906       ;;
   8907   esac
   8908   shlibpath_var=LD_LIBRARY_PATH
   8909   case $host_os in
   8910   freebsd2*)
   8911     shlibpath_overrides_runpath=yes
   8912     ;;
   8913   freebsd3.[01]* | freebsdelf3.[01]*)
   8914     shlibpath_overrides_runpath=yes
   8915     hardcode_into_libs=yes
   8916     ;;
   8917   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8918   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8919     shlibpath_overrides_runpath=no
   8920     hardcode_into_libs=yes
   8921     ;;
   8922   *) # from 4.6 on, and DragonFly
   8923     shlibpath_overrides_runpath=yes
   8924     hardcode_into_libs=yes
   8925     ;;
   8926   esac
   8927   ;;
   8928 
   8929 gnu*)
   8930   version_type=linux
   8931   need_lib_prefix=no
   8932   need_version=no
   8933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8934   soname_spec='${libname}${release}${shared_ext}$major'
   8935   shlibpath_var=LD_LIBRARY_PATH
   8936   hardcode_into_libs=yes
   8937   ;;
   8938 
   8939 hpux9* | hpux10* | hpux11*)
   8940   # Give a soname corresponding to the major version so that dld.sl refuses to
   8941   # link against other versions.
   8942   version_type=sunos
   8943   need_lib_prefix=no
   8944   need_version=no
   8945   case $host_cpu in
   8946   ia64*)
   8947     shrext_cmds='.so'
   8948     hardcode_into_libs=yes
   8949     dynamic_linker="$host_os dld.so"
   8950     shlibpath_var=LD_LIBRARY_PATH
   8951     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8952     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8953     soname_spec='${libname}${release}${shared_ext}$major'
   8954     if test "X$HPUX_IA64_MODE" = X32; then
   8955       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8956     else
   8957       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8958     fi
   8959     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8960     ;;
   8961    hppa*64*)
   8962      shrext_cmds='.sl'
   8963      hardcode_into_libs=yes
   8964      dynamic_linker="$host_os dld.sl"
   8965      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8966      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8967      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8968      soname_spec='${libname}${release}${shared_ext}$major'
   8969      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8970      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8971      ;;
   8972    *)
   8973     shrext_cmds='.sl'
   8974     dynamic_linker="$host_os dld.sl"
   8975     shlibpath_var=SHLIB_PATH
   8976     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8977     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8978     soname_spec='${libname}${release}${shared_ext}$major'
   8979     ;;
   8980   esac
   8981   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8982   postinstall_cmds='chmod 555 $lib'
   8983   ;;
   8984 
   8985 interix[3-9]*)
   8986   version_type=linux
   8987   need_lib_prefix=no
   8988   need_version=no
   8989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8990   soname_spec='${libname}${release}${shared_ext}$major'
   8991   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8992   shlibpath_var=LD_LIBRARY_PATH
   8993   shlibpath_overrides_runpath=no
   8994   hardcode_into_libs=yes
   8995   ;;
   8996 
   8997 irix5* | irix6* | nonstopux*)
   8998   case $host_os in
   8999     nonstopux*) version_type=nonstopux ;;
   9000     *)
   9001 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9002 		version_type=linux
   9003 	else
   9004 		version_type=irix
   9005 	fi ;;
   9006   esac
   9007   need_lib_prefix=no
   9008   need_version=no
   9009   soname_spec='${libname}${release}${shared_ext}$major'
   9010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9011   case $host_os in
   9012   irix5* | nonstopux*)
   9013     libsuff= shlibsuff=
   9014     ;;
   9015   *)
   9016     case $LD in # libtool.m4 will add one of these switches to LD
   9017     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9018       libsuff= shlibsuff= libmagic=32-bit;;
   9019     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9020       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9021     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9022       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9023     *) libsuff= shlibsuff= libmagic=never-match;;
   9024     esac
   9025     ;;
   9026   esac
   9027   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9028   shlibpath_overrides_runpath=no
   9029   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9030   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9031   hardcode_into_libs=yes
   9032   ;;
   9033 
   9034 # No shared lib support for Linux oldld, aout, or coff.
   9035 linux*oldld* | linux*aout* | linux*coff*)
   9036   dynamic_linker=no
   9037   ;;
   9038 
   9039 # This must be Linux ELF.
   9040 linux* | k*bsd*-gnu)
   9041   version_type=linux
   9042   need_lib_prefix=no
   9043   need_version=no
   9044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9045   soname_spec='${libname}${release}${shared_ext}$major'
   9046   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9047   shlibpath_var=LD_LIBRARY_PATH
   9048   shlibpath_overrides_runpath=no
   9049   # This implies no fast_install, which is unacceptable.
   9050   # Some rework will be needed to allow for fast_install
   9051   # before this can be enabled.
   9052   hardcode_into_libs=yes
   9053   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9054   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9055 
   9056   # Append ld.so.conf contents to the search path
   9057   if test -f /etc/ld.so.conf; then
   9058     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' ' '`
   9059     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9060   fi
   9061 
   9062   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9063   # powerpc, because MkLinux only supported shared libraries with the
   9064   # GNU dynamic linker.  Since this was broken with cross compilers,
   9065   # most powerpc-linux boxes support dynamic linking these days and
   9066   # people can always --disable-shared, the test was removed, and we
   9067   # assume the GNU/Linux dynamic linker is in use.
   9068   dynamic_linker='GNU/Linux ld.so'
   9069   ;;
   9070 
   9071 netbsd*)
   9072   version_type=sunos
   9073   need_lib_prefix=no
   9074   need_version=no
   9075   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9076     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9077     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9078     dynamic_linker='NetBSD (a.out) ld.so'
   9079   else
   9080     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9081     soname_spec='${libname}${release}${shared_ext}$major'
   9082     dynamic_linker='NetBSD ld.elf_so'
   9083   fi
   9084   shlibpath_var=LD_LIBRARY_PATH
   9085   shlibpath_overrides_runpath=yes
   9086   hardcode_into_libs=yes
   9087   ;;
   9088 
   9089 newsos6)
   9090   version_type=linux
   9091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9092   shlibpath_var=LD_LIBRARY_PATH
   9093   shlibpath_overrides_runpath=yes
   9094   ;;
   9095 
   9096 nto-qnx*)
   9097   version_type=linux
   9098   need_lib_prefix=no
   9099   need_version=no
   9100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9101   soname_spec='${libname}${release}${shared_ext}$major'
   9102   shlibpath_var=LD_LIBRARY_PATH
   9103   shlibpath_overrides_runpath=yes
   9104   ;;
   9105 
   9106 openbsd*)
   9107   version_type=sunos
   9108   sys_lib_dlsearch_path_spec="/usr/lib"
   9109   need_lib_prefix=no
   9110   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9111   case $host_os in
   9112     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9113     *)                         need_version=no  ;;
   9114   esac
   9115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9116   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9117   shlibpath_var=LD_LIBRARY_PATH
   9118   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9119     case $host_os in
   9120       openbsd2.[89] | openbsd2.[89].*)
   9121 	shlibpath_overrides_runpath=no
   9122 	;;
   9123       *)
   9124 	shlibpath_overrides_runpath=yes
   9125 	;;
   9126       esac
   9127   else
   9128     shlibpath_overrides_runpath=yes
   9129   fi
   9130   ;;
   9131 
   9132 os2*)
   9133   libname_spec='$name'
   9134   shrext_cmds=".dll"
   9135   need_lib_prefix=no
   9136   library_names_spec='$libname${shared_ext} $libname.a'
   9137   dynamic_linker='OS/2 ld.exe'
   9138   shlibpath_var=LIBPATH
   9139   ;;
   9140 
   9141 osf3* | osf4* | osf5*)
   9142   version_type=osf
   9143   need_lib_prefix=no
   9144   need_version=no
   9145   soname_spec='${libname}${release}${shared_ext}$major'
   9146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9147   shlibpath_var=LD_LIBRARY_PATH
   9148   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9149   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9150   ;;
   9151 
   9152 rdos*)
   9153   dynamic_linker=no
   9154   ;;
   9155 
   9156 solaris*)
   9157   version_type=linux
   9158   need_lib_prefix=no
   9159   need_version=no
   9160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9161   soname_spec='${libname}${release}${shared_ext}$major'
   9162   shlibpath_var=LD_LIBRARY_PATH
   9163   shlibpath_overrides_runpath=yes
   9164   hardcode_into_libs=yes
   9165   # ldd complains unless libraries are executable
   9166   postinstall_cmds='chmod +x $lib'
   9167   ;;
   9168 
   9169 sunos4*)
   9170   version_type=sunos
   9171   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9172   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9173   shlibpath_var=LD_LIBRARY_PATH
   9174   shlibpath_overrides_runpath=yes
   9175   if test "$with_gnu_ld" = yes; then
   9176     need_lib_prefix=no
   9177   fi
   9178   need_version=yes
   9179   ;;
   9180 
   9181 sysv4 | sysv4.3*)
   9182   version_type=linux
   9183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9184   soname_spec='${libname}${release}${shared_ext}$major'
   9185   shlibpath_var=LD_LIBRARY_PATH
   9186   case $host_vendor in
   9187     sni)
   9188       shlibpath_overrides_runpath=no
   9189       need_lib_prefix=no
   9190       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9191       runpath_var=LD_RUN_PATH
   9192       ;;
   9193     siemens)
   9194       need_lib_prefix=no
   9195       ;;
   9196     motorola)
   9197       need_lib_prefix=no
   9198       need_version=no
   9199       shlibpath_overrides_runpath=no
   9200       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9201       ;;
   9202   esac
   9203   ;;
   9204 
   9205 sysv4*MP*)
   9206   if test -d /usr/nec ;then
   9207     version_type=linux
   9208     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9209     soname_spec='$libname${shared_ext}.$major'
   9210     shlibpath_var=LD_LIBRARY_PATH
   9211   fi
   9212   ;;
   9213 
   9214 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9215   version_type=freebsd-elf
   9216   need_lib_prefix=no
   9217   need_version=no
   9218   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9219   soname_spec='${libname}${release}${shared_ext}$major'
   9220   shlibpath_var=LD_LIBRARY_PATH
   9221   hardcode_into_libs=yes
   9222   if test "$with_gnu_ld" = yes; then
   9223     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9224     shlibpath_overrides_runpath=no
   9225   else
   9226     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9227     shlibpath_overrides_runpath=yes
   9228     case $host_os in
   9229       sco3.2v5*)
   9230         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9231 	;;
   9232     esac
   9233   fi
   9234   sys_lib_dlsearch_path_spec='/usr/lib'
   9235   ;;
   9236 
   9237 uts4*)
   9238   version_type=linux
   9239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9240   soname_spec='${libname}${release}${shared_ext}$major'
   9241   shlibpath_var=LD_LIBRARY_PATH
   9242   ;;
   9243 
   9244 *)
   9245   dynamic_linker=no
   9246   ;;
   9247 esac
   9248 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9249 echo "${ECHO_T}$dynamic_linker" >&6; }
   9250 test "$dynamic_linker" = no && can_build_shared=no
   9251 
   9252 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9253 if test "$GCC" = yes; then
   9254   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9255 fi
   9256 
   9257 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9258 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9259 hardcode_action=
   9260 if test -n "$hardcode_libdir_flag_spec" || \
   9261    test -n "$runpath_var" || \
   9262    test "X$hardcode_automatic" = "Xyes" ; then
   9263 
   9264   # We can hardcode non-existant directories.
   9265   if test "$hardcode_direct" != no &&
   9266      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9267      # have to relink, otherwise we might link with an installed library
   9268      # when we should be linking with a yet-to-be-installed one
   9269      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9270      test "$hardcode_minus_L" != no; then
   9271     # Linking always hardcodes the temporary library directory.
   9272     hardcode_action=relink
   9273   else
   9274     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9275     hardcode_action=immediate
   9276   fi
   9277 else
   9278   # We cannot hardcode anything, or else we can only hardcode existing
   9279   # directories.
   9280   hardcode_action=unsupported
   9281 fi
   9282 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9283 echo "${ECHO_T}$hardcode_action" >&6; }
   9284 
   9285 if test "$hardcode_action" = relink; then
   9286   # Fast installation is not supported
   9287   enable_fast_install=no
   9288 elif test "$shlibpath_overrides_runpath" = yes ||
   9289      test "$enable_shared" = no; then
   9290   # Fast installation is not necessary
   9291   enable_fast_install=needless
   9292 fi
   9293 
   9294 striplib=
   9295 old_striplib=
   9296 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9297 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9298 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9299   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9300   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9301   { echo "$as_me:$LINENO: result: yes" >&5
   9302 echo "${ECHO_T}yes" >&6; }
   9303 else
   9304 # FIXME - insert some real tests, host_os isn't really good enough
   9305   case $host_os in
   9306    darwin*)
   9307        if test -n "$STRIP" ; then
   9308          striplib="$STRIP -x"
   9309          old_striplib="$STRIP -S"
   9310          { echo "$as_me:$LINENO: result: yes" >&5
   9311 echo "${ECHO_T}yes" >&6; }
   9312        else
   9313   { echo "$as_me:$LINENO: result: no" >&5
   9314 echo "${ECHO_T}no" >&6; }
   9315 fi
   9316        ;;
   9317    *)
   9318   { echo "$as_me:$LINENO: result: no" >&5
   9319 echo "${ECHO_T}no" >&6; }
   9320     ;;
   9321   esac
   9322 fi
   9323 
   9324 if test "x$enable_dlopen" != xyes; then
   9325   enable_dlopen=unknown
   9326   enable_dlopen_self=unknown
   9327   enable_dlopen_self_static=unknown
   9328 else
   9329   lt_cv_dlopen=no
   9330   lt_cv_dlopen_libs=
   9331 
   9332   case $host_os in
   9333   beos*)
   9334     lt_cv_dlopen="load_add_on"
   9335     lt_cv_dlopen_libs=
   9336     lt_cv_dlopen_self=yes
   9337     ;;
   9338 
   9339   mingw* | pw32*)
   9340     lt_cv_dlopen="LoadLibrary"
   9341     lt_cv_dlopen_libs=
   9342    ;;
   9343 
   9344   cygwin*)
   9345     lt_cv_dlopen="dlopen"
   9346     lt_cv_dlopen_libs=
   9347    ;;
   9348 
   9349   darwin*)
   9350   # if libdl is installed we need to link against it
   9351     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9354   echo $ECHO_N "(cached) $ECHO_C" >&6
   9355 else
   9356   ac_check_lib_save_LIBS=$LIBS
   9357 LIBS="-ldl  $LIBS"
   9358 cat >conftest.$ac_ext <<_ACEOF
   9359 /* confdefs.h.  */
   9360 _ACEOF
   9361 cat confdefs.h >>conftest.$ac_ext
   9362 cat >>conftest.$ac_ext <<_ACEOF
   9363 /* end confdefs.h.  */
   9364 
   9365 /* Override any GCC internal prototype to avoid an error.
   9366    Use char because int might match the return type of a GCC
   9367    builtin and then its argument prototype would still apply.  */
   9368 #ifdef __cplusplus
   9369 extern "C"
   9370 #endif
   9371 char dlopen ();
   9372 int
   9373 main ()
   9374 {
   9375 return dlopen ();
   9376   ;
   9377   return 0;
   9378 }
   9379 _ACEOF
   9380 rm -f conftest.$ac_objext conftest$ac_exeext
   9381 if { (ac_try="$ac_link"
   9382 case "(($ac_try" in
   9383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9384   *) ac_try_echo=$ac_try;;
   9385 esac
   9386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9387   (eval "$ac_link") 2>conftest.er1
   9388   ac_status=$?
   9389   grep -v '^ *+' conftest.er1 >conftest.err
   9390   rm -f conftest.er1
   9391   cat conftest.err >&5
   9392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9393   (exit $ac_status); } && {
   9394 	 test -z "$ac_c_werror_flag" ||
   9395 	 test ! -s conftest.err
   9396        } && test -s conftest$ac_exeext &&
   9397        $as_test_x conftest$ac_exeext; then
   9398   ac_cv_lib_dl_dlopen=yes
   9399 else
   9400   echo "$as_me: failed program was:" >&5
   9401 sed 's/^/| /' conftest.$ac_ext >&5
   9402 
   9403 	ac_cv_lib_dl_dlopen=no
   9404 fi
   9405 
   9406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9407       conftest$ac_exeext conftest.$ac_ext
   9408 LIBS=$ac_check_lib_save_LIBS
   9409 fi
   9410 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9411 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9412 if test $ac_cv_lib_dl_dlopen = yes; then
   9413   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9414 else
   9415 
   9416     lt_cv_dlopen="dyld"
   9417     lt_cv_dlopen_libs=
   9418     lt_cv_dlopen_self=yes
   9419 
   9420 fi
   9421 
   9422    ;;
   9423 
   9424   *)
   9425     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9426 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9427 if test "${ac_cv_func_shl_load+set}" = set; then
   9428   echo $ECHO_N "(cached) $ECHO_C" >&6
   9429 else
   9430   cat >conftest.$ac_ext <<_ACEOF
   9431 /* confdefs.h.  */
   9432 _ACEOF
   9433 cat confdefs.h >>conftest.$ac_ext
   9434 cat >>conftest.$ac_ext <<_ACEOF
   9435 /* end confdefs.h.  */
   9436 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9438 #define shl_load innocuous_shl_load
   9439 
   9440 /* System header to define __stub macros and hopefully few prototypes,
   9441     which can conflict with char shl_load (); below.
   9442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9443     <limits.h> exists even on freestanding compilers.  */
   9444 
   9445 #ifdef __STDC__
   9446 # include <limits.h>
   9447 #else
   9448 # include <assert.h>
   9449 #endif
   9450 
   9451 #undef shl_load
   9452 
   9453 /* Override any GCC internal prototype to avoid an error.
   9454    Use char because int might match the return type of a GCC
   9455    builtin and then its argument prototype would still apply.  */
   9456 #ifdef __cplusplus
   9457 extern "C"
   9458 #endif
   9459 char shl_load ();
   9460 /* The GNU C library defines this for functions which it implements
   9461     to always fail with ENOSYS.  Some functions are actually named
   9462     something starting with __ and the normal name is an alias.  */
   9463 #if defined __stub_shl_load || defined __stub___shl_load
   9464 choke me
   9465 #endif
   9466 
   9467 int
   9468 main ()
   9469 {
   9470 return shl_load ();
   9471   ;
   9472   return 0;
   9473 }
   9474 _ACEOF
   9475 rm -f conftest.$ac_objext conftest$ac_exeext
   9476 if { (ac_try="$ac_link"
   9477 case "(($ac_try" in
   9478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9479   *) ac_try_echo=$ac_try;;
   9480 esac
   9481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9482   (eval "$ac_link") 2>conftest.er1
   9483   ac_status=$?
   9484   grep -v '^ *+' conftest.er1 >conftest.err
   9485   rm -f conftest.er1
   9486   cat conftest.err >&5
   9487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9488   (exit $ac_status); } && {
   9489 	 test -z "$ac_c_werror_flag" ||
   9490 	 test ! -s conftest.err
   9491        } && test -s conftest$ac_exeext &&
   9492        $as_test_x conftest$ac_exeext; then
   9493   ac_cv_func_shl_load=yes
   9494 else
   9495   echo "$as_me: failed program was:" >&5
   9496 sed 's/^/| /' conftest.$ac_ext >&5
   9497 
   9498 	ac_cv_func_shl_load=no
   9499 fi
   9500 
   9501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9502       conftest$ac_exeext conftest.$ac_ext
   9503 fi
   9504 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9505 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9506 if test $ac_cv_func_shl_load = yes; then
   9507   lt_cv_dlopen="shl_load"
   9508 else
   9509   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9510 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9511 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9512   echo $ECHO_N "(cached) $ECHO_C" >&6
   9513 else
   9514   ac_check_lib_save_LIBS=$LIBS
   9515 LIBS="-ldld  $LIBS"
   9516 cat >conftest.$ac_ext <<_ACEOF
   9517 /* confdefs.h.  */
   9518 _ACEOF
   9519 cat confdefs.h >>conftest.$ac_ext
   9520 cat >>conftest.$ac_ext <<_ACEOF
   9521 /* end confdefs.h.  */
   9522 
   9523 /* Override any GCC internal prototype to avoid an error.
   9524    Use char because int might match the return type of a GCC
   9525    builtin and then its argument prototype would still apply.  */
   9526 #ifdef __cplusplus
   9527 extern "C"
   9528 #endif
   9529 char shl_load ();
   9530 int
   9531 main ()
   9532 {
   9533 return shl_load ();
   9534   ;
   9535   return 0;
   9536 }
   9537 _ACEOF
   9538 rm -f conftest.$ac_objext conftest$ac_exeext
   9539 if { (ac_try="$ac_link"
   9540 case "(($ac_try" in
   9541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9542   *) ac_try_echo=$ac_try;;
   9543 esac
   9544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9545   (eval "$ac_link") 2>conftest.er1
   9546   ac_status=$?
   9547   grep -v '^ *+' conftest.er1 >conftest.err
   9548   rm -f conftest.er1
   9549   cat conftest.err >&5
   9550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9551   (exit $ac_status); } && {
   9552 	 test -z "$ac_c_werror_flag" ||
   9553 	 test ! -s conftest.err
   9554        } && test -s conftest$ac_exeext &&
   9555        $as_test_x conftest$ac_exeext; then
   9556   ac_cv_lib_dld_shl_load=yes
   9557 else
   9558   echo "$as_me: failed program was:" >&5
   9559 sed 's/^/| /' conftest.$ac_ext >&5
   9560 
   9561 	ac_cv_lib_dld_shl_load=no
   9562 fi
   9563 
   9564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9565       conftest$ac_exeext conftest.$ac_ext
   9566 LIBS=$ac_check_lib_save_LIBS
   9567 fi
   9568 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9569 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9570 if test $ac_cv_lib_dld_shl_load = yes; then
   9571   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9572 else
   9573   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9574 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9575 if test "${ac_cv_func_dlopen+set}" = set; then
   9576   echo $ECHO_N "(cached) $ECHO_C" >&6
   9577 else
   9578   cat >conftest.$ac_ext <<_ACEOF
   9579 /* confdefs.h.  */
   9580 _ACEOF
   9581 cat confdefs.h >>conftest.$ac_ext
   9582 cat >>conftest.$ac_ext <<_ACEOF
   9583 /* end confdefs.h.  */
   9584 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9586 #define dlopen innocuous_dlopen
   9587 
   9588 /* System header to define __stub macros and hopefully few prototypes,
   9589     which can conflict with char dlopen (); below.
   9590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9591     <limits.h> exists even on freestanding compilers.  */
   9592 
   9593 #ifdef __STDC__
   9594 # include <limits.h>
   9595 #else
   9596 # include <assert.h>
   9597 #endif
   9598 
   9599 #undef dlopen
   9600 
   9601 /* Override any GCC internal prototype to avoid an error.
   9602    Use char because int might match the return type of a GCC
   9603    builtin and then its argument prototype would still apply.  */
   9604 #ifdef __cplusplus
   9605 extern "C"
   9606 #endif
   9607 char dlopen ();
   9608 /* The GNU C library defines this for functions which it implements
   9609     to always fail with ENOSYS.  Some functions are actually named
   9610     something starting with __ and the normal name is an alias.  */
   9611 #if defined __stub_dlopen || defined __stub___dlopen
   9612 choke me
   9613 #endif
   9614 
   9615 int
   9616 main ()
   9617 {
   9618 return dlopen ();
   9619   ;
   9620   return 0;
   9621 }
   9622 _ACEOF
   9623 rm -f conftest.$ac_objext conftest$ac_exeext
   9624 if { (ac_try="$ac_link"
   9625 case "(($ac_try" in
   9626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9627   *) ac_try_echo=$ac_try;;
   9628 esac
   9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9630   (eval "$ac_link") 2>conftest.er1
   9631   ac_status=$?
   9632   grep -v '^ *+' conftest.er1 >conftest.err
   9633   rm -f conftest.er1
   9634   cat conftest.err >&5
   9635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9636   (exit $ac_status); } && {
   9637 	 test -z "$ac_c_werror_flag" ||
   9638 	 test ! -s conftest.err
   9639        } && test -s conftest$ac_exeext &&
   9640        $as_test_x conftest$ac_exeext; then
   9641   ac_cv_func_dlopen=yes
   9642 else
   9643   echo "$as_me: failed program was:" >&5
   9644 sed 's/^/| /' conftest.$ac_ext >&5
   9645 
   9646 	ac_cv_func_dlopen=no
   9647 fi
   9648 
   9649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9650       conftest$ac_exeext conftest.$ac_ext
   9651 fi
   9652 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9653 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9654 if test $ac_cv_func_dlopen = yes; then
   9655   lt_cv_dlopen="dlopen"
   9656 else
   9657   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9658 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9659 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9660   echo $ECHO_N "(cached) $ECHO_C" >&6
   9661 else
   9662   ac_check_lib_save_LIBS=$LIBS
   9663 LIBS="-ldl  $LIBS"
   9664 cat >conftest.$ac_ext <<_ACEOF
   9665 /* confdefs.h.  */
   9666 _ACEOF
   9667 cat confdefs.h >>conftest.$ac_ext
   9668 cat >>conftest.$ac_ext <<_ACEOF
   9669 /* end confdefs.h.  */
   9670 
   9671 /* Override any GCC internal prototype to avoid an error.
   9672    Use char because int might match the return type of a GCC
   9673    builtin and then its argument prototype would still apply.  */
   9674 #ifdef __cplusplus
   9675 extern "C"
   9676 #endif
   9677 char dlopen ();
   9678 int
   9679 main ()
   9680 {
   9681 return dlopen ();
   9682   ;
   9683   return 0;
   9684 }
   9685 _ACEOF
   9686 rm -f conftest.$ac_objext conftest$ac_exeext
   9687 if { (ac_try="$ac_link"
   9688 case "(($ac_try" in
   9689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9690   *) ac_try_echo=$ac_try;;
   9691 esac
   9692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9693   (eval "$ac_link") 2>conftest.er1
   9694   ac_status=$?
   9695   grep -v '^ *+' conftest.er1 >conftest.err
   9696   rm -f conftest.er1
   9697   cat conftest.err >&5
   9698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9699   (exit $ac_status); } && {
   9700 	 test -z "$ac_c_werror_flag" ||
   9701 	 test ! -s conftest.err
   9702        } && test -s conftest$ac_exeext &&
   9703        $as_test_x conftest$ac_exeext; then
   9704   ac_cv_lib_dl_dlopen=yes
   9705 else
   9706   echo "$as_me: failed program was:" >&5
   9707 sed 's/^/| /' conftest.$ac_ext >&5
   9708 
   9709 	ac_cv_lib_dl_dlopen=no
   9710 fi
   9711 
   9712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9713       conftest$ac_exeext conftest.$ac_ext
   9714 LIBS=$ac_check_lib_save_LIBS
   9715 fi
   9716 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9717 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9718 if test $ac_cv_lib_dl_dlopen = yes; then
   9719   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9720 else
   9721   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9722 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9723 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9724   echo $ECHO_N "(cached) $ECHO_C" >&6
   9725 else
   9726   ac_check_lib_save_LIBS=$LIBS
   9727 LIBS="-lsvld  $LIBS"
   9728 cat >conftest.$ac_ext <<_ACEOF
   9729 /* confdefs.h.  */
   9730 _ACEOF
   9731 cat confdefs.h >>conftest.$ac_ext
   9732 cat >>conftest.$ac_ext <<_ACEOF
   9733 /* end confdefs.h.  */
   9734 
   9735 /* Override any GCC internal prototype to avoid an error.
   9736    Use char because int might match the return type of a GCC
   9737    builtin and then its argument prototype would still apply.  */
   9738 #ifdef __cplusplus
   9739 extern "C"
   9740 #endif
   9741 char dlopen ();
   9742 int
   9743 main ()
   9744 {
   9745 return dlopen ();
   9746   ;
   9747   return 0;
   9748 }
   9749 _ACEOF
   9750 rm -f conftest.$ac_objext conftest$ac_exeext
   9751 if { (ac_try="$ac_link"
   9752 case "(($ac_try" in
   9753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9754   *) ac_try_echo=$ac_try;;
   9755 esac
   9756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9757   (eval "$ac_link") 2>conftest.er1
   9758   ac_status=$?
   9759   grep -v '^ *+' conftest.er1 >conftest.err
   9760   rm -f conftest.er1
   9761   cat conftest.err >&5
   9762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9763   (exit $ac_status); } && {
   9764 	 test -z "$ac_c_werror_flag" ||
   9765 	 test ! -s conftest.err
   9766        } && test -s conftest$ac_exeext &&
   9767        $as_test_x conftest$ac_exeext; then
   9768   ac_cv_lib_svld_dlopen=yes
   9769 else
   9770   echo "$as_me: failed program was:" >&5
   9771 sed 's/^/| /' conftest.$ac_ext >&5
   9772 
   9773 	ac_cv_lib_svld_dlopen=no
   9774 fi
   9775 
   9776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9777       conftest$ac_exeext conftest.$ac_ext
   9778 LIBS=$ac_check_lib_save_LIBS
   9779 fi
   9780 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9781 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9782 if test $ac_cv_lib_svld_dlopen = yes; then
   9783   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9784 else
   9785   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9786 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9787 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9788   echo $ECHO_N "(cached) $ECHO_C" >&6
   9789 else
   9790   ac_check_lib_save_LIBS=$LIBS
   9791 LIBS="-ldld  $LIBS"
   9792 cat >conftest.$ac_ext <<_ACEOF
   9793 /* confdefs.h.  */
   9794 _ACEOF
   9795 cat confdefs.h >>conftest.$ac_ext
   9796 cat >>conftest.$ac_ext <<_ACEOF
   9797 /* end confdefs.h.  */
   9798 
   9799 /* Override any GCC internal prototype to avoid an error.
   9800    Use char because int might match the return type of a GCC
   9801    builtin and then its argument prototype would still apply.  */
   9802 #ifdef __cplusplus
   9803 extern "C"
   9804 #endif
   9805 char dld_link ();
   9806 int
   9807 main ()
   9808 {
   9809 return dld_link ();
   9810   ;
   9811   return 0;
   9812 }
   9813 _ACEOF
   9814 rm -f conftest.$ac_objext conftest$ac_exeext
   9815 if { (ac_try="$ac_link"
   9816 case "(($ac_try" in
   9817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9818   *) ac_try_echo=$ac_try;;
   9819 esac
   9820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9821   (eval "$ac_link") 2>conftest.er1
   9822   ac_status=$?
   9823   grep -v '^ *+' conftest.er1 >conftest.err
   9824   rm -f conftest.er1
   9825   cat conftest.err >&5
   9826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9827   (exit $ac_status); } && {
   9828 	 test -z "$ac_c_werror_flag" ||
   9829 	 test ! -s conftest.err
   9830        } && test -s conftest$ac_exeext &&
   9831        $as_test_x conftest$ac_exeext; then
   9832   ac_cv_lib_dld_dld_link=yes
   9833 else
   9834   echo "$as_me: failed program was:" >&5
   9835 sed 's/^/| /' conftest.$ac_ext >&5
   9836 
   9837 	ac_cv_lib_dld_dld_link=no
   9838 fi
   9839 
   9840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9841       conftest$ac_exeext conftest.$ac_ext
   9842 LIBS=$ac_check_lib_save_LIBS
   9843 fi
   9844 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9845 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9846 if test $ac_cv_lib_dld_dld_link = yes; then
   9847   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9848 fi
   9849 
   9850 
   9851 fi
   9852 
   9853 
   9854 fi
   9855 
   9856 
   9857 fi
   9858 
   9859 
   9860 fi
   9861 
   9862 
   9863 fi
   9864 
   9865     ;;
   9866   esac
   9867 
   9868   if test "x$lt_cv_dlopen" != xno; then
   9869     enable_dlopen=yes
   9870   else
   9871     enable_dlopen=no
   9872   fi
   9873 
   9874   case $lt_cv_dlopen in
   9875   dlopen)
   9876     save_CPPFLAGS="$CPPFLAGS"
   9877     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9878 
   9879     save_LDFLAGS="$LDFLAGS"
   9880     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9881 
   9882     save_LIBS="$LIBS"
   9883     LIBS="$lt_cv_dlopen_libs $LIBS"
   9884 
   9885     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9886 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9887 if test "${lt_cv_dlopen_self+set}" = set; then
   9888   echo $ECHO_N "(cached) $ECHO_C" >&6
   9889 else
   9890   	  if test "$cross_compiling" = yes; then :
   9891   lt_cv_dlopen_self=cross
   9892 else
   9893   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9894   lt_status=$lt_dlunknown
   9895   cat > conftest.$ac_ext <<EOF
   9896 #line 9896 "configure"
   9897 #include "confdefs.h"
   9898 
   9899 #if HAVE_DLFCN_H
   9900 #include <dlfcn.h>
   9901 #endif
   9902 
   9903 #include <stdio.h>
   9904 
   9905 #ifdef RTLD_GLOBAL
   9906 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9907 #else
   9908 #  ifdef DL_GLOBAL
   9909 #    define LT_DLGLOBAL		DL_GLOBAL
   9910 #  else
   9911 #    define LT_DLGLOBAL		0
   9912 #  endif
   9913 #endif
   9914 
   9915 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9916    find out it does not work in some platform. */
   9917 #ifndef LT_DLLAZY_OR_NOW
   9918 #  ifdef RTLD_LAZY
   9919 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9920 #  else
   9921 #    ifdef DL_LAZY
   9922 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9923 #    else
   9924 #      ifdef RTLD_NOW
   9925 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9926 #      else
   9927 #        ifdef DL_NOW
   9928 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9929 #        else
   9930 #          define LT_DLLAZY_OR_NOW	0
   9931 #        endif
   9932 #      endif
   9933 #    endif
   9934 #  endif
   9935 #endif
   9936 
   9937 #ifdef __cplusplus
   9938 extern "C" void exit (int);
   9939 #endif
   9940 
   9941 void fnord() { int i=42;}
   9942 int main ()
   9943 {
   9944   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9945   int status = $lt_dlunknown;
   9946 
   9947   if (self)
   9948     {
   9949       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9950       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9951       /* dlclose (self); */
   9952     }
   9953   else
   9954     puts (dlerror ());
   9955 
   9956     exit (status);
   9957 }
   9958 EOF
   9959   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9960   (eval $ac_link) 2>&5
   9961   ac_status=$?
   9962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9963   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9964     (./conftest; exit; ) >&5 2>/dev/null
   9965     lt_status=$?
   9966     case x$lt_status in
   9967       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9968       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9969       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9970     esac
   9971   else :
   9972     # compilation failed
   9973     lt_cv_dlopen_self=no
   9974   fi
   9975 fi
   9976 rm -fr conftest*
   9977 
   9978 
   9979 fi
   9980 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9981 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9982 
   9983     if test "x$lt_cv_dlopen_self" = xyes; then
   9984       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9985       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9986 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9987 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9988   echo $ECHO_N "(cached) $ECHO_C" >&6
   9989 else
   9990   	  if test "$cross_compiling" = yes; then :
   9991   lt_cv_dlopen_self_static=cross
   9992 else
   9993   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9994   lt_status=$lt_dlunknown
   9995   cat > conftest.$ac_ext <<EOF
   9996 #line 9996 "configure"
   9997 #include "confdefs.h"
   9998 
   9999 #if HAVE_DLFCN_H
   10000 #include <dlfcn.h>
   10001 #endif
   10002 
   10003 #include <stdio.h>
   10004 
   10005 #ifdef RTLD_GLOBAL
   10006 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10007 #else
   10008 #  ifdef DL_GLOBAL
   10009 #    define LT_DLGLOBAL		DL_GLOBAL
   10010 #  else
   10011 #    define LT_DLGLOBAL		0
   10012 #  endif
   10013 #endif
   10014 
   10015 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10016    find out it does not work in some platform. */
   10017 #ifndef LT_DLLAZY_OR_NOW
   10018 #  ifdef RTLD_LAZY
   10019 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10020 #  else
   10021 #    ifdef DL_LAZY
   10022 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10023 #    else
   10024 #      ifdef RTLD_NOW
   10025 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10026 #      else
   10027 #        ifdef DL_NOW
   10028 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10029 #        else
   10030 #          define LT_DLLAZY_OR_NOW	0
   10031 #        endif
   10032 #      endif
   10033 #    endif
   10034 #  endif
   10035 #endif
   10036 
   10037 #ifdef __cplusplus
   10038 extern "C" void exit (int);
   10039 #endif
   10040 
   10041 void fnord() { int i=42;}
   10042 int main ()
   10043 {
   10044   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10045   int status = $lt_dlunknown;
   10046 
   10047   if (self)
   10048     {
   10049       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10050       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10051       /* dlclose (self); */
   10052     }
   10053   else
   10054     puts (dlerror ());
   10055 
   10056     exit (status);
   10057 }
   10058 EOF
   10059   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10060   (eval $ac_link) 2>&5
   10061   ac_status=$?
   10062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10063   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10064     (./conftest; exit; ) >&5 2>/dev/null
   10065     lt_status=$?
   10066     case x$lt_status in
   10067       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10068       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10069       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10070     esac
   10071   else :
   10072     # compilation failed
   10073     lt_cv_dlopen_self_static=no
   10074   fi
   10075 fi
   10076 rm -fr conftest*
   10077 
   10078 
   10079 fi
   10080 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10081 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10082     fi
   10083 
   10084     CPPFLAGS="$save_CPPFLAGS"
   10085     LDFLAGS="$save_LDFLAGS"
   10086     LIBS="$save_LIBS"
   10087     ;;
   10088   esac
   10089 
   10090   case $lt_cv_dlopen_self in
   10091   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10092   *) enable_dlopen_self=unknown ;;
   10093   esac
   10094 
   10095   case $lt_cv_dlopen_self_static in
   10096   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10097   *) enable_dlopen_self_static=unknown ;;
   10098   esac
   10099 fi
   10100 
   10101 
   10102 # Report which library types will actually be built
   10103 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10104 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10105 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10106 echo "${ECHO_T}$can_build_shared" >&6; }
   10107 
   10108 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10109 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10110 test "$can_build_shared" = "no" && enable_shared=no
   10111 
   10112 # On AIX, shared libraries and static libraries use the same namespace, and
   10113 # are all built from PIC.
   10114 case $host_os in
   10115 aix3*)
   10116   test "$enable_shared" = yes && enable_static=no
   10117   if test -n "$RANLIB"; then
   10118     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10119     postinstall_cmds='$RANLIB $lib'
   10120   fi
   10121   ;;
   10122 
   10123 aix4* | aix5*)
   10124   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10125     test "$enable_shared" = yes && enable_static=no
   10126   fi
   10127     ;;
   10128 esac
   10129 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10130 echo "${ECHO_T}$enable_shared" >&6; }
   10131 
   10132 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10133 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10134 # Make sure either enable_shared or enable_static is yes.
   10135 test "$enable_shared" = yes || enable_static=yes
   10136 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10137 echo "${ECHO_T}$enable_static" >&6; }
   10138 
   10139 # The else clause should only fire when bootstrapping the
   10140 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10141 # with your package, and you will get complaints that there are
   10142 # no rules to generate ltmain.sh.
   10143 if test -f "$ltmain"; then
   10144   # See if we are running on zsh, and set the options which allow our commands through
   10145   # without removal of \ escapes.
   10146   if test -n "${ZSH_VERSION+set}" ; then
   10147     setopt NO_GLOB_SUBST
   10148   fi
   10149   # Now quote all the things that may contain metacharacters while being
   10150   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10151   # variables and quote the copies for generation of the libtool script.
   10152   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10153     SED SHELL STRIP \
   10154     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10155     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10156     deplibs_check_method reload_flag reload_cmds need_locks \
   10157     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10158     lt_cv_sys_global_symbol_to_c_name_address \
   10159     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10160     old_postinstall_cmds old_postuninstall_cmds \
   10161     compiler \
   10162     CC \
   10163     LD \
   10164     lt_prog_compiler_wl \
   10165     lt_prog_compiler_pic \
   10166     lt_prog_compiler_static \
   10167     lt_prog_compiler_no_builtin_flag \
   10168     export_dynamic_flag_spec \
   10169     thread_safe_flag_spec \
   10170     whole_archive_flag_spec \
   10171     enable_shared_with_static_runtimes \
   10172     old_archive_cmds \
   10173     old_archive_from_new_cmds \
   10174     predep_objects \
   10175     postdep_objects \
   10176     predeps \
   10177     postdeps \
   10178     compiler_lib_search_path \
   10179     archive_cmds \
   10180     archive_expsym_cmds \
   10181     postinstall_cmds \
   10182     postuninstall_cmds \
   10183     old_archive_from_expsyms_cmds \
   10184     allow_undefined_flag \
   10185     no_undefined_flag \
   10186     export_symbols_cmds \
   10187     hardcode_libdir_flag_spec \
   10188     hardcode_libdir_flag_spec_ld \
   10189     hardcode_libdir_separator \
   10190     hardcode_automatic \
   10191     module_cmds \
   10192     module_expsym_cmds \
   10193     lt_cv_prog_compiler_c_o \
   10194     fix_srcfile_path \
   10195     exclude_expsyms \
   10196     include_expsyms; do
   10197 
   10198     case $var in
   10199     old_archive_cmds | \
   10200     old_archive_from_new_cmds | \
   10201     archive_cmds | \
   10202     archive_expsym_cmds | \
   10203     module_cmds | \
   10204     module_expsym_cmds | \
   10205     old_archive_from_expsyms_cmds | \
   10206     export_symbols_cmds | \
   10207     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10208     postinstall_cmds | postuninstall_cmds | \
   10209     old_postinstall_cmds | old_postuninstall_cmds | \
   10210     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10211       # Double-quote double-evaled strings.
   10212       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10213       ;;
   10214     *)
   10215       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10216       ;;
   10217     esac
   10218   done
   10219 
   10220   case $lt_echo in
   10221   *'\$0 --fallback-echo"')
   10222     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10223     ;;
   10224   esac
   10225 
   10226 cfgfile="${ofile}T"
   10227   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10228   $rm -f "$cfgfile"
   10229   { echo "$as_me:$LINENO: creating $ofile" >&5
   10230 echo "$as_me: creating $ofile" >&6;}
   10231 
   10232   cat <<__EOF__ >> "$cfgfile"
   10233 #! $SHELL
   10234 
   10235 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10236 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10237 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10238 #
   10239 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   10240 # Free Software Foundation, Inc.
   10241 #
   10242 # This file is part of GNU Libtool:
   10243 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10244 #
   10245 # This program is free software; you can redistribute it and/or modify
   10246 # it under the terms of the GNU General Public License as published by
   10247 # the Free Software Foundation; either version 2 of the License, or
   10248 # (at your option) any later version.
   10249 #
   10250 # This program is distributed in the hope that it will be useful, but
   10251 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10252 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10253 # General Public License for more details.
   10254 #
   10255 # You should have received a copy of the GNU General Public License
   10256 # along with this program; if not, write to the Free Software
   10257 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10258 #
   10259 # As a special exception to the GNU General Public License, if you
   10260 # distribute this file as part of a program that contains a
   10261 # configuration script generated by Autoconf, you may include it under
   10262 # the same distribution terms that you use for the rest of that program.
   10263 
   10264 # A sed program that does not truncate output.
   10265 SED=$lt_SED
   10266 
   10267 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10268 Xsed="$SED -e 1s/^X//"
   10269 
   10270 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10271 # if CDPATH is set.
   10272 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10273 
   10274 # The names of the tagged configurations supported by this script.
   10275 available_tags=
   10276 
   10277 # ### BEGIN LIBTOOL CONFIG
   10278 
   10279 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10280 
   10281 # Shell to use when invoking shell scripts.
   10282 SHELL=$lt_SHELL
   10283 
   10284 # Whether or not to build shared libraries.
   10285 build_libtool_libs=$enable_shared
   10286 
   10287 # Whether or not to build static libraries.
   10288 build_old_libs=$enable_static
   10289 
   10290 # Whether or not to add -lc for building shared libraries.
   10291 build_libtool_need_lc=$archive_cmds_need_lc
   10292 
   10293 # Whether or not to disallow shared libs when runtime libs are static
   10294 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10295 
   10296 # Whether or not to optimize for fast installation.
   10297 fast_install=$enable_fast_install
   10298 
   10299 # The host system.
   10300 host_alias=$host_alias
   10301 host=$host
   10302 host_os=$host_os
   10303 
   10304 # The build system.
   10305 build_alias=$build_alias
   10306 build=$build
   10307 build_os=$build_os
   10308 
   10309 # An echo program that does not interpret backslashes.
   10310 echo=$lt_echo
   10311 
   10312 # The archiver.
   10313 AR=$lt_AR
   10314 AR_FLAGS=$lt_AR_FLAGS
   10315 
   10316 # A C compiler.
   10317 LTCC=$lt_LTCC
   10318 
   10319 # LTCC compiler flags.
   10320 LTCFLAGS=$lt_LTCFLAGS
   10321 
   10322 # A language-specific compiler.
   10323 CC=$lt_compiler
   10324 
   10325 # Is the compiler the GNU C compiler?
   10326 with_gcc=$GCC
   10327 
   10328 # An ERE matcher.
   10329 EGREP=$lt_EGREP
   10330 
   10331 # The linker used to build libraries.
   10332 LD=$lt_LD
   10333 
   10334 # Whether we need hard or soft links.
   10335 LN_S=$lt_LN_S
   10336 
   10337 # A BSD-compatible nm program.
   10338 NM=$lt_NM
   10339 
   10340 # A symbol stripping program
   10341 STRIP=$lt_STRIP
   10342 
   10343 # Used to examine libraries when file_magic_cmd begins "file"
   10344 MAGIC_CMD=$MAGIC_CMD
   10345 
   10346 # Used on cygwin: DLL creation program.
   10347 DLLTOOL="$DLLTOOL"
   10348 
   10349 # Used on cygwin: object dumper.
   10350 OBJDUMP="$OBJDUMP"
   10351 
   10352 # Used on cygwin: assembler.
   10353 AS="$AS"
   10354 
   10355 # The name of the directory that contains temporary libtool files.
   10356 objdir=$objdir
   10357 
   10358 # How to create reloadable object files.
   10359 reload_flag=$lt_reload_flag
   10360 reload_cmds=$lt_reload_cmds
   10361 
   10362 # How to pass a linker flag through the compiler.
   10363 wl=$lt_lt_prog_compiler_wl
   10364 
   10365 # Object file suffix (normally "o").
   10366 objext="$ac_objext"
   10367 
   10368 # Old archive suffix (normally "a").
   10369 libext="$libext"
   10370 
   10371 # Shared library suffix (normally ".so").
   10372 shrext_cmds='$shrext_cmds'
   10373 
   10374 # Executable file suffix (normally "").
   10375 exeext="$exeext"
   10376 
   10377 # Additional compiler flags for building library objects.
   10378 pic_flag=$lt_lt_prog_compiler_pic
   10379 pic_mode=$pic_mode
   10380 
   10381 # What is the maximum length of a command?
   10382 max_cmd_len=$lt_cv_sys_max_cmd_len
   10383 
   10384 # Does compiler simultaneously support -c and -o options?
   10385 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10386 
   10387 # Must we lock files when doing compilation?
   10388 need_locks=$lt_need_locks
   10389 
   10390 # Do we need the lib prefix for modules?
   10391 need_lib_prefix=$need_lib_prefix
   10392 
   10393 # Do we need a version for libraries?
   10394 need_version=$need_version
   10395 
   10396 # Whether dlopen is supported.
   10397 dlopen_support=$enable_dlopen
   10398 
   10399 # Whether dlopen of programs is supported.
   10400 dlopen_self=$enable_dlopen_self
   10401 
   10402 # Whether dlopen of statically linked programs is supported.
   10403 dlopen_self_static=$enable_dlopen_self_static
   10404 
   10405 # Compiler flag to prevent dynamic linking.
   10406 link_static_flag=$lt_lt_prog_compiler_static
   10407 
   10408 # Compiler flag to turn off builtin functions.
   10409 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10410 
   10411 # Compiler flag to allow reflexive dlopens.
   10412 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10413 
   10414 # Compiler flag to generate shared objects directly from archives.
   10415 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10416 
   10417 # Compiler flag to generate thread-safe objects.
   10418 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10419 
   10420 # Library versioning type.
   10421 version_type=$version_type
   10422 
   10423 # Format of library name prefix.
   10424 libname_spec=$lt_libname_spec
   10425 
   10426 # List of archive names.  First name is the real one, the rest are links.
   10427 # The last name is the one that the linker finds with -lNAME.
   10428 library_names_spec=$lt_library_names_spec
   10429 
   10430 # The coded name of the library, if different from the real name.
   10431 soname_spec=$lt_soname_spec
   10432 
   10433 # Commands used to build and install an old-style archive.
   10434 RANLIB=$lt_RANLIB
   10435 old_archive_cmds=$lt_old_archive_cmds
   10436 old_postinstall_cmds=$lt_old_postinstall_cmds
   10437 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10438 
   10439 # Create an old-style archive from a shared archive.
   10440 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10441 
   10442 # Create a temporary old-style archive to link instead of a shared archive.
   10443 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10444 
   10445 # Commands used to build and install a shared archive.
   10446 archive_cmds=$lt_archive_cmds
   10447 archive_expsym_cmds=$lt_archive_expsym_cmds
   10448 postinstall_cmds=$lt_postinstall_cmds
   10449 postuninstall_cmds=$lt_postuninstall_cmds
   10450 
   10451 # Commands used to build a loadable module (assumed same as above if empty)
   10452 module_cmds=$lt_module_cmds
   10453 module_expsym_cmds=$lt_module_expsym_cmds
   10454 
   10455 # Commands to strip libraries.
   10456 old_striplib=$lt_old_striplib
   10457 striplib=$lt_striplib
   10458 
   10459 # Dependencies to place before the objects being linked to create a
   10460 # shared library.
   10461 predep_objects=$lt_predep_objects
   10462 
   10463 # Dependencies to place after the objects being linked to create a
   10464 # shared library.
   10465 postdep_objects=$lt_postdep_objects
   10466 
   10467 # Dependencies to place before the objects being linked to create a
   10468 # shared library.
   10469 predeps=$lt_predeps
   10470 
   10471 # Dependencies to place after the objects being linked to create a
   10472 # shared library.
   10473 postdeps=$lt_postdeps
   10474 
   10475 # The library search path used internally by the compiler when linking
   10476 # a shared library.
   10477 compiler_lib_search_path=$lt_compiler_lib_search_path
   10478 
   10479 # Method to check whether dependent libraries are shared objects.
   10480 deplibs_check_method=$lt_deplibs_check_method
   10481 
   10482 # Command to use when deplibs_check_method == file_magic.
   10483 file_magic_cmd=$lt_file_magic_cmd
   10484 
   10485 # Flag that allows shared libraries with undefined symbols to be built.
   10486 allow_undefined_flag=$lt_allow_undefined_flag
   10487 
   10488 # Flag that forces no undefined symbols.
   10489 no_undefined_flag=$lt_no_undefined_flag
   10490 
   10491 # Commands used to finish a libtool library installation in a directory.
   10492 finish_cmds=$lt_finish_cmds
   10493 
   10494 # Same as above, but a single script fragment to be evaled but not shown.
   10495 finish_eval=$lt_finish_eval
   10496 
   10497 # Take the output of nm and produce a listing of raw symbols and C names.
   10498 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10499 
   10500 # Transform the output of nm in a proper C declaration
   10501 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10502 
   10503 # Transform the output of nm in a C name address pair
   10504 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10505 
   10506 # This is the shared library runtime path variable.
   10507 runpath_var=$runpath_var
   10508 
   10509 # This is the shared library path variable.
   10510 shlibpath_var=$shlibpath_var
   10511 
   10512 # Is shlibpath searched before the hard-coded library search path?
   10513 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10514 
   10515 # How to hardcode a shared library path into an executable.
   10516 hardcode_action=$hardcode_action
   10517 
   10518 # Whether we should hardcode library paths into libraries.
   10519 hardcode_into_libs=$hardcode_into_libs
   10520 
   10521 # Flag to hardcode \$libdir into a binary during linking.
   10522 # This must work even if \$libdir does not exist.
   10523 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10524 
   10525 # If ld is used when linking, flag to hardcode \$libdir into
   10526 # a binary during linking. This must work even if \$libdir does
   10527 # not exist.
   10528 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10529 
   10530 # Whether we need a single -rpath flag with a separated argument.
   10531 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10532 
   10533 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10534 # resulting binary.
   10535 hardcode_direct=$hardcode_direct
   10536 
   10537 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10538 # resulting binary.
   10539 hardcode_minus_L=$hardcode_minus_L
   10540 
   10541 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10542 # the resulting binary.
   10543 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10544 
   10545 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10546 # and all subsequent libraries and executables linked against it.
   10547 hardcode_automatic=$hardcode_automatic
   10548 
   10549 # Variables whose values should be saved in libtool wrapper scripts and
   10550 # restored at relink time.
   10551 variables_saved_for_relink="$variables_saved_for_relink"
   10552 
   10553 # Whether libtool must link a program against all its dependency libraries.
   10554 link_all_deplibs=$link_all_deplibs
   10555 
   10556 # Compile-time system search path for libraries
   10557 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10558 
   10559 # Run-time system search path for libraries
   10560 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10561 
   10562 # Fix the shell variable \$srcfile for the compiler.
   10563 fix_srcfile_path=$lt_fix_srcfile_path
   10564 
   10565 # Set to yes if exported symbols are required.
   10566 always_export_symbols=$always_export_symbols
   10567 
   10568 # The commands to list exported symbols.
   10569 export_symbols_cmds=$lt_export_symbols_cmds
   10570 
   10571 # The commands to extract the exported symbol list from a shared archive.
   10572 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10573 
   10574 # Symbols that should not be listed in the preloaded symbols.
   10575 exclude_expsyms=$lt_exclude_expsyms
   10576 
   10577 # Symbols that must always be exported.
   10578 include_expsyms=$lt_include_expsyms
   10579 
   10580 # ### END LIBTOOL CONFIG
   10581 
   10582 __EOF__
   10583 
   10584 
   10585   case $host_os in
   10586   aix3*)
   10587     cat <<\EOF >> "$cfgfile"
   10588 
   10589 # AIX sometimes has problems with the GCC collect2 program.  For some
   10590 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10591 # vanish in a puff of smoke.
   10592 if test "X${COLLECT_NAMES+set}" != Xset; then
   10593   COLLECT_NAMES=
   10594   export COLLECT_NAMES
   10595 fi
   10596 EOF
   10597     ;;
   10598   esac
   10599 
   10600   # We use sed instead of cat because bash on DJGPP gets confused if
   10601   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10602   # text mode, it properly converts lines to CR/LF.  This bash problem
   10603   # is reportedly fixed, but why not run on old versions too?
   10604   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10605 
   10606   mv -f "$cfgfile" "$ofile" || \
   10607     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10608   chmod +x "$ofile"
   10609 
   10610 else
   10611   # If there is no Makefile yet, we rely on a make rule to execute
   10612   # `config.status --recheck' to rerun these tests and create the
   10613   # libtool script then.
   10614   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10615   if test -f "$ltmain_in"; then
   10616     test -f Makefile && make "$ltmain"
   10617   fi
   10618 fi
   10619 
   10620 
   10621 ac_ext=c
   10622 ac_cpp='$CPP $CPPFLAGS'
   10623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10626 
   10627 CC="$lt_save_CC"
   10628 
   10629 
   10630 # Check whether --with-tags was given.
   10631 if test "${with_tags+set}" = set; then
   10632   withval=$with_tags; tagnames="$withval"
   10633 fi
   10634 
   10635 
   10636 if test -f "$ltmain" && test -n "$tagnames"; then
   10637   if test ! -f "${ofile}"; then
   10638     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10639 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10640   fi
   10641 
   10642   if test -z "$LTCC"; then
   10643     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10644     if test -z "$LTCC"; then
   10645       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10646 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10647     else
   10648       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10649 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10650     fi
   10651   fi
   10652   if test -z "$LTCFLAGS"; then
   10653     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10654   fi
   10655 
   10656   # Extract list of available tagged configurations in $ofile.
   10657   # Note that this assumes the entire list is on one line.
   10658   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10659 
   10660   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10661   for tagname in $tagnames; do
   10662     IFS="$lt_save_ifs"
   10663     # Check whether tagname contains only valid characters
   10664     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10665     "") ;;
   10666     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10667 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10668    { (exit 1); exit 1; }; }
   10669 	;;
   10670     esac
   10671 
   10672     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10673     then
   10674       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10675 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10676    { (exit 1); exit 1; }; }
   10677     fi
   10678 
   10679     # Update the list of available tags.
   10680     if test -n "$tagname"; then
   10681       echo appending configuration tag \"$tagname\" to $ofile
   10682 
   10683       case $tagname in
   10684       CXX)
   10685 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10686 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10687 	    (test "X$CXX" != "Xg++"))) ; then
   10688 	  ac_ext=cpp
   10689 ac_cpp='$CXXCPP $CPPFLAGS'
   10690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10693 
   10694 
   10695 
   10696 
   10697 archive_cmds_need_lc_CXX=no
   10698 allow_undefined_flag_CXX=
   10699 always_export_symbols_CXX=no
   10700 archive_expsym_cmds_CXX=
   10701 export_dynamic_flag_spec_CXX=
   10702 hardcode_direct_CXX=no
   10703 hardcode_libdir_flag_spec_CXX=
   10704 hardcode_libdir_flag_spec_ld_CXX=
   10705 hardcode_libdir_separator_CXX=
   10706 hardcode_minus_L_CXX=no
   10707 hardcode_shlibpath_var_CXX=unsupported
   10708 hardcode_automatic_CXX=no
   10709 module_cmds_CXX=
   10710 module_expsym_cmds_CXX=
   10711 link_all_deplibs_CXX=unknown
   10712 old_archive_cmds_CXX=$old_archive_cmds
   10713 no_undefined_flag_CXX=
   10714 whole_archive_flag_spec_CXX=
   10715 enable_shared_with_static_runtimes_CXX=no
   10716 
   10717 # Dependencies to place before and after the object being linked:
   10718 predep_objects_CXX=
   10719 postdep_objects_CXX=
   10720 predeps_CXX=
   10721 postdeps_CXX=
   10722 compiler_lib_search_path_CXX=
   10723 
   10724 # Source file extension for C++ test sources.
   10725 ac_ext=cpp
   10726 
   10727 # Object file extension for compiled C++ test sources.
   10728 objext=o
   10729 objext_CXX=$objext
   10730 
   10731 # Code to be used in simple compile tests
   10732 lt_simple_compile_test_code="int some_variable = 0;"
   10733 
   10734 # Code to be used in simple link tests
   10735 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   10736 
   10737 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10738 
   10739 # If no C compiler was specified, use CC.
   10740 LTCC=${LTCC-"$CC"}
   10741 
   10742 # If no C compiler flags were specified, use CFLAGS.
   10743 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10744 
   10745 # Allow CC to be a program name with arguments.
   10746 compiler=$CC
   10747 
   10748 
   10749 # save warnings/boilerplate of simple test code
   10750 ac_outfile=conftest.$ac_objext
   10751 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10752 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10753 _lt_compiler_boilerplate=`cat conftest.err`
   10754 $rm conftest*
   10755 
   10756 ac_outfile=conftest.$ac_objext
   10757 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10758 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10759 _lt_linker_boilerplate=`cat conftest.err`
   10760 $rm conftest*
   10761 
   10762 
   10763 # Allow CC to be a program name with arguments.
   10764 lt_save_CC=$CC
   10765 lt_save_LD=$LD
   10766 lt_save_GCC=$GCC
   10767 GCC=$GXX
   10768 lt_save_with_gnu_ld=$with_gnu_ld
   10769 lt_save_path_LD=$lt_cv_path_LD
   10770 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10771   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10772 else
   10773   $as_unset lt_cv_prog_gnu_ld
   10774 fi
   10775 if test -n "${lt_cv_path_LDCXX+set}"; then
   10776   lt_cv_path_LD=$lt_cv_path_LDCXX
   10777 else
   10778   $as_unset lt_cv_path_LD
   10779 fi
   10780 test -z "${LDCXX+set}" || LD=$LDCXX
   10781 CC=${CXX-"c++"}
   10782 compiler=$CC
   10783 compiler_CXX=$CC
   10784 for cc_temp in $compiler""; do
   10785   case $cc_temp in
   10786     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10787     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10788     \-*) ;;
   10789     *) break;;
   10790   esac
   10791 done
   10792 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10793 
   10794 
   10795 # We don't want -fno-exception wen compiling C++ code, so set the
   10796 # no_builtin_flag separately
   10797 if test "$GXX" = yes; then
   10798   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10799 else
   10800   lt_prog_compiler_no_builtin_flag_CXX=
   10801 fi
   10802 
   10803 if test "$GXX" = yes; then
   10804   # Set up default GNU C++ configuration
   10805 
   10806 
   10807 # Check whether --with-gnu-ld was given.
   10808 if test "${with_gnu_ld+set}" = set; then
   10809   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10810 else
   10811   with_gnu_ld=no
   10812 fi
   10813 
   10814 ac_prog=ld
   10815 if test "$GCC" = yes; then
   10816   # Check if gcc -print-prog-name=ld gives a path.
   10817   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10818 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10819   case $host in
   10820   *-*-mingw*)
   10821     # gcc leaves a trailing carriage return which upsets mingw
   10822     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10823   *)
   10824     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10825   esac
   10826   case $ac_prog in
   10827     # Accept absolute paths.
   10828     [\\/]* | ?:[\\/]*)
   10829       re_direlt='/[^/][^/]*/\.\./'
   10830       # Canonicalize the pathname of ld
   10831       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10832       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10833 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10834       done
   10835       test -z "$LD" && LD="$ac_prog"
   10836       ;;
   10837   "")
   10838     # If it fails, then pretend we aren't using GCC.
   10839     ac_prog=ld
   10840     ;;
   10841   *)
   10842     # If it is relative, then search for the first ld in PATH.
   10843     with_gnu_ld=unknown
   10844     ;;
   10845   esac
   10846 elif test "$with_gnu_ld" = yes; then
   10847   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10848 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10849 else
   10850   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10851 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10852 fi
   10853 if test "${lt_cv_path_LD+set}" = set; then
   10854   echo $ECHO_N "(cached) $ECHO_C" >&6
   10855 else
   10856   if test -z "$LD"; then
   10857   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10858   for ac_dir in $PATH; do
   10859     IFS="$lt_save_ifs"
   10860     test -z "$ac_dir" && ac_dir=.
   10861     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10862       lt_cv_path_LD="$ac_dir/$ac_prog"
   10863       # Check to see if the program is GNU ld.  I'd rather use --version,
   10864       # but apparently some variants of GNU ld only accept -v.
   10865       # Break only if it was the GNU/non-GNU ld that we prefer.
   10866       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10867       *GNU* | *'with BFD'*)
   10868 	test "$with_gnu_ld" != no && break
   10869 	;;
   10870       *)
   10871 	test "$with_gnu_ld" != yes && break
   10872 	;;
   10873       esac
   10874     fi
   10875   done
   10876   IFS="$lt_save_ifs"
   10877 else
   10878   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10879 fi
   10880 fi
   10881 
   10882 LD="$lt_cv_path_LD"
   10883 if test -n "$LD"; then
   10884   { echo "$as_me:$LINENO: result: $LD" >&5
   10885 echo "${ECHO_T}$LD" >&6; }
   10886 else
   10887   { echo "$as_me:$LINENO: result: no" >&5
   10888 echo "${ECHO_T}no" >&6; }
   10889 fi
   10890 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10891 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10892    { (exit 1); exit 1; }; }
   10893 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10894 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10895 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10896   echo $ECHO_N "(cached) $ECHO_C" >&6
   10897 else
   10898   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10899 case `$LD -v 2>&1 </dev/null` in
   10900 *GNU* | *'with BFD'*)
   10901   lt_cv_prog_gnu_ld=yes
   10902   ;;
   10903 *)
   10904   lt_cv_prog_gnu_ld=no
   10905   ;;
   10906 esac
   10907 fi
   10908 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10909 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10910 with_gnu_ld=$lt_cv_prog_gnu_ld
   10911 
   10912 
   10913 
   10914   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10915   # archiving commands below assume that GNU ld is being used.
   10916   if test "$with_gnu_ld" = yes; then
   10917     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10918     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'
   10919 
   10920     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10921     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10922 
   10923     # If archive_cmds runs LD, not CC, wlarc should be empty
   10924     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10925     #     investigate it a little bit more. (MM)
   10926     wlarc='${wl}'
   10927 
   10928     # ancient GNU ld didn't support --whole-archive et. al.
   10929     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10930 	grep 'no-whole-archive' > /dev/null; then
   10931       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10932     else
   10933       whole_archive_flag_spec_CXX=
   10934     fi
   10935   else
   10936     with_gnu_ld=no
   10937     wlarc=
   10938 
   10939     # A generic and very simple default shared library creation
   10940     # command for GNU C++ for the case where it uses the native
   10941     # linker, instead of GNU ld.  If possible, this setting should
   10942     # overridden to take advantage of the native linker features on
   10943     # the platform it is being used on.
   10944     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10945   fi
   10946 
   10947   # Commands to make compiler produce verbose output that lists
   10948   # what "hidden" libraries, object files and flags are used when
   10949   # linking a shared library.
   10950   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10951 
   10952 else
   10953   GXX=no
   10954   with_gnu_ld=no
   10955   wlarc=
   10956 fi
   10957 
   10958 # PORTME: fill in a description of your system's C++ link characteristics
   10959 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10960 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10961 ld_shlibs_CXX=yes
   10962 case $host_os in
   10963   aix3*)
   10964     # FIXME: insert proper C++ library support
   10965     ld_shlibs_CXX=no
   10966     ;;
   10967   aix4* | aix5*)
   10968     if test "$host_cpu" = ia64; then
   10969       # On IA64, the linker does run time linking by default, so we don't
   10970       # have to do anything special.
   10971       aix_use_runtimelinking=no
   10972       exp_sym_flag='-Bexport'
   10973       no_entry_flag=""
   10974     else
   10975       aix_use_runtimelinking=no
   10976 
   10977       # Test if we are trying to use run time linking or normal
   10978       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10979       # need to do runtime linking.
   10980       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10981 	for ld_flag in $LDFLAGS; do
   10982 	  case $ld_flag in
   10983 	  *-brtl*)
   10984 	    aix_use_runtimelinking=yes
   10985 	    break
   10986 	    ;;
   10987 	  esac
   10988 	done
   10989 	;;
   10990       esac
   10991 
   10992       exp_sym_flag='-bexport'
   10993       no_entry_flag='-bnoentry'
   10994     fi
   10995 
   10996     # When large executables or shared objects are built, AIX ld can
   10997     # have problems creating the table of contents.  If linking a library
   10998     # or program results in "error TOC overflow" add -mminimal-toc to
   10999     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11000     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11001 
   11002     archive_cmds_CXX=''
   11003     hardcode_direct_CXX=yes
   11004     hardcode_libdir_separator_CXX=':'
   11005     link_all_deplibs_CXX=yes
   11006 
   11007     if test "$GXX" = yes; then
   11008       case $host_os in aix4.[012]|aix4.[012].*)
   11009       # We only want to do this on AIX 4.2 and lower, the check
   11010       # below for broken collect2 doesn't work under 4.3+
   11011 	collect2name=`${CC} -print-prog-name=collect2`
   11012 	if test -f "$collect2name" && \
   11013 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11014 	then
   11015 	  # We have reworked collect2
   11016 	  :
   11017 	else
   11018 	  # We have old collect2
   11019 	  hardcode_direct_CXX=unsupported
   11020 	  # It fails to find uninstalled libraries when the uninstalled
   11021 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11022 	  # to unsupported forces relinking
   11023 	  hardcode_minus_L_CXX=yes
   11024 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11025 	  hardcode_libdir_separator_CXX=
   11026 	fi
   11027 	;;
   11028       esac
   11029       shared_flag='-shared'
   11030       if test "$aix_use_runtimelinking" = yes; then
   11031 	shared_flag="$shared_flag "'${wl}-G'
   11032       fi
   11033     else
   11034       # not using gcc
   11035       if test "$host_cpu" = ia64; then
   11036 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11037 	# chokes on -Wl,-G. The following line is correct:
   11038 	shared_flag='-G'
   11039       else
   11040 	if test "$aix_use_runtimelinking" = yes; then
   11041 	  shared_flag='${wl}-G'
   11042 	else
   11043 	  shared_flag='${wl}-bM:SRE'
   11044 	fi
   11045       fi
   11046     fi
   11047 
   11048     # It seems that -bexpall does not export symbols beginning with
   11049     # underscore (_), so it is better to generate a list of symbols to export.
   11050     always_export_symbols_CXX=yes
   11051     if test "$aix_use_runtimelinking" = yes; then
   11052       # Warning - without using the other runtime loading flags (-brtl),
   11053       # -berok will link without error, but may produce a broken library.
   11054       allow_undefined_flag_CXX='-berok'
   11055       # Determine the default libpath from the value encoded in an empty executable.
   11056       cat >conftest.$ac_ext <<_ACEOF
   11057 /* confdefs.h.  */
   11058 _ACEOF
   11059 cat confdefs.h >>conftest.$ac_ext
   11060 cat >>conftest.$ac_ext <<_ACEOF
   11061 /* end confdefs.h.  */
   11062 
   11063 int
   11064 main ()
   11065 {
   11066 
   11067   ;
   11068   return 0;
   11069 }
   11070 _ACEOF
   11071 rm -f conftest.$ac_objext conftest$ac_exeext
   11072 if { (ac_try="$ac_link"
   11073 case "(($ac_try" in
   11074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11075   *) ac_try_echo=$ac_try;;
   11076 esac
   11077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11078   (eval "$ac_link") 2>conftest.er1
   11079   ac_status=$?
   11080   grep -v '^ *+' conftest.er1 >conftest.err
   11081   rm -f conftest.er1
   11082   cat conftest.err >&5
   11083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11084   (exit $ac_status); } && {
   11085 	 test -z "$ac_cxx_werror_flag" ||
   11086 	 test ! -s conftest.err
   11087        } && test -s conftest$ac_exeext &&
   11088        $as_test_x conftest$ac_exeext; then
   11089 
   11090 lt_aix_libpath_sed='
   11091     /Import File Strings/,/^$/ {
   11092 	/^0/ {
   11093 	    s/^0  *\(.*\)$/\1/
   11094 	    p
   11095 	}
   11096     }'
   11097 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11098 # Check for a 64-bit object if we didn't find anything.
   11099 if test -z "$aix_libpath"; then
   11100   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11101 fi
   11102 else
   11103   echo "$as_me: failed program was:" >&5
   11104 sed 's/^/| /' conftest.$ac_ext >&5
   11105 
   11106 
   11107 fi
   11108 
   11109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11110       conftest$ac_exeext conftest.$ac_ext
   11111 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11112 
   11113       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11114 
   11115       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"
   11116      else
   11117       if test "$host_cpu" = ia64; then
   11118 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11119 	allow_undefined_flag_CXX="-z nodefs"
   11120 	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"
   11121       else
   11122 	# Determine the default libpath from the value encoded in an empty executable.
   11123 	cat >conftest.$ac_ext <<_ACEOF
   11124 /* confdefs.h.  */
   11125 _ACEOF
   11126 cat confdefs.h >>conftest.$ac_ext
   11127 cat >>conftest.$ac_ext <<_ACEOF
   11128 /* end confdefs.h.  */
   11129 
   11130 int
   11131 main ()
   11132 {
   11133 
   11134   ;
   11135   return 0;
   11136 }
   11137 _ACEOF
   11138 rm -f conftest.$ac_objext conftest$ac_exeext
   11139 if { (ac_try="$ac_link"
   11140 case "(($ac_try" in
   11141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11142   *) ac_try_echo=$ac_try;;
   11143 esac
   11144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11145   (eval "$ac_link") 2>conftest.er1
   11146   ac_status=$?
   11147   grep -v '^ *+' conftest.er1 >conftest.err
   11148   rm -f conftest.er1
   11149   cat conftest.err >&5
   11150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11151   (exit $ac_status); } && {
   11152 	 test -z "$ac_cxx_werror_flag" ||
   11153 	 test ! -s conftest.err
   11154        } && test -s conftest$ac_exeext &&
   11155        $as_test_x conftest$ac_exeext; then
   11156 
   11157 lt_aix_libpath_sed='
   11158     /Import File Strings/,/^$/ {
   11159 	/^0/ {
   11160 	    s/^0  *\(.*\)$/\1/
   11161 	    p
   11162 	}
   11163     }'
   11164 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11165 # Check for a 64-bit object if we didn't find anything.
   11166 if test -z "$aix_libpath"; then
   11167   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11168 fi
   11169 else
   11170   echo "$as_me: failed program was:" >&5
   11171 sed 's/^/| /' conftest.$ac_ext >&5
   11172 
   11173 
   11174 fi
   11175 
   11176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11177       conftest$ac_exeext conftest.$ac_ext
   11178 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11179 
   11180 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11181 	# Warning - without using the other run time loading flags,
   11182 	# -berok will link without error, but may produce a broken library.
   11183 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11184 	allow_undefined_flag_CXX=' ${wl}-berok'
   11185 	# Exported symbols can be pulled into shared objects from archives
   11186 	whole_archive_flag_spec_CXX='$convenience'
   11187 	archive_cmds_need_lc_CXX=yes
   11188 	# This is similar to how AIX traditionally builds its shared libraries.
   11189 	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'
   11190       fi
   11191     fi
   11192     ;;
   11193 
   11194   beos*)
   11195     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11196       allow_undefined_flag_CXX=unsupported
   11197       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11198       # support --undefined.  This deserves some investigation.  FIXME
   11199       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11200     else
   11201       ld_shlibs_CXX=no
   11202     fi
   11203     ;;
   11204 
   11205   chorus*)
   11206     case $cc_basename in
   11207       *)
   11208 	# FIXME: insert proper C++ library support
   11209 	ld_shlibs_CXX=no
   11210 	;;
   11211     esac
   11212     ;;
   11213 
   11214   cygwin* | mingw* | pw32*)
   11215     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11216     # as there is no search path for DLLs.
   11217     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11218     allow_undefined_flag_CXX=unsupported
   11219     always_export_symbols_CXX=no
   11220     enable_shared_with_static_runtimes_CXX=yes
   11221 
   11222     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11223       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'
   11224       # If the export-symbols file already is a .def file (1st line
   11225       # is EXPORTS), use it as is; otherwise, prepend...
   11226       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11227 	cp $export_symbols $output_objdir/$soname.def;
   11228       else
   11229 	echo EXPORTS > $output_objdir/$soname.def;
   11230 	cat $export_symbols >> $output_objdir/$soname.def;
   11231       fi~
   11232       $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'
   11233     else
   11234       ld_shlibs_CXX=no
   11235     fi
   11236   ;;
   11237       darwin* | rhapsody*)
   11238         case $host_os in
   11239         rhapsody* | darwin1.[012])
   11240          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11241          ;;
   11242        *) # Darwin 1.3 on
   11243          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11244            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11245          else
   11246            case ${MACOSX_DEPLOYMENT_TARGET} in
   11247              10.[012])
   11248                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11249                ;;
   11250              10.*)
   11251                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11252                ;;
   11253            esac
   11254          fi
   11255          ;;
   11256         esac
   11257       archive_cmds_need_lc_CXX=no
   11258       hardcode_direct_CXX=no
   11259       hardcode_automatic_CXX=yes
   11260       hardcode_shlibpath_var_CXX=unsupported
   11261       whole_archive_flag_spec_CXX=''
   11262       link_all_deplibs_CXX=yes
   11263 
   11264     if test "$GXX" = yes ; then
   11265       lt_int_apple_cc_single_mod=no
   11266       output_verbose_link_cmd='echo'
   11267       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11268        lt_int_apple_cc_single_mod=yes
   11269       fi
   11270       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11271        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11272       else
   11273           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'
   11274         fi
   11275         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11276         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11277           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11278             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}'
   11279           else
   11280             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}'
   11281           fi
   11282             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}'
   11283       else
   11284       case $cc_basename in
   11285         xlc*)
   11286          output_verbose_link_cmd='echo'
   11287           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'
   11288           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11289           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11290           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}'
   11291           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}'
   11292           ;;
   11293        *)
   11294          ld_shlibs_CXX=no
   11295           ;;
   11296       esac
   11297       fi
   11298         ;;
   11299 
   11300   dgux*)
   11301     case $cc_basename in
   11302       ec++*)
   11303 	# FIXME: insert proper C++ library support
   11304 	ld_shlibs_CXX=no
   11305 	;;
   11306       ghcx*)
   11307 	# Green Hills C++ Compiler
   11308 	# FIXME: insert proper C++ library support
   11309 	ld_shlibs_CXX=no
   11310 	;;
   11311       *)
   11312 	# FIXME: insert proper C++ library support
   11313 	ld_shlibs_CXX=no
   11314 	;;
   11315     esac
   11316     ;;
   11317   freebsd[12]*)
   11318     # C++ shared libraries reported to be fairly broken before switch to ELF
   11319     ld_shlibs_CXX=no
   11320     ;;
   11321   freebsd-elf*)
   11322     archive_cmds_need_lc_CXX=no
   11323     ;;
   11324   freebsd* | dragonfly*)
   11325     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11326     # conventions
   11327     ld_shlibs_CXX=yes
   11328     ;;
   11329   gnu*)
   11330     ;;
   11331   hpux9*)
   11332     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11333     hardcode_libdir_separator_CXX=:
   11334     export_dynamic_flag_spec_CXX='${wl}-E'
   11335     hardcode_direct_CXX=yes
   11336     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11337 				# but as the default
   11338 				# location of the library.
   11339 
   11340     case $cc_basename in
   11341     CC*)
   11342       # FIXME: insert proper C++ library support
   11343       ld_shlibs_CXX=no
   11344       ;;
   11345     aCC*)
   11346       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'
   11347       # Commands to make compiler produce verbose output that lists
   11348       # what "hidden" libraries, object files and flags are used when
   11349       # linking a shared library.
   11350       #
   11351       # There doesn't appear to be a way to prevent this compiler from
   11352       # explicitly linking system object files so we need to strip them
   11353       # from the output so that they don't get included in the library
   11354       # dependencies.
   11355       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'
   11356       ;;
   11357     *)
   11358       if test "$GXX" = yes; then
   11359         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'
   11360       else
   11361         # FIXME: insert proper C++ library support
   11362         ld_shlibs_CXX=no
   11363       fi
   11364       ;;
   11365     esac
   11366     ;;
   11367   hpux10*|hpux11*)
   11368     if test $with_gnu_ld = no; then
   11369       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11370       hardcode_libdir_separator_CXX=:
   11371 
   11372       case $host_cpu in
   11373       hppa*64*|ia64*) ;;
   11374       *)
   11375 	export_dynamic_flag_spec_CXX='${wl}-E'
   11376         ;;
   11377       esac
   11378     fi
   11379     case $host_cpu in
   11380     hppa*64*|ia64*)
   11381       hardcode_direct_CXX=no
   11382       hardcode_shlibpath_var_CXX=no
   11383       ;;
   11384     *)
   11385       hardcode_direct_CXX=yes
   11386       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11387 					      # but as the default
   11388 					      # location of the library.
   11389       ;;
   11390     esac
   11391 
   11392     case $cc_basename in
   11393       CC*)
   11394 	# FIXME: insert proper C++ library support
   11395 	ld_shlibs_CXX=no
   11396 	;;
   11397       aCC*)
   11398 	case $host_cpu in
   11399 	hppa*64*)
   11400 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11401 	  ;;
   11402 	ia64*)
   11403 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11404 	  ;;
   11405 	*)
   11406 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11407 	  ;;
   11408 	esac
   11409 	# Commands to make compiler produce verbose output that lists
   11410 	# what "hidden" libraries, object files and flags are used when
   11411 	# linking a shared library.
   11412 	#
   11413 	# There doesn't appear to be a way to prevent this compiler from
   11414 	# explicitly linking system object files so we need to strip them
   11415 	# from the output so that they don't get included in the library
   11416 	# dependencies.
   11417 	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'
   11418 	;;
   11419       *)
   11420 	if test "$GXX" = yes; then
   11421 	  if test $with_gnu_ld = no; then
   11422 	    case $host_cpu in
   11423 	    hppa*64*)
   11424 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11425 	      ;;
   11426 	    ia64*)
   11427 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11428 	      ;;
   11429 	    *)
   11430 	      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'
   11431 	      ;;
   11432 	    esac
   11433 	  fi
   11434 	else
   11435 	  # FIXME: insert proper C++ library support
   11436 	  ld_shlibs_CXX=no
   11437 	fi
   11438 	;;
   11439     esac
   11440     ;;
   11441   interix[3-9]*)
   11442     hardcode_direct_CXX=no
   11443     hardcode_shlibpath_var_CXX=no
   11444     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11445     export_dynamic_flag_spec_CXX='${wl}-E'
   11446     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11447     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11448     # default) and relocated if they conflict, which is a slow very memory
   11449     # consuming and fragmenting process.  To avoid this, we pick a random,
   11450     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11451     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11452     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'
   11453     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'
   11454     ;;
   11455   irix5* | irix6*)
   11456     case $cc_basename in
   11457       CC*)
   11458 	# SGI C++
   11459 	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'
   11460 
   11461 	# Archives containing C++ object files must be created using
   11462 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11463 	# necessary to make sure instantiated templates are included
   11464 	# in the archive.
   11465 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11466 	;;
   11467       *)
   11468 	if test "$GXX" = yes; then
   11469 	  if test "$with_gnu_ld" = no; then
   11470 	    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'
   11471 	  else
   11472 	    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'
   11473 	  fi
   11474 	fi
   11475 	link_all_deplibs_CXX=yes
   11476 	;;
   11477     esac
   11478     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11479     hardcode_libdir_separator_CXX=:
   11480     ;;
   11481   linux* | k*bsd*-gnu)
   11482     case $cc_basename in
   11483       KCC*)
   11484 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11485 
   11486 	# KCC will only create a shared library if the output file
   11487 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11488 	# to its proper name (with version) after linking.
   11489 	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'
   11490 	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'
   11491 	# Commands to make compiler produce verbose output that lists
   11492 	# what "hidden" libraries, object files and flags are used when
   11493 	# linking a shared library.
   11494 	#
   11495 	# There doesn't appear to be a way to prevent this compiler from
   11496 	# explicitly linking system object files so we need to strip them
   11497 	# from the output so that they don't get included in the library
   11498 	# dependencies.
   11499 	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'
   11500 
   11501 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11502 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11503 
   11504 	# Archives containing C++ object files must be created using
   11505 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11506 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11507 	;;
   11508       icpc*)
   11509 	# Intel C++
   11510 	with_gnu_ld=yes
   11511 	# version 8.0 and above of icpc choke on multiply defined symbols
   11512 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11513 	# earlier do not add the objects themselves.
   11514 	case `$CC -V 2>&1` in
   11515 	*"Version 7."*)
   11516   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11517   	  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'
   11518 	  ;;
   11519 	*)  # Version 8.0 or newer
   11520 	  tmp_idyn=
   11521 	  case $host_cpu in
   11522 	    ia64*) tmp_idyn=' -i_dynamic';;
   11523 	  esac
   11524   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11525 	  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'
   11526 	  ;;
   11527 	esac
   11528 	archive_cmds_need_lc_CXX=no
   11529 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11530 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11531 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11532 	;;
   11533       pgCC*)
   11534         # Portland Group C++ compiler
   11535 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11536   	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'
   11537 
   11538 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11539 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11540 	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'
   11541         ;;
   11542       cxx*)
   11543 	# Compaq C++
   11544 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11545 	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'
   11546 
   11547 	runpath_var=LD_RUN_PATH
   11548 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11549 	hardcode_libdir_separator_CXX=:
   11550 
   11551 	# Commands to make compiler produce verbose output that lists
   11552 	# what "hidden" libraries, object files and flags are used when
   11553 	# linking a shared library.
   11554 	#
   11555 	# There doesn't appear to be a way to prevent this compiler from
   11556 	# explicitly linking system object files so we need to strip them
   11557 	# from the output so that they don't get included in the library
   11558 	# dependencies.
   11559 	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'
   11560 	;;
   11561       *)
   11562 	case `$CC -V 2>&1 | sed 5q` in
   11563 	*Sun\ C*)
   11564 	  # Sun C++ 5.9
   11565 	  no_undefined_flag_CXX=' -zdefs'
   11566 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11567 	  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'
   11568 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11569 	  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'
   11570 
   11571 	  # Not sure whether something based on
   11572 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11573 	  # would be better.
   11574 	  output_verbose_link_cmd='echo'
   11575 
   11576 	  # Archives containing C++ object files must be created using
   11577 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11578 	  # necessary to make sure instantiated templates are included
   11579 	  # in the archive.
   11580 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11581 	  ;;
   11582 	esac
   11583 	;;
   11584     esac
   11585     ;;
   11586   lynxos*)
   11587     # FIXME: insert proper C++ library support
   11588     ld_shlibs_CXX=no
   11589     ;;
   11590   m88k*)
   11591     # FIXME: insert proper C++ library support
   11592     ld_shlibs_CXX=no
   11593     ;;
   11594   mvs*)
   11595     case $cc_basename in
   11596       cxx*)
   11597 	# FIXME: insert proper C++ library support
   11598 	ld_shlibs_CXX=no
   11599 	;;
   11600       *)
   11601 	# FIXME: insert proper C++ library support
   11602 	ld_shlibs_CXX=no
   11603 	;;
   11604     esac
   11605     ;;
   11606   netbsd*)
   11607     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11608       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11609       wlarc=
   11610       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11611       hardcode_direct_CXX=yes
   11612       hardcode_shlibpath_var_CXX=no
   11613     fi
   11614     # Workaround some broken pre-1.5 toolchains
   11615     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11616     ;;
   11617   openbsd2*)
   11618     # C++ shared libraries are fairly broken
   11619     ld_shlibs_CXX=no
   11620     ;;
   11621   openbsd*)
   11622     if test -f /usr/libexec/ld.so; then
   11623       hardcode_direct_CXX=yes
   11624       hardcode_shlibpath_var_CXX=no
   11625       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11626       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11627       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11628 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11629 	export_dynamic_flag_spec_CXX='${wl}-E'
   11630 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11631       fi
   11632       output_verbose_link_cmd='echo'
   11633     else
   11634       ld_shlibs_CXX=no
   11635     fi
   11636     ;;
   11637   osf3*)
   11638     case $cc_basename in
   11639       KCC*)
   11640 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11641 
   11642 	# KCC will only create a shared library if the output file
   11643 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11644 	# to its proper name (with version) after linking.
   11645 	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'
   11646 
   11647 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11648 	hardcode_libdir_separator_CXX=:
   11649 
   11650 	# Archives containing C++ object files must be created using
   11651 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11652 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11653 
   11654 	;;
   11655       RCC*)
   11656 	# Rational C++ 2.4.1
   11657 	# FIXME: insert proper C++ library support
   11658 	ld_shlibs_CXX=no
   11659 	;;
   11660       cxx*)
   11661 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11662 	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'
   11663 
   11664 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11665 	hardcode_libdir_separator_CXX=:
   11666 
   11667 	# Commands to make compiler produce verbose output that lists
   11668 	# what "hidden" libraries, object files and flags are used when
   11669 	# linking a shared library.
   11670 	#
   11671 	# There doesn't appear to be a way to prevent this compiler from
   11672 	# explicitly linking system object files so we need to strip them
   11673 	# from the output so that they don't get included in the library
   11674 	# dependencies.
   11675 	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'
   11676 	;;
   11677       *)
   11678 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11679 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11680 	  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'
   11681 
   11682 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11683 	  hardcode_libdir_separator_CXX=:
   11684 
   11685 	  # Commands to make compiler produce verbose output that lists
   11686 	  # what "hidden" libraries, object files and flags are used when
   11687 	  # linking a shared library.
   11688 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11689 
   11690 	else
   11691 	  # FIXME: insert proper C++ library support
   11692 	  ld_shlibs_CXX=no
   11693 	fi
   11694 	;;
   11695     esac
   11696     ;;
   11697   osf4* | osf5*)
   11698     case $cc_basename in
   11699       KCC*)
   11700 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11701 
   11702 	# KCC will only create a shared library if the output file
   11703 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11704 	# to its proper name (with version) after linking.
   11705 	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'
   11706 
   11707 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11708 	hardcode_libdir_separator_CXX=:
   11709 
   11710 	# Archives containing C++ object files must be created using
   11711 	# the KAI C++ compiler.
   11712 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11713 	;;
   11714       RCC*)
   11715 	# Rational C++ 2.4.1
   11716 	# FIXME: insert proper C++ library support
   11717 	ld_shlibs_CXX=no
   11718 	;;
   11719       cxx*)
   11720 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11721 	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'
   11722 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11723 	  echo "-hidden">> $lib.exp~
   11724 	  $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~
   11725 	  $rm $lib.exp'
   11726 
   11727 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11728 	hardcode_libdir_separator_CXX=:
   11729 
   11730 	# Commands to make compiler produce verbose output that lists
   11731 	# what "hidden" libraries, object files and flags are used when
   11732 	# linking a shared library.
   11733 	#
   11734 	# There doesn't appear to be a way to prevent this compiler from
   11735 	# explicitly linking system object files so we need to strip them
   11736 	# from the output so that they don't get included in the library
   11737 	# dependencies.
   11738 	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'
   11739 	;;
   11740       *)
   11741 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11742 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11743 	 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'
   11744 
   11745 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11746 	  hardcode_libdir_separator_CXX=:
   11747 
   11748 	  # Commands to make compiler produce verbose output that lists
   11749 	  # what "hidden" libraries, object files and flags are used when
   11750 	  # linking a shared library.
   11751 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11752 
   11753 	else
   11754 	  # FIXME: insert proper C++ library support
   11755 	  ld_shlibs_CXX=no
   11756 	fi
   11757 	;;
   11758     esac
   11759     ;;
   11760   psos*)
   11761     # FIXME: insert proper C++ library support
   11762     ld_shlibs_CXX=no
   11763     ;;
   11764   sunos4*)
   11765     case $cc_basename in
   11766       CC*)
   11767 	# Sun C++ 4.x
   11768 	# FIXME: insert proper C++ library support
   11769 	ld_shlibs_CXX=no
   11770 	;;
   11771       lcc*)
   11772 	# Lucid
   11773 	# FIXME: insert proper C++ library support
   11774 	ld_shlibs_CXX=no
   11775 	;;
   11776       *)
   11777 	# FIXME: insert proper C++ library support
   11778 	ld_shlibs_CXX=no
   11779 	;;
   11780     esac
   11781     ;;
   11782   solaris*)
   11783     case $cc_basename in
   11784       CC*)
   11785 	# Sun C++ 4.2, 5.x and Centerline C++
   11786         archive_cmds_need_lc_CXX=yes
   11787 	no_undefined_flag_CXX=' -zdefs'
   11788 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11789 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11790 	$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'
   11791 
   11792 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11793 	hardcode_shlibpath_var_CXX=no
   11794 	case $host_os in
   11795 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11796 	  *)
   11797 	    # The compiler driver will combine and reorder linker options,
   11798 	    # but understands `-z linker_flag'.
   11799 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11800 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   11801 	    ;;
   11802 	esac
   11803 	link_all_deplibs_CXX=yes
   11804 
   11805 	output_verbose_link_cmd='echo'
   11806 
   11807 	# Archives containing C++ object files must be created using
   11808 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11809 	# necessary to make sure instantiated templates are included
   11810 	# in the archive.
   11811 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11812 	;;
   11813       gcx*)
   11814 	# Green Hills C++ Compiler
   11815 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11816 
   11817 	# The C++ compiler must be used to create the archive.
   11818 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11819 	;;
   11820       *)
   11821 	# GNU C++ compiler with Solaris linker
   11822 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11823 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11824 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11825 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11826 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11827 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11828 
   11829 	    # Commands to make compiler produce verbose output that lists
   11830 	    # what "hidden" libraries, object files and flags are used when
   11831 	    # linking a shared library.
   11832 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11833 	  else
   11834 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11835 	    # platform.
   11836 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11837 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11838 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11839 
   11840 	    # Commands to make compiler produce verbose output that lists
   11841 	    # what "hidden" libraries, object files and flags are used when
   11842 	    # linking a shared library.
   11843 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11844 	  fi
   11845 
   11846 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11847 	  case $host_os in
   11848 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11849 	  *)
   11850 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11851 	    ;;
   11852 	  esac
   11853 	fi
   11854 	;;
   11855     esac
   11856     ;;
   11857   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11858     no_undefined_flag_CXX='${wl}-z,text'
   11859     archive_cmds_need_lc_CXX=no
   11860     hardcode_shlibpath_var_CXX=no
   11861     runpath_var='LD_RUN_PATH'
   11862 
   11863     case $cc_basename in
   11864       CC*)
   11865 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11866 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11867 	;;
   11868       *)
   11869 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11870 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11871 	;;
   11872     esac
   11873     ;;
   11874   sysv5* | sco3.2v5* | sco5v6*)
   11875     # Note: We can NOT use -z defs as we might desire, because we do not
   11876     # link with -lc, and that would cause any symbols used from libc to
   11877     # always be unresolved, which means just about no library would
   11878     # ever link correctly.  If we're not using GNU ld we use -z text
   11879     # though, which does catch some bad symbols but isn't as heavy-handed
   11880     # as -z defs.
   11881     # For security reasons, it is highly recommended that you always
   11882     # use absolute paths for naming shared libraries, and exclude the
   11883     # DT_RUNPATH tag from executables and libraries.  But doing so
   11884     # requires that you compile everything twice, which is a pain.
   11885     # So that behaviour is only enabled if SCOABSPATH is set to a
   11886     # non-empty value in the environment.  Most likely only useful for
   11887     # creating official distributions of packages.
   11888     # This is a hack until libtool officially supports absolute path
   11889     # names for shared libraries.
   11890     no_undefined_flag_CXX='${wl}-z,text'
   11891     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11892     archive_cmds_need_lc_CXX=no
   11893     hardcode_shlibpath_var_CXX=no
   11894     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11895     hardcode_libdir_separator_CXX=':'
   11896     link_all_deplibs_CXX=yes
   11897     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11898     runpath_var='LD_RUN_PATH'
   11899 
   11900     case $cc_basename in
   11901       CC*)
   11902 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11903 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11904 	;;
   11905       *)
   11906 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11907 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11908 	;;
   11909     esac
   11910     ;;
   11911   tandem*)
   11912     case $cc_basename in
   11913       NCC*)
   11914 	# NonStop-UX NCC 3.20
   11915 	# FIXME: insert proper C++ library support
   11916 	ld_shlibs_CXX=no
   11917 	;;
   11918       *)
   11919 	# FIXME: insert proper C++ library support
   11920 	ld_shlibs_CXX=no
   11921 	;;
   11922     esac
   11923     ;;
   11924   vxworks*)
   11925     # FIXME: insert proper C++ library support
   11926     ld_shlibs_CXX=no
   11927     ;;
   11928   *)
   11929     # FIXME: insert proper C++ library support
   11930     ld_shlibs_CXX=no
   11931     ;;
   11932 esac
   11933 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11934 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11935 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11936 
   11937 GCC_CXX="$GXX"
   11938 LD_CXX="$LD"
   11939 
   11940 
   11941 cat > conftest.$ac_ext <<EOF
   11942 class Foo
   11943 {
   11944 public:
   11945   Foo (void) { a = 0; }
   11946 private:
   11947   int a;
   11948 };
   11949 EOF
   11950 
   11951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11952   (eval $ac_compile) 2>&5
   11953   ac_status=$?
   11954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11955   (exit $ac_status); }; then
   11956   # Parse the compiler output and extract the necessary
   11957   # objects, libraries and library flags.
   11958 
   11959   # Sentinel used to keep track of whether or not we are before
   11960   # the conftest object file.
   11961   pre_test_object_deps_done=no
   11962 
   11963   # The `*' in the case matches for architectures that use `case' in
   11964   # $output_verbose_cmd can trigger glob expansion during the loop
   11965   # eval without this substitution.
   11966   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11967 
   11968   for p in `eval $output_verbose_link_cmd`; do
   11969     case $p in
   11970 
   11971     -L* | -R* | -l*)
   11972        # Some compilers place space between "-{L,R}" and the path.
   11973        # Remove the space.
   11974        if test $p = "-L" \
   11975 	  || test $p = "-R"; then
   11976 	 prev=$p
   11977 	 continue
   11978        else
   11979 	 prev=
   11980        fi
   11981 
   11982        if test "$pre_test_object_deps_done" = no; then
   11983 	 case $p in
   11984 	 -L* | -R*)
   11985 	   # Internal compiler library paths should come after those
   11986 	   # provided the user.  The postdeps already come after the
   11987 	   # user supplied libs so there is no need to process them.
   11988 	   if test -z "$compiler_lib_search_path_CXX"; then
   11989 	     compiler_lib_search_path_CXX="${prev}${p}"
   11990 	   else
   11991 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11992 	   fi
   11993 	   ;;
   11994 	 # The "-l" case would never come before the object being
   11995 	 # linked, so don't bother handling this case.
   11996 	 esac
   11997        else
   11998 	 if test -z "$postdeps_CXX"; then
   11999 	   postdeps_CXX="${prev}${p}"
   12000 	 else
   12001 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12002 	 fi
   12003        fi
   12004        ;;
   12005 
   12006     *.$objext)
   12007        # This assumes that the test object file only shows up
   12008        # once in the compiler output.
   12009        if test "$p" = "conftest.$objext"; then
   12010 	 pre_test_object_deps_done=yes
   12011 	 continue
   12012        fi
   12013 
   12014        if test "$pre_test_object_deps_done" = no; then
   12015 	 if test -z "$predep_objects_CXX"; then
   12016 	   predep_objects_CXX="$p"
   12017 	 else
   12018 	   predep_objects_CXX="$predep_objects_CXX $p"
   12019 	 fi
   12020        else
   12021 	 if test -z "$postdep_objects_CXX"; then
   12022 	   postdep_objects_CXX="$p"
   12023 	 else
   12024 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12025 	 fi
   12026        fi
   12027        ;;
   12028 
   12029     *) ;; # Ignore the rest.
   12030 
   12031     esac
   12032   done
   12033 
   12034   # Clean up.
   12035   rm -f a.out a.exe
   12036 else
   12037   echo "libtool.m4: error: problem compiling CXX test program"
   12038 fi
   12039 
   12040 $rm -f confest.$objext
   12041 
   12042 # PORTME: override above test on systems where it is broken
   12043 case $host_os in
   12044 interix[3-9]*)
   12045   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12046   # hack all around it, let's just trust "g++" to DTRT.
   12047   predep_objects_CXX=
   12048   postdep_objects_CXX=
   12049   postdeps_CXX=
   12050   ;;
   12051 
   12052 linux*)
   12053   case `$CC -V 2>&1 | sed 5q` in
   12054   *Sun\ C*)
   12055     # Sun C++ 5.9
   12056     #
   12057     # The more standards-conforming stlport4 library is
   12058     # incompatible with the Cstd library. Avoid specifying
   12059     # it if it's in CXXFLAGS. Ignore libCrun as
   12060     # -library=stlport4 depends on it.
   12061     case " $CXX $CXXFLAGS " in
   12062     *" -library=stlport4 "*)
   12063       solaris_use_stlport4=yes
   12064       ;;
   12065     esac
   12066     if test "$solaris_use_stlport4" != yes; then
   12067       postdeps_CXX='-library=Cstd -library=Crun'
   12068     fi
   12069     ;;
   12070   esac
   12071   ;;
   12072 
   12073 solaris*)
   12074   case $cc_basename in
   12075   CC*)
   12076     # The more standards-conforming stlport4 library is
   12077     # incompatible with the Cstd library. Avoid specifying
   12078     # it if it's in CXXFLAGS. Ignore libCrun as
   12079     # -library=stlport4 depends on it.
   12080     case " $CXX $CXXFLAGS " in
   12081     *" -library=stlport4 "*)
   12082       solaris_use_stlport4=yes
   12083       ;;
   12084     esac
   12085 
   12086     # Adding this requires a known-good setup of shared libraries for
   12087     # Sun compiler versions before 5.6, else PIC objects from an old
   12088     # archive will be linked into the output, leading to subtle bugs.
   12089     if test "$solaris_use_stlport4" != yes; then
   12090       postdeps_CXX='-library=Cstd -library=Crun'
   12091     fi
   12092     ;;
   12093   esac
   12094   ;;
   12095 esac
   12096 
   12097 
   12098 case " $postdeps_CXX " in
   12099 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12100 esac
   12101 
   12102 lt_prog_compiler_wl_CXX=
   12103 lt_prog_compiler_pic_CXX=
   12104 lt_prog_compiler_static_CXX=
   12105 
   12106 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12107 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12108 
   12109   # C++ specific cases for pic, static, wl, etc.
   12110   if test "$GXX" = yes; then
   12111     lt_prog_compiler_wl_CXX='-Wl,'
   12112     lt_prog_compiler_static_CXX='-static'
   12113 
   12114     case $host_os in
   12115     aix*)
   12116       # All AIX code is PIC.
   12117       if test "$host_cpu" = ia64; then
   12118 	# AIX 5 now supports IA64 processor
   12119 	lt_prog_compiler_static_CXX='-Bstatic'
   12120       fi
   12121       ;;
   12122     amigaos*)
   12123       # FIXME: we need at least 68020 code to build shared libraries, but
   12124       # adding the `-m68020' flag to GCC prevents building anything better,
   12125       # like `-m68040'.
   12126       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12127       ;;
   12128     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12129       # PIC is the default for these OSes.
   12130       ;;
   12131     mingw* | cygwin* | os2* | pw32*)
   12132       # This hack is so that the source file can tell whether it is being
   12133       # built for inclusion in a dll (and should export symbols for example).
   12134       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12135       # (--disable-auto-import) libraries
   12136       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12137       ;;
   12138     darwin* | rhapsody*)
   12139       # PIC is the default on this platform
   12140       # Common symbols not allowed in MH_DYLIB files
   12141       lt_prog_compiler_pic_CXX='-fno-common'
   12142       ;;
   12143     *djgpp*)
   12144       # DJGPP does not support shared libraries at all
   12145       lt_prog_compiler_pic_CXX=
   12146       ;;
   12147     interix[3-9]*)
   12148       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12149       # Instead, we relocate shared libraries at runtime.
   12150       ;;
   12151     sysv4*MP*)
   12152       if test -d /usr/nec; then
   12153 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12154       fi
   12155       ;;
   12156     hpux*)
   12157       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12158       # not for PA HP-UX.
   12159       case $host_cpu in
   12160       hppa*64*|ia64*)
   12161 	;;
   12162       *)
   12163 	lt_prog_compiler_pic_CXX='-fPIC'
   12164 	;;
   12165       esac
   12166       ;;
   12167     *)
   12168       lt_prog_compiler_pic_CXX='-fPIC'
   12169       ;;
   12170     esac
   12171   else
   12172     case $host_os in
   12173       aix4* | aix5*)
   12174 	# All AIX code is PIC.
   12175 	if test "$host_cpu" = ia64; then
   12176 	  # AIX 5 now supports IA64 processor
   12177 	  lt_prog_compiler_static_CXX='-Bstatic'
   12178 	else
   12179 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12180 	fi
   12181 	;;
   12182       chorus*)
   12183 	case $cc_basename in
   12184 	cxch68*)
   12185 	  # Green Hills C++ Compiler
   12186 	  # _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"
   12187 	  ;;
   12188 	esac
   12189 	;;
   12190        darwin*)
   12191          # PIC is the default on this platform
   12192          # Common symbols not allowed in MH_DYLIB files
   12193          case $cc_basename in
   12194            xlc*)
   12195            lt_prog_compiler_pic_CXX='-qnocommon'
   12196            lt_prog_compiler_wl_CXX='-Wl,'
   12197            ;;
   12198          esac
   12199        ;;
   12200       dgux*)
   12201 	case $cc_basename in
   12202 	  ec++*)
   12203 	    lt_prog_compiler_pic_CXX='-KPIC'
   12204 	    ;;
   12205 	  ghcx*)
   12206 	    # Green Hills C++ Compiler
   12207 	    lt_prog_compiler_pic_CXX='-pic'
   12208 	    ;;
   12209 	  *)
   12210 	    ;;
   12211 	esac
   12212 	;;
   12213       freebsd* | dragonfly*)
   12214 	# FreeBSD uses GNU C++
   12215 	;;
   12216       hpux9* | hpux10* | hpux11*)
   12217 	case $cc_basename in
   12218 	  CC*)
   12219 	    lt_prog_compiler_wl_CXX='-Wl,'
   12220 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12221 	    if test "$host_cpu" != ia64; then
   12222 	      lt_prog_compiler_pic_CXX='+Z'
   12223 	    fi
   12224 	    ;;
   12225 	  aCC*)
   12226 	    lt_prog_compiler_wl_CXX='-Wl,'
   12227 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12228 	    case $host_cpu in
   12229 	    hppa*64*|ia64*)
   12230 	      # +Z the default
   12231 	      ;;
   12232 	    *)
   12233 	      lt_prog_compiler_pic_CXX='+Z'
   12234 	      ;;
   12235 	    esac
   12236 	    ;;
   12237 	  *)
   12238 	    ;;
   12239 	esac
   12240 	;;
   12241       interix*)
   12242 	# This is c89, which is MS Visual C++ (no shared libs)
   12243 	# Anyone wants to do a port?
   12244 	;;
   12245       irix5* | irix6* | nonstopux*)
   12246 	case $cc_basename in
   12247 	  CC*)
   12248 	    lt_prog_compiler_wl_CXX='-Wl,'
   12249 	    lt_prog_compiler_static_CXX='-non_shared'
   12250 	    # CC pic flag -KPIC is the default.
   12251 	    ;;
   12252 	  *)
   12253 	    ;;
   12254 	esac
   12255 	;;
   12256       linux* | k*bsd*-gnu)
   12257 	case $cc_basename in
   12258 	  KCC*)
   12259 	    # KAI C++ Compiler
   12260 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12261 	    lt_prog_compiler_pic_CXX='-fPIC'
   12262 	    ;;
   12263 	  icpc* | ecpc*)
   12264 	    # Intel C++
   12265 	    lt_prog_compiler_wl_CXX='-Wl,'
   12266 	    lt_prog_compiler_pic_CXX='-KPIC'
   12267 	    lt_prog_compiler_static_CXX='-static'
   12268 	    ;;
   12269 	  pgCC*)
   12270 	    # Portland Group C++ compiler.
   12271 	    lt_prog_compiler_wl_CXX='-Wl,'
   12272 	    lt_prog_compiler_pic_CXX='-fpic'
   12273 	    lt_prog_compiler_static_CXX='-Bstatic'
   12274 	    ;;
   12275 	  cxx*)
   12276 	    # Compaq C++
   12277 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12278 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12279 	    lt_prog_compiler_pic_CXX=
   12280 	    lt_prog_compiler_static_CXX='-non_shared'
   12281 	    ;;
   12282 	  *)
   12283 	    case `$CC -V 2>&1 | sed 5q` in
   12284 	    *Sun\ C*)
   12285 	      # Sun C++ 5.9
   12286 	      lt_prog_compiler_pic_CXX='-KPIC'
   12287 	      lt_prog_compiler_static_CXX='-Bstatic'
   12288 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12289 	      ;;
   12290 	    esac
   12291 	    ;;
   12292 	esac
   12293 	;;
   12294       lynxos*)
   12295 	;;
   12296       m88k*)
   12297 	;;
   12298       mvs*)
   12299 	case $cc_basename in
   12300 	  cxx*)
   12301 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12302 	    ;;
   12303 	  *)
   12304 	    ;;
   12305 	esac
   12306 	;;
   12307       netbsd*)
   12308 	;;
   12309       osf3* | osf4* | osf5*)
   12310 	case $cc_basename in
   12311 	  KCC*)
   12312 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12313 	    ;;
   12314 	  RCC*)
   12315 	    # Rational C++ 2.4.1
   12316 	    lt_prog_compiler_pic_CXX='-pic'
   12317 	    ;;
   12318 	  cxx*)
   12319 	    # Digital/Compaq C++
   12320 	    lt_prog_compiler_wl_CXX='-Wl,'
   12321 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12322 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12323 	    lt_prog_compiler_pic_CXX=
   12324 	    lt_prog_compiler_static_CXX='-non_shared'
   12325 	    ;;
   12326 	  *)
   12327 	    ;;
   12328 	esac
   12329 	;;
   12330       psos*)
   12331 	;;
   12332       solaris*)
   12333 	case $cc_basename in
   12334 	  CC*)
   12335 	    # Sun C++ 4.2, 5.x and Centerline C++
   12336 	    lt_prog_compiler_pic_CXX='-KPIC'
   12337 	    lt_prog_compiler_static_CXX='-Bstatic'
   12338 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12339 	    ;;
   12340 	  gcx*)
   12341 	    # Green Hills C++ Compiler
   12342 	    lt_prog_compiler_pic_CXX='-PIC'
   12343 	    ;;
   12344 	  *)
   12345 	    ;;
   12346 	esac
   12347 	;;
   12348       sunos4*)
   12349 	case $cc_basename in
   12350 	  CC*)
   12351 	    # Sun C++ 4.x
   12352 	    lt_prog_compiler_pic_CXX='-pic'
   12353 	    lt_prog_compiler_static_CXX='-Bstatic'
   12354 	    ;;
   12355 	  lcc*)
   12356 	    # Lucid
   12357 	    lt_prog_compiler_pic_CXX='-pic'
   12358 	    ;;
   12359 	  *)
   12360 	    ;;
   12361 	esac
   12362 	;;
   12363       tandem*)
   12364 	case $cc_basename in
   12365 	  NCC*)
   12366 	    # NonStop-UX NCC 3.20
   12367 	    lt_prog_compiler_pic_CXX='-KPIC'
   12368 	    ;;
   12369 	  *)
   12370 	    ;;
   12371 	esac
   12372 	;;
   12373       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12374 	case $cc_basename in
   12375 	  CC*)
   12376 	    lt_prog_compiler_wl_CXX='-Wl,'
   12377 	    lt_prog_compiler_pic_CXX='-KPIC'
   12378 	    lt_prog_compiler_static_CXX='-Bstatic'
   12379 	    ;;
   12380 	esac
   12381 	;;
   12382       vxworks*)
   12383 	;;
   12384       *)
   12385 	lt_prog_compiler_can_build_shared_CXX=no
   12386 	;;
   12387     esac
   12388   fi
   12389 
   12390 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12391 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12392 
   12393 #
   12394 # Check to make sure the PIC flag actually works.
   12395 #
   12396 if test -n "$lt_prog_compiler_pic_CXX"; then
   12397 
   12398 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12399 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12400 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12401   echo $ECHO_N "(cached) $ECHO_C" >&6
   12402 else
   12403   lt_prog_compiler_pic_works_CXX=no
   12404   ac_outfile=conftest.$ac_objext
   12405    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12406    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12407    # Insert the option either (1) after the last *FLAGS variable, or
   12408    # (2) before a word containing "conftest.", or (3) at the end.
   12409    # Note that $ac_compile itself does not contain backslashes and begins
   12410    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12411    # The option is referenced via a variable to avoid confusing sed.
   12412    lt_compile=`echo "$ac_compile" | $SED \
   12413    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12414    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12415    -e 's:$: $lt_compiler_flag:'`
   12416    (eval echo "\"\$as_me:12416: $lt_compile\"" >&5)
   12417    (eval "$lt_compile" 2>conftest.err)
   12418    ac_status=$?
   12419    cat conftest.err >&5
   12420    echo "$as_me:12420: \$? = $ac_status" >&5
   12421    if (exit $ac_status) && test -s "$ac_outfile"; then
   12422      # The compiler can only warn and ignore the option if not recognized
   12423      # So say no if there are warnings other than the usual output.
   12424      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12425      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12426      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12427        lt_prog_compiler_pic_works_CXX=yes
   12428      fi
   12429    fi
   12430    $rm conftest*
   12431 
   12432 fi
   12433 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12434 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12435 
   12436 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12437     case $lt_prog_compiler_pic_CXX in
   12438      "" | " "*) ;;
   12439      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12440      esac
   12441 else
   12442     lt_prog_compiler_pic_CXX=
   12443      lt_prog_compiler_can_build_shared_CXX=no
   12444 fi
   12445 
   12446 fi
   12447 case $host_os in
   12448   # For platforms which do not support PIC, -DPIC is meaningless:
   12449   *djgpp*)
   12450     lt_prog_compiler_pic_CXX=
   12451     ;;
   12452   *)
   12453     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12454     ;;
   12455 esac
   12456 
   12457 #
   12458 # Check to make sure the static flag actually works.
   12459 #
   12460 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12461 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12462 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12463 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12464   echo $ECHO_N "(cached) $ECHO_C" >&6
   12465 else
   12466   lt_prog_compiler_static_works_CXX=no
   12467    save_LDFLAGS="$LDFLAGS"
   12468    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12469    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12470    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12471      # The linker can only warn and ignore the option if not recognized
   12472      # So say no if there are warnings
   12473      if test -s conftest.err; then
   12474        # Append any errors to the config.log.
   12475        cat conftest.err 1>&5
   12476        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12477        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12478        if diff conftest.exp conftest.er2 >/dev/null; then
   12479          lt_prog_compiler_static_works_CXX=yes
   12480        fi
   12481      else
   12482        lt_prog_compiler_static_works_CXX=yes
   12483      fi
   12484    fi
   12485    $rm conftest*
   12486    LDFLAGS="$save_LDFLAGS"
   12487 
   12488 fi
   12489 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12490 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12491 
   12492 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12493     :
   12494 else
   12495     lt_prog_compiler_static_CXX=
   12496 fi
   12497 
   12498 
   12499 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12500 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12501 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12502   echo $ECHO_N "(cached) $ECHO_C" >&6
   12503 else
   12504   lt_cv_prog_compiler_c_o_CXX=no
   12505    $rm -r conftest 2>/dev/null
   12506    mkdir conftest
   12507    cd conftest
   12508    mkdir out
   12509    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12510 
   12511    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12512    # Insert the option either (1) after the last *FLAGS variable, or
   12513    # (2) before a word containing "conftest.", or (3) at the end.
   12514    # Note that $ac_compile itself does not contain backslashes and begins
   12515    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12516    lt_compile=`echo "$ac_compile" | $SED \
   12517    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12518    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12519    -e 's:$: $lt_compiler_flag:'`
   12520    (eval echo "\"\$as_me:12520: $lt_compile\"" >&5)
   12521    (eval "$lt_compile" 2>out/conftest.err)
   12522    ac_status=$?
   12523    cat out/conftest.err >&5
   12524    echo "$as_me:12524: \$? = $ac_status" >&5
   12525    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12526    then
   12527      # The compiler can only warn and ignore the option if not recognized
   12528      # So say no if there are warnings
   12529      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12530      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12531      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12532        lt_cv_prog_compiler_c_o_CXX=yes
   12533      fi
   12534    fi
   12535    chmod u+w . 2>&5
   12536    $rm conftest*
   12537    # SGI C++ compiler will create directory out/ii_files/ for
   12538    # template instantiation
   12539    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12540    $rm out/* && rmdir out
   12541    cd ..
   12542    rmdir conftest
   12543    $rm conftest*
   12544 
   12545 fi
   12546 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12547 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12548 
   12549 
   12550 hard_links="nottested"
   12551 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12552   # do not overwrite the value of need_locks provided by the user
   12553   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12554 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12555   hard_links=yes
   12556   $rm conftest*
   12557   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12558   touch conftest.a
   12559   ln conftest.a conftest.b 2>&5 || hard_links=no
   12560   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12561   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12562 echo "${ECHO_T}$hard_links" >&6; }
   12563   if test "$hard_links" = no; then
   12564     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12565 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12566     need_locks=warn
   12567   fi
   12568 else
   12569   need_locks=no
   12570 fi
   12571 
   12572 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12573 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12574 
   12575   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12576   case $host_os in
   12577   aix4* | aix5*)
   12578     # If we're using GNU nm, then we don't want the "-C" option.
   12579     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12580     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12581       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'
   12582     else
   12583       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'
   12584     fi
   12585     ;;
   12586   pw32*)
   12587     export_symbols_cmds_CXX="$ltdll_cmds"
   12588   ;;
   12589   cygwin* | mingw*)
   12590     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'
   12591   ;;
   12592   *)
   12593     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12594   ;;
   12595   esac
   12596 
   12597 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12598 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12599 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12600 
   12601 #
   12602 # Do we need to explicitly link libc?
   12603 #
   12604 case "x$archive_cmds_need_lc_CXX" in
   12605 x|xyes)
   12606   # Assume -lc should be added
   12607   archive_cmds_need_lc_CXX=yes
   12608 
   12609   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12610     case $archive_cmds_CXX in
   12611     *'~'*)
   12612       # FIXME: we may have to deal with multi-command sequences.
   12613       ;;
   12614     '$CC '*)
   12615       # Test whether the compiler implicitly links with -lc since on some
   12616       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12617       # to ld, don't add -lc before -lgcc.
   12618       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12619 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12620       $rm conftest*
   12621       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12622 
   12623       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12624   (eval $ac_compile) 2>&5
   12625   ac_status=$?
   12626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12627   (exit $ac_status); } 2>conftest.err; then
   12628         soname=conftest
   12629         lib=conftest
   12630         libobjs=conftest.$ac_objext
   12631         deplibs=
   12632         wl=$lt_prog_compiler_wl_CXX
   12633 	pic_flag=$lt_prog_compiler_pic_CXX
   12634         compiler_flags=-v
   12635         linker_flags=-v
   12636         verstring=
   12637         output_objdir=.
   12638         libname=conftest
   12639         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12640         allow_undefined_flag_CXX=
   12641         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12642   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12643   ac_status=$?
   12644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12645   (exit $ac_status); }
   12646         then
   12647 	  archive_cmds_need_lc_CXX=no
   12648         else
   12649 	  archive_cmds_need_lc_CXX=yes
   12650         fi
   12651         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12652       else
   12653         cat conftest.err 1>&5
   12654       fi
   12655       $rm conftest*
   12656       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12657 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12658       ;;
   12659     esac
   12660   fi
   12661   ;;
   12662 esac
   12663 
   12664 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12665 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12666 library_names_spec=
   12667 libname_spec='lib$name'
   12668 soname_spec=
   12669 shrext_cmds=".so"
   12670 postinstall_cmds=
   12671 postuninstall_cmds=
   12672 finish_cmds=
   12673 finish_eval=
   12674 shlibpath_var=
   12675 shlibpath_overrides_runpath=unknown
   12676 version_type=none
   12677 dynamic_linker="$host_os ld.so"
   12678 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12679 
   12680 need_lib_prefix=unknown
   12681 hardcode_into_libs=no
   12682 
   12683 # when you set need_version to no, make sure it does not cause -set_version
   12684 # flags to be left without arguments
   12685 need_version=unknown
   12686 
   12687 case $host_os in
   12688 aix3*)
   12689   version_type=linux
   12690   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12691   shlibpath_var=LIBPATH
   12692 
   12693   # AIX 3 has no versioning support, so we append a major version to the name.
   12694   soname_spec='${libname}${release}${shared_ext}$major'
   12695   ;;
   12696 
   12697 aix4* | aix5*)
   12698   version_type=linux
   12699   need_lib_prefix=no
   12700   need_version=no
   12701   hardcode_into_libs=yes
   12702   if test "$host_cpu" = ia64; then
   12703     # AIX 5 supports IA64
   12704     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12705     shlibpath_var=LD_LIBRARY_PATH
   12706   else
   12707     # With GCC up to 2.95.x, collect2 would create an import file
   12708     # for dependence libraries.  The import file would start with
   12709     # the line `#! .'.  This would cause the generated library to
   12710     # depend on `.', always an invalid library.  This was fixed in
   12711     # development snapshots of GCC prior to 3.0.
   12712     case $host_os in
   12713       aix4 | aix4.[01] | aix4.[01].*)
   12714       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12715 	   echo ' yes '
   12716 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12717 	:
   12718       else
   12719 	can_build_shared=no
   12720       fi
   12721       ;;
   12722     esac
   12723     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12724     # soname into executable. Probably we can add versioning support to
   12725     # collect2, so additional links can be useful in future.
   12726     if test "$aix_use_runtimelinking" = yes; then
   12727       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12728       # instead of lib<name>.a to let people know that these are not
   12729       # typical AIX shared libraries.
   12730       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12731     else
   12732       # We preserve .a as extension for shared libraries through AIX4.2
   12733       # and later when we are not doing run time linking.
   12734       library_names_spec='${libname}${release}.a $libname.a'
   12735       soname_spec='${libname}${release}${shared_ext}$major'
   12736     fi
   12737     shlibpath_var=LIBPATH
   12738   fi
   12739   ;;
   12740 
   12741 amigaos*)
   12742   library_names_spec='$libname.ixlibrary $libname.a'
   12743   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12744   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'
   12745   ;;
   12746 
   12747 beos*)
   12748   library_names_spec='${libname}${shared_ext}'
   12749   dynamic_linker="$host_os ld.so"
   12750   shlibpath_var=LIBRARY_PATH
   12751   ;;
   12752 
   12753 bsdi[45]*)
   12754   version_type=linux
   12755   need_version=no
   12756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12757   soname_spec='${libname}${release}${shared_ext}$major'
   12758   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12759   shlibpath_var=LD_LIBRARY_PATH
   12760   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12761   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12762   # the default ld.so.conf also contains /usr/contrib/lib and
   12763   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12764   # libtool to hard-code these into programs
   12765   ;;
   12766 
   12767 cygwin* | mingw* | pw32*)
   12768   version_type=windows
   12769   shrext_cmds=".dll"
   12770   need_version=no
   12771   need_lib_prefix=no
   12772 
   12773   case $GCC,$host_os in
   12774   yes,cygwin* | yes,mingw* | yes,pw32*)
   12775     library_names_spec='$libname.dll.a'
   12776     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12777     postinstall_cmds='base_file=`basename \${file}`~
   12778       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12779       dldir=$destdir/`dirname \$dlpath`~
   12780       test -d \$dldir || mkdir -p \$dldir~
   12781       $install_prog $dir/$dlname \$dldir/$dlname~
   12782       chmod a+x \$dldir/$dlname'
   12783     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12784       dlpath=$dir/\$dldll~
   12785        $rm \$dlpath'
   12786     shlibpath_overrides_runpath=yes
   12787 
   12788     case $host_os in
   12789     cygwin*)
   12790       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12791       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12792       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12793       ;;
   12794     mingw*)
   12795       # MinGW DLLs use traditional 'lib' prefix
   12796       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12797       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12798       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12799         # It is most probably a Windows format PATH printed by
   12800         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12801         # path with ; separators, and with drive letters. We can handle the
   12802         # drive letters (cygwin fileutils understands them), so leave them,
   12803         # especially as we might pass files found there to a mingw objdump,
   12804         # which wouldn't understand a cygwinified path. Ahh.
   12805         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12806       else
   12807         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12808       fi
   12809       ;;
   12810     pw32*)
   12811       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12812       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12813       ;;
   12814     esac
   12815     ;;
   12816 
   12817   *)
   12818     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12819     ;;
   12820   esac
   12821   dynamic_linker='Win32 ld.exe'
   12822   # FIXME: first we should search . and the directory the executable is in
   12823   shlibpath_var=PATH
   12824   ;;
   12825 
   12826 darwin* | rhapsody*)
   12827   dynamic_linker="$host_os dyld"
   12828   version_type=darwin
   12829   need_lib_prefix=no
   12830   need_version=no
   12831   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12832   soname_spec='${libname}${release}${major}$shared_ext'
   12833   shlibpath_overrides_runpath=yes
   12834   shlibpath_var=DYLD_LIBRARY_PATH
   12835   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12836 
   12837   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12838   ;;
   12839 
   12840 dgux*)
   12841   version_type=linux
   12842   need_lib_prefix=no
   12843   need_version=no
   12844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12845   soname_spec='${libname}${release}${shared_ext}$major'
   12846   shlibpath_var=LD_LIBRARY_PATH
   12847   ;;
   12848 
   12849 freebsd1*)
   12850   dynamic_linker=no
   12851   ;;
   12852 
   12853 freebsd* | dragonfly*)
   12854   # DragonFly does not have aout.  When/if they implement a new
   12855   # versioning mechanism, adjust this.
   12856   if test -x /usr/bin/objformat; then
   12857     objformat=`/usr/bin/objformat`
   12858   else
   12859     case $host_os in
   12860     freebsd[123]*) objformat=aout ;;
   12861     *) objformat=elf ;;
   12862     esac
   12863   fi
   12864   version_type=freebsd-$objformat
   12865   case $version_type in
   12866     freebsd-elf*)
   12867       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12868       need_version=no
   12869       need_lib_prefix=no
   12870       ;;
   12871     freebsd-*)
   12872       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12873       need_version=yes
   12874       ;;
   12875   esac
   12876   shlibpath_var=LD_LIBRARY_PATH
   12877   case $host_os in
   12878   freebsd2*)
   12879     shlibpath_overrides_runpath=yes
   12880     ;;
   12881   freebsd3.[01]* | freebsdelf3.[01]*)
   12882     shlibpath_overrides_runpath=yes
   12883     hardcode_into_libs=yes
   12884     ;;
   12885   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12886   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12887     shlibpath_overrides_runpath=no
   12888     hardcode_into_libs=yes
   12889     ;;
   12890   *) # from 4.6 on, and DragonFly
   12891     shlibpath_overrides_runpath=yes
   12892     hardcode_into_libs=yes
   12893     ;;
   12894   esac
   12895   ;;
   12896 
   12897 gnu*)
   12898   version_type=linux
   12899   need_lib_prefix=no
   12900   need_version=no
   12901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12902   soname_spec='${libname}${release}${shared_ext}$major'
   12903   shlibpath_var=LD_LIBRARY_PATH
   12904   hardcode_into_libs=yes
   12905   ;;
   12906 
   12907 hpux9* | hpux10* | hpux11*)
   12908   # Give a soname corresponding to the major version so that dld.sl refuses to
   12909   # link against other versions.
   12910   version_type=sunos
   12911   need_lib_prefix=no
   12912   need_version=no
   12913   case $host_cpu in
   12914   ia64*)
   12915     shrext_cmds='.so'
   12916     hardcode_into_libs=yes
   12917     dynamic_linker="$host_os dld.so"
   12918     shlibpath_var=LD_LIBRARY_PATH
   12919     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12920     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12921     soname_spec='${libname}${release}${shared_ext}$major'
   12922     if test "X$HPUX_IA64_MODE" = X32; then
   12923       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12924     else
   12925       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12926     fi
   12927     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12928     ;;
   12929    hppa*64*)
   12930      shrext_cmds='.sl'
   12931      hardcode_into_libs=yes
   12932      dynamic_linker="$host_os dld.sl"
   12933      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12934      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12935      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12936      soname_spec='${libname}${release}${shared_ext}$major'
   12937      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12938      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12939      ;;
   12940    *)
   12941     shrext_cmds='.sl'
   12942     dynamic_linker="$host_os dld.sl"
   12943     shlibpath_var=SHLIB_PATH
   12944     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12945     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12946     soname_spec='${libname}${release}${shared_ext}$major'
   12947     ;;
   12948   esac
   12949   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12950   postinstall_cmds='chmod 555 $lib'
   12951   ;;
   12952 
   12953 interix[3-9]*)
   12954   version_type=linux
   12955   need_lib_prefix=no
   12956   need_version=no
   12957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12958   soname_spec='${libname}${release}${shared_ext}$major'
   12959   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12960   shlibpath_var=LD_LIBRARY_PATH
   12961   shlibpath_overrides_runpath=no
   12962   hardcode_into_libs=yes
   12963   ;;
   12964 
   12965 irix5* | irix6* | nonstopux*)
   12966   case $host_os in
   12967     nonstopux*) version_type=nonstopux ;;
   12968     *)
   12969 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12970 		version_type=linux
   12971 	else
   12972 		version_type=irix
   12973 	fi ;;
   12974   esac
   12975   need_lib_prefix=no
   12976   need_version=no
   12977   soname_spec='${libname}${release}${shared_ext}$major'
   12978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12979   case $host_os in
   12980   irix5* | nonstopux*)
   12981     libsuff= shlibsuff=
   12982     ;;
   12983   *)
   12984     case $LD in # libtool.m4 will add one of these switches to LD
   12985     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12986       libsuff= shlibsuff= libmagic=32-bit;;
   12987     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12988       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12989     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12990       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12991     *) libsuff= shlibsuff= libmagic=never-match;;
   12992     esac
   12993     ;;
   12994   esac
   12995   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12996   shlibpath_overrides_runpath=no
   12997   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12998   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12999   hardcode_into_libs=yes
   13000   ;;
   13001 
   13002 # No shared lib support for Linux oldld, aout, or coff.
   13003 linux*oldld* | linux*aout* | linux*coff*)
   13004   dynamic_linker=no
   13005   ;;
   13006 
   13007 # This must be Linux ELF.
   13008 linux* | k*bsd*-gnu)
   13009   version_type=linux
   13010   need_lib_prefix=no
   13011   need_version=no
   13012   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13013   soname_spec='${libname}${release}${shared_ext}$major'
   13014   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13015   shlibpath_var=LD_LIBRARY_PATH
   13016   shlibpath_overrides_runpath=no
   13017   # This implies no fast_install, which is unacceptable.
   13018   # Some rework will be needed to allow for fast_install
   13019   # before this can be enabled.
   13020   hardcode_into_libs=yes
   13021   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13022   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13023 
   13024   # Append ld.so.conf contents to the search path
   13025   if test -f /etc/ld.so.conf; then
   13026     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' ' '`
   13027     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13028   fi
   13029 
   13030   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13031   # powerpc, because MkLinux only supported shared libraries with the
   13032   # GNU dynamic linker.  Since this was broken with cross compilers,
   13033   # most powerpc-linux boxes support dynamic linking these days and
   13034   # people can always --disable-shared, the test was removed, and we
   13035   # assume the GNU/Linux dynamic linker is in use.
   13036   dynamic_linker='GNU/Linux ld.so'
   13037   ;;
   13038 
   13039 netbsd*)
   13040   version_type=sunos
   13041   need_lib_prefix=no
   13042   need_version=no
   13043   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13044     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13045     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13046     dynamic_linker='NetBSD (a.out) ld.so'
   13047   else
   13048     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13049     soname_spec='${libname}${release}${shared_ext}$major'
   13050     dynamic_linker='NetBSD ld.elf_so'
   13051   fi
   13052   shlibpath_var=LD_LIBRARY_PATH
   13053   shlibpath_overrides_runpath=yes
   13054   hardcode_into_libs=yes
   13055   ;;
   13056 
   13057 newsos6)
   13058   version_type=linux
   13059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13060   shlibpath_var=LD_LIBRARY_PATH
   13061   shlibpath_overrides_runpath=yes
   13062   ;;
   13063 
   13064 nto-qnx*)
   13065   version_type=linux
   13066   need_lib_prefix=no
   13067   need_version=no
   13068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13069   soname_spec='${libname}${release}${shared_ext}$major'
   13070   shlibpath_var=LD_LIBRARY_PATH
   13071   shlibpath_overrides_runpath=yes
   13072   ;;
   13073 
   13074 openbsd*)
   13075   version_type=sunos
   13076   sys_lib_dlsearch_path_spec="/usr/lib"
   13077   need_lib_prefix=no
   13078   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13079   case $host_os in
   13080     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13081     *)                         need_version=no  ;;
   13082   esac
   13083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13084   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13085   shlibpath_var=LD_LIBRARY_PATH
   13086   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13087     case $host_os in
   13088       openbsd2.[89] | openbsd2.[89].*)
   13089 	shlibpath_overrides_runpath=no
   13090 	;;
   13091       *)
   13092 	shlibpath_overrides_runpath=yes
   13093 	;;
   13094       esac
   13095   else
   13096     shlibpath_overrides_runpath=yes
   13097   fi
   13098   ;;
   13099 
   13100 os2*)
   13101   libname_spec='$name'
   13102   shrext_cmds=".dll"
   13103   need_lib_prefix=no
   13104   library_names_spec='$libname${shared_ext} $libname.a'
   13105   dynamic_linker='OS/2 ld.exe'
   13106   shlibpath_var=LIBPATH
   13107   ;;
   13108 
   13109 osf3* | osf4* | osf5*)
   13110   version_type=osf
   13111   need_lib_prefix=no
   13112   need_version=no
   13113   soname_spec='${libname}${release}${shared_ext}$major'
   13114   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13115   shlibpath_var=LD_LIBRARY_PATH
   13116   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13117   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13118   ;;
   13119 
   13120 rdos*)
   13121   dynamic_linker=no
   13122   ;;
   13123 
   13124 solaris*)
   13125   version_type=linux
   13126   need_lib_prefix=no
   13127   need_version=no
   13128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13129   soname_spec='${libname}${release}${shared_ext}$major'
   13130   shlibpath_var=LD_LIBRARY_PATH
   13131   shlibpath_overrides_runpath=yes
   13132   hardcode_into_libs=yes
   13133   # ldd complains unless libraries are executable
   13134   postinstall_cmds='chmod +x $lib'
   13135   ;;
   13136 
   13137 sunos4*)
   13138   version_type=sunos
   13139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13140   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13141   shlibpath_var=LD_LIBRARY_PATH
   13142   shlibpath_overrides_runpath=yes
   13143   if test "$with_gnu_ld" = yes; then
   13144     need_lib_prefix=no
   13145   fi
   13146   need_version=yes
   13147   ;;
   13148 
   13149 sysv4 | sysv4.3*)
   13150   version_type=linux
   13151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13152   soname_spec='${libname}${release}${shared_ext}$major'
   13153   shlibpath_var=LD_LIBRARY_PATH
   13154   case $host_vendor in
   13155     sni)
   13156       shlibpath_overrides_runpath=no
   13157       need_lib_prefix=no
   13158       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13159       runpath_var=LD_RUN_PATH
   13160       ;;
   13161     siemens)
   13162       need_lib_prefix=no
   13163       ;;
   13164     motorola)
   13165       need_lib_prefix=no
   13166       need_version=no
   13167       shlibpath_overrides_runpath=no
   13168       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13169       ;;
   13170   esac
   13171   ;;
   13172 
   13173 sysv4*MP*)
   13174   if test -d /usr/nec ;then
   13175     version_type=linux
   13176     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13177     soname_spec='$libname${shared_ext}.$major'
   13178     shlibpath_var=LD_LIBRARY_PATH
   13179   fi
   13180   ;;
   13181 
   13182 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13183   version_type=freebsd-elf
   13184   need_lib_prefix=no
   13185   need_version=no
   13186   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13187   soname_spec='${libname}${release}${shared_ext}$major'
   13188   shlibpath_var=LD_LIBRARY_PATH
   13189   hardcode_into_libs=yes
   13190   if test "$with_gnu_ld" = yes; then
   13191     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13192     shlibpath_overrides_runpath=no
   13193   else
   13194     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13195     shlibpath_overrides_runpath=yes
   13196     case $host_os in
   13197       sco3.2v5*)
   13198         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13199 	;;
   13200     esac
   13201   fi
   13202   sys_lib_dlsearch_path_spec='/usr/lib'
   13203   ;;
   13204 
   13205 uts4*)
   13206   version_type=linux
   13207   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13208   soname_spec='${libname}${release}${shared_ext}$major'
   13209   shlibpath_var=LD_LIBRARY_PATH
   13210   ;;
   13211 
   13212 *)
   13213   dynamic_linker=no
   13214   ;;
   13215 esac
   13216 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13217 echo "${ECHO_T}$dynamic_linker" >&6; }
   13218 test "$dynamic_linker" = no && can_build_shared=no
   13219 
   13220 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13221 if test "$GCC" = yes; then
   13222   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13223 fi
   13224 
   13225 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13226 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13227 hardcode_action_CXX=
   13228 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13229    test -n "$runpath_var_CXX" || \
   13230    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13231 
   13232   # We can hardcode non-existant directories.
   13233   if test "$hardcode_direct_CXX" != no &&
   13234      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13235      # have to relink, otherwise we might link with an installed library
   13236      # when we should be linking with a yet-to-be-installed one
   13237      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13238      test "$hardcode_minus_L_CXX" != no; then
   13239     # Linking always hardcodes the temporary library directory.
   13240     hardcode_action_CXX=relink
   13241   else
   13242     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13243     hardcode_action_CXX=immediate
   13244   fi
   13245 else
   13246   # We cannot hardcode anything, or else we can only hardcode existing
   13247   # directories.
   13248   hardcode_action_CXX=unsupported
   13249 fi
   13250 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13251 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13252 
   13253 if test "$hardcode_action_CXX" = relink; then
   13254   # Fast installation is not supported
   13255   enable_fast_install=no
   13256 elif test "$shlibpath_overrides_runpath" = yes ||
   13257      test "$enable_shared" = no; then
   13258   # Fast installation is not necessary
   13259   enable_fast_install=needless
   13260 fi
   13261 
   13262 
   13263 # The else clause should only fire when bootstrapping the
   13264 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13265 # with your package, and you will get complaints that there are
   13266 # no rules to generate ltmain.sh.
   13267 if test -f "$ltmain"; then
   13268   # See if we are running on zsh, and set the options which allow our commands through
   13269   # without removal of \ escapes.
   13270   if test -n "${ZSH_VERSION+set}" ; then
   13271     setopt NO_GLOB_SUBST
   13272   fi
   13273   # Now quote all the things that may contain metacharacters while being
   13274   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13275   # variables and quote the copies for generation of the libtool script.
   13276   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13277     SED SHELL STRIP \
   13278     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13279     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13280     deplibs_check_method reload_flag reload_cmds need_locks \
   13281     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13282     lt_cv_sys_global_symbol_to_c_name_address \
   13283     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13284     old_postinstall_cmds old_postuninstall_cmds \
   13285     compiler_CXX \
   13286     CC_CXX \
   13287     LD_CXX \
   13288     lt_prog_compiler_wl_CXX \
   13289     lt_prog_compiler_pic_CXX \
   13290     lt_prog_compiler_static_CXX \
   13291     lt_prog_compiler_no_builtin_flag_CXX \
   13292     export_dynamic_flag_spec_CXX \
   13293     thread_safe_flag_spec_CXX \
   13294     whole_archive_flag_spec_CXX \
   13295     enable_shared_with_static_runtimes_CXX \
   13296     old_archive_cmds_CXX \
   13297     old_archive_from_new_cmds_CXX \
   13298     predep_objects_CXX \
   13299     postdep_objects_CXX \
   13300     predeps_CXX \
   13301     postdeps_CXX \
   13302     compiler_lib_search_path_CXX \
   13303     archive_cmds_CXX \
   13304     archive_expsym_cmds_CXX \
   13305     postinstall_cmds_CXX \
   13306     postuninstall_cmds_CXX \
   13307     old_archive_from_expsyms_cmds_CXX \
   13308     allow_undefined_flag_CXX \
   13309     no_undefined_flag_CXX \
   13310     export_symbols_cmds_CXX \
   13311     hardcode_libdir_flag_spec_CXX \
   13312     hardcode_libdir_flag_spec_ld_CXX \
   13313     hardcode_libdir_separator_CXX \
   13314     hardcode_automatic_CXX \
   13315     module_cmds_CXX \
   13316     module_expsym_cmds_CXX \
   13317     lt_cv_prog_compiler_c_o_CXX \
   13318     fix_srcfile_path_CXX \
   13319     exclude_expsyms_CXX \
   13320     include_expsyms_CXX; do
   13321 
   13322     case $var in
   13323     old_archive_cmds_CXX | \
   13324     old_archive_from_new_cmds_CXX | \
   13325     archive_cmds_CXX | \
   13326     archive_expsym_cmds_CXX | \
   13327     module_cmds_CXX | \
   13328     module_expsym_cmds_CXX | \
   13329     old_archive_from_expsyms_cmds_CXX | \
   13330     export_symbols_cmds_CXX | \
   13331     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13332     postinstall_cmds | postuninstall_cmds | \
   13333     old_postinstall_cmds | old_postuninstall_cmds | \
   13334     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13335       # Double-quote double-evaled strings.
   13336       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13337       ;;
   13338     *)
   13339       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13340       ;;
   13341     esac
   13342   done
   13343 
   13344   case $lt_echo in
   13345   *'\$0 --fallback-echo"')
   13346     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13347     ;;
   13348   esac
   13349 
   13350 cfgfile="$ofile"
   13351 
   13352   cat <<__EOF__ >> "$cfgfile"
   13353 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13354 
   13355 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13356 
   13357 # Shell to use when invoking shell scripts.
   13358 SHELL=$lt_SHELL
   13359 
   13360 # Whether or not to build shared libraries.
   13361 build_libtool_libs=$enable_shared
   13362 
   13363 # Whether or not to build static libraries.
   13364 build_old_libs=$enable_static
   13365 
   13366 # Whether or not to add -lc for building shared libraries.
   13367 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13368 
   13369 # Whether or not to disallow shared libs when runtime libs are static
   13370 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13371 
   13372 # Whether or not to optimize for fast installation.
   13373 fast_install=$enable_fast_install
   13374 
   13375 # The host system.
   13376 host_alias=$host_alias
   13377 host=$host
   13378 host_os=$host_os
   13379 
   13380 # The build system.
   13381 build_alias=$build_alias
   13382 build=$build
   13383 build_os=$build_os
   13384 
   13385 # An echo program that does not interpret backslashes.
   13386 echo=$lt_echo
   13387 
   13388 # The archiver.
   13389 AR=$lt_AR
   13390 AR_FLAGS=$lt_AR_FLAGS
   13391 
   13392 # A C compiler.
   13393 LTCC=$lt_LTCC
   13394 
   13395 # LTCC compiler flags.
   13396 LTCFLAGS=$lt_LTCFLAGS
   13397 
   13398 # A language-specific compiler.
   13399 CC=$lt_compiler_CXX
   13400 
   13401 # Is the compiler the GNU C compiler?
   13402 with_gcc=$GCC_CXX
   13403 
   13404 # An ERE matcher.
   13405 EGREP=$lt_EGREP
   13406 
   13407 # The linker used to build libraries.
   13408 LD=$lt_LD_CXX
   13409 
   13410 # Whether we need hard or soft links.
   13411 LN_S=$lt_LN_S
   13412 
   13413 # A BSD-compatible nm program.
   13414 NM=$lt_NM
   13415 
   13416 # A symbol stripping program
   13417 STRIP=$lt_STRIP
   13418 
   13419 # Used to examine libraries when file_magic_cmd begins "file"
   13420 MAGIC_CMD=$MAGIC_CMD
   13421 
   13422 # Used on cygwin: DLL creation program.
   13423 DLLTOOL="$DLLTOOL"
   13424 
   13425 # Used on cygwin: object dumper.
   13426 OBJDUMP="$OBJDUMP"
   13427 
   13428 # Used on cygwin: assembler.
   13429 AS="$AS"
   13430 
   13431 # The name of the directory that contains temporary libtool files.
   13432 objdir=$objdir
   13433 
   13434 # How to create reloadable object files.
   13435 reload_flag=$lt_reload_flag
   13436 reload_cmds=$lt_reload_cmds
   13437 
   13438 # How to pass a linker flag through the compiler.
   13439 wl=$lt_lt_prog_compiler_wl_CXX
   13440 
   13441 # Object file suffix (normally "o").
   13442 objext="$ac_objext"
   13443 
   13444 # Old archive suffix (normally "a").
   13445 libext="$libext"
   13446 
   13447 # Shared library suffix (normally ".so").
   13448 shrext_cmds='$shrext_cmds'
   13449 
   13450 # Executable file suffix (normally "").
   13451 exeext="$exeext"
   13452 
   13453 # Additional compiler flags for building library objects.
   13454 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13455 pic_mode=$pic_mode
   13456 
   13457 # What is the maximum length of a command?
   13458 max_cmd_len=$lt_cv_sys_max_cmd_len
   13459 
   13460 # Does compiler simultaneously support -c and -o options?
   13461 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13462 
   13463 # Must we lock files when doing compilation?
   13464 need_locks=$lt_need_locks
   13465 
   13466 # Do we need the lib prefix for modules?
   13467 need_lib_prefix=$need_lib_prefix
   13468 
   13469 # Do we need a version for libraries?
   13470 need_version=$need_version
   13471 
   13472 # Whether dlopen is supported.
   13473 dlopen_support=$enable_dlopen
   13474 
   13475 # Whether dlopen of programs is supported.
   13476 dlopen_self=$enable_dlopen_self
   13477 
   13478 # Whether dlopen of statically linked programs is supported.
   13479 dlopen_self_static=$enable_dlopen_self_static
   13480 
   13481 # Compiler flag to prevent dynamic linking.
   13482 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13483 
   13484 # Compiler flag to turn off builtin functions.
   13485 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13486 
   13487 # Compiler flag to allow reflexive dlopens.
   13488 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13489 
   13490 # Compiler flag to generate shared objects directly from archives.
   13491 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13492 
   13493 # Compiler flag to generate thread-safe objects.
   13494 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13495 
   13496 # Library versioning type.
   13497 version_type=$version_type
   13498 
   13499 # Format of library name prefix.
   13500 libname_spec=$lt_libname_spec
   13501 
   13502 # List of archive names.  First name is the real one, the rest are links.
   13503 # The last name is the one that the linker finds with -lNAME.
   13504 library_names_spec=$lt_library_names_spec
   13505 
   13506 # The coded name of the library, if different from the real name.
   13507 soname_spec=$lt_soname_spec
   13508 
   13509 # Commands used to build and install an old-style archive.
   13510 RANLIB=$lt_RANLIB
   13511 old_archive_cmds=$lt_old_archive_cmds_CXX
   13512 old_postinstall_cmds=$lt_old_postinstall_cmds
   13513 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13514 
   13515 # Create an old-style archive from a shared archive.
   13516 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13517 
   13518 # Create a temporary old-style archive to link instead of a shared archive.
   13519 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13520 
   13521 # Commands used to build and install a shared archive.
   13522 archive_cmds=$lt_archive_cmds_CXX
   13523 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13524 postinstall_cmds=$lt_postinstall_cmds
   13525 postuninstall_cmds=$lt_postuninstall_cmds
   13526 
   13527 # Commands used to build a loadable module (assumed same as above if empty)
   13528 module_cmds=$lt_module_cmds_CXX
   13529 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13530 
   13531 # Commands to strip libraries.
   13532 old_striplib=$lt_old_striplib
   13533 striplib=$lt_striplib
   13534 
   13535 # Dependencies to place before the objects being linked to create a
   13536 # shared library.
   13537 predep_objects=$lt_predep_objects_CXX
   13538 
   13539 # Dependencies to place after the objects being linked to create a
   13540 # shared library.
   13541 postdep_objects=$lt_postdep_objects_CXX
   13542 
   13543 # Dependencies to place before the objects being linked to create a
   13544 # shared library.
   13545 predeps=$lt_predeps_CXX
   13546 
   13547 # Dependencies to place after the objects being linked to create a
   13548 # shared library.
   13549 postdeps=$lt_postdeps_CXX
   13550 
   13551 # The library search path used internally by the compiler when linking
   13552 # a shared library.
   13553 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13554 
   13555 # Method to check whether dependent libraries are shared objects.
   13556 deplibs_check_method=$lt_deplibs_check_method
   13557 
   13558 # Command to use when deplibs_check_method == file_magic.
   13559 file_magic_cmd=$lt_file_magic_cmd
   13560 
   13561 # Flag that allows shared libraries with undefined symbols to be built.
   13562 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13563 
   13564 # Flag that forces no undefined symbols.
   13565 no_undefined_flag=$lt_no_undefined_flag_CXX
   13566 
   13567 # Commands used to finish a libtool library installation in a directory.
   13568 finish_cmds=$lt_finish_cmds
   13569 
   13570 # Same as above, but a single script fragment to be evaled but not shown.
   13571 finish_eval=$lt_finish_eval
   13572 
   13573 # Take the output of nm and produce a listing of raw symbols and C names.
   13574 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13575 
   13576 # Transform the output of nm in a proper C declaration
   13577 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13578 
   13579 # Transform the output of nm in a C name address pair
   13580 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13581 
   13582 # This is the shared library runtime path variable.
   13583 runpath_var=$runpath_var
   13584 
   13585 # This is the shared library path variable.
   13586 shlibpath_var=$shlibpath_var
   13587 
   13588 # Is shlibpath searched before the hard-coded library search path?
   13589 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13590 
   13591 # How to hardcode a shared library path into an executable.
   13592 hardcode_action=$hardcode_action_CXX
   13593 
   13594 # Whether we should hardcode library paths into libraries.
   13595 hardcode_into_libs=$hardcode_into_libs
   13596 
   13597 # Flag to hardcode \$libdir into a binary during linking.
   13598 # This must work even if \$libdir does not exist.
   13599 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13600 
   13601 # If ld is used when linking, flag to hardcode \$libdir into
   13602 # a binary during linking. This must work even if \$libdir does
   13603 # not exist.
   13604 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13605 
   13606 # Whether we need a single -rpath flag with a separated argument.
   13607 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13608 
   13609 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13610 # resulting binary.
   13611 hardcode_direct=$hardcode_direct_CXX
   13612 
   13613 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13614 # resulting binary.
   13615 hardcode_minus_L=$hardcode_minus_L_CXX
   13616 
   13617 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13618 # the resulting binary.
   13619 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13620 
   13621 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13622 # and all subsequent libraries and executables linked against it.
   13623 hardcode_automatic=$hardcode_automatic_CXX
   13624 
   13625 # Variables whose values should be saved in libtool wrapper scripts and
   13626 # restored at relink time.
   13627 variables_saved_for_relink="$variables_saved_for_relink"
   13628 
   13629 # Whether libtool must link a program against all its dependency libraries.
   13630 link_all_deplibs=$link_all_deplibs_CXX
   13631 
   13632 # Compile-time system search path for libraries
   13633 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13634 
   13635 # Run-time system search path for libraries
   13636 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13637 
   13638 # Fix the shell variable \$srcfile for the compiler.
   13639 fix_srcfile_path=$lt_fix_srcfile_path
   13640 
   13641 # Set to yes if exported symbols are required.
   13642 always_export_symbols=$always_export_symbols_CXX
   13643 
   13644 # The commands to list exported symbols.
   13645 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13646 
   13647 # The commands to extract the exported symbol list from a shared archive.
   13648 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13649 
   13650 # Symbols that should not be listed in the preloaded symbols.
   13651 exclude_expsyms=$lt_exclude_expsyms_CXX
   13652 
   13653 # Symbols that must always be exported.
   13654 include_expsyms=$lt_include_expsyms_CXX
   13655 
   13656 # ### END LIBTOOL TAG CONFIG: $tagname
   13657 
   13658 __EOF__
   13659 
   13660 
   13661 else
   13662   # If there is no Makefile yet, we rely on a make rule to execute
   13663   # `config.status --recheck' to rerun these tests and create the
   13664   # libtool script then.
   13665   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13666   if test -f "$ltmain_in"; then
   13667     test -f Makefile && make "$ltmain"
   13668   fi
   13669 fi
   13670 
   13671 
   13672 ac_ext=c
   13673 ac_cpp='$CPP $CPPFLAGS'
   13674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13677 
   13678 CC=$lt_save_CC
   13679 LDCXX=$LD
   13680 LD=$lt_save_LD
   13681 GCC=$lt_save_GCC
   13682 with_gnu_ldcxx=$with_gnu_ld
   13683 with_gnu_ld=$lt_save_with_gnu_ld
   13684 lt_cv_path_LDCXX=$lt_cv_path_LD
   13685 lt_cv_path_LD=$lt_save_path_LD
   13686 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13687 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13688 
   13689 	else
   13690 	  tagname=""
   13691 	fi
   13692 	;;
   13693 
   13694       F77)
   13695 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13696 
   13697 ac_ext=f
   13698 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13699 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13700 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13701 
   13702 
   13703 archive_cmds_need_lc_F77=no
   13704 allow_undefined_flag_F77=
   13705 always_export_symbols_F77=no
   13706 archive_expsym_cmds_F77=
   13707 export_dynamic_flag_spec_F77=
   13708 hardcode_direct_F77=no
   13709 hardcode_libdir_flag_spec_F77=
   13710 hardcode_libdir_flag_spec_ld_F77=
   13711 hardcode_libdir_separator_F77=
   13712 hardcode_minus_L_F77=no
   13713 hardcode_automatic_F77=no
   13714 module_cmds_F77=
   13715 module_expsym_cmds_F77=
   13716 link_all_deplibs_F77=unknown
   13717 old_archive_cmds_F77=$old_archive_cmds
   13718 no_undefined_flag_F77=
   13719 whole_archive_flag_spec_F77=
   13720 enable_shared_with_static_runtimes_F77=no
   13721 
   13722 # Source file extension for f77 test sources.
   13723 ac_ext=f
   13724 
   13725 # Object file extension for compiled f77 test sources.
   13726 objext=o
   13727 objext_F77=$objext
   13728 
   13729 # Code to be used in simple compile tests
   13730 lt_simple_compile_test_code="\
   13731       subroutine t
   13732       return
   13733       end
   13734 "
   13735 
   13736 # Code to be used in simple link tests
   13737 lt_simple_link_test_code="\
   13738       program t
   13739       end
   13740 "
   13741 
   13742 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13743 
   13744 # If no C compiler was specified, use CC.
   13745 LTCC=${LTCC-"$CC"}
   13746 
   13747 # If no C compiler flags were specified, use CFLAGS.
   13748 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13749 
   13750 # Allow CC to be a program name with arguments.
   13751 compiler=$CC
   13752 
   13753 
   13754 # save warnings/boilerplate of simple test code
   13755 ac_outfile=conftest.$ac_objext
   13756 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13757 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13758 _lt_compiler_boilerplate=`cat conftest.err`
   13759 $rm conftest*
   13760 
   13761 ac_outfile=conftest.$ac_objext
   13762 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13763 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13764 _lt_linker_boilerplate=`cat conftest.err`
   13765 $rm conftest*
   13766 
   13767 
   13768 # Allow CC to be a program name with arguments.
   13769 lt_save_CC="$CC"
   13770 CC=${F77-"f77"}
   13771 compiler=$CC
   13772 compiler_F77=$CC
   13773 for cc_temp in $compiler""; do
   13774   case $cc_temp in
   13775     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13776     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13777     \-*) ;;
   13778     *) break;;
   13779   esac
   13780 done
   13781 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13782 
   13783 
   13784 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13785 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13786 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13787 echo "${ECHO_T}$can_build_shared" >&6; }
   13788 
   13789 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13790 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13791 test "$can_build_shared" = "no" && enable_shared=no
   13792 
   13793 # On AIX, shared libraries and static libraries use the same namespace, and
   13794 # are all built from PIC.
   13795 case $host_os in
   13796 aix3*)
   13797   test "$enable_shared" = yes && enable_static=no
   13798   if test -n "$RANLIB"; then
   13799     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13800     postinstall_cmds='$RANLIB $lib'
   13801   fi
   13802   ;;
   13803 aix4* | aix5*)
   13804   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13805     test "$enable_shared" = yes && enable_static=no
   13806   fi
   13807   ;;
   13808 esac
   13809 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13810 echo "${ECHO_T}$enable_shared" >&6; }
   13811 
   13812 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13813 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13814 # Make sure either enable_shared or enable_static is yes.
   13815 test "$enable_shared" = yes || enable_static=yes
   13816 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13817 echo "${ECHO_T}$enable_static" >&6; }
   13818 
   13819 GCC_F77="$G77"
   13820 LD_F77="$LD"
   13821 
   13822 lt_prog_compiler_wl_F77=
   13823 lt_prog_compiler_pic_F77=
   13824 lt_prog_compiler_static_F77=
   13825 
   13826 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13827 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13828 
   13829   if test "$GCC" = yes; then
   13830     lt_prog_compiler_wl_F77='-Wl,'
   13831     lt_prog_compiler_static_F77='-static'
   13832 
   13833     case $host_os in
   13834       aix*)
   13835       # All AIX code is PIC.
   13836       if test "$host_cpu" = ia64; then
   13837 	# AIX 5 now supports IA64 processor
   13838 	lt_prog_compiler_static_F77='-Bstatic'
   13839       fi
   13840       ;;
   13841 
   13842     amigaos*)
   13843       # FIXME: we need at least 68020 code to build shared libraries, but
   13844       # adding the `-m68020' flag to GCC prevents building anything better,
   13845       # like `-m68040'.
   13846       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13847       ;;
   13848 
   13849     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13850       # PIC is the default for these OSes.
   13851       ;;
   13852 
   13853     mingw* | cygwin* | pw32* | os2*)
   13854       # This hack is so that the source file can tell whether it is being
   13855       # built for inclusion in a dll (and should export symbols for example).
   13856       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13857       # (--disable-auto-import) libraries
   13858       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13859       ;;
   13860 
   13861     darwin* | rhapsody*)
   13862       # PIC is the default on this platform
   13863       # Common symbols not allowed in MH_DYLIB files
   13864       lt_prog_compiler_pic_F77='-fno-common'
   13865       ;;
   13866 
   13867     interix[3-9]*)
   13868       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13869       # Instead, we relocate shared libraries at runtime.
   13870       ;;
   13871 
   13872     msdosdjgpp*)
   13873       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13874       # on systems that don't support them.
   13875       lt_prog_compiler_can_build_shared_F77=no
   13876       enable_shared=no
   13877       ;;
   13878 
   13879     sysv4*MP*)
   13880       if test -d /usr/nec; then
   13881 	lt_prog_compiler_pic_F77=-Kconform_pic
   13882       fi
   13883       ;;
   13884 
   13885     hpux*)
   13886       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13887       # not for PA HP-UX.
   13888       case $host_cpu in
   13889       hppa*64*|ia64*)
   13890 	# +Z the default
   13891 	;;
   13892       *)
   13893 	lt_prog_compiler_pic_F77='-fPIC'
   13894 	;;
   13895       esac
   13896       ;;
   13897 
   13898     *)
   13899       lt_prog_compiler_pic_F77='-fPIC'
   13900       ;;
   13901     esac
   13902   else
   13903     # PORTME Check for flag to pass linker flags through the system compiler.
   13904     case $host_os in
   13905     aix*)
   13906       lt_prog_compiler_wl_F77='-Wl,'
   13907       if test "$host_cpu" = ia64; then
   13908 	# AIX 5 now supports IA64 processor
   13909 	lt_prog_compiler_static_F77='-Bstatic'
   13910       else
   13911 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13912       fi
   13913       ;;
   13914       darwin*)
   13915         # PIC is the default on this platform
   13916         # Common symbols not allowed in MH_DYLIB files
   13917        case $cc_basename in
   13918          xlc*)
   13919          lt_prog_compiler_pic_F77='-qnocommon'
   13920          lt_prog_compiler_wl_F77='-Wl,'
   13921          ;;
   13922        esac
   13923        ;;
   13924 
   13925     mingw* | cygwin* | pw32* | os2*)
   13926       # This hack is so that the source file can tell whether it is being
   13927       # built for inclusion in a dll (and should export symbols for example).
   13928       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13929       ;;
   13930 
   13931     hpux9* | hpux10* | hpux11*)
   13932       lt_prog_compiler_wl_F77='-Wl,'
   13933       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13934       # not for PA HP-UX.
   13935       case $host_cpu in
   13936       hppa*64*|ia64*)
   13937 	# +Z the default
   13938 	;;
   13939       *)
   13940 	lt_prog_compiler_pic_F77='+Z'
   13941 	;;
   13942       esac
   13943       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13944       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13945       ;;
   13946 
   13947     irix5* | irix6* | nonstopux*)
   13948       lt_prog_compiler_wl_F77='-Wl,'
   13949       # PIC (with -KPIC) is the default.
   13950       lt_prog_compiler_static_F77='-non_shared'
   13951       ;;
   13952 
   13953     newsos6)
   13954       lt_prog_compiler_pic_F77='-KPIC'
   13955       lt_prog_compiler_static_F77='-Bstatic'
   13956       ;;
   13957 
   13958     linux* | k*bsd*-gnu)
   13959       case $cc_basename in
   13960       icc* | ecc*)
   13961 	lt_prog_compiler_wl_F77='-Wl,'
   13962 	lt_prog_compiler_pic_F77='-KPIC'
   13963 	lt_prog_compiler_static_F77='-static'
   13964         ;;
   13965       pgcc* | pgf77* | pgf90* | pgf95*)
   13966         # Portland Group compilers (*not* the Pentium gcc compiler,
   13967 	# which looks to be a dead project)
   13968 	lt_prog_compiler_wl_F77='-Wl,'
   13969 	lt_prog_compiler_pic_F77='-fpic'
   13970 	lt_prog_compiler_static_F77='-Bstatic'
   13971         ;;
   13972       ccc*)
   13973         lt_prog_compiler_wl_F77='-Wl,'
   13974         # All Alpha code is PIC.
   13975         lt_prog_compiler_static_F77='-non_shared'
   13976         ;;
   13977       *)
   13978         case `$CC -V 2>&1 | sed 5q` in
   13979 	*Sun\ C*)
   13980 	  # Sun C 5.9
   13981 	  lt_prog_compiler_pic_F77='-KPIC'
   13982 	  lt_prog_compiler_static_F77='-Bstatic'
   13983 	  lt_prog_compiler_wl_F77='-Wl,'
   13984 	  ;;
   13985 	*Sun\ F*)
   13986 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13987 	  lt_prog_compiler_pic_F77='-KPIC'
   13988 	  lt_prog_compiler_static_F77='-Bstatic'
   13989 	  lt_prog_compiler_wl_F77=''
   13990 	  ;;
   13991 	esac
   13992 	;;
   13993       esac
   13994       ;;
   13995 
   13996     osf3* | osf4* | osf5*)
   13997       lt_prog_compiler_wl_F77='-Wl,'
   13998       # All OSF/1 code is PIC.
   13999       lt_prog_compiler_static_F77='-non_shared'
   14000       ;;
   14001 
   14002     rdos*)
   14003       lt_prog_compiler_static_F77='-non_shared'
   14004       ;;
   14005 
   14006     solaris*)
   14007       lt_prog_compiler_pic_F77='-KPIC'
   14008       lt_prog_compiler_static_F77='-Bstatic'
   14009       case $cc_basename in
   14010       f77* | f90* | f95*)
   14011 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14012       *)
   14013 	lt_prog_compiler_wl_F77='-Wl,';;
   14014       esac
   14015       ;;
   14016 
   14017     sunos4*)
   14018       lt_prog_compiler_wl_F77='-Qoption ld '
   14019       lt_prog_compiler_pic_F77='-PIC'
   14020       lt_prog_compiler_static_F77='-Bstatic'
   14021       ;;
   14022 
   14023     sysv4 | sysv4.2uw2* | sysv4.3*)
   14024       lt_prog_compiler_wl_F77='-Wl,'
   14025       lt_prog_compiler_pic_F77='-KPIC'
   14026       lt_prog_compiler_static_F77='-Bstatic'
   14027       ;;
   14028 
   14029     sysv4*MP*)
   14030       if test -d /usr/nec ;then
   14031 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14032 	lt_prog_compiler_static_F77='-Bstatic'
   14033       fi
   14034       ;;
   14035 
   14036     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14037       lt_prog_compiler_wl_F77='-Wl,'
   14038       lt_prog_compiler_pic_F77='-KPIC'
   14039       lt_prog_compiler_static_F77='-Bstatic'
   14040       ;;
   14041 
   14042     unicos*)
   14043       lt_prog_compiler_wl_F77='-Wl,'
   14044       lt_prog_compiler_can_build_shared_F77=no
   14045       ;;
   14046 
   14047     uts4*)
   14048       lt_prog_compiler_pic_F77='-pic'
   14049       lt_prog_compiler_static_F77='-Bstatic'
   14050       ;;
   14051 
   14052     *)
   14053       lt_prog_compiler_can_build_shared_F77=no
   14054       ;;
   14055     esac
   14056   fi
   14057 
   14058 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14059 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14060 
   14061 #
   14062 # Check to make sure the PIC flag actually works.
   14063 #
   14064 if test -n "$lt_prog_compiler_pic_F77"; then
   14065 
   14066 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14067 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14068 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   14069   echo $ECHO_N "(cached) $ECHO_C" >&6
   14070 else
   14071   lt_prog_compiler_pic_works_F77=no
   14072   ac_outfile=conftest.$ac_objext
   14073    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14074    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14075    # Insert the option either (1) after the last *FLAGS variable, or
   14076    # (2) before a word containing "conftest.", or (3) at the end.
   14077    # Note that $ac_compile itself does not contain backslashes and begins
   14078    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14079    # The option is referenced via a variable to avoid confusing sed.
   14080    lt_compile=`echo "$ac_compile" | $SED \
   14081    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14082    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14083    -e 's:$: $lt_compiler_flag:'`
   14084    (eval echo "\"\$as_me:14084: $lt_compile\"" >&5)
   14085    (eval "$lt_compile" 2>conftest.err)
   14086    ac_status=$?
   14087    cat conftest.err >&5
   14088    echo "$as_me:14088: \$? = $ac_status" >&5
   14089    if (exit $ac_status) && test -s "$ac_outfile"; then
   14090      # The compiler can only warn and ignore the option if not recognized
   14091      # So say no if there are warnings other than the usual output.
   14092      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14093      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14094      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14095        lt_prog_compiler_pic_works_F77=yes
   14096      fi
   14097    fi
   14098    $rm conftest*
   14099 
   14100 fi
   14101 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   14102 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   14103 
   14104 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   14105     case $lt_prog_compiler_pic_F77 in
   14106      "" | " "*) ;;
   14107      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14108      esac
   14109 else
   14110     lt_prog_compiler_pic_F77=
   14111      lt_prog_compiler_can_build_shared_F77=no
   14112 fi
   14113 
   14114 fi
   14115 case $host_os in
   14116   # For platforms which do not support PIC, -DPIC is meaningless:
   14117   *djgpp*)
   14118     lt_prog_compiler_pic_F77=
   14119     ;;
   14120   *)
   14121     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14122     ;;
   14123 esac
   14124 
   14125 #
   14126 # Check to make sure the static flag actually works.
   14127 #
   14128 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14129 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14130 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14131 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   14132   echo $ECHO_N "(cached) $ECHO_C" >&6
   14133 else
   14134   lt_prog_compiler_static_works_F77=no
   14135    save_LDFLAGS="$LDFLAGS"
   14136    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14137    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14138    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14139      # The linker can only warn and ignore the option if not recognized
   14140      # So say no if there are warnings
   14141      if test -s conftest.err; then
   14142        # Append any errors to the config.log.
   14143        cat conftest.err 1>&5
   14144        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14145        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14146        if diff conftest.exp conftest.er2 >/dev/null; then
   14147          lt_prog_compiler_static_works_F77=yes
   14148        fi
   14149      else
   14150        lt_prog_compiler_static_works_F77=yes
   14151      fi
   14152    fi
   14153    $rm conftest*
   14154    LDFLAGS="$save_LDFLAGS"
   14155 
   14156 fi
   14157 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14158 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14159 
   14160 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14161     :
   14162 else
   14163     lt_prog_compiler_static_F77=
   14164 fi
   14165 
   14166 
   14167 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14168 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14169 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14170   echo $ECHO_N "(cached) $ECHO_C" >&6
   14171 else
   14172   lt_cv_prog_compiler_c_o_F77=no
   14173    $rm -r conftest 2>/dev/null
   14174    mkdir conftest
   14175    cd conftest
   14176    mkdir out
   14177    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14178 
   14179    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14180    # Insert the option either (1) after the last *FLAGS variable, or
   14181    # (2) before a word containing "conftest.", or (3) at the end.
   14182    # Note that $ac_compile itself does not contain backslashes and begins
   14183    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14184    lt_compile=`echo "$ac_compile" | $SED \
   14185    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14186    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14187    -e 's:$: $lt_compiler_flag:'`
   14188    (eval echo "\"\$as_me:14188: $lt_compile\"" >&5)
   14189    (eval "$lt_compile" 2>out/conftest.err)
   14190    ac_status=$?
   14191    cat out/conftest.err >&5
   14192    echo "$as_me:14192: \$? = $ac_status" >&5
   14193    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14194    then
   14195      # The compiler can only warn and ignore the option if not recognized
   14196      # So say no if there are warnings
   14197      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14198      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14199      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14200        lt_cv_prog_compiler_c_o_F77=yes
   14201      fi
   14202    fi
   14203    chmod u+w . 2>&5
   14204    $rm conftest*
   14205    # SGI C++ compiler will create directory out/ii_files/ for
   14206    # template instantiation
   14207    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14208    $rm out/* && rmdir out
   14209    cd ..
   14210    rmdir conftest
   14211    $rm conftest*
   14212 
   14213 fi
   14214 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14215 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14216 
   14217 
   14218 hard_links="nottested"
   14219 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14220   # do not overwrite the value of need_locks provided by the user
   14221   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14222 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14223   hard_links=yes
   14224   $rm conftest*
   14225   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14226   touch conftest.a
   14227   ln conftest.a conftest.b 2>&5 || hard_links=no
   14228   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14229   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14230 echo "${ECHO_T}$hard_links" >&6; }
   14231   if test "$hard_links" = no; then
   14232     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14233 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14234     need_locks=warn
   14235   fi
   14236 else
   14237   need_locks=no
   14238 fi
   14239 
   14240 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14241 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14242 
   14243   runpath_var=
   14244   allow_undefined_flag_F77=
   14245   enable_shared_with_static_runtimes_F77=no
   14246   archive_cmds_F77=
   14247   archive_expsym_cmds_F77=
   14248   old_archive_From_new_cmds_F77=
   14249   old_archive_from_expsyms_cmds_F77=
   14250   export_dynamic_flag_spec_F77=
   14251   whole_archive_flag_spec_F77=
   14252   thread_safe_flag_spec_F77=
   14253   hardcode_libdir_flag_spec_F77=
   14254   hardcode_libdir_flag_spec_ld_F77=
   14255   hardcode_libdir_separator_F77=
   14256   hardcode_direct_F77=no
   14257   hardcode_minus_L_F77=no
   14258   hardcode_shlibpath_var_F77=unsupported
   14259   link_all_deplibs_F77=unknown
   14260   hardcode_automatic_F77=no
   14261   module_cmds_F77=
   14262   module_expsym_cmds_F77=
   14263   always_export_symbols_F77=no
   14264   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14265   # include_expsyms should be a list of space-separated symbols to be *always*
   14266   # included in the symbol list
   14267   include_expsyms_F77=
   14268   # exclude_expsyms can be an extended regexp of symbols to exclude
   14269   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14270   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14271   # as well as any symbol that contains `d'.
   14272   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14273   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14274   # platforms (ab)use it in PIC code, but their linkers get confused if
   14275   # the symbol is explicitly referenced.  Since portable code cannot
   14276   # rely on this symbol name, it's probably fine to never include it in
   14277   # preloaded symbol tables.
   14278   extract_expsyms_cmds=
   14279   # Just being paranoid about ensuring that cc_basename is set.
   14280   for cc_temp in $compiler""; do
   14281   case $cc_temp in
   14282     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14283     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14284     \-*) ;;
   14285     *) break;;
   14286   esac
   14287 done
   14288 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14289 
   14290   case $host_os in
   14291   cygwin* | mingw* | pw32*)
   14292     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14293     # When not using gcc, we currently assume that we are using
   14294     # Microsoft Visual C++.
   14295     if test "$GCC" != yes; then
   14296       with_gnu_ld=no
   14297     fi
   14298     ;;
   14299   interix*)
   14300     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14301     with_gnu_ld=yes
   14302     ;;
   14303   openbsd*)
   14304     with_gnu_ld=no
   14305     ;;
   14306   esac
   14307 
   14308   ld_shlibs_F77=yes
   14309   if test "$with_gnu_ld" = yes; then
   14310     # If archive_cmds runs LD, not CC, wlarc should be empty
   14311     wlarc='${wl}'
   14312 
   14313     # Set some defaults for GNU ld with shared library support. These
   14314     # are reset later if shared libraries are not supported. Putting them
   14315     # here allows them to be overridden if necessary.
   14316     runpath_var=LD_RUN_PATH
   14317     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14318     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14319     # ancient GNU ld didn't support --whole-archive et. al.
   14320     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14321 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14322       else
   14323   	whole_archive_flag_spec_F77=
   14324     fi
   14325     supports_anon_versioning=no
   14326     case `$LD -v 2>/dev/null` in
   14327       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14328       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14329       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14330       *\ 2.11.*) ;; # other 2.11 versions
   14331       *) supports_anon_versioning=yes ;;
   14332     esac
   14333 
   14334     # See if GNU ld supports shared libraries.
   14335     case $host_os in
   14336     aix3* | aix4* | aix5*)
   14337       # On AIX/PPC, the GNU linker is very broken
   14338       if test "$host_cpu" != ia64; then
   14339 	ld_shlibs_F77=no
   14340 	cat <<EOF 1>&2
   14341 
   14342 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14343 *** to be unable to reliably create shared libraries on AIX.
   14344 *** Therefore, libtool is disabling shared libraries support.  If you
   14345 *** really care for shared libraries, you may want to modify your PATH
   14346 *** so that a non-GNU linker is found, and then restart.
   14347 
   14348 EOF
   14349       fi
   14350       ;;
   14351 
   14352     amigaos*)
   14353       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)'
   14354       hardcode_libdir_flag_spec_F77='-L$libdir'
   14355       hardcode_minus_L_F77=yes
   14356 
   14357       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14358       # that the semantics of dynamic libraries on AmigaOS, at least up
   14359       # to version 4, is to share data among multiple programs linked
   14360       # with the same dynamic library.  Since this doesn't match the
   14361       # behavior of shared libraries on other platforms, we can't use
   14362       # them.
   14363       ld_shlibs_F77=no
   14364       ;;
   14365 
   14366     beos*)
   14367       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14368 	allow_undefined_flag_F77=unsupported
   14369 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14370 	# support --undefined.  This deserves some investigation.  FIXME
   14371 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14372       else
   14373 	ld_shlibs_F77=no
   14374       fi
   14375       ;;
   14376 
   14377     cygwin* | mingw* | pw32*)
   14378       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14379       # as there is no search path for DLLs.
   14380       hardcode_libdir_flag_spec_F77='-L$libdir'
   14381       allow_undefined_flag_F77=unsupported
   14382       always_export_symbols_F77=no
   14383       enable_shared_with_static_runtimes_F77=yes
   14384       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14385 
   14386       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14387         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14388 	# If the export-symbols file already is a .def file (1st line
   14389 	# is EXPORTS), use it as is; otherwise, prepend...
   14390 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14391 	  cp $export_symbols $output_objdir/$soname.def;
   14392 	else
   14393 	  echo EXPORTS > $output_objdir/$soname.def;
   14394 	  cat $export_symbols >> $output_objdir/$soname.def;
   14395 	fi~
   14396 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14397       else
   14398 	ld_shlibs_F77=no
   14399       fi
   14400       ;;
   14401 
   14402     interix[3-9]*)
   14403       hardcode_direct_F77=no
   14404       hardcode_shlibpath_var_F77=no
   14405       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14406       export_dynamic_flag_spec_F77='${wl}-E'
   14407       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14408       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14409       # default) and relocated if they conflict, which is a slow very memory
   14410       # consuming and fragmenting process.  To avoid this, we pick a random,
   14411       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14412       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14413       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'
   14414       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'
   14415       ;;
   14416 
   14417     gnu* | linux* | k*bsd*-gnu)
   14418       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14419 	tmp_addflag=
   14420 	case $cc_basename,$host_cpu in
   14421 	pgcc*)				# Portland Group C compiler
   14422 	  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'
   14423 	  tmp_addflag=' $pic_flag'
   14424 	  ;;
   14425 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14426 	  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'
   14427 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14428 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14429 	  tmp_addflag=' -i_dynamic' ;;
   14430 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14431 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14432 	ifc* | ifort*)			# Intel Fortran compiler
   14433 	  tmp_addflag=' -nofor_main' ;;
   14434 	esac
   14435 	case `$CC -V 2>&1 | sed 5q` in
   14436 	*Sun\ C*)			# Sun C 5.9
   14437 	  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'
   14438 	  tmp_sharedflag='-G' ;;
   14439 	*Sun\ F*)			# Sun Fortran 8.3
   14440 	  tmp_sharedflag='-G' ;;
   14441 	*)
   14442 	  tmp_sharedflag='-shared' ;;
   14443 	esac
   14444 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14445 
   14446 	if test $supports_anon_versioning = yes; then
   14447 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14448   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14449   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14450 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14451 	fi
   14452       else
   14453 	ld_shlibs_F77=no
   14454       fi
   14455       ;;
   14456 
   14457     netbsd*)
   14458       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14459 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14460 	wlarc=
   14461       else
   14462 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14463 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14464       fi
   14465       ;;
   14466 
   14467     solaris*)
   14468       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14469 	ld_shlibs_F77=no
   14470 	cat <<EOF 1>&2
   14471 
   14472 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14473 *** create shared libraries on Solaris systems.  Therefore, libtool
   14474 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14475 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14476 *** your PATH or compiler configuration so that the native linker is
   14477 *** used, and then restart.
   14478 
   14479 EOF
   14480       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14481 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14482 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14483       else
   14484 	ld_shlibs_F77=no
   14485       fi
   14486       ;;
   14487 
   14488     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14489       case `$LD -v 2>&1` in
   14490         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14491 	ld_shlibs_F77=no
   14492 	cat <<_LT_EOF 1>&2
   14493 
   14494 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14495 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14496 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14497 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14498 *** your PATH or compiler configuration so that the native linker is
   14499 *** used, and then restart.
   14500 
   14501 _LT_EOF
   14502 	;;
   14503 	*)
   14504 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14505 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14506 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14507 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14508 	  else
   14509 	    ld_shlibs_F77=no
   14510 	  fi
   14511 	;;
   14512       esac
   14513       ;;
   14514 
   14515     sunos4*)
   14516       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14517       wlarc=
   14518       hardcode_direct_F77=yes
   14519       hardcode_shlibpath_var_F77=no
   14520       ;;
   14521 
   14522     *)
   14523       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14524 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14525 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14526       else
   14527 	ld_shlibs_F77=no
   14528       fi
   14529       ;;
   14530     esac
   14531 
   14532     if test "$ld_shlibs_F77" = no; then
   14533       runpath_var=
   14534       hardcode_libdir_flag_spec_F77=
   14535       export_dynamic_flag_spec_F77=
   14536       whole_archive_flag_spec_F77=
   14537     fi
   14538   else
   14539     # PORTME fill in a description of your system's linker (not GNU ld)
   14540     case $host_os in
   14541     aix3*)
   14542       allow_undefined_flag_F77=unsupported
   14543       always_export_symbols_F77=yes
   14544       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'
   14545       # Note: this linker hardcodes the directories in LIBPATH if there
   14546       # are no directories specified by -L.
   14547       hardcode_minus_L_F77=yes
   14548       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14549 	# Neither direct hardcoding nor static linking is supported with a
   14550 	# broken collect2.
   14551 	hardcode_direct_F77=unsupported
   14552       fi
   14553       ;;
   14554 
   14555     aix4* | aix5*)
   14556       if test "$host_cpu" = ia64; then
   14557 	# On IA64, the linker does run time linking by default, so we don't
   14558 	# have to do anything special.
   14559 	aix_use_runtimelinking=no
   14560 	exp_sym_flag='-Bexport'
   14561 	no_entry_flag=""
   14562       else
   14563 	# If we're using GNU nm, then we don't want the "-C" option.
   14564 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14565 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14566 	  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'
   14567 	else
   14568 	  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'
   14569 	fi
   14570 	aix_use_runtimelinking=no
   14571 
   14572 	# Test if we are trying to use run time linking or normal
   14573 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14574 	# need to do runtime linking.
   14575 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14576 	  for ld_flag in $LDFLAGS; do
   14577   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14578   	    aix_use_runtimelinking=yes
   14579   	    break
   14580   	  fi
   14581 	  done
   14582 	  ;;
   14583 	esac
   14584 
   14585 	exp_sym_flag='-bexport'
   14586 	no_entry_flag='-bnoentry'
   14587       fi
   14588 
   14589       # When large executables or shared objects are built, AIX ld can
   14590       # have problems creating the table of contents.  If linking a library
   14591       # or program results in "error TOC overflow" add -mminimal-toc to
   14592       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14593       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14594 
   14595       archive_cmds_F77=''
   14596       hardcode_direct_F77=yes
   14597       hardcode_libdir_separator_F77=':'
   14598       link_all_deplibs_F77=yes
   14599 
   14600       if test "$GCC" = yes; then
   14601 	case $host_os in aix4.[012]|aix4.[012].*)
   14602 	# We only want to do this on AIX 4.2 and lower, the check
   14603 	# below for broken collect2 doesn't work under 4.3+
   14604 	  collect2name=`${CC} -print-prog-name=collect2`
   14605 	  if test -f "$collect2name" && \
   14606   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14607 	  then
   14608   	  # We have reworked collect2
   14609   	  :
   14610 	  else
   14611   	  # We have old collect2
   14612   	  hardcode_direct_F77=unsupported
   14613   	  # It fails to find uninstalled libraries when the uninstalled
   14614   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14615   	  # to unsupported forces relinking
   14616   	  hardcode_minus_L_F77=yes
   14617   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14618   	  hardcode_libdir_separator_F77=
   14619 	  fi
   14620 	  ;;
   14621 	esac
   14622 	shared_flag='-shared'
   14623 	if test "$aix_use_runtimelinking" = yes; then
   14624 	  shared_flag="$shared_flag "'${wl}-G'
   14625 	fi
   14626       else
   14627 	# not using gcc
   14628 	if test "$host_cpu" = ia64; then
   14629   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14630   	# chokes on -Wl,-G. The following line is correct:
   14631 	  shared_flag='-G'
   14632 	else
   14633 	  if test "$aix_use_runtimelinking" = yes; then
   14634 	    shared_flag='${wl}-G'
   14635 	  else
   14636 	    shared_flag='${wl}-bM:SRE'
   14637 	  fi
   14638 	fi
   14639       fi
   14640 
   14641       # It seems that -bexpall does not export symbols beginning with
   14642       # underscore (_), so it is better to generate a list of symbols to export.
   14643       always_export_symbols_F77=yes
   14644       if test "$aix_use_runtimelinking" = yes; then
   14645 	# Warning - without using the other runtime loading flags (-brtl),
   14646 	# -berok will link without error, but may produce a broken library.
   14647 	allow_undefined_flag_F77='-berok'
   14648        # Determine the default libpath from the value encoded in an empty executable.
   14649        cat >conftest.$ac_ext <<_ACEOF
   14650       program main
   14651 
   14652       end
   14653 _ACEOF
   14654 rm -f conftest.$ac_objext conftest$ac_exeext
   14655 if { (ac_try="$ac_link"
   14656 case "(($ac_try" in
   14657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14658   *) ac_try_echo=$ac_try;;
   14659 esac
   14660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14661   (eval "$ac_link") 2>conftest.er1
   14662   ac_status=$?
   14663   grep -v '^ *+' conftest.er1 >conftest.err
   14664   rm -f conftest.er1
   14665   cat conftest.err >&5
   14666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14667   (exit $ac_status); } && {
   14668 	 test -z "$ac_f77_werror_flag" ||
   14669 	 test ! -s conftest.err
   14670        } && test -s conftest$ac_exeext &&
   14671        $as_test_x conftest$ac_exeext; then
   14672 
   14673 lt_aix_libpath_sed='
   14674     /Import File Strings/,/^$/ {
   14675 	/^0/ {
   14676 	    s/^0  *\(.*\)$/\1/
   14677 	    p
   14678 	}
   14679     }'
   14680 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14681 # Check for a 64-bit object if we didn't find anything.
   14682 if test -z "$aix_libpath"; then
   14683   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14684 fi
   14685 else
   14686   echo "$as_me: failed program was:" >&5
   14687 sed 's/^/| /' conftest.$ac_ext >&5
   14688 
   14689 
   14690 fi
   14691 
   14692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14693       conftest$ac_exeext conftest.$ac_ext
   14694 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14695 
   14696        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14697 	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"
   14698        else
   14699 	if test "$host_cpu" = ia64; then
   14700 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14701 	  allow_undefined_flag_F77="-z nodefs"
   14702 	  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"
   14703 	else
   14704 	 # Determine the default libpath from the value encoded in an empty executable.
   14705 	 cat >conftest.$ac_ext <<_ACEOF
   14706       program main
   14707 
   14708       end
   14709 _ACEOF
   14710 rm -f conftest.$ac_objext conftest$ac_exeext
   14711 if { (ac_try="$ac_link"
   14712 case "(($ac_try" in
   14713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14714   *) ac_try_echo=$ac_try;;
   14715 esac
   14716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14717   (eval "$ac_link") 2>conftest.er1
   14718   ac_status=$?
   14719   grep -v '^ *+' conftest.er1 >conftest.err
   14720   rm -f conftest.er1
   14721   cat conftest.err >&5
   14722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14723   (exit $ac_status); } && {
   14724 	 test -z "$ac_f77_werror_flag" ||
   14725 	 test ! -s conftest.err
   14726        } && test -s conftest$ac_exeext &&
   14727        $as_test_x conftest$ac_exeext; then
   14728 
   14729 lt_aix_libpath_sed='
   14730     /Import File Strings/,/^$/ {
   14731 	/^0/ {
   14732 	    s/^0  *\(.*\)$/\1/
   14733 	    p
   14734 	}
   14735     }'
   14736 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14737 # Check for a 64-bit object if we didn't find anything.
   14738 if test -z "$aix_libpath"; then
   14739   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14740 fi
   14741 else
   14742   echo "$as_me: failed program was:" >&5
   14743 sed 's/^/| /' conftest.$ac_ext >&5
   14744 
   14745 
   14746 fi
   14747 
   14748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14749       conftest$ac_exeext conftest.$ac_ext
   14750 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14751 
   14752 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14753 	  # Warning - without using the other run time loading flags,
   14754 	  # -berok will link without error, but may produce a broken library.
   14755 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14756 	  allow_undefined_flag_F77=' ${wl}-berok'
   14757 	  # Exported symbols can be pulled into shared objects from archives
   14758 	  whole_archive_flag_spec_F77='$convenience'
   14759 	  archive_cmds_need_lc_F77=yes
   14760 	  # This is similar to how AIX traditionally builds its shared libraries.
   14761 	  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'
   14762 	fi
   14763       fi
   14764       ;;
   14765 
   14766     amigaos*)
   14767       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)'
   14768       hardcode_libdir_flag_spec_F77='-L$libdir'
   14769       hardcode_minus_L_F77=yes
   14770       # see comment about different semantics on the GNU ld section
   14771       ld_shlibs_F77=no
   14772       ;;
   14773 
   14774     bsdi[45]*)
   14775       export_dynamic_flag_spec_F77=-rdynamic
   14776       ;;
   14777 
   14778     cygwin* | mingw* | pw32*)
   14779       # When not using gcc, we currently assume that we are using
   14780       # Microsoft Visual C++.
   14781       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14782       # no search path for DLLs.
   14783       hardcode_libdir_flag_spec_F77=' '
   14784       allow_undefined_flag_F77=unsupported
   14785       # Tell ltmain to make .lib files, not .a files.
   14786       libext=lib
   14787       # Tell ltmain to make .dll files, not .so files.
   14788       shrext_cmds=".dll"
   14789       # FIXME: Setting linknames here is a bad hack.
   14790       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14791       # The linker will automatically build a .lib file if we build a DLL.
   14792       old_archive_From_new_cmds_F77='true'
   14793       # FIXME: Should let the user specify the lib program.
   14794       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14795       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14796       enable_shared_with_static_runtimes_F77=yes
   14797       ;;
   14798 
   14799     darwin* | rhapsody*)
   14800       case $host_os in
   14801         rhapsody* | darwin1.[012])
   14802          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14803          ;;
   14804        *) # Darwin 1.3 on
   14805          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14806            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14807          else
   14808            case ${MACOSX_DEPLOYMENT_TARGET} in
   14809              10.[012])
   14810                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14811                ;;
   14812              10.*)
   14813                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14814                ;;
   14815            esac
   14816          fi
   14817          ;;
   14818       esac
   14819       archive_cmds_need_lc_F77=no
   14820       hardcode_direct_F77=no
   14821       hardcode_automatic_F77=yes
   14822       hardcode_shlibpath_var_F77=unsupported
   14823       whole_archive_flag_spec_F77=''
   14824       link_all_deplibs_F77=yes
   14825     if test "$GCC" = yes ; then
   14826     	output_verbose_link_cmd='echo'
   14827         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14828       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14829       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14830       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}'
   14831       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}'
   14832     else
   14833       case $cc_basename in
   14834         xlc*)
   14835          output_verbose_link_cmd='echo'
   14836          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   14837          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14838           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14839          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}'
   14840           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}'
   14841           ;;
   14842        *)
   14843          ld_shlibs_F77=no
   14844           ;;
   14845       esac
   14846     fi
   14847       ;;
   14848 
   14849     dgux*)
   14850       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14851       hardcode_libdir_flag_spec_F77='-L$libdir'
   14852       hardcode_shlibpath_var_F77=no
   14853       ;;
   14854 
   14855     freebsd1*)
   14856       ld_shlibs_F77=no
   14857       ;;
   14858 
   14859     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14860     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14861     # does not break anything, and helps significantly (at the cost of a little
   14862     # extra space).
   14863     freebsd2.2*)
   14864       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14865       hardcode_libdir_flag_spec_F77='-R$libdir'
   14866       hardcode_direct_F77=yes
   14867       hardcode_shlibpath_var_F77=no
   14868       ;;
   14869 
   14870     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14871     freebsd2*)
   14872       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14873       hardcode_direct_F77=yes
   14874       hardcode_minus_L_F77=yes
   14875       hardcode_shlibpath_var_F77=no
   14876       ;;
   14877 
   14878     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14879     freebsd* | dragonfly*)
   14880       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14881       hardcode_libdir_flag_spec_F77='-R$libdir'
   14882       hardcode_direct_F77=yes
   14883       hardcode_shlibpath_var_F77=no
   14884       ;;
   14885 
   14886     hpux9*)
   14887       if test "$GCC" = yes; then
   14888 	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'
   14889       else
   14890 	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'
   14891       fi
   14892       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14893       hardcode_libdir_separator_F77=:
   14894       hardcode_direct_F77=yes
   14895 
   14896       # hardcode_minus_L: Not really in the search PATH,
   14897       # but as the default location of the library.
   14898       hardcode_minus_L_F77=yes
   14899       export_dynamic_flag_spec_F77='${wl}-E'
   14900       ;;
   14901 
   14902     hpux10*)
   14903       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14904 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14905       else
   14906 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14907       fi
   14908       if test "$with_gnu_ld" = no; then
   14909 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14910 	hardcode_libdir_separator_F77=:
   14911 
   14912 	hardcode_direct_F77=yes
   14913 	export_dynamic_flag_spec_F77='${wl}-E'
   14914 
   14915 	# hardcode_minus_L: Not really in the search PATH,
   14916 	# but as the default location of the library.
   14917 	hardcode_minus_L_F77=yes
   14918       fi
   14919       ;;
   14920 
   14921     hpux11*)
   14922       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14923 	case $host_cpu in
   14924 	hppa*64*)
   14925 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14926 	  ;;
   14927 	ia64*)
   14928 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14929 	  ;;
   14930 	*)
   14931 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14932 	  ;;
   14933 	esac
   14934       else
   14935 	case $host_cpu in
   14936 	hppa*64*)
   14937 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14938 	  ;;
   14939 	ia64*)
   14940 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14941 	  ;;
   14942 	*)
   14943 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14944 	  ;;
   14945 	esac
   14946       fi
   14947       if test "$with_gnu_ld" = no; then
   14948 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14949 	hardcode_libdir_separator_F77=:
   14950 
   14951 	case $host_cpu in
   14952 	hppa*64*|ia64*)
   14953 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14954 	  hardcode_direct_F77=no
   14955 	  hardcode_shlibpath_var_F77=no
   14956 	  ;;
   14957 	*)
   14958 	  hardcode_direct_F77=yes
   14959 	  export_dynamic_flag_spec_F77='${wl}-E'
   14960 
   14961 	  # hardcode_minus_L: Not really in the search PATH,
   14962 	  # but as the default location of the library.
   14963 	  hardcode_minus_L_F77=yes
   14964 	  ;;
   14965 	esac
   14966       fi
   14967       ;;
   14968 
   14969     irix5* | irix6* | nonstopux*)
   14970       if test "$GCC" = yes; then
   14971 	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'
   14972       else
   14973 	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'
   14974 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14975       fi
   14976       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14977       hardcode_libdir_separator_F77=:
   14978       link_all_deplibs_F77=yes
   14979       ;;
   14980 
   14981     netbsd*)
   14982       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14983 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14984       else
   14985 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14986       fi
   14987       hardcode_libdir_flag_spec_F77='-R$libdir'
   14988       hardcode_direct_F77=yes
   14989       hardcode_shlibpath_var_F77=no
   14990       ;;
   14991 
   14992     newsos6)
   14993       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14994       hardcode_direct_F77=yes
   14995       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14996       hardcode_libdir_separator_F77=:
   14997       hardcode_shlibpath_var_F77=no
   14998       ;;
   14999 
   15000     openbsd*)
   15001       if test -f /usr/libexec/ld.so; then
   15002 	hardcode_direct_F77=yes
   15003 	hardcode_shlibpath_var_F77=no
   15004 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15005 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15006 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15007 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15008 	  export_dynamic_flag_spec_F77='${wl}-E'
   15009 	else
   15010 	  case $host_os in
   15011 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15012 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15013 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15014 	     ;;
   15015 	   *)
   15016 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15017 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15018 	     ;;
   15019 	  esac
   15020         fi
   15021       else
   15022 	ld_shlibs_F77=no
   15023       fi
   15024       ;;
   15025 
   15026     os2*)
   15027       hardcode_libdir_flag_spec_F77='-L$libdir'
   15028       hardcode_minus_L_F77=yes
   15029       allow_undefined_flag_F77=unsupported
   15030       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'
   15031       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15032       ;;
   15033 
   15034     osf3*)
   15035       if test "$GCC" = yes; then
   15036 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15037 	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'
   15038       else
   15039 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15040 	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'
   15041       fi
   15042       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15043       hardcode_libdir_separator_F77=:
   15044       ;;
   15045 
   15046     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15047       if test "$GCC" = yes; then
   15048 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15049 	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'
   15050 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15051       else
   15052 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15053 	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'
   15054 	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~
   15055 	$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'
   15056 
   15057 	# Both c and cxx compiler support -rpath directly
   15058 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15059       fi
   15060       hardcode_libdir_separator_F77=:
   15061       ;;
   15062 
   15063     solaris*)
   15064       no_undefined_flag_F77=' -z text'
   15065       if test "$GCC" = yes; then
   15066 	wlarc='${wl}'
   15067 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15068 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15069 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15070       else
   15071 	wlarc=''
   15072 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15073 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15074   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15075       fi
   15076       hardcode_libdir_flag_spec_F77='-R$libdir'
   15077       hardcode_shlibpath_var_F77=no
   15078       case $host_os in
   15079       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15080       *)
   15081 	# The compiler driver will combine and reorder linker options,
   15082 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15083 	# but is careful enough not to reorder.
   15084  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15085 	if test "$GCC" = yes; then
   15086 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15087 	else
   15088 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15089 	fi
   15090 	;;
   15091       esac
   15092       link_all_deplibs_F77=yes
   15093       ;;
   15094 
   15095     sunos4*)
   15096       if test "x$host_vendor" = xsequent; then
   15097 	# Use $CC to link under sequent, because it throws in some extra .o
   15098 	# files that make .init and .fini sections work.
   15099 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15100       else
   15101 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15102       fi
   15103       hardcode_libdir_flag_spec_F77='-L$libdir'
   15104       hardcode_direct_F77=yes
   15105       hardcode_minus_L_F77=yes
   15106       hardcode_shlibpath_var_F77=no
   15107       ;;
   15108 
   15109     sysv4)
   15110       case $host_vendor in
   15111 	sni)
   15112 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15113 	  hardcode_direct_F77=yes # is this really true???
   15114 	;;
   15115 	siemens)
   15116 	  ## LD is ld it makes a PLAMLIB
   15117 	  ## CC just makes a GrossModule.
   15118 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15119 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15120 	  hardcode_direct_F77=no
   15121         ;;
   15122 	motorola)
   15123 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15124 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15125 	;;
   15126       esac
   15127       runpath_var='LD_RUN_PATH'
   15128       hardcode_shlibpath_var_F77=no
   15129       ;;
   15130 
   15131     sysv4.3*)
   15132       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15133       hardcode_shlibpath_var_F77=no
   15134       export_dynamic_flag_spec_F77='-Bexport'
   15135       ;;
   15136 
   15137     sysv4*MP*)
   15138       if test -d /usr/nec; then
   15139 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15140 	hardcode_shlibpath_var_F77=no
   15141 	runpath_var=LD_RUN_PATH
   15142 	hardcode_runpath_var=yes
   15143 	ld_shlibs_F77=yes
   15144       fi
   15145       ;;
   15146 
   15147     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15148       no_undefined_flag_F77='${wl}-z,text'
   15149       archive_cmds_need_lc_F77=no
   15150       hardcode_shlibpath_var_F77=no
   15151       runpath_var='LD_RUN_PATH'
   15152 
   15153       if test "$GCC" = yes; then
   15154 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15155 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15156       else
   15157 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15158 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15159       fi
   15160       ;;
   15161 
   15162     sysv5* | sco3.2v5* | sco5v6*)
   15163       # Note: We can NOT use -z defs as we might desire, because we do not
   15164       # link with -lc, and that would cause any symbols used from libc to
   15165       # always be unresolved, which means just about no library would
   15166       # ever link correctly.  If we're not using GNU ld we use -z text
   15167       # though, which does catch some bad symbols but isn't as heavy-handed
   15168       # as -z defs.
   15169       no_undefined_flag_F77='${wl}-z,text'
   15170       allow_undefined_flag_F77='${wl}-z,nodefs'
   15171       archive_cmds_need_lc_F77=no
   15172       hardcode_shlibpath_var_F77=no
   15173       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15174       hardcode_libdir_separator_F77=':'
   15175       link_all_deplibs_F77=yes
   15176       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15177       runpath_var='LD_RUN_PATH'
   15178 
   15179       if test "$GCC" = yes; then
   15180 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15181 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15182       else
   15183 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15184 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15185       fi
   15186       ;;
   15187 
   15188     uts4*)
   15189       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15190       hardcode_libdir_flag_spec_F77='-L$libdir'
   15191       hardcode_shlibpath_var_F77=no
   15192       ;;
   15193 
   15194     *)
   15195       ld_shlibs_F77=no
   15196       ;;
   15197     esac
   15198   fi
   15199 
   15200 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15201 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15202 test "$ld_shlibs_F77" = no && can_build_shared=no
   15203 
   15204 #
   15205 # Do we need to explicitly link libc?
   15206 #
   15207 case "x$archive_cmds_need_lc_F77" in
   15208 x|xyes)
   15209   # Assume -lc should be added
   15210   archive_cmds_need_lc_F77=yes
   15211 
   15212   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15213     case $archive_cmds_F77 in
   15214     *'~'*)
   15215       # FIXME: we may have to deal with multi-command sequences.
   15216       ;;
   15217     '$CC '*)
   15218       # Test whether the compiler implicitly links with -lc since on some
   15219       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15220       # to ld, don't add -lc before -lgcc.
   15221       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15222 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15223       $rm conftest*
   15224       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15225 
   15226       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15227   (eval $ac_compile) 2>&5
   15228   ac_status=$?
   15229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15230   (exit $ac_status); } 2>conftest.err; then
   15231         soname=conftest
   15232         lib=conftest
   15233         libobjs=conftest.$ac_objext
   15234         deplibs=
   15235         wl=$lt_prog_compiler_wl_F77
   15236 	pic_flag=$lt_prog_compiler_pic_F77
   15237         compiler_flags=-v
   15238         linker_flags=-v
   15239         verstring=
   15240         output_objdir=.
   15241         libname=conftest
   15242         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15243         allow_undefined_flag_F77=
   15244         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15245   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15246   ac_status=$?
   15247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15248   (exit $ac_status); }
   15249         then
   15250 	  archive_cmds_need_lc_F77=no
   15251         else
   15252 	  archive_cmds_need_lc_F77=yes
   15253         fi
   15254         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15255       else
   15256         cat conftest.err 1>&5
   15257       fi
   15258       $rm conftest*
   15259       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15260 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15261       ;;
   15262     esac
   15263   fi
   15264   ;;
   15265 esac
   15266 
   15267 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15268 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15269 library_names_spec=
   15270 libname_spec='lib$name'
   15271 soname_spec=
   15272 shrext_cmds=".so"
   15273 postinstall_cmds=
   15274 postuninstall_cmds=
   15275 finish_cmds=
   15276 finish_eval=
   15277 shlibpath_var=
   15278 shlibpath_overrides_runpath=unknown
   15279 version_type=none
   15280 dynamic_linker="$host_os ld.so"
   15281 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15282 
   15283 need_lib_prefix=unknown
   15284 hardcode_into_libs=no
   15285 
   15286 # when you set need_version to no, make sure it does not cause -set_version
   15287 # flags to be left without arguments
   15288 need_version=unknown
   15289 
   15290 case $host_os in
   15291 aix3*)
   15292   version_type=linux
   15293   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15294   shlibpath_var=LIBPATH
   15295 
   15296   # AIX 3 has no versioning support, so we append a major version to the name.
   15297   soname_spec='${libname}${release}${shared_ext}$major'
   15298   ;;
   15299 
   15300 aix4* | aix5*)
   15301   version_type=linux
   15302   need_lib_prefix=no
   15303   need_version=no
   15304   hardcode_into_libs=yes
   15305   if test "$host_cpu" = ia64; then
   15306     # AIX 5 supports IA64
   15307     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15308     shlibpath_var=LD_LIBRARY_PATH
   15309   else
   15310     # With GCC up to 2.95.x, collect2 would create an import file
   15311     # for dependence libraries.  The import file would start with
   15312     # the line `#! .'.  This would cause the generated library to
   15313     # depend on `.', always an invalid library.  This was fixed in
   15314     # development snapshots of GCC prior to 3.0.
   15315     case $host_os in
   15316       aix4 | aix4.[01] | aix4.[01].*)
   15317       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15318 	   echo ' yes '
   15319 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15320 	:
   15321       else
   15322 	can_build_shared=no
   15323       fi
   15324       ;;
   15325     esac
   15326     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15327     # soname into executable. Probably we can add versioning support to
   15328     # collect2, so additional links can be useful in future.
   15329     if test "$aix_use_runtimelinking" = yes; then
   15330       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15331       # instead of lib<name>.a to let people know that these are not
   15332       # typical AIX shared libraries.
   15333       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15334     else
   15335       # We preserve .a as extension for shared libraries through AIX4.2
   15336       # and later when we are not doing run time linking.
   15337       library_names_spec='${libname}${release}.a $libname.a'
   15338       soname_spec='${libname}${release}${shared_ext}$major'
   15339     fi
   15340     shlibpath_var=LIBPATH
   15341   fi
   15342   ;;
   15343 
   15344 amigaos*)
   15345   library_names_spec='$libname.ixlibrary $libname.a'
   15346   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15347   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'
   15348   ;;
   15349 
   15350 beos*)
   15351   library_names_spec='${libname}${shared_ext}'
   15352   dynamic_linker="$host_os ld.so"
   15353   shlibpath_var=LIBRARY_PATH
   15354   ;;
   15355 
   15356 bsdi[45]*)
   15357   version_type=linux
   15358   need_version=no
   15359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15360   soname_spec='${libname}${release}${shared_ext}$major'
   15361   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15362   shlibpath_var=LD_LIBRARY_PATH
   15363   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15364   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15365   # the default ld.so.conf also contains /usr/contrib/lib and
   15366   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15367   # libtool to hard-code these into programs
   15368   ;;
   15369 
   15370 cygwin* | mingw* | pw32*)
   15371   version_type=windows
   15372   shrext_cmds=".dll"
   15373   need_version=no
   15374   need_lib_prefix=no
   15375 
   15376   case $GCC,$host_os in
   15377   yes,cygwin* | yes,mingw* | yes,pw32*)
   15378     library_names_spec='$libname.dll.a'
   15379     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15380     postinstall_cmds='base_file=`basename \${file}`~
   15381       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15382       dldir=$destdir/`dirname \$dlpath`~
   15383       test -d \$dldir || mkdir -p \$dldir~
   15384       $install_prog $dir/$dlname \$dldir/$dlname~
   15385       chmod a+x \$dldir/$dlname'
   15386     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15387       dlpath=$dir/\$dldll~
   15388        $rm \$dlpath'
   15389     shlibpath_overrides_runpath=yes
   15390 
   15391     case $host_os in
   15392     cygwin*)
   15393       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15394       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15395       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15396       ;;
   15397     mingw*)
   15398       # MinGW DLLs use traditional 'lib' prefix
   15399       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15400       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15401       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15402         # It is most probably a Windows format PATH printed by
   15403         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15404         # path with ; separators, and with drive letters. We can handle the
   15405         # drive letters (cygwin fileutils understands them), so leave them,
   15406         # especially as we might pass files found there to a mingw objdump,
   15407         # which wouldn't understand a cygwinified path. Ahh.
   15408         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15409       else
   15410         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15411       fi
   15412       ;;
   15413     pw32*)
   15414       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15415       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15416       ;;
   15417     esac
   15418     ;;
   15419 
   15420   *)
   15421     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15422     ;;
   15423   esac
   15424   dynamic_linker='Win32 ld.exe'
   15425   # FIXME: first we should search . and the directory the executable is in
   15426   shlibpath_var=PATH
   15427   ;;
   15428 
   15429 darwin* | rhapsody*)
   15430   dynamic_linker="$host_os dyld"
   15431   version_type=darwin
   15432   need_lib_prefix=no
   15433   need_version=no
   15434   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15435   soname_spec='${libname}${release}${major}$shared_ext'
   15436   shlibpath_overrides_runpath=yes
   15437   shlibpath_var=DYLD_LIBRARY_PATH
   15438   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15439 
   15440   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15441   ;;
   15442 
   15443 dgux*)
   15444   version_type=linux
   15445   need_lib_prefix=no
   15446   need_version=no
   15447   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15448   soname_spec='${libname}${release}${shared_ext}$major'
   15449   shlibpath_var=LD_LIBRARY_PATH
   15450   ;;
   15451 
   15452 freebsd1*)
   15453   dynamic_linker=no
   15454   ;;
   15455 
   15456 freebsd* | dragonfly*)
   15457   # DragonFly does not have aout.  When/if they implement a new
   15458   # versioning mechanism, adjust this.
   15459   if test -x /usr/bin/objformat; then
   15460     objformat=`/usr/bin/objformat`
   15461   else
   15462     case $host_os in
   15463     freebsd[123]*) objformat=aout ;;
   15464     *) objformat=elf ;;
   15465     esac
   15466   fi
   15467   version_type=freebsd-$objformat
   15468   case $version_type in
   15469     freebsd-elf*)
   15470       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15471       need_version=no
   15472       need_lib_prefix=no
   15473       ;;
   15474     freebsd-*)
   15475       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15476       need_version=yes
   15477       ;;
   15478   esac
   15479   shlibpath_var=LD_LIBRARY_PATH
   15480   case $host_os in
   15481   freebsd2*)
   15482     shlibpath_overrides_runpath=yes
   15483     ;;
   15484   freebsd3.[01]* | freebsdelf3.[01]*)
   15485     shlibpath_overrides_runpath=yes
   15486     hardcode_into_libs=yes
   15487     ;;
   15488   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15489   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15490     shlibpath_overrides_runpath=no
   15491     hardcode_into_libs=yes
   15492     ;;
   15493   *) # from 4.6 on, and DragonFly
   15494     shlibpath_overrides_runpath=yes
   15495     hardcode_into_libs=yes
   15496     ;;
   15497   esac
   15498   ;;
   15499 
   15500 gnu*)
   15501   version_type=linux
   15502   need_lib_prefix=no
   15503   need_version=no
   15504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15505   soname_spec='${libname}${release}${shared_ext}$major'
   15506   shlibpath_var=LD_LIBRARY_PATH
   15507   hardcode_into_libs=yes
   15508   ;;
   15509 
   15510 hpux9* | hpux10* | hpux11*)
   15511   # Give a soname corresponding to the major version so that dld.sl refuses to
   15512   # link against other versions.
   15513   version_type=sunos
   15514   need_lib_prefix=no
   15515   need_version=no
   15516   case $host_cpu in
   15517   ia64*)
   15518     shrext_cmds='.so'
   15519     hardcode_into_libs=yes
   15520     dynamic_linker="$host_os dld.so"
   15521     shlibpath_var=LD_LIBRARY_PATH
   15522     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15524     soname_spec='${libname}${release}${shared_ext}$major'
   15525     if test "X$HPUX_IA64_MODE" = X32; then
   15526       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15527     else
   15528       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15529     fi
   15530     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15531     ;;
   15532    hppa*64*)
   15533      shrext_cmds='.sl'
   15534      hardcode_into_libs=yes
   15535      dynamic_linker="$host_os dld.sl"
   15536      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15537      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15538      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15539      soname_spec='${libname}${release}${shared_ext}$major'
   15540      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15541      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15542      ;;
   15543    *)
   15544     shrext_cmds='.sl'
   15545     dynamic_linker="$host_os dld.sl"
   15546     shlibpath_var=SHLIB_PATH
   15547     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15548     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15549     soname_spec='${libname}${release}${shared_ext}$major'
   15550     ;;
   15551   esac
   15552   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15553   postinstall_cmds='chmod 555 $lib'
   15554   ;;
   15555 
   15556 interix[3-9]*)
   15557   version_type=linux
   15558   need_lib_prefix=no
   15559   need_version=no
   15560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15561   soname_spec='${libname}${release}${shared_ext}$major'
   15562   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15563   shlibpath_var=LD_LIBRARY_PATH
   15564   shlibpath_overrides_runpath=no
   15565   hardcode_into_libs=yes
   15566   ;;
   15567 
   15568 irix5* | irix6* | nonstopux*)
   15569   case $host_os in
   15570     nonstopux*) version_type=nonstopux ;;
   15571     *)
   15572 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15573 		version_type=linux
   15574 	else
   15575 		version_type=irix
   15576 	fi ;;
   15577   esac
   15578   need_lib_prefix=no
   15579   need_version=no
   15580   soname_spec='${libname}${release}${shared_ext}$major'
   15581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15582   case $host_os in
   15583   irix5* | nonstopux*)
   15584     libsuff= shlibsuff=
   15585     ;;
   15586   *)
   15587     case $LD in # libtool.m4 will add one of these switches to LD
   15588     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15589       libsuff= shlibsuff= libmagic=32-bit;;
   15590     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15591       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15592     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15593       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15594     *) libsuff= shlibsuff= libmagic=never-match;;
   15595     esac
   15596     ;;
   15597   esac
   15598   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15599   shlibpath_overrides_runpath=no
   15600   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15601   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15602   hardcode_into_libs=yes
   15603   ;;
   15604 
   15605 # No shared lib support for Linux oldld, aout, or coff.
   15606 linux*oldld* | linux*aout* | linux*coff*)
   15607   dynamic_linker=no
   15608   ;;
   15609 
   15610 # This must be Linux ELF.
   15611 linux* | k*bsd*-gnu)
   15612   version_type=linux
   15613   need_lib_prefix=no
   15614   need_version=no
   15615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15616   soname_spec='${libname}${release}${shared_ext}$major'
   15617   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15618   shlibpath_var=LD_LIBRARY_PATH
   15619   shlibpath_overrides_runpath=no
   15620   # This implies no fast_install, which is unacceptable.
   15621   # Some rework will be needed to allow for fast_install
   15622   # before this can be enabled.
   15623   hardcode_into_libs=yes
   15624   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15625   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15626 
   15627   # Append ld.so.conf contents to the search path
   15628   if test -f /etc/ld.so.conf; then
   15629     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' ' '`
   15630     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   15631   fi
   15632 
   15633   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15634   # powerpc, because MkLinux only supported shared libraries with the
   15635   # GNU dynamic linker.  Since this was broken with cross compilers,
   15636   # most powerpc-linux boxes support dynamic linking these days and
   15637   # people can always --disable-shared, the test was removed, and we
   15638   # assume the GNU/Linux dynamic linker is in use.
   15639   dynamic_linker='GNU/Linux ld.so'
   15640   ;;
   15641 
   15642 netbsd*)
   15643   version_type=sunos
   15644   need_lib_prefix=no
   15645   need_version=no
   15646   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15648     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15649     dynamic_linker='NetBSD (a.out) ld.so'
   15650   else
   15651     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15652     soname_spec='${libname}${release}${shared_ext}$major'
   15653     dynamic_linker='NetBSD ld.elf_so'
   15654   fi
   15655   shlibpath_var=LD_LIBRARY_PATH
   15656   shlibpath_overrides_runpath=yes
   15657   hardcode_into_libs=yes
   15658   ;;
   15659 
   15660 newsos6)
   15661   version_type=linux
   15662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15663   shlibpath_var=LD_LIBRARY_PATH
   15664   shlibpath_overrides_runpath=yes
   15665   ;;
   15666 
   15667 nto-qnx*)
   15668   version_type=linux
   15669   need_lib_prefix=no
   15670   need_version=no
   15671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15672   soname_spec='${libname}${release}${shared_ext}$major'
   15673   shlibpath_var=LD_LIBRARY_PATH
   15674   shlibpath_overrides_runpath=yes
   15675   ;;
   15676 
   15677 openbsd*)
   15678   version_type=sunos
   15679   sys_lib_dlsearch_path_spec="/usr/lib"
   15680   need_lib_prefix=no
   15681   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15682   case $host_os in
   15683     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15684     *)                         need_version=no  ;;
   15685   esac
   15686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15687   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15688   shlibpath_var=LD_LIBRARY_PATH
   15689   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15690     case $host_os in
   15691       openbsd2.[89] | openbsd2.[89].*)
   15692 	shlibpath_overrides_runpath=no
   15693 	;;
   15694       *)
   15695 	shlibpath_overrides_runpath=yes
   15696 	;;
   15697       esac
   15698   else
   15699     shlibpath_overrides_runpath=yes
   15700   fi
   15701   ;;
   15702 
   15703 os2*)
   15704   libname_spec='$name'
   15705   shrext_cmds=".dll"
   15706   need_lib_prefix=no
   15707   library_names_spec='$libname${shared_ext} $libname.a'
   15708   dynamic_linker='OS/2 ld.exe'
   15709   shlibpath_var=LIBPATH
   15710   ;;
   15711 
   15712 osf3* | osf4* | osf5*)
   15713   version_type=osf
   15714   need_lib_prefix=no
   15715   need_version=no
   15716   soname_spec='${libname}${release}${shared_ext}$major'
   15717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15718   shlibpath_var=LD_LIBRARY_PATH
   15719   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15720   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15721   ;;
   15722 
   15723 rdos*)
   15724   dynamic_linker=no
   15725   ;;
   15726 
   15727 solaris*)
   15728   version_type=linux
   15729   need_lib_prefix=no
   15730   need_version=no
   15731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15732   soname_spec='${libname}${release}${shared_ext}$major'
   15733   shlibpath_var=LD_LIBRARY_PATH
   15734   shlibpath_overrides_runpath=yes
   15735   hardcode_into_libs=yes
   15736   # ldd complains unless libraries are executable
   15737   postinstall_cmds='chmod +x $lib'
   15738   ;;
   15739 
   15740 sunos4*)
   15741   version_type=sunos
   15742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15743   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15744   shlibpath_var=LD_LIBRARY_PATH
   15745   shlibpath_overrides_runpath=yes
   15746   if test "$with_gnu_ld" = yes; then
   15747     need_lib_prefix=no
   15748   fi
   15749   need_version=yes
   15750   ;;
   15751 
   15752 sysv4 | sysv4.3*)
   15753   version_type=linux
   15754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15755   soname_spec='${libname}${release}${shared_ext}$major'
   15756   shlibpath_var=LD_LIBRARY_PATH
   15757   case $host_vendor in
   15758     sni)
   15759       shlibpath_overrides_runpath=no
   15760       need_lib_prefix=no
   15761       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15762       runpath_var=LD_RUN_PATH
   15763       ;;
   15764     siemens)
   15765       need_lib_prefix=no
   15766       ;;
   15767     motorola)
   15768       need_lib_prefix=no
   15769       need_version=no
   15770       shlibpath_overrides_runpath=no
   15771       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15772       ;;
   15773   esac
   15774   ;;
   15775 
   15776 sysv4*MP*)
   15777   if test -d /usr/nec ;then
   15778     version_type=linux
   15779     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15780     soname_spec='$libname${shared_ext}.$major'
   15781     shlibpath_var=LD_LIBRARY_PATH
   15782   fi
   15783   ;;
   15784 
   15785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15786   version_type=freebsd-elf
   15787   need_lib_prefix=no
   15788   need_version=no
   15789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15790   soname_spec='${libname}${release}${shared_ext}$major'
   15791   shlibpath_var=LD_LIBRARY_PATH
   15792   hardcode_into_libs=yes
   15793   if test "$with_gnu_ld" = yes; then
   15794     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15795     shlibpath_overrides_runpath=no
   15796   else
   15797     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15798     shlibpath_overrides_runpath=yes
   15799     case $host_os in
   15800       sco3.2v5*)
   15801         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15802 	;;
   15803     esac
   15804   fi
   15805   sys_lib_dlsearch_path_spec='/usr/lib'
   15806   ;;
   15807 
   15808 uts4*)
   15809   version_type=linux
   15810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15811   soname_spec='${libname}${release}${shared_ext}$major'
   15812   shlibpath_var=LD_LIBRARY_PATH
   15813   ;;
   15814 
   15815 *)
   15816   dynamic_linker=no
   15817   ;;
   15818 esac
   15819 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15820 echo "${ECHO_T}$dynamic_linker" >&6; }
   15821 test "$dynamic_linker" = no && can_build_shared=no
   15822 
   15823 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15824 if test "$GCC" = yes; then
   15825   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15826 fi
   15827 
   15828 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15829 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15830 hardcode_action_F77=
   15831 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15832    test -n "$runpath_var_F77" || \
   15833    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15834 
   15835   # We can hardcode non-existant directories.
   15836   if test "$hardcode_direct_F77" != no &&
   15837      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15838      # have to relink, otherwise we might link with an installed library
   15839      # when we should be linking with a yet-to-be-installed one
   15840      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15841      test "$hardcode_minus_L_F77" != no; then
   15842     # Linking always hardcodes the temporary library directory.
   15843     hardcode_action_F77=relink
   15844   else
   15845     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15846     hardcode_action_F77=immediate
   15847   fi
   15848 else
   15849   # We cannot hardcode anything, or else we can only hardcode existing
   15850   # directories.
   15851   hardcode_action_F77=unsupported
   15852 fi
   15853 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15854 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15855 
   15856 if test "$hardcode_action_F77" = relink; then
   15857   # Fast installation is not supported
   15858   enable_fast_install=no
   15859 elif test "$shlibpath_overrides_runpath" = yes ||
   15860      test "$enable_shared" = no; then
   15861   # Fast installation is not necessary
   15862   enable_fast_install=needless
   15863 fi
   15864 
   15865 
   15866 # The else clause should only fire when bootstrapping the
   15867 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15868 # with your package, and you will get complaints that there are
   15869 # no rules to generate ltmain.sh.
   15870 if test -f "$ltmain"; then
   15871   # See if we are running on zsh, and set the options which allow our commands through
   15872   # without removal of \ escapes.
   15873   if test -n "${ZSH_VERSION+set}" ; then
   15874     setopt NO_GLOB_SUBST
   15875   fi
   15876   # Now quote all the things that may contain metacharacters while being
   15877   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15878   # variables and quote the copies for generation of the libtool script.
   15879   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15880     SED SHELL STRIP \
   15881     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15882     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15883     deplibs_check_method reload_flag reload_cmds need_locks \
   15884     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15885     lt_cv_sys_global_symbol_to_c_name_address \
   15886     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15887     old_postinstall_cmds old_postuninstall_cmds \
   15888     compiler_F77 \
   15889     CC_F77 \
   15890     LD_F77 \
   15891     lt_prog_compiler_wl_F77 \
   15892     lt_prog_compiler_pic_F77 \
   15893     lt_prog_compiler_static_F77 \
   15894     lt_prog_compiler_no_builtin_flag_F77 \
   15895     export_dynamic_flag_spec_F77 \
   15896     thread_safe_flag_spec_F77 \
   15897     whole_archive_flag_spec_F77 \
   15898     enable_shared_with_static_runtimes_F77 \
   15899     old_archive_cmds_F77 \
   15900     old_archive_from_new_cmds_F77 \
   15901     predep_objects_F77 \
   15902     postdep_objects_F77 \
   15903     predeps_F77 \
   15904     postdeps_F77 \
   15905     compiler_lib_search_path_F77 \
   15906     archive_cmds_F77 \
   15907     archive_expsym_cmds_F77 \
   15908     postinstall_cmds_F77 \
   15909     postuninstall_cmds_F77 \
   15910     old_archive_from_expsyms_cmds_F77 \
   15911     allow_undefined_flag_F77 \
   15912     no_undefined_flag_F77 \
   15913     export_symbols_cmds_F77 \
   15914     hardcode_libdir_flag_spec_F77 \
   15915     hardcode_libdir_flag_spec_ld_F77 \
   15916     hardcode_libdir_separator_F77 \
   15917     hardcode_automatic_F77 \
   15918     module_cmds_F77 \
   15919     module_expsym_cmds_F77 \
   15920     lt_cv_prog_compiler_c_o_F77 \
   15921     fix_srcfile_path_F77 \
   15922     exclude_expsyms_F77 \
   15923     include_expsyms_F77; do
   15924 
   15925     case $var in
   15926     old_archive_cmds_F77 | \
   15927     old_archive_from_new_cmds_F77 | \
   15928     archive_cmds_F77 | \
   15929     archive_expsym_cmds_F77 | \
   15930     module_cmds_F77 | \
   15931     module_expsym_cmds_F77 | \
   15932     old_archive_from_expsyms_cmds_F77 | \
   15933     export_symbols_cmds_F77 | \
   15934     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15935     postinstall_cmds | postuninstall_cmds | \
   15936     old_postinstall_cmds | old_postuninstall_cmds | \
   15937     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15938       # Double-quote double-evaled strings.
   15939       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15940       ;;
   15941     *)
   15942       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15943       ;;
   15944     esac
   15945   done
   15946 
   15947   case $lt_echo in
   15948   *'\$0 --fallback-echo"')
   15949     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15950     ;;
   15951   esac
   15952 
   15953 cfgfile="$ofile"
   15954 
   15955   cat <<__EOF__ >> "$cfgfile"
   15956 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15957 
   15958 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15959 
   15960 # Shell to use when invoking shell scripts.
   15961 SHELL=$lt_SHELL
   15962 
   15963 # Whether or not to build shared libraries.
   15964 build_libtool_libs=$enable_shared
   15965 
   15966 # Whether or not to build static libraries.
   15967 build_old_libs=$enable_static
   15968 
   15969 # Whether or not to add -lc for building shared libraries.
   15970 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15971 
   15972 # Whether or not to disallow shared libs when runtime libs are static
   15973 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15974 
   15975 # Whether or not to optimize for fast installation.
   15976 fast_install=$enable_fast_install
   15977 
   15978 # The host system.
   15979 host_alias=$host_alias
   15980 host=$host
   15981 host_os=$host_os
   15982 
   15983 # The build system.
   15984 build_alias=$build_alias
   15985 build=$build
   15986 build_os=$build_os
   15987 
   15988 # An echo program that does not interpret backslashes.
   15989 echo=$lt_echo
   15990 
   15991 # The archiver.
   15992 AR=$lt_AR
   15993 AR_FLAGS=$lt_AR_FLAGS
   15994 
   15995 # A C compiler.
   15996 LTCC=$lt_LTCC
   15997 
   15998 # LTCC compiler flags.
   15999 LTCFLAGS=$lt_LTCFLAGS
   16000 
   16001 # A language-specific compiler.
   16002 CC=$lt_compiler_F77
   16003 
   16004 # Is the compiler the GNU C compiler?
   16005 with_gcc=$GCC_F77
   16006 
   16007 # An ERE matcher.
   16008 EGREP=$lt_EGREP
   16009 
   16010 # The linker used to build libraries.
   16011 LD=$lt_LD_F77
   16012 
   16013 # Whether we need hard or soft links.
   16014 LN_S=$lt_LN_S
   16015 
   16016 # A BSD-compatible nm program.
   16017 NM=$lt_NM
   16018 
   16019 # A symbol stripping program
   16020 STRIP=$lt_STRIP
   16021 
   16022 # Used to examine libraries when file_magic_cmd begins "file"
   16023 MAGIC_CMD=$MAGIC_CMD
   16024 
   16025 # Used on cygwin: DLL creation program.
   16026 DLLTOOL="$DLLTOOL"
   16027 
   16028 # Used on cygwin: object dumper.
   16029 OBJDUMP="$OBJDUMP"
   16030 
   16031 # Used on cygwin: assembler.
   16032 AS="$AS"
   16033 
   16034 # The name of the directory that contains temporary libtool files.
   16035 objdir=$objdir
   16036 
   16037 # How to create reloadable object files.
   16038 reload_flag=$lt_reload_flag
   16039 reload_cmds=$lt_reload_cmds
   16040 
   16041 # How to pass a linker flag through the compiler.
   16042 wl=$lt_lt_prog_compiler_wl_F77
   16043 
   16044 # Object file suffix (normally "o").
   16045 objext="$ac_objext"
   16046 
   16047 # Old archive suffix (normally "a").
   16048 libext="$libext"
   16049 
   16050 # Shared library suffix (normally ".so").
   16051 shrext_cmds='$shrext_cmds'
   16052 
   16053 # Executable file suffix (normally "").
   16054 exeext="$exeext"
   16055 
   16056 # Additional compiler flags for building library objects.
   16057 pic_flag=$lt_lt_prog_compiler_pic_F77
   16058 pic_mode=$pic_mode
   16059 
   16060 # What is the maximum length of a command?
   16061 max_cmd_len=$lt_cv_sys_max_cmd_len
   16062 
   16063 # Does compiler simultaneously support -c and -o options?
   16064 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16065 
   16066 # Must we lock files when doing compilation?
   16067 need_locks=$lt_need_locks
   16068 
   16069 # Do we need the lib prefix for modules?
   16070 need_lib_prefix=$need_lib_prefix
   16071 
   16072 # Do we need a version for libraries?
   16073 need_version=$need_version
   16074 
   16075 # Whether dlopen is supported.
   16076 dlopen_support=$enable_dlopen
   16077 
   16078 # Whether dlopen of programs is supported.
   16079 dlopen_self=$enable_dlopen_self
   16080 
   16081 # Whether dlopen of statically linked programs is supported.
   16082 dlopen_self_static=$enable_dlopen_self_static
   16083 
   16084 # Compiler flag to prevent dynamic linking.
   16085 link_static_flag=$lt_lt_prog_compiler_static_F77
   16086 
   16087 # Compiler flag to turn off builtin functions.
   16088 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16089 
   16090 # Compiler flag to allow reflexive dlopens.
   16091 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16092 
   16093 # Compiler flag to generate shared objects directly from archives.
   16094 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16095 
   16096 # Compiler flag to generate thread-safe objects.
   16097 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16098 
   16099 # Library versioning type.
   16100 version_type=$version_type
   16101 
   16102 # Format of library name prefix.
   16103 libname_spec=$lt_libname_spec
   16104 
   16105 # List of archive names.  First name is the real one, the rest are links.
   16106 # The last name is the one that the linker finds with -lNAME.
   16107 library_names_spec=$lt_library_names_spec
   16108 
   16109 # The coded name of the library, if different from the real name.
   16110 soname_spec=$lt_soname_spec
   16111 
   16112 # Commands used to build and install an old-style archive.
   16113 RANLIB=$lt_RANLIB
   16114 old_archive_cmds=$lt_old_archive_cmds_F77
   16115 old_postinstall_cmds=$lt_old_postinstall_cmds
   16116 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16117 
   16118 # Create an old-style archive from a shared archive.
   16119 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16120 
   16121 # Create a temporary old-style archive to link instead of a shared archive.
   16122 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16123 
   16124 # Commands used to build and install a shared archive.
   16125 archive_cmds=$lt_archive_cmds_F77
   16126 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16127 postinstall_cmds=$lt_postinstall_cmds
   16128 postuninstall_cmds=$lt_postuninstall_cmds
   16129 
   16130 # Commands used to build a loadable module (assumed same as above if empty)
   16131 module_cmds=$lt_module_cmds_F77
   16132 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16133 
   16134 # Commands to strip libraries.
   16135 old_striplib=$lt_old_striplib
   16136 striplib=$lt_striplib
   16137 
   16138 # Dependencies to place before the objects being linked to create a
   16139 # shared library.
   16140 predep_objects=$lt_predep_objects_F77
   16141 
   16142 # Dependencies to place after the objects being linked to create a
   16143 # shared library.
   16144 postdep_objects=$lt_postdep_objects_F77
   16145 
   16146 # Dependencies to place before the objects being linked to create a
   16147 # shared library.
   16148 predeps=$lt_predeps_F77
   16149 
   16150 # Dependencies to place after the objects being linked to create a
   16151 # shared library.
   16152 postdeps=$lt_postdeps_F77
   16153 
   16154 # The library search path used internally by the compiler when linking
   16155 # a shared library.
   16156 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16157 
   16158 # Method to check whether dependent libraries are shared objects.
   16159 deplibs_check_method=$lt_deplibs_check_method
   16160 
   16161 # Command to use when deplibs_check_method == file_magic.
   16162 file_magic_cmd=$lt_file_magic_cmd
   16163 
   16164 # Flag that allows shared libraries with undefined symbols to be built.
   16165 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16166 
   16167 # Flag that forces no undefined symbols.
   16168 no_undefined_flag=$lt_no_undefined_flag_F77
   16169 
   16170 # Commands used to finish a libtool library installation in a directory.
   16171 finish_cmds=$lt_finish_cmds
   16172 
   16173 # Same as above, but a single script fragment to be evaled but not shown.
   16174 finish_eval=$lt_finish_eval
   16175 
   16176 # Take the output of nm and produce a listing of raw symbols and C names.
   16177 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16178 
   16179 # Transform the output of nm in a proper C declaration
   16180 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16181 
   16182 # Transform the output of nm in a C name address pair
   16183 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16184 
   16185 # This is the shared library runtime path variable.
   16186 runpath_var=$runpath_var
   16187 
   16188 # This is the shared library path variable.
   16189 shlibpath_var=$shlibpath_var
   16190 
   16191 # Is shlibpath searched before the hard-coded library search path?
   16192 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16193 
   16194 # How to hardcode a shared library path into an executable.
   16195 hardcode_action=$hardcode_action_F77
   16196 
   16197 # Whether we should hardcode library paths into libraries.
   16198 hardcode_into_libs=$hardcode_into_libs
   16199 
   16200 # Flag to hardcode \$libdir into a binary during linking.
   16201 # This must work even if \$libdir does not exist.
   16202 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16203 
   16204 # If ld is used when linking, flag to hardcode \$libdir into
   16205 # a binary during linking. This must work even if \$libdir does
   16206 # not exist.
   16207 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16208 
   16209 # Whether we need a single -rpath flag with a separated argument.
   16210 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16211 
   16212 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16213 # resulting binary.
   16214 hardcode_direct=$hardcode_direct_F77
   16215 
   16216 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16217 # resulting binary.
   16218 hardcode_minus_L=$hardcode_minus_L_F77
   16219 
   16220 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16221 # the resulting binary.
   16222 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16223 
   16224 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16225 # and all subsequent libraries and executables linked against it.
   16226 hardcode_automatic=$hardcode_automatic_F77
   16227 
   16228 # Variables whose values should be saved in libtool wrapper scripts and
   16229 # restored at relink time.
   16230 variables_saved_for_relink="$variables_saved_for_relink"
   16231 
   16232 # Whether libtool must link a program against all its dependency libraries.
   16233 link_all_deplibs=$link_all_deplibs_F77
   16234 
   16235 # Compile-time system search path for libraries
   16236 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16237 
   16238 # Run-time system search path for libraries
   16239 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16240 
   16241 # Fix the shell variable \$srcfile for the compiler.
   16242 fix_srcfile_path=$lt_fix_srcfile_path
   16243 
   16244 # Set to yes if exported symbols are required.
   16245 always_export_symbols=$always_export_symbols_F77
   16246 
   16247 # The commands to list exported symbols.
   16248 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16249 
   16250 # The commands to extract the exported symbol list from a shared archive.
   16251 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16252 
   16253 # Symbols that should not be listed in the preloaded symbols.
   16254 exclude_expsyms=$lt_exclude_expsyms_F77
   16255 
   16256 # Symbols that must always be exported.
   16257 include_expsyms=$lt_include_expsyms_F77
   16258 
   16259 # ### END LIBTOOL TAG CONFIG: $tagname
   16260 
   16261 __EOF__
   16262 
   16263 
   16264 else
   16265   # If there is no Makefile yet, we rely on a make rule to execute
   16266   # `config.status --recheck' to rerun these tests and create the
   16267   # libtool script then.
   16268   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16269   if test -f "$ltmain_in"; then
   16270     test -f Makefile && make "$ltmain"
   16271   fi
   16272 fi
   16273 
   16274 
   16275 ac_ext=c
   16276 ac_cpp='$CPP $CPPFLAGS'
   16277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16280 
   16281 CC="$lt_save_CC"
   16282 
   16283 	else
   16284 	  tagname=""
   16285 	fi
   16286 	;;
   16287 
   16288       GCJ)
   16289 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16290 
   16291 
   16292 # Source file extension for Java test sources.
   16293 ac_ext=java
   16294 
   16295 # Object file extension for compiled Java test sources.
   16296 objext=o
   16297 objext_GCJ=$objext
   16298 
   16299 # Code to be used in simple compile tests
   16300 lt_simple_compile_test_code="class foo {}"
   16301 
   16302 # Code to be used in simple link tests
   16303 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16304 
   16305 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16306 
   16307 # If no C compiler was specified, use CC.
   16308 LTCC=${LTCC-"$CC"}
   16309 
   16310 # If no C compiler flags were specified, use CFLAGS.
   16311 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16312 
   16313 # Allow CC to be a program name with arguments.
   16314 compiler=$CC
   16315 
   16316 
   16317 # save warnings/boilerplate of simple test code
   16318 ac_outfile=conftest.$ac_objext
   16319 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16320 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16321 _lt_compiler_boilerplate=`cat conftest.err`
   16322 $rm conftest*
   16323 
   16324 ac_outfile=conftest.$ac_objext
   16325 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16326 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16327 _lt_linker_boilerplate=`cat conftest.err`
   16328 $rm conftest*
   16329 
   16330 
   16331 # Allow CC to be a program name with arguments.
   16332 lt_save_CC="$CC"
   16333 CC=${GCJ-"gcj"}
   16334 compiler=$CC
   16335 compiler_GCJ=$CC
   16336 for cc_temp in $compiler""; do
   16337   case $cc_temp in
   16338     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16339     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16340     \-*) ;;
   16341     *) break;;
   16342   esac
   16343 done
   16344 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16345 
   16346 
   16347 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16348 archive_cmds_need_lc_GCJ=no
   16349 
   16350 old_archive_cmds_GCJ=$old_archive_cmds
   16351 
   16352 
   16353 lt_prog_compiler_no_builtin_flag_GCJ=
   16354 
   16355 if test "$GCC" = yes; then
   16356   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16357 
   16358 
   16359 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16360 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16361 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16362   echo $ECHO_N "(cached) $ECHO_C" >&6
   16363 else
   16364   lt_cv_prog_compiler_rtti_exceptions=no
   16365   ac_outfile=conftest.$ac_objext
   16366    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16367    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16368    # Insert the option either (1) after the last *FLAGS variable, or
   16369    # (2) before a word containing "conftest.", or (3) at the end.
   16370    # Note that $ac_compile itself does not contain backslashes and begins
   16371    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16372    # The option is referenced via a variable to avoid confusing sed.
   16373    lt_compile=`echo "$ac_compile" | $SED \
   16374    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16375    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16376    -e 's:$: $lt_compiler_flag:'`
   16377    (eval echo "\"\$as_me:16377: $lt_compile\"" >&5)
   16378    (eval "$lt_compile" 2>conftest.err)
   16379    ac_status=$?
   16380    cat conftest.err >&5
   16381    echo "$as_me:16381: \$? = $ac_status" >&5
   16382    if (exit $ac_status) && test -s "$ac_outfile"; then
   16383      # The compiler can only warn and ignore the option if not recognized
   16384      # So say no if there are warnings other than the usual output.
   16385      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16386      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16387      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16388        lt_cv_prog_compiler_rtti_exceptions=yes
   16389      fi
   16390    fi
   16391    $rm conftest*
   16392 
   16393 fi
   16394 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16395 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16396 
   16397 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16398     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16399 else
   16400     :
   16401 fi
   16402 
   16403 fi
   16404 
   16405 lt_prog_compiler_wl_GCJ=
   16406 lt_prog_compiler_pic_GCJ=
   16407 lt_prog_compiler_static_GCJ=
   16408 
   16409 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16410 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16411 
   16412   if test "$GCC" = yes; then
   16413     lt_prog_compiler_wl_GCJ='-Wl,'
   16414     lt_prog_compiler_static_GCJ='-static'
   16415 
   16416     case $host_os in
   16417       aix*)
   16418       # All AIX code is PIC.
   16419       if test "$host_cpu" = ia64; then
   16420 	# AIX 5 now supports IA64 processor
   16421 	lt_prog_compiler_static_GCJ='-Bstatic'
   16422       fi
   16423       ;;
   16424 
   16425     amigaos*)
   16426       # FIXME: we need at least 68020 code to build shared libraries, but
   16427       # adding the `-m68020' flag to GCC prevents building anything better,
   16428       # like `-m68040'.
   16429       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16430       ;;
   16431 
   16432     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16433       # PIC is the default for these OSes.
   16434       ;;
   16435 
   16436     mingw* | cygwin* | pw32* | os2*)
   16437       # This hack is so that the source file can tell whether it is being
   16438       # built for inclusion in a dll (and should export symbols for example).
   16439       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16440       # (--disable-auto-import) libraries
   16441       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16442       ;;
   16443 
   16444     darwin* | rhapsody*)
   16445       # PIC is the default on this platform
   16446       # Common symbols not allowed in MH_DYLIB files
   16447       lt_prog_compiler_pic_GCJ='-fno-common'
   16448       ;;
   16449 
   16450     interix[3-9]*)
   16451       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16452       # Instead, we relocate shared libraries at runtime.
   16453       ;;
   16454 
   16455     msdosdjgpp*)
   16456       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16457       # on systems that don't support them.
   16458       lt_prog_compiler_can_build_shared_GCJ=no
   16459       enable_shared=no
   16460       ;;
   16461 
   16462     sysv4*MP*)
   16463       if test -d /usr/nec; then
   16464 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16465       fi
   16466       ;;
   16467 
   16468     hpux*)
   16469       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16470       # not for PA HP-UX.
   16471       case $host_cpu in
   16472       hppa*64*|ia64*)
   16473 	# +Z the default
   16474 	;;
   16475       *)
   16476 	lt_prog_compiler_pic_GCJ='-fPIC'
   16477 	;;
   16478       esac
   16479       ;;
   16480 
   16481     *)
   16482       lt_prog_compiler_pic_GCJ='-fPIC'
   16483       ;;
   16484     esac
   16485   else
   16486     # PORTME Check for flag to pass linker flags through the system compiler.
   16487     case $host_os in
   16488     aix*)
   16489       lt_prog_compiler_wl_GCJ='-Wl,'
   16490       if test "$host_cpu" = ia64; then
   16491 	# AIX 5 now supports IA64 processor
   16492 	lt_prog_compiler_static_GCJ='-Bstatic'
   16493       else
   16494 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16495       fi
   16496       ;;
   16497       darwin*)
   16498         # PIC is the default on this platform
   16499         # Common symbols not allowed in MH_DYLIB files
   16500        case $cc_basename in
   16501          xlc*)
   16502          lt_prog_compiler_pic_GCJ='-qnocommon'
   16503          lt_prog_compiler_wl_GCJ='-Wl,'
   16504          ;;
   16505        esac
   16506        ;;
   16507 
   16508     mingw* | cygwin* | pw32* | os2*)
   16509       # This hack is so that the source file can tell whether it is being
   16510       # built for inclusion in a dll (and should export symbols for example).
   16511       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16512       ;;
   16513 
   16514     hpux9* | hpux10* | hpux11*)
   16515       lt_prog_compiler_wl_GCJ='-Wl,'
   16516       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16517       # not for PA HP-UX.
   16518       case $host_cpu in
   16519       hppa*64*|ia64*)
   16520 	# +Z the default
   16521 	;;
   16522       *)
   16523 	lt_prog_compiler_pic_GCJ='+Z'
   16524 	;;
   16525       esac
   16526       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16527       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16528       ;;
   16529 
   16530     irix5* | irix6* | nonstopux*)
   16531       lt_prog_compiler_wl_GCJ='-Wl,'
   16532       # PIC (with -KPIC) is the default.
   16533       lt_prog_compiler_static_GCJ='-non_shared'
   16534       ;;
   16535 
   16536     newsos6)
   16537       lt_prog_compiler_pic_GCJ='-KPIC'
   16538       lt_prog_compiler_static_GCJ='-Bstatic'
   16539       ;;
   16540 
   16541     linux* | k*bsd*-gnu)
   16542       case $cc_basename in
   16543       icc* | ecc*)
   16544 	lt_prog_compiler_wl_GCJ='-Wl,'
   16545 	lt_prog_compiler_pic_GCJ='-KPIC'
   16546 	lt_prog_compiler_static_GCJ='-static'
   16547         ;;
   16548       pgcc* | pgf77* | pgf90* | pgf95*)
   16549         # Portland Group compilers (*not* the Pentium gcc compiler,
   16550 	# which looks to be a dead project)
   16551 	lt_prog_compiler_wl_GCJ='-Wl,'
   16552 	lt_prog_compiler_pic_GCJ='-fpic'
   16553 	lt_prog_compiler_static_GCJ='-Bstatic'
   16554         ;;
   16555       ccc*)
   16556         lt_prog_compiler_wl_GCJ='-Wl,'
   16557         # All Alpha code is PIC.
   16558         lt_prog_compiler_static_GCJ='-non_shared'
   16559         ;;
   16560       *)
   16561         case `$CC -V 2>&1 | sed 5q` in
   16562 	*Sun\ C*)
   16563 	  # Sun C 5.9
   16564 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16565 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16566 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16567 	  ;;
   16568 	*Sun\ F*)
   16569 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16570 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16571 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16572 	  lt_prog_compiler_wl_GCJ=''
   16573 	  ;;
   16574 	esac
   16575 	;;
   16576       esac
   16577       ;;
   16578 
   16579     osf3* | osf4* | osf5*)
   16580       lt_prog_compiler_wl_GCJ='-Wl,'
   16581       # All OSF/1 code is PIC.
   16582       lt_prog_compiler_static_GCJ='-non_shared'
   16583       ;;
   16584 
   16585     rdos*)
   16586       lt_prog_compiler_static_GCJ='-non_shared'
   16587       ;;
   16588 
   16589     solaris*)
   16590       lt_prog_compiler_pic_GCJ='-KPIC'
   16591       lt_prog_compiler_static_GCJ='-Bstatic'
   16592       case $cc_basename in
   16593       f77* | f90* | f95*)
   16594 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16595       *)
   16596 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16597       esac
   16598       ;;
   16599 
   16600     sunos4*)
   16601       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16602       lt_prog_compiler_pic_GCJ='-PIC'
   16603       lt_prog_compiler_static_GCJ='-Bstatic'
   16604       ;;
   16605 
   16606     sysv4 | sysv4.2uw2* | sysv4.3*)
   16607       lt_prog_compiler_wl_GCJ='-Wl,'
   16608       lt_prog_compiler_pic_GCJ='-KPIC'
   16609       lt_prog_compiler_static_GCJ='-Bstatic'
   16610       ;;
   16611 
   16612     sysv4*MP*)
   16613       if test -d /usr/nec ;then
   16614 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16615 	lt_prog_compiler_static_GCJ='-Bstatic'
   16616       fi
   16617       ;;
   16618 
   16619     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16620       lt_prog_compiler_wl_GCJ='-Wl,'
   16621       lt_prog_compiler_pic_GCJ='-KPIC'
   16622       lt_prog_compiler_static_GCJ='-Bstatic'
   16623       ;;
   16624 
   16625     unicos*)
   16626       lt_prog_compiler_wl_GCJ='-Wl,'
   16627       lt_prog_compiler_can_build_shared_GCJ=no
   16628       ;;
   16629 
   16630     uts4*)
   16631       lt_prog_compiler_pic_GCJ='-pic'
   16632       lt_prog_compiler_static_GCJ='-Bstatic'
   16633       ;;
   16634 
   16635     *)
   16636       lt_prog_compiler_can_build_shared_GCJ=no
   16637       ;;
   16638     esac
   16639   fi
   16640 
   16641 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16642 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16643 
   16644 #
   16645 # Check to make sure the PIC flag actually works.
   16646 #
   16647 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16648 
   16649 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16650 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16651 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16652   echo $ECHO_N "(cached) $ECHO_C" >&6
   16653 else
   16654   lt_prog_compiler_pic_works_GCJ=no
   16655   ac_outfile=conftest.$ac_objext
   16656    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16657    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16658    # Insert the option either (1) after the last *FLAGS variable, or
   16659    # (2) before a word containing "conftest.", or (3) at the end.
   16660    # Note that $ac_compile itself does not contain backslashes and begins
   16661    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16662    # The option is referenced via a variable to avoid confusing sed.
   16663    lt_compile=`echo "$ac_compile" | $SED \
   16664    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16665    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16666    -e 's:$: $lt_compiler_flag:'`
   16667    (eval echo "\"\$as_me:16667: $lt_compile\"" >&5)
   16668    (eval "$lt_compile" 2>conftest.err)
   16669    ac_status=$?
   16670    cat conftest.err >&5
   16671    echo "$as_me:16671: \$? = $ac_status" >&5
   16672    if (exit $ac_status) && test -s "$ac_outfile"; then
   16673      # The compiler can only warn and ignore the option if not recognized
   16674      # So say no if there are warnings other than the usual output.
   16675      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16676      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16677      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16678        lt_prog_compiler_pic_works_GCJ=yes
   16679      fi
   16680    fi
   16681    $rm conftest*
   16682 
   16683 fi
   16684 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16685 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16686 
   16687 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16688     case $lt_prog_compiler_pic_GCJ in
   16689      "" | " "*) ;;
   16690      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16691      esac
   16692 else
   16693     lt_prog_compiler_pic_GCJ=
   16694      lt_prog_compiler_can_build_shared_GCJ=no
   16695 fi
   16696 
   16697 fi
   16698 case $host_os in
   16699   # For platforms which do not support PIC, -DPIC is meaningless:
   16700   *djgpp*)
   16701     lt_prog_compiler_pic_GCJ=
   16702     ;;
   16703   *)
   16704     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16705     ;;
   16706 esac
   16707 
   16708 #
   16709 # Check to make sure the static flag actually works.
   16710 #
   16711 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16712 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16713 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16714 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16715   echo $ECHO_N "(cached) $ECHO_C" >&6
   16716 else
   16717   lt_prog_compiler_static_works_GCJ=no
   16718    save_LDFLAGS="$LDFLAGS"
   16719    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16720    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16721    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16722      # The linker can only warn and ignore the option if not recognized
   16723      # So say no if there are warnings
   16724      if test -s conftest.err; then
   16725        # Append any errors to the config.log.
   16726        cat conftest.err 1>&5
   16727        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16728        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16729        if diff conftest.exp conftest.er2 >/dev/null; then
   16730          lt_prog_compiler_static_works_GCJ=yes
   16731        fi
   16732      else
   16733        lt_prog_compiler_static_works_GCJ=yes
   16734      fi
   16735    fi
   16736    $rm conftest*
   16737    LDFLAGS="$save_LDFLAGS"
   16738 
   16739 fi
   16740 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16741 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16742 
   16743 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16744     :
   16745 else
   16746     lt_prog_compiler_static_GCJ=
   16747 fi
   16748 
   16749 
   16750 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16751 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16752 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16753   echo $ECHO_N "(cached) $ECHO_C" >&6
   16754 else
   16755   lt_cv_prog_compiler_c_o_GCJ=no
   16756    $rm -r conftest 2>/dev/null
   16757    mkdir conftest
   16758    cd conftest
   16759    mkdir out
   16760    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16761 
   16762    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16763    # Insert the option either (1) after the last *FLAGS variable, or
   16764    # (2) before a word containing "conftest.", or (3) at the end.
   16765    # Note that $ac_compile itself does not contain backslashes and begins
   16766    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16767    lt_compile=`echo "$ac_compile" | $SED \
   16768    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16769    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16770    -e 's:$: $lt_compiler_flag:'`
   16771    (eval echo "\"\$as_me:16771: $lt_compile\"" >&5)
   16772    (eval "$lt_compile" 2>out/conftest.err)
   16773    ac_status=$?
   16774    cat out/conftest.err >&5
   16775    echo "$as_me:16775: \$? = $ac_status" >&5
   16776    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16777    then
   16778      # The compiler can only warn and ignore the option if not recognized
   16779      # So say no if there are warnings
   16780      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16781      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16782      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16783        lt_cv_prog_compiler_c_o_GCJ=yes
   16784      fi
   16785    fi
   16786    chmod u+w . 2>&5
   16787    $rm conftest*
   16788    # SGI C++ compiler will create directory out/ii_files/ for
   16789    # template instantiation
   16790    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16791    $rm out/* && rmdir out
   16792    cd ..
   16793    rmdir conftest
   16794    $rm conftest*
   16795 
   16796 fi
   16797 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16798 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16799 
   16800 
   16801 hard_links="nottested"
   16802 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16803   # do not overwrite the value of need_locks provided by the user
   16804   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16805 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16806   hard_links=yes
   16807   $rm conftest*
   16808   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16809   touch conftest.a
   16810   ln conftest.a conftest.b 2>&5 || hard_links=no
   16811   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16812   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16813 echo "${ECHO_T}$hard_links" >&6; }
   16814   if test "$hard_links" = no; then
   16815     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16816 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16817     need_locks=warn
   16818   fi
   16819 else
   16820   need_locks=no
   16821 fi
   16822 
   16823 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16824 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16825 
   16826   runpath_var=
   16827   allow_undefined_flag_GCJ=
   16828   enable_shared_with_static_runtimes_GCJ=no
   16829   archive_cmds_GCJ=
   16830   archive_expsym_cmds_GCJ=
   16831   old_archive_From_new_cmds_GCJ=
   16832   old_archive_from_expsyms_cmds_GCJ=
   16833   export_dynamic_flag_spec_GCJ=
   16834   whole_archive_flag_spec_GCJ=
   16835   thread_safe_flag_spec_GCJ=
   16836   hardcode_libdir_flag_spec_GCJ=
   16837   hardcode_libdir_flag_spec_ld_GCJ=
   16838   hardcode_libdir_separator_GCJ=
   16839   hardcode_direct_GCJ=no
   16840   hardcode_minus_L_GCJ=no
   16841   hardcode_shlibpath_var_GCJ=unsupported
   16842   link_all_deplibs_GCJ=unknown
   16843   hardcode_automatic_GCJ=no
   16844   module_cmds_GCJ=
   16845   module_expsym_cmds_GCJ=
   16846   always_export_symbols_GCJ=no
   16847   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16848   # include_expsyms should be a list of space-separated symbols to be *always*
   16849   # included in the symbol list
   16850   include_expsyms_GCJ=
   16851   # exclude_expsyms can be an extended regexp of symbols to exclude
   16852   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16853   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16854   # as well as any symbol that contains `d'.
   16855   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16856   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16857   # platforms (ab)use it in PIC code, but their linkers get confused if
   16858   # the symbol is explicitly referenced.  Since portable code cannot
   16859   # rely on this symbol name, it's probably fine to never include it in
   16860   # preloaded symbol tables.
   16861   extract_expsyms_cmds=
   16862   # Just being paranoid about ensuring that cc_basename is set.
   16863   for cc_temp in $compiler""; do
   16864   case $cc_temp in
   16865     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16866     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16867     \-*) ;;
   16868     *) break;;
   16869   esac
   16870 done
   16871 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16872 
   16873   case $host_os in
   16874   cygwin* | mingw* | pw32*)
   16875     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16876     # When not using gcc, we currently assume that we are using
   16877     # Microsoft Visual C++.
   16878     if test "$GCC" != yes; then
   16879       with_gnu_ld=no
   16880     fi
   16881     ;;
   16882   interix*)
   16883     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16884     with_gnu_ld=yes
   16885     ;;
   16886   openbsd*)
   16887     with_gnu_ld=no
   16888     ;;
   16889   esac
   16890 
   16891   ld_shlibs_GCJ=yes
   16892   if test "$with_gnu_ld" = yes; then
   16893     # If archive_cmds runs LD, not CC, wlarc should be empty
   16894     wlarc='${wl}'
   16895 
   16896     # Set some defaults for GNU ld with shared library support. These
   16897     # are reset later if shared libraries are not supported. Putting them
   16898     # here allows them to be overridden if necessary.
   16899     runpath_var=LD_RUN_PATH
   16900     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16901     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16902     # ancient GNU ld didn't support --whole-archive et. al.
   16903     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16904 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16905       else
   16906   	whole_archive_flag_spec_GCJ=
   16907     fi
   16908     supports_anon_versioning=no
   16909     case `$LD -v 2>/dev/null` in
   16910       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16911       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16912       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16913       *\ 2.11.*) ;; # other 2.11 versions
   16914       *) supports_anon_versioning=yes ;;
   16915     esac
   16916 
   16917     # See if GNU ld supports shared libraries.
   16918     case $host_os in
   16919     aix3* | aix4* | aix5*)
   16920       # On AIX/PPC, the GNU linker is very broken
   16921       if test "$host_cpu" != ia64; then
   16922 	ld_shlibs_GCJ=no
   16923 	cat <<EOF 1>&2
   16924 
   16925 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16926 *** to be unable to reliably create shared libraries on AIX.
   16927 *** Therefore, libtool is disabling shared libraries support.  If you
   16928 *** really care for shared libraries, you may want to modify your PATH
   16929 *** so that a non-GNU linker is found, and then restart.
   16930 
   16931 EOF
   16932       fi
   16933       ;;
   16934 
   16935     amigaos*)
   16936       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)'
   16937       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16938       hardcode_minus_L_GCJ=yes
   16939 
   16940       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16941       # that the semantics of dynamic libraries on AmigaOS, at least up
   16942       # to version 4, is to share data among multiple programs linked
   16943       # with the same dynamic library.  Since this doesn't match the
   16944       # behavior of shared libraries on other platforms, we can't use
   16945       # them.
   16946       ld_shlibs_GCJ=no
   16947       ;;
   16948 
   16949     beos*)
   16950       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16951 	allow_undefined_flag_GCJ=unsupported
   16952 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16953 	# support --undefined.  This deserves some investigation.  FIXME
   16954 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16955       else
   16956 	ld_shlibs_GCJ=no
   16957       fi
   16958       ;;
   16959 
   16960     cygwin* | mingw* | pw32*)
   16961       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16962       # as there is no search path for DLLs.
   16963       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16964       allow_undefined_flag_GCJ=unsupported
   16965       always_export_symbols_GCJ=no
   16966       enable_shared_with_static_runtimes_GCJ=yes
   16967       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16968 
   16969       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16970         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16971 	# If the export-symbols file already is a .def file (1st line
   16972 	# is EXPORTS), use it as is; otherwise, prepend...
   16973 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16974 	  cp $export_symbols $output_objdir/$soname.def;
   16975 	else
   16976 	  echo EXPORTS > $output_objdir/$soname.def;
   16977 	  cat $export_symbols >> $output_objdir/$soname.def;
   16978 	fi~
   16979 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16980       else
   16981 	ld_shlibs_GCJ=no
   16982       fi
   16983       ;;
   16984 
   16985     interix[3-9]*)
   16986       hardcode_direct_GCJ=no
   16987       hardcode_shlibpath_var_GCJ=no
   16988       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16989       export_dynamic_flag_spec_GCJ='${wl}-E'
   16990       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16991       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16992       # default) and relocated if they conflict, which is a slow very memory
   16993       # consuming and fragmenting process.  To avoid this, we pick a random,
   16994       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16995       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16996       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'
   16997       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'
   16998       ;;
   16999 
   17000     gnu* | linux* | k*bsd*-gnu)
   17001       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17002 	tmp_addflag=
   17003 	case $cc_basename,$host_cpu in
   17004 	pgcc*)				# Portland Group C compiler
   17005 	  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'
   17006 	  tmp_addflag=' $pic_flag'
   17007 	  ;;
   17008 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17009 	  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'
   17010 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17011 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17012 	  tmp_addflag=' -i_dynamic' ;;
   17013 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17014 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17015 	ifc* | ifort*)			# Intel Fortran compiler
   17016 	  tmp_addflag=' -nofor_main' ;;
   17017 	esac
   17018 	case `$CC -V 2>&1 | sed 5q` in
   17019 	*Sun\ C*)			# Sun C 5.9
   17020 	  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'
   17021 	  tmp_sharedflag='-G' ;;
   17022 	*Sun\ F*)			# Sun Fortran 8.3
   17023 	  tmp_sharedflag='-G' ;;
   17024 	*)
   17025 	  tmp_sharedflag='-shared' ;;
   17026 	esac
   17027 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17028 
   17029 	if test $supports_anon_versioning = yes; then
   17030 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17031   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17032   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17033 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17034 	fi
   17035       else
   17036 	ld_shlibs_GCJ=no
   17037       fi
   17038       ;;
   17039 
   17040     netbsd*)
   17041       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17042 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17043 	wlarc=
   17044       else
   17045 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17046 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17047       fi
   17048       ;;
   17049 
   17050     solaris*)
   17051       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17052 	ld_shlibs_GCJ=no
   17053 	cat <<EOF 1>&2
   17054 
   17055 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17056 *** create shared libraries on Solaris systems.  Therefore, libtool
   17057 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17058 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17059 *** your PATH or compiler configuration so that the native linker is
   17060 *** used, and then restart.
   17061 
   17062 EOF
   17063       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17064 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17065 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17066       else
   17067 	ld_shlibs_GCJ=no
   17068       fi
   17069       ;;
   17070 
   17071     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17072       case `$LD -v 2>&1` in
   17073         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17074 	ld_shlibs_GCJ=no
   17075 	cat <<_LT_EOF 1>&2
   17076 
   17077 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17078 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17079 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17080 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17081 *** your PATH or compiler configuration so that the native linker is
   17082 *** used, and then restart.
   17083 
   17084 _LT_EOF
   17085 	;;
   17086 	*)
   17087 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17088 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17089 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17090 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17091 	  else
   17092 	    ld_shlibs_GCJ=no
   17093 	  fi
   17094 	;;
   17095       esac
   17096       ;;
   17097 
   17098     sunos4*)
   17099       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17100       wlarc=
   17101       hardcode_direct_GCJ=yes
   17102       hardcode_shlibpath_var_GCJ=no
   17103       ;;
   17104 
   17105     *)
   17106       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17107 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17108 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17109       else
   17110 	ld_shlibs_GCJ=no
   17111       fi
   17112       ;;
   17113     esac
   17114 
   17115     if test "$ld_shlibs_GCJ" = no; then
   17116       runpath_var=
   17117       hardcode_libdir_flag_spec_GCJ=
   17118       export_dynamic_flag_spec_GCJ=
   17119       whole_archive_flag_spec_GCJ=
   17120     fi
   17121   else
   17122     # PORTME fill in a description of your system's linker (not GNU ld)
   17123     case $host_os in
   17124     aix3*)
   17125       allow_undefined_flag_GCJ=unsupported
   17126       always_export_symbols_GCJ=yes
   17127       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'
   17128       # Note: this linker hardcodes the directories in LIBPATH if there
   17129       # are no directories specified by -L.
   17130       hardcode_minus_L_GCJ=yes
   17131       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17132 	# Neither direct hardcoding nor static linking is supported with a
   17133 	# broken collect2.
   17134 	hardcode_direct_GCJ=unsupported
   17135       fi
   17136       ;;
   17137 
   17138     aix4* | aix5*)
   17139       if test "$host_cpu" = ia64; then
   17140 	# On IA64, the linker does run time linking by default, so we don't
   17141 	# have to do anything special.
   17142 	aix_use_runtimelinking=no
   17143 	exp_sym_flag='-Bexport'
   17144 	no_entry_flag=""
   17145       else
   17146 	# If we're using GNU nm, then we don't want the "-C" option.
   17147 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17148 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17149 	  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'
   17150 	else
   17151 	  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'
   17152 	fi
   17153 	aix_use_runtimelinking=no
   17154 
   17155 	# Test if we are trying to use run time linking or normal
   17156 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17157 	# need to do runtime linking.
   17158 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   17159 	  for ld_flag in $LDFLAGS; do
   17160   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17161   	    aix_use_runtimelinking=yes
   17162   	    break
   17163   	  fi
   17164 	  done
   17165 	  ;;
   17166 	esac
   17167 
   17168 	exp_sym_flag='-bexport'
   17169 	no_entry_flag='-bnoentry'
   17170       fi
   17171 
   17172       # When large executables or shared objects are built, AIX ld can
   17173       # have problems creating the table of contents.  If linking a library
   17174       # or program results in "error TOC overflow" add -mminimal-toc to
   17175       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17176       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17177 
   17178       archive_cmds_GCJ=''
   17179       hardcode_direct_GCJ=yes
   17180       hardcode_libdir_separator_GCJ=':'
   17181       link_all_deplibs_GCJ=yes
   17182 
   17183       if test "$GCC" = yes; then
   17184 	case $host_os in aix4.[012]|aix4.[012].*)
   17185 	# We only want to do this on AIX 4.2 and lower, the check
   17186 	# below for broken collect2 doesn't work under 4.3+
   17187 	  collect2name=`${CC} -print-prog-name=collect2`
   17188 	  if test -f "$collect2name" && \
   17189   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17190 	  then
   17191   	  # We have reworked collect2
   17192   	  :
   17193 	  else
   17194   	  # We have old collect2
   17195   	  hardcode_direct_GCJ=unsupported
   17196   	  # It fails to find uninstalled libraries when the uninstalled
   17197   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17198   	  # to unsupported forces relinking
   17199   	  hardcode_minus_L_GCJ=yes
   17200   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17201   	  hardcode_libdir_separator_GCJ=
   17202 	  fi
   17203 	  ;;
   17204 	esac
   17205 	shared_flag='-shared'
   17206 	if test "$aix_use_runtimelinking" = yes; then
   17207 	  shared_flag="$shared_flag "'${wl}-G'
   17208 	fi
   17209       else
   17210 	# not using gcc
   17211 	if test "$host_cpu" = ia64; then
   17212   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17213   	# chokes on -Wl,-G. The following line is correct:
   17214 	  shared_flag='-G'
   17215 	else
   17216 	  if test "$aix_use_runtimelinking" = yes; then
   17217 	    shared_flag='${wl}-G'
   17218 	  else
   17219 	    shared_flag='${wl}-bM:SRE'
   17220 	  fi
   17221 	fi
   17222       fi
   17223 
   17224       # It seems that -bexpall does not export symbols beginning with
   17225       # underscore (_), so it is better to generate a list of symbols to export.
   17226       always_export_symbols_GCJ=yes
   17227       if test "$aix_use_runtimelinking" = yes; then
   17228 	# Warning - without using the other runtime loading flags (-brtl),
   17229 	# -berok will link without error, but may produce a broken library.
   17230 	allow_undefined_flag_GCJ='-berok'
   17231        # Determine the default libpath from the value encoded in an empty executable.
   17232        cat >conftest.$ac_ext <<_ACEOF
   17233 /* confdefs.h.  */
   17234 _ACEOF
   17235 cat confdefs.h >>conftest.$ac_ext
   17236 cat >>conftest.$ac_ext <<_ACEOF
   17237 /* end confdefs.h.  */
   17238 
   17239 int
   17240 main ()
   17241 {
   17242 
   17243   ;
   17244   return 0;
   17245 }
   17246 _ACEOF
   17247 rm -f conftest.$ac_objext conftest$ac_exeext
   17248 if { (ac_try="$ac_link"
   17249 case "(($ac_try" in
   17250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17251   *) ac_try_echo=$ac_try;;
   17252 esac
   17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17254   (eval "$ac_link") 2>conftest.er1
   17255   ac_status=$?
   17256   grep -v '^ *+' conftest.er1 >conftest.err
   17257   rm -f conftest.er1
   17258   cat conftest.err >&5
   17259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17260   (exit $ac_status); } && {
   17261 	 test -z "$ac_c_werror_flag" ||
   17262 	 test ! -s conftest.err
   17263        } && test -s conftest$ac_exeext &&
   17264        $as_test_x conftest$ac_exeext; then
   17265 
   17266 lt_aix_libpath_sed='
   17267     /Import File Strings/,/^$/ {
   17268 	/^0/ {
   17269 	    s/^0  *\(.*\)$/\1/
   17270 	    p
   17271 	}
   17272     }'
   17273 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17274 # Check for a 64-bit object if we didn't find anything.
   17275 if test -z "$aix_libpath"; then
   17276   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17277 fi
   17278 else
   17279   echo "$as_me: failed program was:" >&5
   17280 sed 's/^/| /' conftest.$ac_ext >&5
   17281 
   17282 
   17283 fi
   17284 
   17285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17286       conftest$ac_exeext conftest.$ac_ext
   17287 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17288 
   17289        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17290 	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"
   17291        else
   17292 	if test "$host_cpu" = ia64; then
   17293 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17294 	  allow_undefined_flag_GCJ="-z nodefs"
   17295 	  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"
   17296 	else
   17297 	 # Determine the default libpath from the value encoded in an empty executable.
   17298 	 cat >conftest.$ac_ext <<_ACEOF
   17299 /* confdefs.h.  */
   17300 _ACEOF
   17301 cat confdefs.h >>conftest.$ac_ext
   17302 cat >>conftest.$ac_ext <<_ACEOF
   17303 /* end confdefs.h.  */
   17304 
   17305 int
   17306 main ()
   17307 {
   17308 
   17309   ;
   17310   return 0;
   17311 }
   17312 _ACEOF
   17313 rm -f conftest.$ac_objext conftest$ac_exeext
   17314 if { (ac_try="$ac_link"
   17315 case "(($ac_try" in
   17316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17317   *) ac_try_echo=$ac_try;;
   17318 esac
   17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17320   (eval "$ac_link") 2>conftest.er1
   17321   ac_status=$?
   17322   grep -v '^ *+' conftest.er1 >conftest.err
   17323   rm -f conftest.er1
   17324   cat conftest.err >&5
   17325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17326   (exit $ac_status); } && {
   17327 	 test -z "$ac_c_werror_flag" ||
   17328 	 test ! -s conftest.err
   17329        } && test -s conftest$ac_exeext &&
   17330        $as_test_x conftest$ac_exeext; then
   17331 
   17332 lt_aix_libpath_sed='
   17333     /Import File Strings/,/^$/ {
   17334 	/^0/ {
   17335 	    s/^0  *\(.*\)$/\1/
   17336 	    p
   17337 	}
   17338     }'
   17339 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17340 # Check for a 64-bit object if we didn't find anything.
   17341 if test -z "$aix_libpath"; then
   17342   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17343 fi
   17344 else
   17345   echo "$as_me: failed program was:" >&5
   17346 sed 's/^/| /' conftest.$ac_ext >&5
   17347 
   17348 
   17349 fi
   17350 
   17351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17352       conftest$ac_exeext conftest.$ac_ext
   17353 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17354 
   17355 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17356 	  # Warning - without using the other run time loading flags,
   17357 	  # -berok will link without error, but may produce a broken library.
   17358 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17359 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17360 	  # Exported symbols can be pulled into shared objects from archives
   17361 	  whole_archive_flag_spec_GCJ='$convenience'
   17362 	  archive_cmds_need_lc_GCJ=yes
   17363 	  # This is similar to how AIX traditionally builds its shared libraries.
   17364 	  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'
   17365 	fi
   17366       fi
   17367       ;;
   17368 
   17369     amigaos*)
   17370       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)'
   17371       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17372       hardcode_minus_L_GCJ=yes
   17373       # see comment about different semantics on the GNU ld section
   17374       ld_shlibs_GCJ=no
   17375       ;;
   17376 
   17377     bsdi[45]*)
   17378       export_dynamic_flag_spec_GCJ=-rdynamic
   17379       ;;
   17380 
   17381     cygwin* | mingw* | pw32*)
   17382       # When not using gcc, we currently assume that we are using
   17383       # Microsoft Visual C++.
   17384       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17385       # no search path for DLLs.
   17386       hardcode_libdir_flag_spec_GCJ=' '
   17387       allow_undefined_flag_GCJ=unsupported
   17388       # Tell ltmain to make .lib files, not .a files.
   17389       libext=lib
   17390       # Tell ltmain to make .dll files, not .so files.
   17391       shrext_cmds=".dll"
   17392       # FIXME: Setting linknames here is a bad hack.
   17393       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17394       # The linker will automatically build a .lib file if we build a DLL.
   17395       old_archive_From_new_cmds_GCJ='true'
   17396       # FIXME: Should let the user specify the lib program.
   17397       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17398       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17399       enable_shared_with_static_runtimes_GCJ=yes
   17400       ;;
   17401 
   17402     darwin* | rhapsody*)
   17403       case $host_os in
   17404         rhapsody* | darwin1.[012])
   17405          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17406          ;;
   17407        *) # Darwin 1.3 on
   17408          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17409            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17410          else
   17411            case ${MACOSX_DEPLOYMENT_TARGET} in
   17412              10.[012])
   17413                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17414                ;;
   17415              10.*)
   17416                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17417                ;;
   17418            esac
   17419          fi
   17420          ;;
   17421       esac
   17422       archive_cmds_need_lc_GCJ=no
   17423       hardcode_direct_GCJ=no
   17424       hardcode_automatic_GCJ=yes
   17425       hardcode_shlibpath_var_GCJ=unsupported
   17426       whole_archive_flag_spec_GCJ=''
   17427       link_all_deplibs_GCJ=yes
   17428     if test "$GCC" = yes ; then
   17429     	output_verbose_link_cmd='echo'
   17430         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17431       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17432       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17433       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}'
   17434       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}'
   17435     else
   17436       case $cc_basename in
   17437         xlc*)
   17438          output_verbose_link_cmd='echo'
   17439          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17440          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17441           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17442          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}'
   17443           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}'
   17444           ;;
   17445        *)
   17446          ld_shlibs_GCJ=no
   17447           ;;
   17448       esac
   17449     fi
   17450       ;;
   17451 
   17452     dgux*)
   17453       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17454       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17455       hardcode_shlibpath_var_GCJ=no
   17456       ;;
   17457 
   17458     freebsd1*)
   17459       ld_shlibs_GCJ=no
   17460       ;;
   17461 
   17462     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17463     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17464     # does not break anything, and helps significantly (at the cost of a little
   17465     # extra space).
   17466     freebsd2.2*)
   17467       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17468       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17469       hardcode_direct_GCJ=yes
   17470       hardcode_shlibpath_var_GCJ=no
   17471       ;;
   17472 
   17473     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17474     freebsd2*)
   17475       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17476       hardcode_direct_GCJ=yes
   17477       hardcode_minus_L_GCJ=yes
   17478       hardcode_shlibpath_var_GCJ=no
   17479       ;;
   17480 
   17481     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17482     freebsd* | dragonfly*)
   17483       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17484       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17485       hardcode_direct_GCJ=yes
   17486       hardcode_shlibpath_var_GCJ=no
   17487       ;;
   17488 
   17489     hpux9*)
   17490       if test "$GCC" = yes; then
   17491 	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'
   17492       else
   17493 	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'
   17494       fi
   17495       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17496       hardcode_libdir_separator_GCJ=:
   17497       hardcode_direct_GCJ=yes
   17498 
   17499       # hardcode_minus_L: Not really in the search PATH,
   17500       # but as the default location of the library.
   17501       hardcode_minus_L_GCJ=yes
   17502       export_dynamic_flag_spec_GCJ='${wl}-E'
   17503       ;;
   17504 
   17505     hpux10*)
   17506       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17507 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17508       else
   17509 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17510       fi
   17511       if test "$with_gnu_ld" = no; then
   17512 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17513 	hardcode_libdir_separator_GCJ=:
   17514 
   17515 	hardcode_direct_GCJ=yes
   17516 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17517 
   17518 	# hardcode_minus_L: Not really in the search PATH,
   17519 	# but as the default location of the library.
   17520 	hardcode_minus_L_GCJ=yes
   17521       fi
   17522       ;;
   17523 
   17524     hpux11*)
   17525       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17526 	case $host_cpu in
   17527 	hppa*64*)
   17528 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17529 	  ;;
   17530 	ia64*)
   17531 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17532 	  ;;
   17533 	*)
   17534 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17535 	  ;;
   17536 	esac
   17537       else
   17538 	case $host_cpu in
   17539 	hppa*64*)
   17540 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17541 	  ;;
   17542 	ia64*)
   17543 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17544 	  ;;
   17545 	*)
   17546 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17547 	  ;;
   17548 	esac
   17549       fi
   17550       if test "$with_gnu_ld" = no; then
   17551 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17552 	hardcode_libdir_separator_GCJ=:
   17553 
   17554 	case $host_cpu in
   17555 	hppa*64*|ia64*)
   17556 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17557 	  hardcode_direct_GCJ=no
   17558 	  hardcode_shlibpath_var_GCJ=no
   17559 	  ;;
   17560 	*)
   17561 	  hardcode_direct_GCJ=yes
   17562 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17563 
   17564 	  # hardcode_minus_L: Not really in the search PATH,
   17565 	  # but as the default location of the library.
   17566 	  hardcode_minus_L_GCJ=yes
   17567 	  ;;
   17568 	esac
   17569       fi
   17570       ;;
   17571 
   17572     irix5* | irix6* | nonstopux*)
   17573       if test "$GCC" = yes; then
   17574 	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'
   17575       else
   17576 	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'
   17577 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17578       fi
   17579       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17580       hardcode_libdir_separator_GCJ=:
   17581       link_all_deplibs_GCJ=yes
   17582       ;;
   17583 
   17584     netbsd*)
   17585       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17586 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17587       else
   17588 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17589       fi
   17590       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17591       hardcode_direct_GCJ=yes
   17592       hardcode_shlibpath_var_GCJ=no
   17593       ;;
   17594 
   17595     newsos6)
   17596       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17597       hardcode_direct_GCJ=yes
   17598       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17599       hardcode_libdir_separator_GCJ=:
   17600       hardcode_shlibpath_var_GCJ=no
   17601       ;;
   17602 
   17603     openbsd*)
   17604       if test -f /usr/libexec/ld.so; then
   17605 	hardcode_direct_GCJ=yes
   17606 	hardcode_shlibpath_var_GCJ=no
   17607 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17608 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17609 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17610 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17611 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17612 	else
   17613 	  case $host_os in
   17614 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17615 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17616 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17617 	     ;;
   17618 	   *)
   17619 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17620 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17621 	     ;;
   17622 	  esac
   17623         fi
   17624       else
   17625 	ld_shlibs_GCJ=no
   17626       fi
   17627       ;;
   17628 
   17629     os2*)
   17630       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17631       hardcode_minus_L_GCJ=yes
   17632       allow_undefined_flag_GCJ=unsupported
   17633       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'
   17634       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17635       ;;
   17636 
   17637     osf3*)
   17638       if test "$GCC" = yes; then
   17639 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17640 	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'
   17641       else
   17642 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17643 	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'
   17644       fi
   17645       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17646       hardcode_libdir_separator_GCJ=:
   17647       ;;
   17648 
   17649     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17650       if test "$GCC" = yes; then
   17651 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17652 	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'
   17653 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17654       else
   17655 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17656 	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'
   17657 	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~
   17658 	$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'
   17659 
   17660 	# Both c and cxx compiler support -rpath directly
   17661 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17662       fi
   17663       hardcode_libdir_separator_GCJ=:
   17664       ;;
   17665 
   17666     solaris*)
   17667       no_undefined_flag_GCJ=' -z text'
   17668       if test "$GCC" = yes; then
   17669 	wlarc='${wl}'
   17670 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17671 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17672 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17673       else
   17674 	wlarc=''
   17675 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17676 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17677   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17678       fi
   17679       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17680       hardcode_shlibpath_var_GCJ=no
   17681       case $host_os in
   17682       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17683       *)
   17684 	# The compiler driver will combine and reorder linker options,
   17685 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   17686 	# but is careful enough not to reorder.
   17687  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17688 	if test "$GCC" = yes; then
   17689 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   17690 	else
   17691 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   17692 	fi
   17693 	;;
   17694       esac
   17695       link_all_deplibs_GCJ=yes
   17696       ;;
   17697 
   17698     sunos4*)
   17699       if test "x$host_vendor" = xsequent; then
   17700 	# Use $CC to link under sequent, because it throws in some extra .o
   17701 	# files that make .init and .fini sections work.
   17702 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17703       else
   17704 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17705       fi
   17706       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17707       hardcode_direct_GCJ=yes
   17708       hardcode_minus_L_GCJ=yes
   17709       hardcode_shlibpath_var_GCJ=no
   17710       ;;
   17711 
   17712     sysv4)
   17713       case $host_vendor in
   17714 	sni)
   17715 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17716 	  hardcode_direct_GCJ=yes # is this really true???
   17717 	;;
   17718 	siemens)
   17719 	  ## LD is ld it makes a PLAMLIB
   17720 	  ## CC just makes a GrossModule.
   17721 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17722 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17723 	  hardcode_direct_GCJ=no
   17724         ;;
   17725 	motorola)
   17726 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17727 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17728 	;;
   17729       esac
   17730       runpath_var='LD_RUN_PATH'
   17731       hardcode_shlibpath_var_GCJ=no
   17732       ;;
   17733 
   17734     sysv4.3*)
   17735       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17736       hardcode_shlibpath_var_GCJ=no
   17737       export_dynamic_flag_spec_GCJ='-Bexport'
   17738       ;;
   17739 
   17740     sysv4*MP*)
   17741       if test -d /usr/nec; then
   17742 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17743 	hardcode_shlibpath_var_GCJ=no
   17744 	runpath_var=LD_RUN_PATH
   17745 	hardcode_runpath_var=yes
   17746 	ld_shlibs_GCJ=yes
   17747       fi
   17748       ;;
   17749 
   17750     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17751       no_undefined_flag_GCJ='${wl}-z,text'
   17752       archive_cmds_need_lc_GCJ=no
   17753       hardcode_shlibpath_var_GCJ=no
   17754       runpath_var='LD_RUN_PATH'
   17755 
   17756       if test "$GCC" = yes; then
   17757 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17758 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17759       else
   17760 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17761 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17762       fi
   17763       ;;
   17764 
   17765     sysv5* | sco3.2v5* | sco5v6*)
   17766       # Note: We can NOT use -z defs as we might desire, because we do not
   17767       # link with -lc, and that would cause any symbols used from libc to
   17768       # always be unresolved, which means just about no library would
   17769       # ever link correctly.  If we're not using GNU ld we use -z text
   17770       # though, which does catch some bad symbols but isn't as heavy-handed
   17771       # as -z defs.
   17772       no_undefined_flag_GCJ='${wl}-z,text'
   17773       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17774       archive_cmds_need_lc_GCJ=no
   17775       hardcode_shlibpath_var_GCJ=no
   17776       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17777       hardcode_libdir_separator_GCJ=':'
   17778       link_all_deplibs_GCJ=yes
   17779       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17780       runpath_var='LD_RUN_PATH'
   17781 
   17782       if test "$GCC" = yes; then
   17783 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17784 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17785       else
   17786 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17787 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17788       fi
   17789       ;;
   17790 
   17791     uts4*)
   17792       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17793       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17794       hardcode_shlibpath_var_GCJ=no
   17795       ;;
   17796 
   17797     *)
   17798       ld_shlibs_GCJ=no
   17799       ;;
   17800     esac
   17801   fi
   17802 
   17803 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17804 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17805 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17806 
   17807 #
   17808 # Do we need to explicitly link libc?
   17809 #
   17810 case "x$archive_cmds_need_lc_GCJ" in
   17811 x|xyes)
   17812   # Assume -lc should be added
   17813   archive_cmds_need_lc_GCJ=yes
   17814 
   17815   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17816     case $archive_cmds_GCJ in
   17817     *'~'*)
   17818       # FIXME: we may have to deal with multi-command sequences.
   17819       ;;
   17820     '$CC '*)
   17821       # Test whether the compiler implicitly links with -lc since on some
   17822       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17823       # to ld, don't add -lc before -lgcc.
   17824       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17825 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17826       $rm conftest*
   17827       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17828 
   17829       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17830   (eval $ac_compile) 2>&5
   17831   ac_status=$?
   17832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17833   (exit $ac_status); } 2>conftest.err; then
   17834         soname=conftest
   17835         lib=conftest
   17836         libobjs=conftest.$ac_objext
   17837         deplibs=
   17838         wl=$lt_prog_compiler_wl_GCJ
   17839 	pic_flag=$lt_prog_compiler_pic_GCJ
   17840         compiler_flags=-v
   17841         linker_flags=-v
   17842         verstring=
   17843         output_objdir=.
   17844         libname=conftest
   17845         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17846         allow_undefined_flag_GCJ=
   17847         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17848   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17849   ac_status=$?
   17850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17851   (exit $ac_status); }
   17852         then
   17853 	  archive_cmds_need_lc_GCJ=no
   17854         else
   17855 	  archive_cmds_need_lc_GCJ=yes
   17856         fi
   17857         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17858       else
   17859         cat conftest.err 1>&5
   17860       fi
   17861       $rm conftest*
   17862       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17863 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17864       ;;
   17865     esac
   17866   fi
   17867   ;;
   17868 esac
   17869 
   17870 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17871 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17872 library_names_spec=
   17873 libname_spec='lib$name'
   17874 soname_spec=
   17875 shrext_cmds=".so"
   17876 postinstall_cmds=
   17877 postuninstall_cmds=
   17878 finish_cmds=
   17879 finish_eval=
   17880 shlibpath_var=
   17881 shlibpath_overrides_runpath=unknown
   17882 version_type=none
   17883 dynamic_linker="$host_os ld.so"
   17884 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17885 
   17886 need_lib_prefix=unknown
   17887 hardcode_into_libs=no
   17888 
   17889 # when you set need_version to no, make sure it does not cause -set_version
   17890 # flags to be left without arguments
   17891 need_version=unknown
   17892 
   17893 case $host_os in
   17894 aix3*)
   17895   version_type=linux
   17896   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17897   shlibpath_var=LIBPATH
   17898 
   17899   # AIX 3 has no versioning support, so we append a major version to the name.
   17900   soname_spec='${libname}${release}${shared_ext}$major'
   17901   ;;
   17902 
   17903 aix4* | aix5*)
   17904   version_type=linux
   17905   need_lib_prefix=no
   17906   need_version=no
   17907   hardcode_into_libs=yes
   17908   if test "$host_cpu" = ia64; then
   17909     # AIX 5 supports IA64
   17910     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17911     shlibpath_var=LD_LIBRARY_PATH
   17912   else
   17913     # With GCC up to 2.95.x, collect2 would create an import file
   17914     # for dependence libraries.  The import file would start with
   17915     # the line `#! .'.  This would cause the generated library to
   17916     # depend on `.', always an invalid library.  This was fixed in
   17917     # development snapshots of GCC prior to 3.0.
   17918     case $host_os in
   17919       aix4 | aix4.[01] | aix4.[01].*)
   17920       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17921 	   echo ' yes '
   17922 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17923 	:
   17924       else
   17925 	can_build_shared=no
   17926       fi
   17927       ;;
   17928     esac
   17929     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17930     # soname into executable. Probably we can add versioning support to
   17931     # collect2, so additional links can be useful in future.
   17932     if test "$aix_use_runtimelinking" = yes; then
   17933       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17934       # instead of lib<name>.a to let people know that these are not
   17935       # typical AIX shared libraries.
   17936       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17937     else
   17938       # We preserve .a as extension for shared libraries through AIX4.2
   17939       # and later when we are not doing run time linking.
   17940       library_names_spec='${libname}${release}.a $libname.a'
   17941       soname_spec='${libname}${release}${shared_ext}$major'
   17942     fi
   17943     shlibpath_var=LIBPATH
   17944   fi
   17945   ;;
   17946 
   17947 amigaos*)
   17948   library_names_spec='$libname.ixlibrary $libname.a'
   17949   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17950   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'
   17951   ;;
   17952 
   17953 beos*)
   17954   library_names_spec='${libname}${shared_ext}'
   17955   dynamic_linker="$host_os ld.so"
   17956   shlibpath_var=LIBRARY_PATH
   17957   ;;
   17958 
   17959 bsdi[45]*)
   17960   version_type=linux
   17961   need_version=no
   17962   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17963   soname_spec='${libname}${release}${shared_ext}$major'
   17964   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17965   shlibpath_var=LD_LIBRARY_PATH
   17966   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17967   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17968   # the default ld.so.conf also contains /usr/contrib/lib and
   17969   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17970   # libtool to hard-code these into programs
   17971   ;;
   17972 
   17973 cygwin* | mingw* | pw32*)
   17974   version_type=windows
   17975   shrext_cmds=".dll"
   17976   need_version=no
   17977   need_lib_prefix=no
   17978 
   17979   case $GCC,$host_os in
   17980   yes,cygwin* | yes,mingw* | yes,pw32*)
   17981     library_names_spec='$libname.dll.a'
   17982     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17983     postinstall_cmds='base_file=`basename \${file}`~
   17984       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17985       dldir=$destdir/`dirname \$dlpath`~
   17986       test -d \$dldir || mkdir -p \$dldir~
   17987       $install_prog $dir/$dlname \$dldir/$dlname~
   17988       chmod a+x \$dldir/$dlname'
   17989     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17990       dlpath=$dir/\$dldll~
   17991        $rm \$dlpath'
   17992     shlibpath_overrides_runpath=yes
   17993 
   17994     case $host_os in
   17995     cygwin*)
   17996       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17997       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17998       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17999       ;;
   18000     mingw*)
   18001       # MinGW DLLs use traditional 'lib' prefix
   18002       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18003       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18004       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18005         # It is most probably a Windows format PATH printed by
   18006         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18007         # path with ; separators, and with drive letters. We can handle the
   18008         # drive letters (cygwin fileutils understands them), so leave them,
   18009         # especially as we might pass files found there to a mingw objdump,
   18010         # which wouldn't understand a cygwinified path. Ahh.
   18011         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18012       else
   18013         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18014       fi
   18015       ;;
   18016     pw32*)
   18017       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18018       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18019       ;;
   18020     esac
   18021     ;;
   18022 
   18023   *)
   18024     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18025     ;;
   18026   esac
   18027   dynamic_linker='Win32 ld.exe'
   18028   # FIXME: first we should search . and the directory the executable is in
   18029   shlibpath_var=PATH
   18030   ;;
   18031 
   18032 darwin* | rhapsody*)
   18033   dynamic_linker="$host_os dyld"
   18034   version_type=darwin
   18035   need_lib_prefix=no
   18036   need_version=no
   18037   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18038   soname_spec='${libname}${release}${major}$shared_ext'
   18039   shlibpath_overrides_runpath=yes
   18040   shlibpath_var=DYLD_LIBRARY_PATH
   18041   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18042 
   18043   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18044   ;;
   18045 
   18046 dgux*)
   18047   version_type=linux
   18048   need_lib_prefix=no
   18049   need_version=no
   18050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18051   soname_spec='${libname}${release}${shared_ext}$major'
   18052   shlibpath_var=LD_LIBRARY_PATH
   18053   ;;
   18054 
   18055 freebsd1*)
   18056   dynamic_linker=no
   18057   ;;
   18058 
   18059 freebsd* | dragonfly*)
   18060   # DragonFly does not have aout.  When/if they implement a new
   18061   # versioning mechanism, adjust this.
   18062   if test -x /usr/bin/objformat; then
   18063     objformat=`/usr/bin/objformat`
   18064   else
   18065     case $host_os in
   18066     freebsd[123]*) objformat=aout ;;
   18067     *) objformat=elf ;;
   18068     esac
   18069   fi
   18070   version_type=freebsd-$objformat
   18071   case $version_type in
   18072     freebsd-elf*)
   18073       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18074       need_version=no
   18075       need_lib_prefix=no
   18076       ;;
   18077     freebsd-*)
   18078       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18079       need_version=yes
   18080       ;;
   18081   esac
   18082   shlibpath_var=LD_LIBRARY_PATH
   18083   case $host_os in
   18084   freebsd2*)
   18085     shlibpath_overrides_runpath=yes
   18086     ;;
   18087   freebsd3.[01]* | freebsdelf3.[01]*)
   18088     shlibpath_overrides_runpath=yes
   18089     hardcode_into_libs=yes
   18090     ;;
   18091   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18092   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18093     shlibpath_overrides_runpath=no
   18094     hardcode_into_libs=yes
   18095     ;;
   18096   *) # from 4.6 on, and DragonFly
   18097     shlibpath_overrides_runpath=yes
   18098     hardcode_into_libs=yes
   18099     ;;
   18100   esac
   18101   ;;
   18102 
   18103 gnu*)
   18104   version_type=linux
   18105   need_lib_prefix=no
   18106   need_version=no
   18107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18108   soname_spec='${libname}${release}${shared_ext}$major'
   18109   shlibpath_var=LD_LIBRARY_PATH
   18110   hardcode_into_libs=yes
   18111   ;;
   18112 
   18113 hpux9* | hpux10* | hpux11*)
   18114   # Give a soname corresponding to the major version so that dld.sl refuses to
   18115   # link against other versions.
   18116   version_type=sunos
   18117   need_lib_prefix=no
   18118   need_version=no
   18119   case $host_cpu in
   18120   ia64*)
   18121     shrext_cmds='.so'
   18122     hardcode_into_libs=yes
   18123     dynamic_linker="$host_os dld.so"
   18124     shlibpath_var=LD_LIBRARY_PATH
   18125     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18126     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18127     soname_spec='${libname}${release}${shared_ext}$major'
   18128     if test "X$HPUX_IA64_MODE" = X32; then
   18129       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18130     else
   18131       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18132     fi
   18133     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18134     ;;
   18135    hppa*64*)
   18136      shrext_cmds='.sl'
   18137      hardcode_into_libs=yes
   18138      dynamic_linker="$host_os dld.sl"
   18139      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18140      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18141      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18142      soname_spec='${libname}${release}${shared_ext}$major'
   18143      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18144      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18145      ;;
   18146    *)
   18147     shrext_cmds='.sl'
   18148     dynamic_linker="$host_os dld.sl"
   18149     shlibpath_var=SHLIB_PATH
   18150     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18151     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18152     soname_spec='${libname}${release}${shared_ext}$major'
   18153     ;;
   18154   esac
   18155   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18156   postinstall_cmds='chmod 555 $lib'
   18157   ;;
   18158 
   18159 interix[3-9]*)
   18160   version_type=linux
   18161   need_lib_prefix=no
   18162   need_version=no
   18163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18164   soname_spec='${libname}${release}${shared_ext}$major'
   18165   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18166   shlibpath_var=LD_LIBRARY_PATH
   18167   shlibpath_overrides_runpath=no
   18168   hardcode_into_libs=yes
   18169   ;;
   18170 
   18171 irix5* | irix6* | nonstopux*)
   18172   case $host_os in
   18173     nonstopux*) version_type=nonstopux ;;
   18174     *)
   18175 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18176 		version_type=linux
   18177 	else
   18178 		version_type=irix
   18179 	fi ;;
   18180   esac
   18181   need_lib_prefix=no
   18182   need_version=no
   18183   soname_spec='${libname}${release}${shared_ext}$major'
   18184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18185   case $host_os in
   18186   irix5* | nonstopux*)
   18187     libsuff= shlibsuff=
   18188     ;;
   18189   *)
   18190     case $LD in # libtool.m4 will add one of these switches to LD
   18191     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18192       libsuff= shlibsuff= libmagic=32-bit;;
   18193     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18194       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18195     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18196       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18197     *) libsuff= shlibsuff= libmagic=never-match;;
   18198     esac
   18199     ;;
   18200   esac
   18201   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18202   shlibpath_overrides_runpath=no
   18203   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18204   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18205   hardcode_into_libs=yes
   18206   ;;
   18207 
   18208 # No shared lib support for Linux oldld, aout, or coff.
   18209 linux*oldld* | linux*aout* | linux*coff*)
   18210   dynamic_linker=no
   18211   ;;
   18212 
   18213 # This must be Linux ELF.
   18214 linux* | k*bsd*-gnu)
   18215   version_type=linux
   18216   need_lib_prefix=no
   18217   need_version=no
   18218   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18219   soname_spec='${libname}${release}${shared_ext}$major'
   18220   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18221   shlibpath_var=LD_LIBRARY_PATH
   18222   shlibpath_overrides_runpath=no
   18223   # This implies no fast_install, which is unacceptable.
   18224   # Some rework will be needed to allow for fast_install
   18225   # before this can be enabled.
   18226   hardcode_into_libs=yes
   18227   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18228   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18229 
   18230   # Append ld.so.conf contents to the search path
   18231   if test -f /etc/ld.so.conf; then
   18232     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' ' '`
   18233     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18234   fi
   18235 
   18236   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18237   # powerpc, because MkLinux only supported shared libraries with the
   18238   # GNU dynamic linker.  Since this was broken with cross compilers,
   18239   # most powerpc-linux boxes support dynamic linking these days and
   18240   # people can always --disable-shared, the test was removed, and we
   18241   # assume the GNU/Linux dynamic linker is in use.
   18242   dynamic_linker='GNU/Linux ld.so'
   18243   ;;
   18244 
   18245 netbsd*)
   18246   version_type=sunos
   18247   need_lib_prefix=no
   18248   need_version=no
   18249   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18250     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18251     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18252     dynamic_linker='NetBSD (a.out) ld.so'
   18253   else
   18254     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18255     soname_spec='${libname}${release}${shared_ext}$major'
   18256     dynamic_linker='NetBSD ld.elf_so'
   18257   fi
   18258   shlibpath_var=LD_LIBRARY_PATH
   18259   shlibpath_overrides_runpath=yes
   18260   hardcode_into_libs=yes
   18261   ;;
   18262 
   18263 newsos6)
   18264   version_type=linux
   18265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18266   shlibpath_var=LD_LIBRARY_PATH
   18267   shlibpath_overrides_runpath=yes
   18268   ;;
   18269 
   18270 nto-qnx*)
   18271   version_type=linux
   18272   need_lib_prefix=no
   18273   need_version=no
   18274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18275   soname_spec='${libname}${release}${shared_ext}$major'
   18276   shlibpath_var=LD_LIBRARY_PATH
   18277   shlibpath_overrides_runpath=yes
   18278   ;;
   18279 
   18280 openbsd*)
   18281   version_type=sunos
   18282   sys_lib_dlsearch_path_spec="/usr/lib"
   18283   need_lib_prefix=no
   18284   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18285   case $host_os in
   18286     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18287     *)                         need_version=no  ;;
   18288   esac
   18289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18290   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18291   shlibpath_var=LD_LIBRARY_PATH
   18292   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18293     case $host_os in
   18294       openbsd2.[89] | openbsd2.[89].*)
   18295 	shlibpath_overrides_runpath=no
   18296 	;;
   18297       *)
   18298 	shlibpath_overrides_runpath=yes
   18299 	;;
   18300       esac
   18301   else
   18302     shlibpath_overrides_runpath=yes
   18303   fi
   18304   ;;
   18305 
   18306 os2*)
   18307   libname_spec='$name'
   18308   shrext_cmds=".dll"
   18309   need_lib_prefix=no
   18310   library_names_spec='$libname${shared_ext} $libname.a'
   18311   dynamic_linker='OS/2 ld.exe'
   18312   shlibpath_var=LIBPATH
   18313   ;;
   18314 
   18315 osf3* | osf4* | osf5*)
   18316   version_type=osf
   18317   need_lib_prefix=no
   18318   need_version=no
   18319   soname_spec='${libname}${release}${shared_ext}$major'
   18320   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18321   shlibpath_var=LD_LIBRARY_PATH
   18322   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18323   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18324   ;;
   18325 
   18326 rdos*)
   18327   dynamic_linker=no
   18328   ;;
   18329 
   18330 solaris*)
   18331   version_type=linux
   18332   need_lib_prefix=no
   18333   need_version=no
   18334   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18335   soname_spec='${libname}${release}${shared_ext}$major'
   18336   shlibpath_var=LD_LIBRARY_PATH
   18337   shlibpath_overrides_runpath=yes
   18338   hardcode_into_libs=yes
   18339   # ldd complains unless libraries are executable
   18340   postinstall_cmds='chmod +x $lib'
   18341   ;;
   18342 
   18343 sunos4*)
   18344   version_type=sunos
   18345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18346   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18347   shlibpath_var=LD_LIBRARY_PATH
   18348   shlibpath_overrides_runpath=yes
   18349   if test "$with_gnu_ld" = yes; then
   18350     need_lib_prefix=no
   18351   fi
   18352   need_version=yes
   18353   ;;
   18354 
   18355 sysv4 | sysv4.3*)
   18356   version_type=linux
   18357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18358   soname_spec='${libname}${release}${shared_ext}$major'
   18359   shlibpath_var=LD_LIBRARY_PATH
   18360   case $host_vendor in
   18361     sni)
   18362       shlibpath_overrides_runpath=no
   18363       need_lib_prefix=no
   18364       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18365       runpath_var=LD_RUN_PATH
   18366       ;;
   18367     siemens)
   18368       need_lib_prefix=no
   18369       ;;
   18370     motorola)
   18371       need_lib_prefix=no
   18372       need_version=no
   18373       shlibpath_overrides_runpath=no
   18374       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18375       ;;
   18376   esac
   18377   ;;
   18378 
   18379 sysv4*MP*)
   18380   if test -d /usr/nec ;then
   18381     version_type=linux
   18382     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18383     soname_spec='$libname${shared_ext}.$major'
   18384     shlibpath_var=LD_LIBRARY_PATH
   18385   fi
   18386   ;;
   18387 
   18388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18389   version_type=freebsd-elf
   18390   need_lib_prefix=no
   18391   need_version=no
   18392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18393   soname_spec='${libname}${release}${shared_ext}$major'
   18394   shlibpath_var=LD_LIBRARY_PATH
   18395   hardcode_into_libs=yes
   18396   if test "$with_gnu_ld" = yes; then
   18397     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18398     shlibpath_overrides_runpath=no
   18399   else
   18400     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18401     shlibpath_overrides_runpath=yes
   18402     case $host_os in
   18403       sco3.2v5*)
   18404         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18405 	;;
   18406     esac
   18407   fi
   18408   sys_lib_dlsearch_path_spec='/usr/lib'
   18409   ;;
   18410 
   18411 uts4*)
   18412   version_type=linux
   18413   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18414   soname_spec='${libname}${release}${shared_ext}$major'
   18415   shlibpath_var=LD_LIBRARY_PATH
   18416   ;;
   18417 
   18418 *)
   18419   dynamic_linker=no
   18420   ;;
   18421 esac
   18422 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18423 echo "${ECHO_T}$dynamic_linker" >&6; }
   18424 test "$dynamic_linker" = no && can_build_shared=no
   18425 
   18426 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18427 if test "$GCC" = yes; then
   18428   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18429 fi
   18430 
   18431 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18432 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18433 hardcode_action_GCJ=
   18434 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18435    test -n "$runpath_var_GCJ" || \
   18436    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18437 
   18438   # We can hardcode non-existant directories.
   18439   if test "$hardcode_direct_GCJ" != no &&
   18440      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18441      # have to relink, otherwise we might link with an installed library
   18442      # when we should be linking with a yet-to-be-installed one
   18443      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18444      test "$hardcode_minus_L_GCJ" != no; then
   18445     # Linking always hardcodes the temporary library directory.
   18446     hardcode_action_GCJ=relink
   18447   else
   18448     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18449     hardcode_action_GCJ=immediate
   18450   fi
   18451 else
   18452   # We cannot hardcode anything, or else we can only hardcode existing
   18453   # directories.
   18454   hardcode_action_GCJ=unsupported
   18455 fi
   18456 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18457 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18458 
   18459 if test "$hardcode_action_GCJ" = relink; then
   18460   # Fast installation is not supported
   18461   enable_fast_install=no
   18462 elif test "$shlibpath_overrides_runpath" = yes ||
   18463      test "$enable_shared" = no; then
   18464   # Fast installation is not necessary
   18465   enable_fast_install=needless
   18466 fi
   18467 
   18468 
   18469 # The else clause should only fire when bootstrapping the
   18470 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18471 # with your package, and you will get complaints that there are
   18472 # no rules to generate ltmain.sh.
   18473 if test -f "$ltmain"; then
   18474   # See if we are running on zsh, and set the options which allow our commands through
   18475   # without removal of \ escapes.
   18476   if test -n "${ZSH_VERSION+set}" ; then
   18477     setopt NO_GLOB_SUBST
   18478   fi
   18479   # Now quote all the things that may contain metacharacters while being
   18480   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18481   # variables and quote the copies for generation of the libtool script.
   18482   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18483     SED SHELL STRIP \
   18484     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18485     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18486     deplibs_check_method reload_flag reload_cmds need_locks \
   18487     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18488     lt_cv_sys_global_symbol_to_c_name_address \
   18489     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18490     old_postinstall_cmds old_postuninstall_cmds \
   18491     compiler_GCJ \
   18492     CC_GCJ \
   18493     LD_GCJ \
   18494     lt_prog_compiler_wl_GCJ \
   18495     lt_prog_compiler_pic_GCJ \
   18496     lt_prog_compiler_static_GCJ \
   18497     lt_prog_compiler_no_builtin_flag_GCJ \
   18498     export_dynamic_flag_spec_GCJ \
   18499     thread_safe_flag_spec_GCJ \
   18500     whole_archive_flag_spec_GCJ \
   18501     enable_shared_with_static_runtimes_GCJ \
   18502     old_archive_cmds_GCJ \
   18503     old_archive_from_new_cmds_GCJ \
   18504     predep_objects_GCJ \
   18505     postdep_objects_GCJ \
   18506     predeps_GCJ \
   18507     postdeps_GCJ \
   18508     compiler_lib_search_path_GCJ \
   18509     archive_cmds_GCJ \
   18510     archive_expsym_cmds_GCJ \
   18511     postinstall_cmds_GCJ \
   18512     postuninstall_cmds_GCJ \
   18513     old_archive_from_expsyms_cmds_GCJ \
   18514     allow_undefined_flag_GCJ \
   18515     no_undefined_flag_GCJ \
   18516     export_symbols_cmds_GCJ \
   18517     hardcode_libdir_flag_spec_GCJ \
   18518     hardcode_libdir_flag_spec_ld_GCJ \
   18519     hardcode_libdir_separator_GCJ \
   18520     hardcode_automatic_GCJ \
   18521     module_cmds_GCJ \
   18522     module_expsym_cmds_GCJ \
   18523     lt_cv_prog_compiler_c_o_GCJ \
   18524     fix_srcfile_path_GCJ \
   18525     exclude_expsyms_GCJ \
   18526     include_expsyms_GCJ; do
   18527 
   18528     case $var in
   18529     old_archive_cmds_GCJ | \
   18530     old_archive_from_new_cmds_GCJ | \
   18531     archive_cmds_GCJ | \
   18532     archive_expsym_cmds_GCJ | \
   18533     module_cmds_GCJ | \
   18534     module_expsym_cmds_GCJ | \
   18535     old_archive_from_expsyms_cmds_GCJ | \
   18536     export_symbols_cmds_GCJ | \
   18537     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18538     postinstall_cmds | postuninstall_cmds | \
   18539     old_postinstall_cmds | old_postuninstall_cmds | \
   18540     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18541       # Double-quote double-evaled strings.
   18542       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18543       ;;
   18544     *)
   18545       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18546       ;;
   18547     esac
   18548   done
   18549 
   18550   case $lt_echo in
   18551   *'\$0 --fallback-echo"')
   18552     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18553     ;;
   18554   esac
   18555 
   18556 cfgfile="$ofile"
   18557 
   18558   cat <<__EOF__ >> "$cfgfile"
   18559 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18560 
   18561 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18562 
   18563 # Shell to use when invoking shell scripts.
   18564 SHELL=$lt_SHELL
   18565 
   18566 # Whether or not to build shared libraries.
   18567 build_libtool_libs=$enable_shared
   18568 
   18569 # Whether or not to build static libraries.
   18570 build_old_libs=$enable_static
   18571 
   18572 # Whether or not to add -lc for building shared libraries.
   18573 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18574 
   18575 # Whether or not to disallow shared libs when runtime libs are static
   18576 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18577 
   18578 # Whether or not to optimize for fast installation.
   18579 fast_install=$enable_fast_install
   18580 
   18581 # The host system.
   18582 host_alias=$host_alias
   18583 host=$host
   18584 host_os=$host_os
   18585 
   18586 # The build system.
   18587 build_alias=$build_alias
   18588 build=$build
   18589 build_os=$build_os
   18590 
   18591 # An echo program that does not interpret backslashes.
   18592 echo=$lt_echo
   18593 
   18594 # The archiver.
   18595 AR=$lt_AR
   18596 AR_FLAGS=$lt_AR_FLAGS
   18597 
   18598 # A C compiler.
   18599 LTCC=$lt_LTCC
   18600 
   18601 # LTCC compiler flags.
   18602 LTCFLAGS=$lt_LTCFLAGS
   18603 
   18604 # A language-specific compiler.
   18605 CC=$lt_compiler_GCJ
   18606 
   18607 # Is the compiler the GNU C compiler?
   18608 with_gcc=$GCC_GCJ
   18609 
   18610 # An ERE matcher.
   18611 EGREP=$lt_EGREP
   18612 
   18613 # The linker used to build libraries.
   18614 LD=$lt_LD_GCJ
   18615 
   18616 # Whether we need hard or soft links.
   18617 LN_S=$lt_LN_S
   18618 
   18619 # A BSD-compatible nm program.
   18620 NM=$lt_NM
   18621 
   18622 # A symbol stripping program
   18623 STRIP=$lt_STRIP
   18624 
   18625 # Used to examine libraries when file_magic_cmd begins "file"
   18626 MAGIC_CMD=$MAGIC_CMD
   18627 
   18628 # Used on cygwin: DLL creation program.
   18629 DLLTOOL="$DLLTOOL"
   18630 
   18631 # Used on cygwin: object dumper.
   18632 OBJDUMP="$OBJDUMP"
   18633 
   18634 # Used on cygwin: assembler.
   18635 AS="$AS"
   18636 
   18637 # The name of the directory that contains temporary libtool files.
   18638 objdir=$objdir
   18639 
   18640 # How to create reloadable object files.
   18641 reload_flag=$lt_reload_flag
   18642 reload_cmds=$lt_reload_cmds
   18643 
   18644 # How to pass a linker flag through the compiler.
   18645 wl=$lt_lt_prog_compiler_wl_GCJ
   18646 
   18647 # Object file suffix (normally "o").
   18648 objext="$ac_objext"
   18649 
   18650 # Old archive suffix (normally "a").
   18651 libext="$libext"
   18652 
   18653 # Shared library suffix (normally ".so").
   18654 shrext_cmds='$shrext_cmds'
   18655 
   18656 # Executable file suffix (normally "").
   18657 exeext="$exeext"
   18658 
   18659 # Additional compiler flags for building library objects.
   18660 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18661 pic_mode=$pic_mode
   18662 
   18663 # What is the maximum length of a command?
   18664 max_cmd_len=$lt_cv_sys_max_cmd_len
   18665 
   18666 # Does compiler simultaneously support -c and -o options?
   18667 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18668 
   18669 # Must we lock files when doing compilation?
   18670 need_locks=$lt_need_locks
   18671 
   18672 # Do we need the lib prefix for modules?
   18673 need_lib_prefix=$need_lib_prefix
   18674 
   18675 # Do we need a version for libraries?
   18676 need_version=$need_version
   18677 
   18678 # Whether dlopen is supported.
   18679 dlopen_support=$enable_dlopen
   18680 
   18681 # Whether dlopen of programs is supported.
   18682 dlopen_self=$enable_dlopen_self
   18683 
   18684 # Whether dlopen of statically linked programs is supported.
   18685 dlopen_self_static=$enable_dlopen_self_static
   18686 
   18687 # Compiler flag to prevent dynamic linking.
   18688 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18689 
   18690 # Compiler flag to turn off builtin functions.
   18691 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18692 
   18693 # Compiler flag to allow reflexive dlopens.
   18694 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18695 
   18696 # Compiler flag to generate shared objects directly from archives.
   18697 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18698 
   18699 # Compiler flag to generate thread-safe objects.
   18700 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18701 
   18702 # Library versioning type.
   18703 version_type=$version_type
   18704 
   18705 # Format of library name prefix.
   18706 libname_spec=$lt_libname_spec
   18707 
   18708 # List of archive names.  First name is the real one, the rest are links.
   18709 # The last name is the one that the linker finds with -lNAME.
   18710 library_names_spec=$lt_library_names_spec
   18711 
   18712 # The coded name of the library, if different from the real name.
   18713 soname_spec=$lt_soname_spec
   18714 
   18715 # Commands used to build and install an old-style archive.
   18716 RANLIB=$lt_RANLIB
   18717 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18718 old_postinstall_cmds=$lt_old_postinstall_cmds
   18719 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18720 
   18721 # Create an old-style archive from a shared archive.
   18722 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18723 
   18724 # Create a temporary old-style archive to link instead of a shared archive.
   18725 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18726 
   18727 # Commands used to build and install a shared archive.
   18728 archive_cmds=$lt_archive_cmds_GCJ
   18729 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18730 postinstall_cmds=$lt_postinstall_cmds
   18731 postuninstall_cmds=$lt_postuninstall_cmds
   18732 
   18733 # Commands used to build a loadable module (assumed same as above if empty)
   18734 module_cmds=$lt_module_cmds_GCJ
   18735 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18736 
   18737 # Commands to strip libraries.
   18738 old_striplib=$lt_old_striplib
   18739 striplib=$lt_striplib
   18740 
   18741 # Dependencies to place before the objects being linked to create a
   18742 # shared library.
   18743 predep_objects=$lt_predep_objects_GCJ
   18744 
   18745 # Dependencies to place after the objects being linked to create a
   18746 # shared library.
   18747 postdep_objects=$lt_postdep_objects_GCJ
   18748 
   18749 # Dependencies to place before the objects being linked to create a
   18750 # shared library.
   18751 predeps=$lt_predeps_GCJ
   18752 
   18753 # Dependencies to place after the objects being linked to create a
   18754 # shared library.
   18755 postdeps=$lt_postdeps_GCJ
   18756 
   18757 # The library search path used internally by the compiler when linking
   18758 # a shared library.
   18759 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18760 
   18761 # Method to check whether dependent libraries are shared objects.
   18762 deplibs_check_method=$lt_deplibs_check_method
   18763 
   18764 # Command to use when deplibs_check_method == file_magic.
   18765 file_magic_cmd=$lt_file_magic_cmd
   18766 
   18767 # Flag that allows shared libraries with undefined symbols to be built.
   18768 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18769 
   18770 # Flag that forces no undefined symbols.
   18771 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18772 
   18773 # Commands used to finish a libtool library installation in a directory.
   18774 finish_cmds=$lt_finish_cmds
   18775 
   18776 # Same as above, but a single script fragment to be evaled but not shown.
   18777 finish_eval=$lt_finish_eval
   18778 
   18779 # Take the output of nm and produce a listing of raw symbols and C names.
   18780 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18781 
   18782 # Transform the output of nm in a proper C declaration
   18783 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18784 
   18785 # Transform the output of nm in a C name address pair
   18786 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18787 
   18788 # This is the shared library runtime path variable.
   18789 runpath_var=$runpath_var
   18790 
   18791 # This is the shared library path variable.
   18792 shlibpath_var=$shlibpath_var
   18793 
   18794 # Is shlibpath searched before the hard-coded library search path?
   18795 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18796 
   18797 # How to hardcode a shared library path into an executable.
   18798 hardcode_action=$hardcode_action_GCJ
   18799 
   18800 # Whether we should hardcode library paths into libraries.
   18801 hardcode_into_libs=$hardcode_into_libs
   18802 
   18803 # Flag to hardcode \$libdir into a binary during linking.
   18804 # This must work even if \$libdir does not exist.
   18805 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18806 
   18807 # If ld is used when linking, flag to hardcode \$libdir into
   18808 # a binary during linking. This must work even if \$libdir does
   18809 # not exist.
   18810 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18811 
   18812 # Whether we need a single -rpath flag with a separated argument.
   18813 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18814 
   18815 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18816 # resulting binary.
   18817 hardcode_direct=$hardcode_direct_GCJ
   18818 
   18819 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18820 # resulting binary.
   18821 hardcode_minus_L=$hardcode_minus_L_GCJ
   18822 
   18823 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18824 # the resulting binary.
   18825 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18826 
   18827 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18828 # and all subsequent libraries and executables linked against it.
   18829 hardcode_automatic=$hardcode_automatic_GCJ
   18830 
   18831 # Variables whose values should be saved in libtool wrapper scripts and
   18832 # restored at relink time.
   18833 variables_saved_for_relink="$variables_saved_for_relink"
   18834 
   18835 # Whether libtool must link a program against all its dependency libraries.
   18836 link_all_deplibs=$link_all_deplibs_GCJ
   18837 
   18838 # Compile-time system search path for libraries
   18839 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18840 
   18841 # Run-time system search path for libraries
   18842 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18843 
   18844 # Fix the shell variable \$srcfile for the compiler.
   18845 fix_srcfile_path=$lt_fix_srcfile_path
   18846 
   18847 # Set to yes if exported symbols are required.
   18848 always_export_symbols=$always_export_symbols_GCJ
   18849 
   18850 # The commands to list exported symbols.
   18851 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18852 
   18853 # The commands to extract the exported symbol list from a shared archive.
   18854 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18855 
   18856 # Symbols that should not be listed in the preloaded symbols.
   18857 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18858 
   18859 # Symbols that must always be exported.
   18860 include_expsyms=$lt_include_expsyms_GCJ
   18861 
   18862 # ### END LIBTOOL TAG CONFIG: $tagname
   18863 
   18864 __EOF__
   18865 
   18866 
   18867 else
   18868   # If there is no Makefile yet, we rely on a make rule to execute
   18869   # `config.status --recheck' to rerun these tests and create the
   18870   # libtool script then.
   18871   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18872   if test -f "$ltmain_in"; then
   18873     test -f Makefile && make "$ltmain"
   18874   fi
   18875 fi
   18876 
   18877 
   18878 ac_ext=c
   18879 ac_cpp='$CPP $CPPFLAGS'
   18880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18883 
   18884 CC="$lt_save_CC"
   18885 
   18886 	else
   18887 	  tagname=""
   18888 	fi
   18889 	;;
   18890 
   18891       RC)
   18892 
   18893 
   18894 # Source file extension for RC test sources.
   18895 ac_ext=rc
   18896 
   18897 # Object file extension for compiled RC test sources.
   18898 objext=o
   18899 objext_RC=$objext
   18900 
   18901 # Code to be used in simple compile tests
   18902 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   18903 
   18904 # Code to be used in simple link tests
   18905 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18906 
   18907 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18908 
   18909 # If no C compiler was specified, use CC.
   18910 LTCC=${LTCC-"$CC"}
   18911 
   18912 # If no C compiler flags were specified, use CFLAGS.
   18913 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18914 
   18915 # Allow CC to be a program name with arguments.
   18916 compiler=$CC
   18917 
   18918 
   18919 # save warnings/boilerplate of simple test code
   18920 ac_outfile=conftest.$ac_objext
   18921 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   18922 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18923 _lt_compiler_boilerplate=`cat conftest.err`
   18924 $rm conftest*
   18925 
   18926 ac_outfile=conftest.$ac_objext
   18927 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   18928 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18929 _lt_linker_boilerplate=`cat conftest.err`
   18930 $rm conftest*
   18931 
   18932 
   18933 # Allow CC to be a program name with arguments.
   18934 lt_save_CC="$CC"
   18935 CC=${RC-"windres"}
   18936 compiler=$CC
   18937 compiler_RC=$CC
   18938 for cc_temp in $compiler""; do
   18939   case $cc_temp in
   18940     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18941     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18942     \-*) ;;
   18943     *) break;;
   18944   esac
   18945 done
   18946 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18947 
   18948 lt_cv_prog_compiler_c_o_RC=yes
   18949 
   18950 # The else clause should only fire when bootstrapping the
   18951 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18952 # with your package, and you will get complaints that there are
   18953 # no rules to generate ltmain.sh.
   18954 if test -f "$ltmain"; then
   18955   # See if we are running on zsh, and set the options which allow our commands through
   18956   # without removal of \ escapes.
   18957   if test -n "${ZSH_VERSION+set}" ; then
   18958     setopt NO_GLOB_SUBST
   18959   fi
   18960   # Now quote all the things that may contain metacharacters while being
   18961   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18962   # variables and quote the copies for generation of the libtool script.
   18963   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18964     SED SHELL STRIP \
   18965     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18966     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18967     deplibs_check_method reload_flag reload_cmds need_locks \
   18968     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18969     lt_cv_sys_global_symbol_to_c_name_address \
   18970     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18971     old_postinstall_cmds old_postuninstall_cmds \
   18972     compiler_RC \
   18973     CC_RC \
   18974     LD_RC \
   18975     lt_prog_compiler_wl_RC \
   18976     lt_prog_compiler_pic_RC \
   18977     lt_prog_compiler_static_RC \
   18978     lt_prog_compiler_no_builtin_flag_RC \
   18979     export_dynamic_flag_spec_RC \
   18980     thread_safe_flag_spec_RC \
   18981     whole_archive_flag_spec_RC \
   18982     enable_shared_with_static_runtimes_RC \
   18983     old_archive_cmds_RC \
   18984     old_archive_from_new_cmds_RC \
   18985     predep_objects_RC \
   18986     postdep_objects_RC \
   18987     predeps_RC \
   18988     postdeps_RC \
   18989     compiler_lib_search_path_RC \
   18990     archive_cmds_RC \
   18991     archive_expsym_cmds_RC \
   18992     postinstall_cmds_RC \
   18993     postuninstall_cmds_RC \
   18994     old_archive_from_expsyms_cmds_RC \
   18995     allow_undefined_flag_RC \
   18996     no_undefined_flag_RC \
   18997     export_symbols_cmds_RC \
   18998     hardcode_libdir_flag_spec_RC \
   18999     hardcode_libdir_flag_spec_ld_RC \
   19000     hardcode_libdir_separator_RC \
   19001     hardcode_automatic_RC \
   19002     module_cmds_RC \
   19003     module_expsym_cmds_RC \
   19004     lt_cv_prog_compiler_c_o_RC \
   19005     fix_srcfile_path_RC \
   19006     exclude_expsyms_RC \
   19007     include_expsyms_RC; do
   19008 
   19009     case $var in
   19010     old_archive_cmds_RC | \
   19011     old_archive_from_new_cmds_RC | \
   19012     archive_cmds_RC | \
   19013     archive_expsym_cmds_RC | \
   19014     module_cmds_RC | \
   19015     module_expsym_cmds_RC | \
   19016     old_archive_from_expsyms_cmds_RC | \
   19017     export_symbols_cmds_RC | \
   19018     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19019     postinstall_cmds | postuninstall_cmds | \
   19020     old_postinstall_cmds | old_postuninstall_cmds | \
   19021     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19022       # Double-quote double-evaled strings.
   19023       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19024       ;;
   19025     *)
   19026       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19027       ;;
   19028     esac
   19029   done
   19030 
   19031   case $lt_echo in
   19032   *'\$0 --fallback-echo"')
   19033     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19034     ;;
   19035   esac
   19036 
   19037 cfgfile="$ofile"
   19038 
   19039   cat <<__EOF__ >> "$cfgfile"
   19040 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19041 
   19042 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19043 
   19044 # Shell to use when invoking shell scripts.
   19045 SHELL=$lt_SHELL
   19046 
   19047 # Whether or not to build shared libraries.
   19048 build_libtool_libs=$enable_shared
   19049 
   19050 # Whether or not to build static libraries.
   19051 build_old_libs=$enable_static
   19052 
   19053 # Whether or not to add -lc for building shared libraries.
   19054 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19055 
   19056 # Whether or not to disallow shared libs when runtime libs are static
   19057 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19058 
   19059 # Whether or not to optimize for fast installation.
   19060 fast_install=$enable_fast_install
   19061 
   19062 # The host system.
   19063 host_alias=$host_alias
   19064 host=$host
   19065 host_os=$host_os
   19066 
   19067 # The build system.
   19068 build_alias=$build_alias
   19069 build=$build
   19070 build_os=$build_os
   19071 
   19072 # An echo program that does not interpret backslashes.
   19073 echo=$lt_echo
   19074 
   19075 # The archiver.
   19076 AR=$lt_AR
   19077 AR_FLAGS=$lt_AR_FLAGS
   19078 
   19079 # A C compiler.
   19080 LTCC=$lt_LTCC
   19081 
   19082 # LTCC compiler flags.
   19083 LTCFLAGS=$lt_LTCFLAGS
   19084 
   19085 # A language-specific compiler.
   19086 CC=$lt_compiler_RC
   19087 
   19088 # Is the compiler the GNU C compiler?
   19089 with_gcc=$GCC_RC
   19090 
   19091 # An ERE matcher.
   19092 EGREP=$lt_EGREP
   19093 
   19094 # The linker used to build libraries.
   19095 LD=$lt_LD_RC
   19096 
   19097 # Whether we need hard or soft links.
   19098 LN_S=$lt_LN_S
   19099 
   19100 # A BSD-compatible nm program.
   19101 NM=$lt_NM
   19102 
   19103 # A symbol stripping program
   19104 STRIP=$lt_STRIP
   19105 
   19106 # Used to examine libraries when file_magic_cmd begins "file"
   19107 MAGIC_CMD=$MAGIC_CMD
   19108 
   19109 # Used on cygwin: DLL creation program.
   19110 DLLTOOL="$DLLTOOL"
   19111 
   19112 # Used on cygwin: object dumper.
   19113 OBJDUMP="$OBJDUMP"
   19114 
   19115 # Used on cygwin: assembler.
   19116 AS="$AS"
   19117 
   19118 # The name of the directory that contains temporary libtool files.
   19119 objdir=$objdir
   19120 
   19121 # How to create reloadable object files.
   19122 reload_flag=$lt_reload_flag
   19123 reload_cmds=$lt_reload_cmds
   19124 
   19125 # How to pass a linker flag through the compiler.
   19126 wl=$lt_lt_prog_compiler_wl_RC
   19127 
   19128 # Object file suffix (normally "o").
   19129 objext="$ac_objext"
   19130 
   19131 # Old archive suffix (normally "a").
   19132 libext="$libext"
   19133 
   19134 # Shared library suffix (normally ".so").
   19135 shrext_cmds='$shrext_cmds'
   19136 
   19137 # Executable file suffix (normally "").
   19138 exeext="$exeext"
   19139 
   19140 # Additional compiler flags for building library objects.
   19141 pic_flag=$lt_lt_prog_compiler_pic_RC
   19142 pic_mode=$pic_mode
   19143 
   19144 # What is the maximum length of a command?
   19145 max_cmd_len=$lt_cv_sys_max_cmd_len
   19146 
   19147 # Does compiler simultaneously support -c and -o options?
   19148 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19149 
   19150 # Must we lock files when doing compilation?
   19151 need_locks=$lt_need_locks
   19152 
   19153 # Do we need the lib prefix for modules?
   19154 need_lib_prefix=$need_lib_prefix
   19155 
   19156 # Do we need a version for libraries?
   19157 need_version=$need_version
   19158 
   19159 # Whether dlopen is supported.
   19160 dlopen_support=$enable_dlopen
   19161 
   19162 # Whether dlopen of programs is supported.
   19163 dlopen_self=$enable_dlopen_self
   19164 
   19165 # Whether dlopen of statically linked programs is supported.
   19166 dlopen_self_static=$enable_dlopen_self_static
   19167 
   19168 # Compiler flag to prevent dynamic linking.
   19169 link_static_flag=$lt_lt_prog_compiler_static_RC
   19170 
   19171 # Compiler flag to turn off builtin functions.
   19172 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19173 
   19174 # Compiler flag to allow reflexive dlopens.
   19175 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19176 
   19177 # Compiler flag to generate shared objects directly from archives.
   19178 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19179 
   19180 # Compiler flag to generate thread-safe objects.
   19181 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19182 
   19183 # Library versioning type.
   19184 version_type=$version_type
   19185 
   19186 # Format of library name prefix.
   19187 libname_spec=$lt_libname_spec
   19188 
   19189 # List of archive names.  First name is the real one, the rest are links.
   19190 # The last name is the one that the linker finds with -lNAME.
   19191 library_names_spec=$lt_library_names_spec
   19192 
   19193 # The coded name of the library, if different from the real name.
   19194 soname_spec=$lt_soname_spec
   19195 
   19196 # Commands used to build and install an old-style archive.
   19197 RANLIB=$lt_RANLIB
   19198 old_archive_cmds=$lt_old_archive_cmds_RC
   19199 old_postinstall_cmds=$lt_old_postinstall_cmds
   19200 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19201 
   19202 # Create an old-style archive from a shared archive.
   19203 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19204 
   19205 # Create a temporary old-style archive to link instead of a shared archive.
   19206 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19207 
   19208 # Commands used to build and install a shared archive.
   19209 archive_cmds=$lt_archive_cmds_RC
   19210 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19211 postinstall_cmds=$lt_postinstall_cmds
   19212 postuninstall_cmds=$lt_postuninstall_cmds
   19213 
   19214 # Commands used to build a loadable module (assumed same as above if empty)
   19215 module_cmds=$lt_module_cmds_RC
   19216 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19217 
   19218 # Commands to strip libraries.
   19219 old_striplib=$lt_old_striplib
   19220 striplib=$lt_striplib
   19221 
   19222 # Dependencies to place before the objects being linked to create a
   19223 # shared library.
   19224 predep_objects=$lt_predep_objects_RC
   19225 
   19226 # Dependencies to place after the objects being linked to create a
   19227 # shared library.
   19228 postdep_objects=$lt_postdep_objects_RC
   19229 
   19230 # Dependencies to place before the objects being linked to create a
   19231 # shared library.
   19232 predeps=$lt_predeps_RC
   19233 
   19234 # Dependencies to place after the objects being linked to create a
   19235 # shared library.
   19236 postdeps=$lt_postdeps_RC
   19237 
   19238 # The library search path used internally by the compiler when linking
   19239 # a shared library.
   19240 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19241 
   19242 # Method to check whether dependent libraries are shared objects.
   19243 deplibs_check_method=$lt_deplibs_check_method
   19244 
   19245 # Command to use when deplibs_check_method == file_magic.
   19246 file_magic_cmd=$lt_file_magic_cmd
   19247 
   19248 # Flag that allows shared libraries with undefined symbols to be built.
   19249 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19250 
   19251 # Flag that forces no undefined symbols.
   19252 no_undefined_flag=$lt_no_undefined_flag_RC
   19253 
   19254 # Commands used to finish a libtool library installation in a directory.
   19255 finish_cmds=$lt_finish_cmds
   19256 
   19257 # Same as above, but a single script fragment to be evaled but not shown.
   19258 finish_eval=$lt_finish_eval
   19259 
   19260 # Take the output of nm and produce a listing of raw symbols and C names.
   19261 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19262 
   19263 # Transform the output of nm in a proper C declaration
   19264 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19265 
   19266 # Transform the output of nm in a C name address pair
   19267 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19268 
   19269 # This is the shared library runtime path variable.
   19270 runpath_var=$runpath_var
   19271 
   19272 # This is the shared library path variable.
   19273 shlibpath_var=$shlibpath_var
   19274 
   19275 # Is shlibpath searched before the hard-coded library search path?
   19276 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19277 
   19278 # How to hardcode a shared library path into an executable.
   19279 hardcode_action=$hardcode_action_RC
   19280 
   19281 # Whether we should hardcode library paths into libraries.
   19282 hardcode_into_libs=$hardcode_into_libs
   19283 
   19284 # Flag to hardcode \$libdir into a binary during linking.
   19285 # This must work even if \$libdir does not exist.
   19286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19287 
   19288 # If ld is used when linking, flag to hardcode \$libdir into
   19289 # a binary during linking. This must work even if \$libdir does
   19290 # not exist.
   19291 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19292 
   19293 # Whether we need a single -rpath flag with a separated argument.
   19294 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19295 
   19296 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19297 # resulting binary.
   19298 hardcode_direct=$hardcode_direct_RC
   19299 
   19300 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19301 # resulting binary.
   19302 hardcode_minus_L=$hardcode_minus_L_RC
   19303 
   19304 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19305 # the resulting binary.
   19306 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19307 
   19308 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19309 # and all subsequent libraries and executables linked against it.
   19310 hardcode_automatic=$hardcode_automatic_RC
   19311 
   19312 # Variables whose values should be saved in libtool wrapper scripts and
   19313 # restored at relink time.
   19314 variables_saved_for_relink="$variables_saved_for_relink"
   19315 
   19316 # Whether libtool must link a program against all its dependency libraries.
   19317 link_all_deplibs=$link_all_deplibs_RC
   19318 
   19319 # Compile-time system search path for libraries
   19320 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19321 
   19322 # Run-time system search path for libraries
   19323 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19324 
   19325 # Fix the shell variable \$srcfile for the compiler.
   19326 fix_srcfile_path=$lt_fix_srcfile_path
   19327 
   19328 # Set to yes if exported symbols are required.
   19329 always_export_symbols=$always_export_symbols_RC
   19330 
   19331 # The commands to list exported symbols.
   19332 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19333 
   19334 # The commands to extract the exported symbol list from a shared archive.
   19335 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19336 
   19337 # Symbols that should not be listed in the preloaded symbols.
   19338 exclude_expsyms=$lt_exclude_expsyms_RC
   19339 
   19340 # Symbols that must always be exported.
   19341 include_expsyms=$lt_include_expsyms_RC
   19342 
   19343 # ### END LIBTOOL TAG CONFIG: $tagname
   19344 
   19345 __EOF__
   19346 
   19347 
   19348 else
   19349   # If there is no Makefile yet, we rely on a make rule to execute
   19350   # `config.status --recheck' to rerun these tests and create the
   19351   # libtool script then.
   19352   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19353   if test -f "$ltmain_in"; then
   19354     test -f Makefile && make "$ltmain"
   19355   fi
   19356 fi
   19357 
   19358 
   19359 ac_ext=c
   19360 ac_cpp='$CPP $CPPFLAGS'
   19361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19364 
   19365 CC="$lt_save_CC"
   19366 
   19367 	;;
   19368 
   19369       *)
   19370 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19371 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19372    { (exit 1); exit 1; }; }
   19373 	;;
   19374       esac
   19375 
   19376       # Append the new tag name to the list of available tags.
   19377       if test -n "$tagname" ; then
   19378       available_tags="$available_tags $tagname"
   19379     fi
   19380     fi
   19381   done
   19382   IFS="$lt_save_ifs"
   19383 
   19384   # Now substitute the updated list of available tags.
   19385   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19386     mv "${ofile}T" "$ofile"
   19387     chmod +x "$ofile"
   19388   else
   19389     rm -f "${ofile}T"
   19390     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19391 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19392    { (exit 1); exit 1; }; }
   19393   fi
   19394 fi
   19395 
   19396 
   19397 
   19398 # This can be used to rebuild libtool when needed
   19399 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19400 
   19401 # Always use our own libtool.
   19402 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19403 
   19404 # Prevent multiple expansion
   19405 
   19406 
   19407 
   19408 
   19409 
   19410 
   19411 
   19412 
   19413 
   19414 
   19415 
   19416 
   19417 
   19418 
   19419 
   19420 
   19421 
   19422 
   19423 
   19424 
   19425 ac_ext=c
   19426 ac_cpp='$CPP $CPPFLAGS'
   19427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19430 if test -n "$ac_tool_prefix"; then
   19431   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19435 if test "${ac_cv_prog_CC+set}" = set; then
   19436   echo $ECHO_N "(cached) $ECHO_C" >&6
   19437 else
   19438   if test -n "$CC"; then
   19439   ac_cv_prog_CC="$CC" # Let the user override the test.
   19440 else
   19441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19442 for as_dir in $PATH
   19443 do
   19444   IFS=$as_save_IFS
   19445   test -z "$as_dir" && as_dir=.
   19446   for ac_exec_ext in '' $ac_executable_extensions; do
   19447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19448     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19449     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19450     break 2
   19451   fi
   19452 done
   19453 done
   19454 IFS=$as_save_IFS
   19455 
   19456 fi
   19457 fi
   19458 CC=$ac_cv_prog_CC
   19459 if test -n "$CC"; then
   19460   { echo "$as_me:$LINENO: result: $CC" >&5
   19461 echo "${ECHO_T}$CC" >&6; }
   19462 else
   19463   { echo "$as_me:$LINENO: result: no" >&5
   19464 echo "${ECHO_T}no" >&6; }
   19465 fi
   19466 
   19467 
   19468 fi
   19469 if test -z "$ac_cv_prog_CC"; then
   19470   ac_ct_CC=$CC
   19471   # Extract the first word of "gcc", so it can be a program name with args.
   19472 set dummy gcc; ac_word=$2
   19473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19476   echo $ECHO_N "(cached) $ECHO_C" >&6
   19477 else
   19478   if test -n "$ac_ct_CC"; then
   19479   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19480 else
   19481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19482 for as_dir in $PATH
   19483 do
   19484   IFS=$as_save_IFS
   19485   test -z "$as_dir" && as_dir=.
   19486   for ac_exec_ext in '' $ac_executable_extensions; do
   19487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19488     ac_cv_prog_ac_ct_CC="gcc"
   19489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19490     break 2
   19491   fi
   19492 done
   19493 done
   19494 IFS=$as_save_IFS
   19495 
   19496 fi
   19497 fi
   19498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19499 if test -n "$ac_ct_CC"; then
   19500   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19501 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19502 else
   19503   { echo "$as_me:$LINENO: result: no" >&5
   19504 echo "${ECHO_T}no" >&6; }
   19505 fi
   19506 
   19507   if test "x$ac_ct_CC" = x; then
   19508     CC=""
   19509   else
   19510     case $cross_compiling:$ac_tool_warned in
   19511 yes:)
   19512 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19513 whose name does not start with the host triplet.  If you think this
   19514 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19515 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19516 whose name does not start with the host triplet.  If you think this
   19517 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19518 ac_tool_warned=yes ;;
   19519 esac
   19520     CC=$ac_ct_CC
   19521   fi
   19522 else
   19523   CC="$ac_cv_prog_CC"
   19524 fi
   19525 
   19526 if test -z "$CC"; then
   19527           if test -n "$ac_tool_prefix"; then
   19528     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19529 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19532 if test "${ac_cv_prog_CC+set}" = set; then
   19533   echo $ECHO_N "(cached) $ECHO_C" >&6
   19534 else
   19535   if test -n "$CC"; then
   19536   ac_cv_prog_CC="$CC" # Let the user override the test.
   19537 else
   19538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19539 for as_dir in $PATH
   19540 do
   19541   IFS=$as_save_IFS
   19542   test -z "$as_dir" && as_dir=.
   19543   for ac_exec_ext in '' $ac_executable_extensions; do
   19544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19545     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19547     break 2
   19548   fi
   19549 done
   19550 done
   19551 IFS=$as_save_IFS
   19552 
   19553 fi
   19554 fi
   19555 CC=$ac_cv_prog_CC
   19556 if test -n "$CC"; then
   19557   { echo "$as_me:$LINENO: result: $CC" >&5
   19558 echo "${ECHO_T}$CC" >&6; }
   19559 else
   19560   { echo "$as_me:$LINENO: result: no" >&5
   19561 echo "${ECHO_T}no" >&6; }
   19562 fi
   19563 
   19564 
   19565   fi
   19566 fi
   19567 if test -z "$CC"; then
   19568   # Extract the first word of "cc", so it can be a program name with args.
   19569 set dummy cc; ac_word=$2
   19570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19572 if test "${ac_cv_prog_CC+set}" = set; then
   19573   echo $ECHO_N "(cached) $ECHO_C" >&6
   19574 else
   19575   if test -n "$CC"; then
   19576   ac_cv_prog_CC="$CC" # Let the user override the test.
   19577 else
   19578   ac_prog_rejected=no
   19579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19580 for as_dir in $PATH
   19581 do
   19582   IFS=$as_save_IFS
   19583   test -z "$as_dir" && as_dir=.
   19584   for ac_exec_ext in '' $ac_executable_extensions; do
   19585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19586     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19587        ac_prog_rejected=yes
   19588        continue
   19589      fi
   19590     ac_cv_prog_CC="cc"
   19591     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19592     break 2
   19593   fi
   19594 done
   19595 done
   19596 IFS=$as_save_IFS
   19597 
   19598 if test $ac_prog_rejected = yes; then
   19599   # We found a bogon in the path, so make sure we never use it.
   19600   set dummy $ac_cv_prog_CC
   19601   shift
   19602   if test $# != 0; then
   19603     # We chose a different compiler from the bogus one.
   19604     # However, it has the same basename, so the bogon will be chosen
   19605     # first if we set CC to just the basename; use the full file name.
   19606     shift
   19607     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   19608   fi
   19609 fi
   19610 fi
   19611 fi
   19612 CC=$ac_cv_prog_CC
   19613 if test -n "$CC"; then
   19614   { echo "$as_me:$LINENO: result: $CC" >&5
   19615 echo "${ECHO_T}$CC" >&6; }
   19616 else
   19617   { echo "$as_me:$LINENO: result: no" >&5
   19618 echo "${ECHO_T}no" >&6; }
   19619 fi
   19620 
   19621 
   19622 fi
   19623 if test -z "$CC"; then
   19624   if test -n "$ac_tool_prefix"; then
   19625   for ac_prog in cl.exe
   19626   do
   19627     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19631 if test "${ac_cv_prog_CC+set}" = set; then
   19632   echo $ECHO_N "(cached) $ECHO_C" >&6
   19633 else
   19634   if test -n "$CC"; then
   19635   ac_cv_prog_CC="$CC" # Let the user override the test.
   19636 else
   19637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19638 for as_dir in $PATH
   19639 do
   19640   IFS=$as_save_IFS
   19641   test -z "$as_dir" && as_dir=.
   19642   for ac_exec_ext in '' $ac_executable_extensions; do
   19643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19644     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19645     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19646     break 2
   19647   fi
   19648 done
   19649 done
   19650 IFS=$as_save_IFS
   19651 
   19652 fi
   19653 fi
   19654 CC=$ac_cv_prog_CC
   19655 if test -n "$CC"; then
   19656   { echo "$as_me:$LINENO: result: $CC" >&5
   19657 echo "${ECHO_T}$CC" >&6; }
   19658 else
   19659   { echo "$as_me:$LINENO: result: no" >&5
   19660 echo "${ECHO_T}no" >&6; }
   19661 fi
   19662 
   19663 
   19664     test -n "$CC" && break
   19665   done
   19666 fi
   19667 if test -z "$CC"; then
   19668   ac_ct_CC=$CC
   19669   for ac_prog in cl.exe
   19670 do
   19671   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19672 set dummy $ac_prog; ac_word=$2
   19673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19676   echo $ECHO_N "(cached) $ECHO_C" >&6
   19677 else
   19678   if test -n "$ac_ct_CC"; then
   19679   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19680 else
   19681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19682 for as_dir in $PATH
   19683 do
   19684   IFS=$as_save_IFS
   19685   test -z "$as_dir" && as_dir=.
   19686   for ac_exec_ext in '' $ac_executable_extensions; do
   19687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19688     ac_cv_prog_ac_ct_CC="$ac_prog"
   19689     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19690     break 2
   19691   fi
   19692 done
   19693 done
   19694 IFS=$as_save_IFS
   19695 
   19696 fi
   19697 fi
   19698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19699 if test -n "$ac_ct_CC"; then
   19700   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19701 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19702 else
   19703   { echo "$as_me:$LINENO: result: no" >&5
   19704 echo "${ECHO_T}no" >&6; }
   19705 fi
   19706 
   19707 
   19708   test -n "$ac_ct_CC" && break
   19709 done
   19710 
   19711   if test "x$ac_ct_CC" = x; then
   19712     CC=""
   19713   else
   19714     case $cross_compiling:$ac_tool_warned in
   19715 yes:)
   19716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19717 whose name does not start with the host triplet.  If you think this
   19718 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19720 whose name does not start with the host triplet.  If you think this
   19721 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19722 ac_tool_warned=yes ;;
   19723 esac
   19724     CC=$ac_ct_CC
   19725   fi
   19726 fi
   19727 
   19728 fi
   19729 
   19730 
   19731 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   19732 See \`config.log' for more details." >&5
   19733 echo "$as_me: error: no acceptable C compiler found in \$PATH
   19734 See \`config.log' for more details." >&2;}
   19735    { (exit 1); exit 1; }; }
   19736 
   19737 # Provide some information about the compiler.
   19738 echo "$as_me:$LINENO: checking for C compiler version" >&5
   19739 ac_compiler=`set X $ac_compile; echo $2`
   19740 { (ac_try="$ac_compiler --version >&5"
   19741 case "(($ac_try" in
   19742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19743   *) ac_try_echo=$ac_try;;
   19744 esac
   19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19746   (eval "$ac_compiler --version >&5") 2>&5
   19747   ac_status=$?
   19748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19749   (exit $ac_status); }
   19750 { (ac_try="$ac_compiler -v >&5"
   19751 case "(($ac_try" in
   19752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19753   *) ac_try_echo=$ac_try;;
   19754 esac
   19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19756   (eval "$ac_compiler -v >&5") 2>&5
   19757   ac_status=$?
   19758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19759   (exit $ac_status); }
   19760 { (ac_try="$ac_compiler -V >&5"
   19761 case "(($ac_try" in
   19762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19763   *) ac_try_echo=$ac_try;;
   19764 esac
   19765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19766   (eval "$ac_compiler -V >&5") 2>&5
   19767   ac_status=$?
   19768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19769   (exit $ac_status); }
   19770 
   19771 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19772 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   19773 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19774   echo $ECHO_N "(cached) $ECHO_C" >&6
   19775 else
   19776   cat >conftest.$ac_ext <<_ACEOF
   19777 /* confdefs.h.  */
   19778 _ACEOF
   19779 cat confdefs.h >>conftest.$ac_ext
   19780 cat >>conftest.$ac_ext <<_ACEOF
   19781 /* end confdefs.h.  */
   19782 
   19783 int
   19784 main ()
   19785 {
   19786 #ifndef __GNUC__
   19787        choke me
   19788 #endif
   19789 
   19790   ;
   19791   return 0;
   19792 }
   19793 _ACEOF
   19794 rm -f conftest.$ac_objext
   19795 if { (ac_try="$ac_compile"
   19796 case "(($ac_try" in
   19797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19798   *) ac_try_echo=$ac_try;;
   19799 esac
   19800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19801   (eval "$ac_compile") 2>conftest.er1
   19802   ac_status=$?
   19803   grep -v '^ *+' conftest.er1 >conftest.err
   19804   rm -f conftest.er1
   19805   cat conftest.err >&5
   19806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19807   (exit $ac_status); } && {
   19808 	 test -z "$ac_c_werror_flag" ||
   19809 	 test ! -s conftest.err
   19810        } && test -s conftest.$ac_objext; then
   19811   ac_compiler_gnu=yes
   19812 else
   19813   echo "$as_me: failed program was:" >&5
   19814 sed 's/^/| /' conftest.$ac_ext >&5
   19815 
   19816 	ac_compiler_gnu=no
   19817 fi
   19818 
   19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19820 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19821 
   19822 fi
   19823 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19824 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   19825 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19826 ac_test_CFLAGS=${CFLAGS+set}
   19827 ac_save_CFLAGS=$CFLAGS
   19828 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19829 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   19830 if test "${ac_cv_prog_cc_g+set}" = set; then
   19831   echo $ECHO_N "(cached) $ECHO_C" >&6
   19832 else
   19833   ac_save_c_werror_flag=$ac_c_werror_flag
   19834    ac_c_werror_flag=yes
   19835    ac_cv_prog_cc_g=no
   19836    CFLAGS="-g"
   19837    cat >conftest.$ac_ext <<_ACEOF
   19838 /* confdefs.h.  */
   19839 _ACEOF
   19840 cat confdefs.h >>conftest.$ac_ext
   19841 cat >>conftest.$ac_ext <<_ACEOF
   19842 /* end confdefs.h.  */
   19843 
   19844 int
   19845 main ()
   19846 {
   19847 
   19848   ;
   19849   return 0;
   19850 }
   19851 _ACEOF
   19852 rm -f conftest.$ac_objext
   19853 if { (ac_try="$ac_compile"
   19854 case "(($ac_try" in
   19855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19856   *) ac_try_echo=$ac_try;;
   19857 esac
   19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19859   (eval "$ac_compile") 2>conftest.er1
   19860   ac_status=$?
   19861   grep -v '^ *+' conftest.er1 >conftest.err
   19862   rm -f conftest.er1
   19863   cat conftest.err >&5
   19864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19865   (exit $ac_status); } && {
   19866 	 test -z "$ac_c_werror_flag" ||
   19867 	 test ! -s conftest.err
   19868        } && test -s conftest.$ac_objext; then
   19869   ac_cv_prog_cc_g=yes
   19870 else
   19871   echo "$as_me: failed program was:" >&5
   19872 sed 's/^/| /' conftest.$ac_ext >&5
   19873 
   19874 	CFLAGS=""
   19875       cat >conftest.$ac_ext <<_ACEOF
   19876 /* confdefs.h.  */
   19877 _ACEOF
   19878 cat confdefs.h >>conftest.$ac_ext
   19879 cat >>conftest.$ac_ext <<_ACEOF
   19880 /* end confdefs.h.  */
   19881 
   19882 int
   19883 main ()
   19884 {
   19885 
   19886   ;
   19887   return 0;
   19888 }
   19889 _ACEOF
   19890 rm -f conftest.$ac_objext
   19891 if { (ac_try="$ac_compile"
   19892 case "(($ac_try" in
   19893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19894   *) ac_try_echo=$ac_try;;
   19895 esac
   19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19897   (eval "$ac_compile") 2>conftest.er1
   19898   ac_status=$?
   19899   grep -v '^ *+' conftest.er1 >conftest.err
   19900   rm -f conftest.er1
   19901   cat conftest.err >&5
   19902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19903   (exit $ac_status); } && {
   19904 	 test -z "$ac_c_werror_flag" ||
   19905 	 test ! -s conftest.err
   19906        } && test -s conftest.$ac_objext; then
   19907   :
   19908 else
   19909   echo "$as_me: failed program was:" >&5
   19910 sed 's/^/| /' conftest.$ac_ext >&5
   19911 
   19912 	ac_c_werror_flag=$ac_save_c_werror_flag
   19913 	 CFLAGS="-g"
   19914 	 cat >conftest.$ac_ext <<_ACEOF
   19915 /* confdefs.h.  */
   19916 _ACEOF
   19917 cat confdefs.h >>conftest.$ac_ext
   19918 cat >>conftest.$ac_ext <<_ACEOF
   19919 /* end confdefs.h.  */
   19920 
   19921 int
   19922 main ()
   19923 {
   19924 
   19925   ;
   19926   return 0;
   19927 }
   19928 _ACEOF
   19929 rm -f conftest.$ac_objext
   19930 if { (ac_try="$ac_compile"
   19931 case "(($ac_try" in
   19932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19933   *) ac_try_echo=$ac_try;;
   19934 esac
   19935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19936   (eval "$ac_compile") 2>conftest.er1
   19937   ac_status=$?
   19938   grep -v '^ *+' conftest.er1 >conftest.err
   19939   rm -f conftest.er1
   19940   cat conftest.err >&5
   19941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19942   (exit $ac_status); } && {
   19943 	 test -z "$ac_c_werror_flag" ||
   19944 	 test ! -s conftest.err
   19945        } && test -s conftest.$ac_objext; then
   19946   ac_cv_prog_cc_g=yes
   19947 else
   19948   echo "$as_me: failed program was:" >&5
   19949 sed 's/^/| /' conftest.$ac_ext >&5
   19950 
   19951 
   19952 fi
   19953 
   19954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19955 fi
   19956 
   19957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19958 fi
   19959 
   19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19961    ac_c_werror_flag=$ac_save_c_werror_flag
   19962 fi
   19963 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19964 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   19965 if test "$ac_test_CFLAGS" = set; then
   19966   CFLAGS=$ac_save_CFLAGS
   19967 elif test $ac_cv_prog_cc_g = yes; then
   19968   if test "$GCC" = yes; then
   19969     CFLAGS="-g -O2"
   19970   else
   19971     CFLAGS="-g"
   19972   fi
   19973 else
   19974   if test "$GCC" = yes; then
   19975     CFLAGS="-O2"
   19976   else
   19977     CFLAGS=
   19978   fi
   19979 fi
   19980 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   19981 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   19982 if test "${ac_cv_prog_cc_c89+set}" = set; then
   19983   echo $ECHO_N "(cached) $ECHO_C" >&6
   19984 else
   19985   ac_cv_prog_cc_c89=no
   19986 ac_save_CC=$CC
   19987 cat >conftest.$ac_ext <<_ACEOF
   19988 /* confdefs.h.  */
   19989 _ACEOF
   19990 cat confdefs.h >>conftest.$ac_ext
   19991 cat >>conftest.$ac_ext <<_ACEOF
   19992 /* end confdefs.h.  */
   19993 #include <stdarg.h>
   19994 #include <stdio.h>
   19995 #include <sys/types.h>
   19996 #include <sys/stat.h>
   19997 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   19998 struct buf { int x; };
   19999 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20000 static char *e (p, i)
   20001      char **p;
   20002      int i;
   20003 {
   20004   return p[i];
   20005 }
   20006 static char *f (char * (*g) (char **, int), char **p, ...)
   20007 {
   20008   char *s;
   20009   va_list v;
   20010   va_start (v,p);
   20011   s = g (p, va_arg (v,int));
   20012   va_end (v);
   20013   return s;
   20014 }
   20015 
   20016 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20017    function prototypes and stuff, but not '\xHH' hex character constants.
   20018    These don't provoke an error unfortunately, instead are silently treated
   20019    as 'x'.  The following induces an error, until -std is added to get
   20020    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20021    array size at least.  It's necessary to write '\x00'==0 to get something
   20022    that's true only with -std.  */
   20023 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20024 
   20025 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20026    inside strings and character constants.  */
   20027 #define FOO(x) 'x'
   20028 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20029 
   20030 int test (int i, double x);
   20031 struct s1 {int (*f) (int a);};
   20032 struct s2 {int (*f) (double a);};
   20033 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20034 int argc;
   20035 char **argv;
   20036 int
   20037 main ()
   20038 {
   20039 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20040   ;
   20041   return 0;
   20042 }
   20043 _ACEOF
   20044 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20045 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20046 do
   20047   CC="$ac_save_CC $ac_arg"
   20048   rm -f conftest.$ac_objext
   20049 if { (ac_try="$ac_compile"
   20050 case "(($ac_try" in
   20051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20052   *) ac_try_echo=$ac_try;;
   20053 esac
   20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20055   (eval "$ac_compile") 2>conftest.er1
   20056   ac_status=$?
   20057   grep -v '^ *+' conftest.er1 >conftest.err
   20058   rm -f conftest.er1
   20059   cat conftest.err >&5
   20060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20061   (exit $ac_status); } && {
   20062 	 test -z "$ac_c_werror_flag" ||
   20063 	 test ! -s conftest.err
   20064        } && test -s conftest.$ac_objext; then
   20065   ac_cv_prog_cc_c89=$ac_arg
   20066 else
   20067   echo "$as_me: failed program was:" >&5
   20068 sed 's/^/| /' conftest.$ac_ext >&5
   20069 
   20070 
   20071 fi
   20072 
   20073 rm -f core conftest.err conftest.$ac_objext
   20074   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20075 done
   20076 rm -f conftest.$ac_ext
   20077 CC=$ac_save_CC
   20078 
   20079 fi
   20080 # AC_CACHE_VAL
   20081 case "x$ac_cv_prog_cc_c89" in
   20082   x)
   20083     { echo "$as_me:$LINENO: result: none needed" >&5
   20084 echo "${ECHO_T}none needed" >&6; } ;;
   20085   xno)
   20086     { echo "$as_me:$LINENO: result: unsupported" >&5
   20087 echo "${ECHO_T}unsupported" >&6; } ;;
   20088   *)
   20089     CC="$CC $ac_cv_prog_cc_c89"
   20090     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20091 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   20092 esac
   20093 
   20094 
   20095 ac_ext=c
   20096 ac_cpp='$CPP $CPPFLAGS'
   20097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20100 
   20101 depcc="$CC"   am_compiler_list=
   20102 
   20103 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20104 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   20105 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20106   echo $ECHO_N "(cached) $ECHO_C" >&6
   20107 else
   20108   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20109   # We make a subdir and do the tests there.  Otherwise we can end up
   20110   # making bogus files that we don't know about and never remove.  For
   20111   # instance it was reported that on HP-UX the gcc test will end up
   20112   # making a dummy file named `D' -- because `-MD' means `put the output
   20113   # in D'.
   20114   mkdir conftest.dir
   20115   # Copy depcomp to subdir because otherwise we won't find it if we're
   20116   # using a relative directory.
   20117   cp "$am_depcomp" conftest.dir
   20118   cd conftest.dir
   20119   # We will build objects and dependencies in a subdirectory because
   20120   # it helps to detect inapplicable dependency modes.  For instance
   20121   # both Tru64's cc and ICC support -MD to output dependencies as a
   20122   # side effect of compilation, but ICC will put the dependencies in
   20123   # the current directory while Tru64 will put them in the object
   20124   # directory.
   20125   mkdir sub
   20126 
   20127   am_cv_CC_dependencies_compiler_type=none
   20128   if test "$am_compiler_list" = ""; then
   20129      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20130   fi
   20131   for depmode in $am_compiler_list; do
   20132     # Setup a source with many dependencies, because some compilers
   20133     # like to wrap large dependency lists on column 80 (with \), and
   20134     # we should not choose a depcomp mode which is confused by this.
   20135     #
   20136     # We need to recreate these files for each test, as the compiler may
   20137     # overwrite some of them when testing with obscure command lines.
   20138     # This happens at least with the AIX C compiler.
   20139     : > sub/conftest.c
   20140     for i in 1 2 3 4 5 6; do
   20141       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20142       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20143       # Solaris 8's {/usr,}/bin/sh.
   20144       touch sub/conftst$i.h
   20145     done
   20146     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20147 
   20148     case $depmode in
   20149     nosideeffect)
   20150       # after this tag, mechanisms are not by side-effect, so they'll
   20151       # only be used when explicitly requested
   20152       if test "x$enable_dependency_tracking" = xyes; then
   20153 	continue
   20154       else
   20155 	break
   20156       fi
   20157       ;;
   20158     none) break ;;
   20159     esac
   20160     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20161     # mode.  It turns out that the SunPro C++ compiler does not properly
   20162     # handle `-M -o', and we need to detect this.
   20163     if depmode=$depmode \
   20164        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20165        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20166        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20167          >/dev/null 2>conftest.err &&
   20168        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20169        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20170        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20171        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20172       # icc doesn't choke on unknown options, it will just issue warnings
   20173       # or remarks (even with -Werror).  So we grep stderr for any message
   20174       # that says an option was ignored or not supported.
   20175       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20176       #   icc: Command line warning: ignoring option '-M'; no argument required
   20177       # The diagnosis changed in icc 8.0:
   20178       #   icc: Command line remark: option '-MP' not supported
   20179       if (grep 'ignoring option' conftest.err ||
   20180           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20181         am_cv_CC_dependencies_compiler_type=$depmode
   20182         break
   20183       fi
   20184     fi
   20185   done
   20186 
   20187   cd ..
   20188   rm -rf conftest.dir
   20189 else
   20190   am_cv_CC_dependencies_compiler_type=none
   20191 fi
   20192 
   20193 fi
   20194 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20195 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20196 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20197 
   20198  if
   20199   test "x$enable_dependency_tracking" != xno \
   20200   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20201   am__fastdepCC_TRUE=
   20202   am__fastdepCC_FALSE='#'
   20203 else
   20204   am__fastdepCC_TRUE='#'
   20205   am__fastdepCC_FALSE=
   20206 fi
   20207 
   20208 
   20209 
   20210 if test "x$GCC" = "xyes"; then
   20211 	CPPFLAGS="$CPPFLAGS -Wall"
   20212 fi
   20213 
   20214 
   20215 
   20216 
   20217 
   20218 # Check whether --with-xorg-module-dir was given.
   20219 if test "${with_xorg_module_dir+set}" = set; then
   20220   withval=$with_xorg_module_dir; moduledir="$withval"
   20221 else
   20222   moduledir="$libdir/xorg/modules"
   20223 fi
   20224 
   20225 
   20226 # Check whether --enable-dri was given.
   20227 if test "${enable_dri+set}" = set; then
   20228   enableval=$enable_dri; DRI="$enableval"
   20229 else
   20230   DRI=auto
   20231 fi
   20232 
   20233 
   20234 # Checks for extensions
   20235 
   20236 	SAVE_CFLAGS="$CFLAGS"
   20237 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20238 	cat >conftest.$ac_ext <<_ACEOF
   20239 /* confdefs.h.  */
   20240 _ACEOF
   20241 cat confdefs.h >>conftest.$ac_ext
   20242 cat >>conftest.$ac_ext <<_ACEOF
   20243 /* end confdefs.h.  */
   20244 
   20245 #include "xorg-server.h"
   20246 #if !defined XINERAMA
   20247 #error XINERAMA not defined
   20248 #endif
   20249 
   20250 int
   20251 main ()
   20252 {
   20253 
   20254   ;
   20255   return 0;
   20256 }
   20257 _ACEOF
   20258 rm -f conftest.$ac_objext
   20259 if { (ac_try="$ac_compile"
   20260 case "(($ac_try" in
   20261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20262   *) ac_try_echo=$ac_try;;
   20263 esac
   20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20265   (eval "$ac_compile") 2>conftest.er1
   20266   ac_status=$?
   20267   grep -v '^ *+' conftest.er1 >conftest.err
   20268   rm -f conftest.er1
   20269   cat conftest.err >&5
   20270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20271   (exit $ac_status); } && {
   20272 	 test -z "$ac_c_werror_flag" ||
   20273 	 test ! -s conftest.err
   20274        } && test -s conftest.$ac_objext; then
   20275   _EXT_CHECK=yes
   20276 else
   20277   echo "$as_me: failed program was:" >&5
   20278 sed 's/^/| /' conftest.$ac_ext >&5
   20279 
   20280 	_EXT_CHECK=no
   20281 fi
   20282 
   20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20284 	CFLAGS="$SAVE_CFLAGS"
   20285 	{ echo "$as_me:$LINENO: checking if XINERAMA is defined" >&5
   20286 echo $ECHO_N "checking if XINERAMA is defined... $ECHO_C" >&6; }
   20287 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20288 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20289 	if test "$_EXT_CHECK" != no; then
   20290 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   20291 	fi
   20292 
   20293 
   20294 	SAVE_CFLAGS="$CFLAGS"
   20295 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20296 	cat >conftest.$ac_ext <<_ACEOF
   20297 /* confdefs.h.  */
   20298 _ACEOF
   20299 cat confdefs.h >>conftest.$ac_ext
   20300 cat >>conftest.$ac_ext <<_ACEOF
   20301 /* end confdefs.h.  */
   20302 
   20303 #include "xorg-server.h"
   20304 #if !defined RANDR
   20305 #error RANDR not defined
   20306 #endif
   20307 
   20308 int
   20309 main ()
   20310 {
   20311 
   20312   ;
   20313   return 0;
   20314 }
   20315 _ACEOF
   20316 rm -f conftest.$ac_objext
   20317 if { (ac_try="$ac_compile"
   20318 case "(($ac_try" in
   20319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20320   *) ac_try_echo=$ac_try;;
   20321 esac
   20322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20323   (eval "$ac_compile") 2>conftest.er1
   20324   ac_status=$?
   20325   grep -v '^ *+' conftest.er1 >conftest.err
   20326   rm -f conftest.er1
   20327   cat conftest.err >&5
   20328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20329   (exit $ac_status); } && {
   20330 	 test -z "$ac_c_werror_flag" ||
   20331 	 test ! -s conftest.err
   20332        } && test -s conftest.$ac_objext; then
   20333   _EXT_CHECK=yes
   20334 else
   20335   echo "$as_me: failed program was:" >&5
   20336 sed 's/^/| /' conftest.$ac_ext >&5
   20337 
   20338 	_EXT_CHECK=no
   20339 fi
   20340 
   20341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20342 	CFLAGS="$SAVE_CFLAGS"
   20343 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20344 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20345 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20346 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20347 	if test "$_EXT_CHECK" != no; then
   20348 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20349 	fi
   20350 
   20351 
   20352 	SAVE_CFLAGS="$CFLAGS"
   20353 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20354 	cat >conftest.$ac_ext <<_ACEOF
   20355 /* confdefs.h.  */
   20356 _ACEOF
   20357 cat confdefs.h >>conftest.$ac_ext
   20358 cat >>conftest.$ac_ext <<_ACEOF
   20359 /* end confdefs.h.  */
   20360 
   20361 #include "xorg-server.h"
   20362 #if !defined RENDER
   20363 #error RENDER not defined
   20364 #endif
   20365 
   20366 int
   20367 main ()
   20368 {
   20369 
   20370   ;
   20371   return 0;
   20372 }
   20373 _ACEOF
   20374 rm -f conftest.$ac_objext
   20375 if { (ac_try="$ac_compile"
   20376 case "(($ac_try" in
   20377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20378   *) ac_try_echo=$ac_try;;
   20379 esac
   20380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20381   (eval "$ac_compile") 2>conftest.er1
   20382   ac_status=$?
   20383   grep -v '^ *+' conftest.er1 >conftest.err
   20384   rm -f conftest.er1
   20385   cat conftest.err >&5
   20386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20387   (exit $ac_status); } && {
   20388 	 test -z "$ac_c_werror_flag" ||
   20389 	 test ! -s conftest.err
   20390        } && test -s conftest.$ac_objext; then
   20391   _EXT_CHECK=yes
   20392 else
   20393   echo "$as_me: failed program was:" >&5
   20394 sed 's/^/| /' conftest.$ac_ext >&5
   20395 
   20396 	_EXT_CHECK=no
   20397 fi
   20398 
   20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20400 	CFLAGS="$SAVE_CFLAGS"
   20401 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20402 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20403 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20404 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20405 	if test "$_EXT_CHECK" != no; then
   20406 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20407 	fi
   20408 
   20409 
   20410 	SAVE_CFLAGS="$CFLAGS"
   20411 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20412 	cat >conftest.$ac_ext <<_ACEOF
   20413 /* confdefs.h.  */
   20414 _ACEOF
   20415 cat confdefs.h >>conftest.$ac_ext
   20416 cat >>conftest.$ac_ext <<_ACEOF
   20417 /* end confdefs.h.  */
   20418 
   20419 #include "xorg-server.h"
   20420 #if !defined XV
   20421 #error XV not defined
   20422 #endif
   20423 
   20424 int
   20425 main ()
   20426 {
   20427 
   20428   ;
   20429   return 0;
   20430 }
   20431 _ACEOF
   20432 rm -f conftest.$ac_objext
   20433 if { (ac_try="$ac_compile"
   20434 case "(($ac_try" in
   20435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20436   *) ac_try_echo=$ac_try;;
   20437 esac
   20438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20439   (eval "$ac_compile") 2>conftest.er1
   20440   ac_status=$?
   20441   grep -v '^ *+' conftest.er1 >conftest.err
   20442   rm -f conftest.er1
   20443   cat conftest.err >&5
   20444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20445   (exit $ac_status); } && {
   20446 	 test -z "$ac_c_werror_flag" ||
   20447 	 test ! -s conftest.err
   20448        } && test -s conftest.$ac_objext; then
   20449   _EXT_CHECK=yes
   20450 else
   20451   echo "$as_me: failed program was:" >&5
   20452 sed 's/^/| /' conftest.$ac_ext >&5
   20453 
   20454 	_EXT_CHECK=no
   20455 fi
   20456 
   20457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20458 	CFLAGS="$SAVE_CFLAGS"
   20459 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   20460 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   20461 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20462 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20463 	if test "$_EXT_CHECK" != no; then
   20464 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20465 	fi
   20466 
   20467 
   20468 	SAVE_CFLAGS="$CFLAGS"
   20469 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20470 	cat >conftest.$ac_ext <<_ACEOF
   20471 /* confdefs.h.  */
   20472 _ACEOF
   20473 cat confdefs.h >>conftest.$ac_ext
   20474 cat >>conftest.$ac_ext <<_ACEOF
   20475 /* end confdefs.h.  */
   20476 
   20477 #include "xorg-server.h"
   20478 #if !defined XF86MISC
   20479 #error XF86MISC not defined
   20480 #endif
   20481 
   20482 int
   20483 main ()
   20484 {
   20485 
   20486   ;
   20487   return 0;
   20488 }
   20489 _ACEOF
   20490 rm -f conftest.$ac_objext
   20491 if { (ac_try="$ac_compile"
   20492 case "(($ac_try" in
   20493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20494   *) ac_try_echo=$ac_try;;
   20495 esac
   20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20497   (eval "$ac_compile") 2>conftest.er1
   20498   ac_status=$?
   20499   grep -v '^ *+' conftest.er1 >conftest.err
   20500   rm -f conftest.er1
   20501   cat conftest.err >&5
   20502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20503   (exit $ac_status); } && {
   20504 	 test -z "$ac_c_werror_flag" ||
   20505 	 test ! -s conftest.err
   20506        } && test -s conftest.$ac_objext; then
   20507   _EXT_CHECK=yes
   20508 else
   20509   echo "$as_me: failed program was:" >&5
   20510 sed 's/^/| /' conftest.$ac_ext >&5
   20511 
   20512 	_EXT_CHECK=no
   20513 fi
   20514 
   20515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20516 	CFLAGS="$SAVE_CFLAGS"
   20517 	{ echo "$as_me:$LINENO: checking if XF86MISC is defined" >&5
   20518 echo $ECHO_N "checking if XF86MISC is defined... $ECHO_C" >&6; }
   20519 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20520 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20521 	if test "$_EXT_CHECK" != no; then
   20522 		REQUIRED_MODULES="$REQUIRED_MODULES xf86miscproto"
   20523 	fi
   20524 
   20525 
   20526 	SAVE_CFLAGS="$CFLAGS"
   20527 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20528 	cat >conftest.$ac_ext <<_ACEOF
   20529 /* confdefs.h.  */
   20530 _ACEOF
   20531 cat confdefs.h >>conftest.$ac_ext
   20532 cat >>conftest.$ac_ext <<_ACEOF
   20533 /* end confdefs.h.  */
   20534 
   20535 #include "xorg-server.h"
   20536 #if !defined DPMSExtension
   20537 #error DPMSExtension not defined
   20538 #endif
   20539 
   20540 int
   20541 main ()
   20542 {
   20543 
   20544   ;
   20545   return 0;
   20546 }
   20547 _ACEOF
   20548 rm -f conftest.$ac_objext
   20549 if { (ac_try="$ac_compile"
   20550 case "(($ac_try" in
   20551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20552   *) ac_try_echo=$ac_try;;
   20553 esac
   20554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20555   (eval "$ac_compile") 2>conftest.er1
   20556   ac_status=$?
   20557   grep -v '^ *+' conftest.er1 >conftest.err
   20558   rm -f conftest.er1
   20559   cat conftest.err >&5
   20560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20561   (exit $ac_status); } && {
   20562 	 test -z "$ac_c_werror_flag" ||
   20563 	 test ! -s conftest.err
   20564        } && test -s conftest.$ac_objext; then
   20565   _EXT_CHECK=yes
   20566 else
   20567   echo "$as_me: failed program was:" >&5
   20568 sed 's/^/| /' conftest.$ac_ext >&5
   20569 
   20570 	_EXT_CHECK=no
   20571 fi
   20572 
   20573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20574 	CFLAGS="$SAVE_CFLAGS"
   20575 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   20576 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   20577 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20578 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20579 	if test "$_EXT_CHECK" != no; then
   20580 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20581 	fi
   20582 
   20583 
   20584 # Checks for pkg-config packages
   20585 
   20586 
   20587 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20588 	if test -n "$ac_tool_prefix"; then
   20589   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20590 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20593 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20594   echo $ECHO_N "(cached) $ECHO_C" >&6
   20595 else
   20596   case $PKG_CONFIG in
   20597   [\\/]* | ?:[\\/]*)
   20598   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20599   ;;
   20600   *)
   20601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20602 for as_dir in $PATH
   20603 do
   20604   IFS=$as_save_IFS
   20605   test -z "$as_dir" && as_dir=.
   20606   for ac_exec_ext in '' $ac_executable_extensions; do
   20607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20608     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20610     break 2
   20611   fi
   20612 done
   20613 done
   20614 IFS=$as_save_IFS
   20615 
   20616   ;;
   20617 esac
   20618 fi
   20619 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20620 if test -n "$PKG_CONFIG"; then
   20621   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20622 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20623 else
   20624   { echo "$as_me:$LINENO: result: no" >&5
   20625 echo "${ECHO_T}no" >&6; }
   20626 fi
   20627 
   20628 
   20629 fi
   20630 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20631   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20632   # Extract the first word of "pkg-config", so it can be a program name with args.
   20633 set dummy pkg-config; ac_word=$2
   20634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20636 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20637   echo $ECHO_N "(cached) $ECHO_C" >&6
   20638 else
   20639   case $ac_pt_PKG_CONFIG in
   20640   [\\/]* | ?:[\\/]*)
   20641   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20642   ;;
   20643   *)
   20644   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20645 for as_dir in $PATH
   20646 do
   20647   IFS=$as_save_IFS
   20648   test -z "$as_dir" && as_dir=.
   20649   for ac_exec_ext in '' $ac_executable_extensions; do
   20650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20651     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20652     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20653     break 2
   20654   fi
   20655 done
   20656 done
   20657 IFS=$as_save_IFS
   20658 
   20659   ;;
   20660 esac
   20661 fi
   20662 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20663 if test -n "$ac_pt_PKG_CONFIG"; then
   20664   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20665 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20666 else
   20667   { echo "$as_me:$LINENO: result: no" >&5
   20668 echo "${ECHO_T}no" >&6; }
   20669 fi
   20670 
   20671   if test "x$ac_pt_PKG_CONFIG" = x; then
   20672     PKG_CONFIG=""
   20673   else
   20674     case $cross_compiling:$ac_tool_warned in
   20675 yes:)
   20676 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20677 whose name does not start with the host triplet.  If you think this
   20678 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20679 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20680 whose name does not start with the host triplet.  If you think this
   20681 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20682 ac_tool_warned=yes ;;
   20683 esac
   20684     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20685   fi
   20686 else
   20687   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20688 fi
   20689 
   20690 fi
   20691 if test -n "$PKG_CONFIG"; then
   20692 	_pkg_min_version=0.9.0
   20693 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20694 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20695 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20696 		{ echo "$as_me:$LINENO: result: yes" >&5
   20697 echo "${ECHO_T}yes" >&6; }
   20698 	else
   20699 		{ echo "$as_me:$LINENO: result: no" >&5
   20700 echo "${ECHO_T}no" >&6; }
   20701 		PKG_CONFIG=""
   20702 	fi
   20703 
   20704 fi
   20705 
   20706 pkg_failed=no
   20707 { echo "$as_me:$LINENO: checking for XORG" >&5
   20708 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   20709 
   20710 if test -n "$XORG_CFLAGS"; then
   20711     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20712  elif test -n "$PKG_CONFIG"; then
   20713     if test -n "$PKG_CONFIG" && \
   20714     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20715   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20716   ac_status=$?
   20717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20718   (exit $ac_status); }; then
   20719   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20720 else
   20721   pkg_failed=yes
   20722 fi
   20723  else
   20724     pkg_failed=untried
   20725 fi
   20726 if test -n "$XORG_LIBS"; then
   20727     pkg_cv_XORG_LIBS="$XORG_LIBS"
   20728  elif test -n "$PKG_CONFIG"; then
   20729     if test -n "$PKG_CONFIG" && \
   20730     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20731   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20732   ac_status=$?
   20733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20734   (exit $ac_status); }; then
   20735   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20736 else
   20737   pkg_failed=yes
   20738 fi
   20739  else
   20740     pkg_failed=untried
   20741 fi
   20742 
   20743 
   20744 
   20745 if test $pkg_failed = yes; then
   20746 
   20747 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20748         _pkg_short_errors_supported=yes
   20749 else
   20750         _pkg_short_errors_supported=no
   20751 fi
   20752         if test $_pkg_short_errors_supported = yes; then
   20753 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20754         else
   20755 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20756         fi
   20757 	# Put the nasty error message in config.log where it belongs
   20758 	echo "$XORG_PKG_ERRORS" >&5
   20759 
   20760 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   20761 
   20762 $XORG_PKG_ERRORS
   20763 
   20764 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20765 installed software in a non-standard prefix.
   20766 
   20767 Alternatively, you may set the environment variables XORG_CFLAGS
   20768 and XORG_LIBS to avoid the need to call pkg-config.
   20769 See the pkg-config man page for more details.
   20770 " >&5
   20771 echo "$as_me: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   20772 
   20773 $XORG_PKG_ERRORS
   20774 
   20775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20776 installed software in a non-standard prefix.
   20777 
   20778 Alternatively, you may set the environment variables XORG_CFLAGS
   20779 and XORG_LIBS to avoid the need to call pkg-config.
   20780 See the pkg-config man page for more details.
   20781 " >&2;}
   20782    { (exit 1); exit 1; }; }
   20783 elif test $pkg_failed = untried; then
   20784 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20785 is in your PATH or set the PKG_CONFIG environment variable to the full
   20786 path to pkg-config.
   20787 
   20788 Alternatively, you may set the environment variables XORG_CFLAGS
   20789 and XORG_LIBS to avoid the need to call pkg-config.
   20790 See the pkg-config man page for more details.
   20791 
   20792 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20793 See \`config.log' for more details." >&5
   20794 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20795 is in your PATH or set the PKG_CONFIG environment variable to the full
   20796 path to pkg-config.
   20797 
   20798 Alternatively, you may set the environment variables XORG_CFLAGS
   20799 and XORG_LIBS to avoid the need to call pkg-config.
   20800 See the pkg-config man page for more details.
   20801 
   20802 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20803 See \`config.log' for more details." >&2;}
   20804    { (exit 1); exit 1; }; }
   20805 else
   20806 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20807 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20808         { echo "$as_me:$LINENO: result: yes" >&5
   20809 echo "${ECHO_T}yes" >&6; }
   20810 	:
   20811 fi
   20812 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   20813 
   20814 # Checks for libraries.
   20815 
   20816 # Checks for header files.
   20817 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20818 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   20819 if test "${ac_cv_header_stdc+set}" = set; then
   20820   echo $ECHO_N "(cached) $ECHO_C" >&6
   20821 else
   20822   cat >conftest.$ac_ext <<_ACEOF
   20823 /* confdefs.h.  */
   20824 _ACEOF
   20825 cat confdefs.h >>conftest.$ac_ext
   20826 cat >>conftest.$ac_ext <<_ACEOF
   20827 /* end confdefs.h.  */
   20828 #include <stdlib.h>
   20829 #include <stdarg.h>
   20830 #include <string.h>
   20831 #include <float.h>
   20832 
   20833 int
   20834 main ()
   20835 {
   20836 
   20837   ;
   20838   return 0;
   20839 }
   20840 _ACEOF
   20841 rm -f conftest.$ac_objext
   20842 if { (ac_try="$ac_compile"
   20843 case "(($ac_try" in
   20844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20845   *) ac_try_echo=$ac_try;;
   20846 esac
   20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20848   (eval "$ac_compile") 2>conftest.er1
   20849   ac_status=$?
   20850   grep -v '^ *+' conftest.er1 >conftest.err
   20851   rm -f conftest.er1
   20852   cat conftest.err >&5
   20853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20854   (exit $ac_status); } && {
   20855 	 test -z "$ac_c_werror_flag" ||
   20856 	 test ! -s conftest.err
   20857        } && test -s conftest.$ac_objext; then
   20858   ac_cv_header_stdc=yes
   20859 else
   20860   echo "$as_me: failed program was:" >&5
   20861 sed 's/^/| /' conftest.$ac_ext >&5
   20862 
   20863 	ac_cv_header_stdc=no
   20864 fi
   20865 
   20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20867 
   20868 if test $ac_cv_header_stdc = yes; then
   20869   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20870   cat >conftest.$ac_ext <<_ACEOF
   20871 /* confdefs.h.  */
   20872 _ACEOF
   20873 cat confdefs.h >>conftest.$ac_ext
   20874 cat >>conftest.$ac_ext <<_ACEOF
   20875 /* end confdefs.h.  */
   20876 #include <string.h>
   20877 
   20878 _ACEOF
   20879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20880   $EGREP "memchr" >/dev/null 2>&1; then
   20881   :
   20882 else
   20883   ac_cv_header_stdc=no
   20884 fi
   20885 rm -f conftest*
   20886 
   20887 fi
   20888 
   20889 if test $ac_cv_header_stdc = yes; then
   20890   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20891   cat >conftest.$ac_ext <<_ACEOF
   20892 /* confdefs.h.  */
   20893 _ACEOF
   20894 cat confdefs.h >>conftest.$ac_ext
   20895 cat >>conftest.$ac_ext <<_ACEOF
   20896 /* end confdefs.h.  */
   20897 #include <stdlib.h>
   20898 
   20899 _ACEOF
   20900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20901   $EGREP "free" >/dev/null 2>&1; then
   20902   :
   20903 else
   20904   ac_cv_header_stdc=no
   20905 fi
   20906 rm -f conftest*
   20907 
   20908 fi
   20909 
   20910 if test $ac_cv_header_stdc = yes; then
   20911   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20912   if test "$cross_compiling" = yes; then
   20913   :
   20914 else
   20915   cat >conftest.$ac_ext <<_ACEOF
   20916 /* confdefs.h.  */
   20917 _ACEOF
   20918 cat confdefs.h >>conftest.$ac_ext
   20919 cat >>conftest.$ac_ext <<_ACEOF
   20920 /* end confdefs.h.  */
   20921 #include <ctype.h>
   20922 #include <stdlib.h>
   20923 #if ((' ' & 0x0FF) == 0x020)
   20924 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20925 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20926 #else
   20927 # define ISLOWER(c) \
   20928 		   (('a' <= (c) && (c) <= 'i') \
   20929 		     || ('j' <= (c) && (c) <= 'r') \
   20930 		     || ('s' <= (c) && (c) <= 'z'))
   20931 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20932 #endif
   20933 
   20934 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20935 int
   20936 main ()
   20937 {
   20938   int i;
   20939   for (i = 0; i < 256; i++)
   20940     if (XOR (islower (i), ISLOWER (i))
   20941 	|| toupper (i) != TOUPPER (i))
   20942       return 2;
   20943   return 0;
   20944 }
   20945 _ACEOF
   20946 rm -f conftest$ac_exeext
   20947 if { (ac_try="$ac_link"
   20948 case "(($ac_try" in
   20949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20950   *) ac_try_echo=$ac_try;;
   20951 esac
   20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20953   (eval "$ac_link") 2>&5
   20954   ac_status=$?
   20955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20956   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20957   { (case "(($ac_try" in
   20958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20959   *) ac_try_echo=$ac_try;;
   20960 esac
   20961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20962   (eval "$ac_try") 2>&5
   20963   ac_status=$?
   20964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20965   (exit $ac_status); }; }; then
   20966   :
   20967 else
   20968   echo "$as_me: program exited with status $ac_status" >&5
   20969 echo "$as_me: failed program was:" >&5
   20970 sed 's/^/| /' conftest.$ac_ext >&5
   20971 
   20972 ( exit $ac_status )
   20973 ac_cv_header_stdc=no
   20974 fi
   20975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20976 fi
   20977 
   20978 
   20979 fi
   20980 fi
   20981 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20982 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   20983 if test $ac_cv_header_stdc = yes; then
   20984 
   20985 cat >>confdefs.h <<\_ACEOF
   20986 #define STDC_HEADERS 1
   20987 _ACEOF
   20988 
   20989 fi
   20990 
   20991 
   20992 if test "$DRI" != no; then
   20993 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   20994 { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   20995 echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
   20996 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   20997   echo $ECHO_N "(cached) $ECHO_C" >&6
   20998 else
   20999   test "$cross_compiling" = yes &&
   21000   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21001 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21002    { (exit 1); exit 1; }; }
   21003 if test -r "${sdkdir}/dri.h"; then
   21004   eval "$as_ac_File=yes"
   21005 else
   21006   eval "$as_ac_File=no"
   21007 fi
   21008 fi
   21009 ac_res=`eval echo '${'$as_ac_File'}'`
   21010 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21011 echo "${ECHO_T}$ac_res" >&6; }
   21012 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21013   have_dri_h="yes"
   21014 else
   21015   have_dri_h="no"
   21016 fi
   21017 
   21018 	as_ac_File=`echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   21019 { echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   21020 echo $ECHO_N "checking for ${sdkdir}/sarea.h... $ECHO_C" >&6; }
   21021 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21022   echo $ECHO_N "(cached) $ECHO_C" >&6
   21023 else
   21024   test "$cross_compiling" = yes &&
   21025   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21026 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21027    { (exit 1); exit 1; }; }
   21028 if test -r "${sdkdir}/sarea.h"; then
   21029   eval "$as_ac_File=yes"
   21030 else
   21031   eval "$as_ac_File=no"
   21032 fi
   21033 fi
   21034 ac_res=`eval echo '${'$as_ac_File'}'`
   21035 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21036 echo "${ECHO_T}$ac_res" >&6; }
   21037 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21038   have_sarea_h="yes"
   21039 else
   21040   have_sarea_h="no"
   21041 fi
   21042 
   21043 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   21044 { echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   21045 echo $ECHO_N "checking for ${sdkdir}/dristruct.h... $ECHO_C" >&6; }
   21046 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21047   echo $ECHO_N "(cached) $ECHO_C" >&6
   21048 else
   21049   test "$cross_compiling" = yes &&
   21050   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21051 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21052    { (exit 1); exit 1; }; }
   21053 if test -r "${sdkdir}/dristruct.h"; then
   21054   eval "$as_ac_File=yes"
   21055 else
   21056   eval "$as_ac_File=no"
   21057 fi
   21058 fi
   21059 ac_res=`eval echo '${'$as_ac_File'}'`
   21060 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21061 echo "${ECHO_T}$ac_res" >&6; }
   21062 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21063   have_dristruct_h="yes"
   21064 else
   21065   have_dristruct_h="no"
   21066 fi
   21067 
   21068 	as_ac_File=`echo "ac_cv_file_${sdkdir}/damage.h" | $as_tr_sh`
   21069 { echo "$as_me:$LINENO: checking for ${sdkdir}/damage.h" >&5
   21070 echo $ECHO_N "checking for ${sdkdir}/damage.h... $ECHO_C" >&6; }
   21071 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21072   echo $ECHO_N "(cached) $ECHO_C" >&6
   21073 else
   21074   test "$cross_compiling" = yes &&
   21075   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21076 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21077    { (exit 1); exit 1; }; }
   21078 if test -r "${sdkdir}/damage.h"; then
   21079   eval "$as_ac_File=yes"
   21080 else
   21081   eval "$as_ac_File=no"
   21082 fi
   21083 fi
   21084 ac_res=`eval echo '${'$as_ac_File'}'`
   21085 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21086 echo "${ECHO_T}$ac_res" >&6; }
   21087 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21088   have_damage_h="yes"
   21089 else
   21090   have_damage_h="no"
   21091 fi
   21092 
   21093 fi
   21094 
   21095 { echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   21096 echo $ECHO_N "checking whether to include DRI support... $ECHO_C" >&6; }
   21097 if test x$DRI = xauto; then
   21098 	if test "$have_dri_h" = yes -a \
   21099                 "$have_sarea_h" = yes -a \
   21100                 "$have_dristruct_h" = yes; then
   21101 		DRI="yes"
   21102 	else
   21103 		DRI="no"
   21104 	fi
   21105 fi
   21106 { echo "$as_me:$LINENO: result: $DRI" >&5
   21107 echo "${ECHO_T}$DRI" >&6; }
   21108 
   21109  if test x$DRI = xyes; then
   21110   DRI_TRUE=
   21111   DRI_FALSE='#'
   21112 else
   21113   DRI_TRUE='#'
   21114   DRI_FALSE=
   21115 fi
   21116 
   21117 if test "$DRI" = yes; then
   21118 
   21119 pkg_failed=no
   21120 { echo "$as_me:$LINENO: checking for DRI" >&5
   21121 echo $ECHO_N "checking for DRI... $ECHO_C" >&6; }
   21122 
   21123 if test -n "$DRI_CFLAGS"; then
   21124     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   21125  elif test -n "$PKG_CONFIG"; then
   21126     if test -n "$PKG_CONFIG" && \
   21127     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21128   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21129   ac_status=$?
   21130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21131   (exit $ac_status); }; then
   21132   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21133 else
   21134   pkg_failed=yes
   21135 fi
   21136  else
   21137     pkg_failed=untried
   21138 fi
   21139 if test -n "$DRI_LIBS"; then
   21140     pkg_cv_DRI_LIBS="$DRI_LIBS"
   21141  elif test -n "$PKG_CONFIG"; then
   21142     if test -n "$PKG_CONFIG" && \
   21143     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21144   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21145   ac_status=$?
   21146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21147   (exit $ac_status); }; then
   21148   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21149 else
   21150   pkg_failed=yes
   21151 fi
   21152  else
   21153     pkg_failed=untried
   21154 fi
   21155 
   21156 
   21157 
   21158 if test $pkg_failed = yes; then
   21159 
   21160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21161         _pkg_short_errors_supported=yes
   21162 else
   21163         _pkg_short_errors_supported=no
   21164 fi
   21165         if test $_pkg_short_errors_supported = yes; then
   21166 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.2 xf86driproto" 2>&1`
   21167         else
   21168 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.2 xf86driproto" 2>&1`
   21169         fi
   21170 	# Put the nasty error message in config.log where it belongs
   21171 	echo "$DRI_PKG_ERRORS" >&5
   21172 
   21173 	{ { echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   21174 
   21175 $DRI_PKG_ERRORS
   21176 
   21177 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21178 installed software in a non-standard prefix.
   21179 
   21180 Alternatively, you may set the environment variables DRI_CFLAGS
   21181 and DRI_LIBS to avoid the need to call pkg-config.
   21182 See the pkg-config man page for more details.
   21183 " >&5
   21184 echo "$as_me: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   21185 
   21186 $DRI_PKG_ERRORS
   21187 
   21188 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21189 installed software in a non-standard prefix.
   21190 
   21191 Alternatively, you may set the environment variables DRI_CFLAGS
   21192 and DRI_LIBS to avoid the need to call pkg-config.
   21193 See the pkg-config man page for more details.
   21194 " >&2;}
   21195    { (exit 1); exit 1; }; }
   21196 elif test $pkg_failed = untried; then
   21197 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21198 is in your PATH or set the PKG_CONFIG environment variable to the full
   21199 path to pkg-config.
   21200 
   21201 Alternatively, you may set the environment variables DRI_CFLAGS
   21202 and DRI_LIBS to avoid the need to call pkg-config.
   21203 See the pkg-config man page for more details.
   21204 
   21205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21206 See \`config.log' for more details." >&5
   21207 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21208 is in your PATH or set the PKG_CONFIG environment variable to the full
   21209 path to pkg-config.
   21210 
   21211 Alternatively, you may set the environment variables DRI_CFLAGS
   21212 and DRI_LIBS to avoid the need to call pkg-config.
   21213 See the pkg-config man page for more details.
   21214 
   21215 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21216 See \`config.log' for more details." >&2;}
   21217    { (exit 1); exit 1; }; }
   21218 else
   21219 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   21220 	DRI_LIBS=$pkg_cv_DRI_LIBS
   21221         { echo "$as_me:$LINENO: result: yes" >&5
   21222 echo "${ECHO_T}yes" >&6; }
   21223 	:
   21224 fi
   21225 
   21226 cat >>confdefs.h <<\_ACEOF
   21227 #define XF86DRI 1
   21228 _ACEOF
   21229 
   21230 
   21231 cat >>confdefs.h <<\_ACEOF
   21232 #define XF86DRI_DEVEL 1
   21233 _ACEOF
   21234 
   21235 fi
   21236 
   21237 SAVE_CPPFLAGS="$CPPFLAGS"
   21238 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21239 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21240 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   21241 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21242   echo $ECHO_N "(cached) $ECHO_C" >&6
   21243 else
   21244   cat >conftest.$ac_ext <<_ACEOF
   21245 /* confdefs.h.  */
   21246 _ACEOF
   21247 cat confdefs.h >>conftest.$ac_ext
   21248 cat >>conftest.$ac_ext <<_ACEOF
   21249 /* end confdefs.h.  */
   21250 #include "xorg-server.h"
   21251 
   21252 int
   21253 main ()
   21254 {
   21255 #ifndef XSERVER_LIBPCIACCESS
   21256   (void) XSERVER_LIBPCIACCESS;
   21257 #endif
   21258 
   21259   ;
   21260   return 0;
   21261 }
   21262 _ACEOF
   21263 rm -f conftest.$ac_objext
   21264 if { (ac_try="$ac_compile"
   21265 case "(($ac_try" in
   21266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21267   *) ac_try_echo=$ac_try;;
   21268 esac
   21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21270   (eval "$ac_compile") 2>conftest.er1
   21271   ac_status=$?
   21272   grep -v '^ *+' conftest.er1 >conftest.err
   21273   rm -f conftest.er1
   21274   cat conftest.err >&5
   21275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21276   (exit $ac_status); } && {
   21277 	 test -z "$ac_c_werror_flag" ||
   21278 	 test ! -s conftest.err
   21279        } && test -s conftest.$ac_objext; then
   21280   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21281 else
   21282   echo "$as_me: failed program was:" >&5
   21283 sed 's/^/| /' conftest.$ac_ext >&5
   21284 
   21285 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21286 fi
   21287 
   21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21289 fi
   21290 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21291 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21292 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   21293   XSERVER_LIBPCIACCESS=yes
   21294 else
   21295   XSERVER_LIBPCIACCESS=no
   21296 fi
   21297 
   21298 CPPFLAGS="$SAVE_CPPFLAGS"
   21299 
   21300  if test "x$USE_EXA" = xyes; then
   21301   USE_EXA_TRUE=
   21302   USE_EXA_FALSE='#'
   21303 else
   21304   USE_EXA_TRUE='#'
   21305   USE_EXA_FALSE=
   21306 fi
   21307 
   21308 
   21309 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21310 
   21311 pkg_failed=no
   21312 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21313 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   21314 
   21315 if test -n "$PCIACCESS_CFLAGS"; then
   21316     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21317  elif test -n "$PKG_CONFIG"; then
   21318     if test -n "$PKG_CONFIG" && \
   21319     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21320   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21321   ac_status=$?
   21322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21323   (exit $ac_status); }; then
   21324   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21325 else
   21326   pkg_failed=yes
   21327 fi
   21328  else
   21329     pkg_failed=untried
   21330 fi
   21331 if test -n "$PCIACCESS_LIBS"; then
   21332     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21333  elif test -n "$PKG_CONFIG"; then
   21334     if test -n "$PKG_CONFIG" && \
   21335     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21336   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21337   ac_status=$?
   21338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21339   (exit $ac_status); }; then
   21340   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21341 else
   21342   pkg_failed=yes
   21343 fi
   21344  else
   21345     pkg_failed=untried
   21346 fi
   21347 
   21348 
   21349 
   21350 if test $pkg_failed = yes; then
   21351 
   21352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21353         _pkg_short_errors_supported=yes
   21354 else
   21355         _pkg_short_errors_supported=no
   21356 fi
   21357         if test $_pkg_short_errors_supported = yes; then
   21358 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21359         else
   21360 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21361         fi
   21362 	# Put the nasty error message in config.log where it belongs
   21363 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21364 
   21365 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21366 
   21367 $PCIACCESS_PKG_ERRORS
   21368 
   21369 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21370 installed software in a non-standard prefix.
   21371 
   21372 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21373 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21374 See the pkg-config man page for more details.
   21375 " >&5
   21376 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21377 
   21378 $PCIACCESS_PKG_ERRORS
   21379 
   21380 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21381 installed software in a non-standard prefix.
   21382 
   21383 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21384 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21385 See the pkg-config man page for more details.
   21386 " >&2;}
   21387    { (exit 1); exit 1; }; }
   21388 elif test $pkg_failed = untried; then
   21389 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21390 is in your PATH or set the PKG_CONFIG environment variable to the full
   21391 path to pkg-config.
   21392 
   21393 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21394 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21395 See the pkg-config man page for more details.
   21396 
   21397 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21398 See \`config.log' for more details." >&5
   21399 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21400 is in your PATH or set the PKG_CONFIG environment variable to the full
   21401 path to pkg-config.
   21402 
   21403 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21404 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21405 See the pkg-config man page for more details.
   21406 
   21407 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21408 See \`config.log' for more details." >&2;}
   21409    { (exit 1); exit 1; }; }
   21410 else
   21411 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21412 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21413         { echo "$as_me:$LINENO: result: yes" >&5
   21414 echo "${ECHO_T}yes" >&6; }
   21415 	:
   21416 fi
   21417     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21418 fi
   21419  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21420   XSERVER_LIBPCIACCESS_TRUE=
   21421   XSERVER_LIBPCIACCESS_FALSE='#'
   21422 else
   21423   XSERVER_LIBPCIACCESS_TRUE='#'
   21424   XSERVER_LIBPCIACCESS_FALSE=
   21425 fi
   21426 
   21427 
   21428 
   21429 
   21430 
   21431 
   21432 DRIVER_NAME=r128
   21433 
   21434 
   21435 
   21436 
   21437 
   21438 if test x$APP_MAN_SUFFIX = x    ; then
   21439     APP_MAN_SUFFIX=1
   21440 fi
   21441 if test x$APP_MAN_DIR = x    ; then
   21442     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21443 fi
   21444 
   21445 if test x$LIB_MAN_SUFFIX = x    ; then
   21446     LIB_MAN_SUFFIX=3
   21447 fi
   21448 if test x$LIB_MAN_DIR = x    ; then
   21449     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21450 fi
   21451 
   21452 if test x$FILE_MAN_SUFFIX = x    ; then
   21453     case $host_os in
   21454 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21455 	*)		FILE_MAN_SUFFIX=5  ;;
   21456     esac
   21457 fi
   21458 if test x$FILE_MAN_DIR = x    ; then
   21459     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21460 fi
   21461 
   21462 if test x$MISC_MAN_SUFFIX = x    ; then
   21463     case $host_os in
   21464 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21465 	*)		MISC_MAN_SUFFIX=7  ;;
   21466     esac
   21467 fi
   21468 if test x$MISC_MAN_DIR = x    ; then
   21469     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21470 fi
   21471 
   21472 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21473     case $host_os in
   21474 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21475 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21476     esac
   21477 fi
   21478 if test x$DRIVER_MAN_DIR = x    ; then
   21479     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21480 fi
   21481 
   21482 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21483     case $host_os in
   21484 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21485 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21486     esac
   21487 fi
   21488 if test x$ADMIN_MAN_DIR = x    ; then
   21489     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21490 fi
   21491 
   21492 
   21493 
   21494 
   21495 
   21496 
   21497 
   21498 
   21499 
   21500 
   21501 
   21502 
   21503 
   21504 
   21505 
   21506 
   21507 
   21508 # Check whether --with-release-version was given.
   21509 if test "${with_release_version+set}" = set; then
   21510   withval=$with_release_version; RELEASE_VERSION="$withval"
   21511 else
   21512   RELEASE_VERSION=""
   21513 fi
   21514 
   21515 	if test "x$RELEASE_VERSION" != "x"; then
   21516 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21517 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21518 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21519 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21520 	fi
   21521 
   21522 cat >>confdefs.h <<_ACEOF
   21523 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21524 _ACEOF
   21525 
   21526 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21527 	if test "x$PVM" = "x"; then
   21528 		PVM="0"
   21529 	fi
   21530 
   21531 cat >>confdefs.h <<_ACEOF
   21532 #define PACKAGE_VERSION_MINOR $PVM
   21533 _ACEOF
   21534 
   21535 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21536 	if test "x$PVP" = "x"; then
   21537 		PVP="0"
   21538 	fi
   21539 
   21540 cat >>confdefs.h <<_ACEOF
   21541 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21542 _ACEOF
   21543 
   21544 
   21545 
   21546 XORG_SGML_PATH=$prefix/share/sgml
   21547 HAVE_DEFS_ENT=
   21548 
   21549 if test x"$cross_compiling" = x"yes" ; then
   21550   HAVE_DEFS_ENT=no
   21551 else
   21552   as_ac_File=`echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   21553 { echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   21554 echo $ECHO_N "checking for $XORG_SGML_PATH/X11/defs.ent... $ECHO_C" >&6; }
   21555 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21556   echo $ECHO_N "(cached) $ECHO_C" >&6
   21557 else
   21558   test "$cross_compiling" = yes &&
   21559   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21560 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21561    { (exit 1); exit 1; }; }
   21562 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   21563   eval "$as_ac_File=yes"
   21564 else
   21565   eval "$as_ac_File=no"
   21566 fi
   21567 fi
   21568 ac_res=`eval echo '${'$as_ac_File'}'`
   21569 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21570 echo "${ECHO_T}$ac_res" >&6; }
   21571 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21572   HAVE_DEFS_ENT=yes
   21573 fi
   21574 
   21575 fi
   21576 
   21577 # Extract the first word of "linuxdoc", so it can be a program name with args.
   21578 set dummy linuxdoc; ac_word=$2
   21579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21581 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   21582   echo $ECHO_N "(cached) $ECHO_C" >&6
   21583 else
   21584   case $LINUXDOC in
   21585   [\\/]* | ?:[\\/]*)
   21586   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   21587   ;;
   21588   *)
   21589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21590 for as_dir in $PATH
   21591 do
   21592   IFS=$as_save_IFS
   21593   test -z "$as_dir" && as_dir=.
   21594   for ac_exec_ext in '' $ac_executable_extensions; do
   21595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21596     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   21597     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21598     break 2
   21599   fi
   21600 done
   21601 done
   21602 IFS=$as_save_IFS
   21603 
   21604   ;;
   21605 esac
   21606 fi
   21607 LINUXDOC=$ac_cv_path_LINUXDOC
   21608 if test -n "$LINUXDOC"; then
   21609   { echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   21610 echo "${ECHO_T}$LINUXDOC" >&6; }
   21611 else
   21612   { echo "$as_me:$LINENO: result: no" >&5
   21613 echo "${ECHO_T}no" >&6; }
   21614 fi
   21615 
   21616 
   21617 # Extract the first word of "ps2pdf", so it can be a program name with args.
   21618 set dummy ps2pdf; ac_word=$2
   21619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21621 if test "${ac_cv_path_PS2PDF+set}" = set; then
   21622   echo $ECHO_N "(cached) $ECHO_C" >&6
   21623 else
   21624   case $PS2PDF in
   21625   [\\/]* | ?:[\\/]*)
   21626   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   21627   ;;
   21628   *)
   21629   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21630 for as_dir in $PATH
   21631 do
   21632   IFS=$as_save_IFS
   21633   test -z "$as_dir" && as_dir=.
   21634   for ac_exec_ext in '' $ac_executable_extensions; do
   21635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21636     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   21637     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21638     break 2
   21639   fi
   21640 done
   21641 done
   21642 IFS=$as_save_IFS
   21643 
   21644   ;;
   21645 esac
   21646 fi
   21647 PS2PDF=$ac_cv_path_PS2PDF
   21648 if test -n "$PS2PDF"; then
   21649   { echo "$as_me:$LINENO: result: $PS2PDF" >&5
   21650 echo "${ECHO_T}$PS2PDF" >&6; }
   21651 else
   21652   { echo "$as_me:$LINENO: result: no" >&5
   21653 echo "${ECHO_T}no" >&6; }
   21654 fi
   21655 
   21656 
   21657 
   21658 { echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   21659 echo $ECHO_N "checking Whether to build documentation... $ECHO_C" >&6; }
   21660 
   21661 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   21662    BUILDDOC=yes
   21663 else
   21664    BUILDDOC=no
   21665 fi
   21666 
   21667  if test x$BUILDDOC = xyes; then
   21668   BUILD_LINUXDOC_TRUE=
   21669   BUILD_LINUXDOC_FALSE='#'
   21670 else
   21671   BUILD_LINUXDOC_TRUE='#'
   21672   BUILD_LINUXDOC_FALSE=
   21673 fi
   21674 
   21675 
   21676 { echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   21677 echo "${ECHO_T}$BUILDDOC" >&6; }
   21678 
   21679 { echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   21680 echo $ECHO_N "checking Whether to build pdf documentation... $ECHO_C" >&6; }
   21681 
   21682 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   21683    BUILDPDFDOC=yes
   21684 else
   21685    BUILDPDFDOC=no
   21686 fi
   21687 
   21688  if test x$BUILDPDFDOC = xyes; then
   21689   BUILD_PDFDOC_TRUE=
   21690   BUILD_PDFDOC_FALSE='#'
   21691 else
   21692   BUILD_PDFDOC_TRUE='#'
   21693   BUILD_PDFDOC_FALSE=
   21694 fi
   21695 
   21696 
   21697 { echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   21698 echo "${ECHO_T}$BUILDPDFDOC" >&6; }
   21699 
   21700 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   21701 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   21702 MAKE_PDF="$PS2PDF"
   21703 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   21704 
   21705 
   21706 
   21707 
   21708 
   21709 
   21710 
   21711 { echo "$as_me:$LINENO: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   21712 the ati wrapper as well:
   21713     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   21714 " >&5
   21715 echo "$as_me: Please change the Driver line in xorg.conf from \"ati\" to \"r128\" or install
   21716 the ati wrapper as well:
   21717     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
   21718 " >&6;}
   21719 
   21720 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21721 
   21722 cat >confcache <<\_ACEOF
   21723 # This file is a shell script that caches the results of configure
   21724 # tests run on this system so they can be shared between configure
   21725 # scripts and configure runs, see configure's option --config-cache.
   21726 # It is not useful on other systems.  If it contains results you don't
   21727 # want to keep, you may remove or edit it.
   21728 #
   21729 # config.status only pays attention to the cache file if you give it
   21730 # the --recheck option to rerun configure.
   21731 #
   21732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21734 # following values.
   21735 
   21736 _ACEOF
   21737 
   21738 # The following way of writing the cache mishandles newlines in values,
   21739 # but we know of no workaround that is simple, portable, and efficient.
   21740 # So, we kill variables containing newlines.
   21741 # Ultrix sh set writes to stderr and can't be redirected directly,
   21742 # and sets the high bit in the cache file unless we assign to the vars.
   21743 (
   21744   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21745     eval ac_val=\$$ac_var
   21746     case $ac_val in #(
   21747     *${as_nl}*)
   21748       case $ac_var in #(
   21749       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   21750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21751       esac
   21752       case $ac_var in #(
   21753       _ | IFS | as_nl) ;; #(
   21754       *) $as_unset $ac_var ;;
   21755       esac ;;
   21756     esac
   21757   done
   21758 
   21759   (set) 2>&1 |
   21760     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21761     *${as_nl}ac_space=\ *)
   21762       # `set' does not quote correctly, so add quotes (double-quote
   21763       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21764       sed -n \
   21765 	"s/'/'\\\\''/g;
   21766 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21767       ;; #(
   21768     *)
   21769       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21770       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21771       ;;
   21772     esac |
   21773     sort
   21774 ) |
   21775   sed '
   21776      /^ac_cv_env_/b end
   21777      t clear
   21778      :clear
   21779      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21780      t end
   21781      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21782      :end' >>confcache
   21783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21784   if test -w "$cache_file"; then
   21785     test "x$cache_file" != "x/dev/null" &&
   21786       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21787 echo "$as_me: updating cache $cache_file" >&6;}
   21788     cat confcache >$cache_file
   21789   else
   21790     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21791 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21792   fi
   21793 fi
   21794 rm -f confcache
   21795 
   21796 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21797 # Let make expand exec_prefix.
   21798 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21799 
   21800 DEFS=-DHAVE_CONFIG_H
   21801 
   21802 ac_libobjs=
   21803 ac_ltlibobjs=
   21804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21805   # 1. Remove the extension, and $U if already installed.
   21806   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21807   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21808   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21809   #    will be set to the directory where LIBOBJS objects are built.
   21810   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21811   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21812 done
   21813 LIBOBJS=$ac_libobjs
   21814 
   21815 LTLIBOBJS=$ac_ltlibobjs
   21816 
   21817 
   21818 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21819   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21820 Usually this means the macro was only invoked conditionally." >&5
   21821 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21822 Usually this means the macro was only invoked conditionally." >&2;}
   21823    { (exit 1); exit 1; }; }
   21824 fi
   21825 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21826   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21827 Usually this means the macro was only invoked conditionally." >&5
   21828 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21829 Usually this means the macro was only invoked conditionally." >&2;}
   21830    { (exit 1); exit 1; }; }
   21831 fi
   21832 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21833   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21834 Usually this means the macro was only invoked conditionally." >&5
   21835 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21836 Usually this means the macro was only invoked conditionally." >&2;}
   21837    { (exit 1); exit 1; }; }
   21838 fi
   21839 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21840   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21841 Usually this means the macro was only invoked conditionally." >&5
   21842 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21843 Usually this means the macro was only invoked conditionally." >&2;}
   21844    { (exit 1); exit 1; }; }
   21845 fi
   21846 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21847   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21848 Usually this means the macro was only invoked conditionally." >&5
   21849 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21850 Usually this means the macro was only invoked conditionally." >&2;}
   21851    { (exit 1); exit 1; }; }
   21852 fi
   21853 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   21854   { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   21855 Usually this means the macro was only invoked conditionally." >&5
   21856 echo "$as_me: error: conditional \"DRI\" was never defined.
   21857 Usually this means the macro was only invoked conditionally." >&2;}
   21858    { (exit 1); exit 1; }; }
   21859 fi
   21860 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   21861   { { echo "$as_me:$LINENO: error: conditional \"USE_EXA\" was never defined.
   21862 Usually this means the macro was only invoked conditionally." >&5
   21863 echo "$as_me: error: conditional \"USE_EXA\" was never defined.
   21864 Usually this means the macro was only invoked conditionally." >&2;}
   21865    { (exit 1); exit 1; }; }
   21866 fi
   21867 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   21868   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21869 Usually this means the macro was only invoked conditionally." >&5
   21870 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21871 Usually this means the macro was only invoked conditionally." >&2;}
   21872    { (exit 1); exit 1; }; }
   21873 fi
   21874 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   21875   { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   21876 Usually this means the macro was only invoked conditionally." >&5
   21877 echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   21878 Usually this means the macro was only invoked conditionally." >&2;}
   21879    { (exit 1); exit 1; }; }
   21880 fi
   21881 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   21882   { { echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   21883 Usually this means the macro was only invoked conditionally." >&5
   21884 echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   21885 Usually this means the macro was only invoked conditionally." >&2;}
   21886    { (exit 1); exit 1; }; }
   21887 fi
   21888 
   21889 : ${CONFIG_STATUS=./config.status}
   21890 ac_clean_files_save=$ac_clean_files
   21891 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21892 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21893 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21894 cat >$CONFIG_STATUS <<_ACEOF
   21895 #! $SHELL
   21896 # Generated by $as_me.
   21897 # Run this file to recreate the current configuration.
   21898 # Compiler output produced by configure, useful for debugging
   21899 # configure, is in config.log if it exists.
   21900 
   21901 debug=false
   21902 ac_cs_recheck=false
   21903 ac_cs_silent=false
   21904 SHELL=\${CONFIG_SHELL-$SHELL}
   21905 _ACEOF
   21906 
   21907 cat >>$CONFIG_STATUS <<\_ACEOF
   21908 ## --------------------- ##
   21909 ## M4sh Initialization.  ##
   21910 ## --------------------- ##
   21911 
   21912 # Be more Bourne compatible
   21913 DUALCASE=1; export DUALCASE # for MKS sh
   21914 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21915   emulate sh
   21916   NULLCMD=:
   21917   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21918   # is contrary to our usage.  Disable this feature.
   21919   alias -g '${1+"$@"}'='"$@"'
   21920   setopt NO_GLOB_SUBST
   21921 else
   21922   case `(set -o) 2>/dev/null` in
   21923   *posix*) set -o posix ;;
   21924 esac
   21925 
   21926 fi
   21927 
   21928 
   21929 
   21930 
   21931 # PATH needs CR
   21932 # Avoid depending upon Character Ranges.
   21933 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21934 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21935 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21936 as_cr_digits='0123456789'
   21937 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21938 
   21939 # The user is always right.
   21940 if test "${PATH_SEPARATOR+set}" != set; then
   21941   echo "#! /bin/sh" >conf$$.sh
   21942   echo  "exit 0"   >>conf$$.sh
   21943   chmod +x conf$$.sh
   21944   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21945     PATH_SEPARATOR=';'
   21946   else
   21947     PATH_SEPARATOR=:
   21948   fi
   21949   rm -f conf$$.sh
   21950 fi
   21951 
   21952 # Support unset when possible.
   21953 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21954   as_unset=unset
   21955 else
   21956   as_unset=false
   21957 fi
   21958 
   21959 
   21960 # IFS
   21961 # We need space, tab and new line, in precisely that order.  Quoting is
   21962 # there to prevent editors from complaining about space-tab.
   21963 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21964 # splitting by setting IFS to empty value.)
   21965 as_nl='
   21966 '
   21967 IFS=" ""	$as_nl"
   21968 
   21969 # Find who we are.  Look in the path if we contain no directory separator.
   21970 case $0 in
   21971   *[\\/]* ) as_myself=$0 ;;
   21972   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21973 for as_dir in $PATH
   21974 do
   21975   IFS=$as_save_IFS
   21976   test -z "$as_dir" && as_dir=.
   21977   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21978 done
   21979 IFS=$as_save_IFS
   21980 
   21981      ;;
   21982 esac
   21983 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21984 # in which case we are not to be found in the path.
   21985 if test "x$as_myself" = x; then
   21986   as_myself=$0
   21987 fi
   21988 if test ! -f "$as_myself"; then
   21989   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21990   { (exit 1); exit 1; }
   21991 fi
   21992 
   21993 # Work around bugs in pre-3.0 UWIN ksh.
   21994 for as_var in ENV MAIL MAILPATH
   21995 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21996 done
   21997 PS1='$ '
   21998 PS2='> '
   21999 PS4='+ '
   22000 
   22001 # NLS nuisances.
   22002 for as_var in \
   22003   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   22004   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   22005   LC_TELEPHONE LC_TIME
   22006 do
   22007   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   22008     eval $as_var=C; export $as_var
   22009   else
   22010     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22011   fi
   22012 done
   22013 
   22014 # Required to use basename.
   22015 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22016    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22017   as_expr=expr
   22018 else
   22019   as_expr=false
   22020 fi
   22021 
   22022 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22023   as_basename=basename
   22024 else
   22025   as_basename=false
   22026 fi
   22027 
   22028 
   22029 # Name of the executable.
   22030 as_me=`$as_basename -- "$0" ||
   22031 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22032 	 X"$0" : 'X\(//\)$' \| \
   22033 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22034 echo X/"$0" |
   22035     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22036 	    s//\1/
   22037 	    q
   22038 	  }
   22039 	  /^X\/\(\/\/\)$/{
   22040 	    s//\1/
   22041 	    q
   22042 	  }
   22043 	  /^X\/\(\/\).*/{
   22044 	    s//\1/
   22045 	    q
   22046 	  }
   22047 	  s/.*/./; q'`
   22048 
   22049 # CDPATH.
   22050 $as_unset CDPATH
   22051 
   22052 
   22053 
   22054   as_lineno_1=$LINENO
   22055   as_lineno_2=$LINENO
   22056   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22057   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22058 
   22059   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22060   # uniformly replaced by the line number.  The first 'sed' inserts a
   22061   # line-number line after each line using $LINENO; the second 'sed'
   22062   # does the real work.  The second script uses 'N' to pair each
   22063   # line-number line with the line containing $LINENO, and appends
   22064   # trailing '-' during substitution so that $LINENO is not a special
   22065   # case at line end.
   22066   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22067   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22068   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22069   sed -n '
   22070     p
   22071     /[$]LINENO/=
   22072   ' <$as_myself |
   22073     sed '
   22074       s/[$]LINENO.*/&-/
   22075       t lineno
   22076       b
   22077       :lineno
   22078       N
   22079       :loop
   22080       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22081       t loop
   22082       s/-\n.*//
   22083     ' >$as_me.lineno &&
   22084   chmod +x "$as_me.lineno" ||
   22085     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22086    { (exit 1); exit 1; }; }
   22087 
   22088   # Don't try to exec as it changes $[0], causing all sort of problems
   22089   # (the dirname of $[0] is not the place where we might find the
   22090   # original and so on.  Autoconf is especially sensitive to this).
   22091   . "./$as_me.lineno"
   22092   # Exit status is that of the last command.
   22093   exit
   22094 }
   22095 
   22096 
   22097 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22098   as_dirname=dirname
   22099 else
   22100   as_dirname=false
   22101 fi
   22102 
   22103 ECHO_C= ECHO_N= ECHO_T=
   22104 case `echo -n x` in
   22105 -n*)
   22106   case `echo 'x\c'` in
   22107   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22108   *)   ECHO_C='\c';;
   22109   esac;;
   22110 *)
   22111   ECHO_N='-n';;
   22112 esac
   22113 
   22114 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22115    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22116   as_expr=expr
   22117 else
   22118   as_expr=false
   22119 fi
   22120 
   22121 rm -f conf$$ conf$$.exe conf$$.file
   22122 if test -d conf$$.dir; then
   22123   rm -f conf$$.dir/conf$$.file
   22124 else
   22125   rm -f conf$$.dir
   22126   mkdir conf$$.dir
   22127 fi
   22128 echo >conf$$.file
   22129 if ln -s conf$$.file conf$$ 2>/dev/null; then
   22130   as_ln_s='ln -s'
   22131   # ... but there are two gotchas:
   22132   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22133   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22134   # In both cases, we have to default to `cp -p'.
   22135   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22136     as_ln_s='cp -p'
   22137 elif ln conf$$.file conf$$ 2>/dev/null; then
   22138   as_ln_s=ln
   22139 else
   22140   as_ln_s='cp -p'
   22141 fi
   22142 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22143 rmdir conf$$.dir 2>/dev/null
   22144 
   22145 if mkdir -p . 2>/dev/null; then
   22146   as_mkdir_p=:
   22147 else
   22148   test -d ./-p && rmdir ./-p
   22149   as_mkdir_p=false
   22150 fi
   22151 
   22152 if test -x / >/dev/null 2>&1; then
   22153   as_test_x='test -x'
   22154 else
   22155   if ls -dL / >/dev/null 2>&1; then
   22156     as_ls_L_option=L
   22157   else
   22158     as_ls_L_option=
   22159   fi
   22160   as_test_x='
   22161     eval sh -c '\''
   22162       if test -d "$1"; then
   22163         test -d "$1/.";
   22164       else
   22165 	case $1 in
   22166         -*)set "./$1";;
   22167 	esac;
   22168 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22169 	???[sx]*):;;*)false;;esac;fi
   22170     '\'' sh
   22171   '
   22172 fi
   22173 as_executable_p=$as_test_x
   22174 
   22175 # Sed expression to map a string onto a valid CPP name.
   22176 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22177 
   22178 # Sed expression to map a string onto a valid variable name.
   22179 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22180 
   22181 
   22182 exec 6>&1
   22183 
   22184 # Save the log message, to keep $[0] and so on meaningful, and to
   22185 # report actual input values of CONFIG_FILES etc. instead of their
   22186 # values after options handling.
   22187 ac_log="
   22188 This file was extended by xf86-video-r128 $as_me 6.8.0, which was
   22189 generated by GNU Autoconf 2.61.  Invocation command line was
   22190 
   22191   CONFIG_FILES    = $CONFIG_FILES
   22192   CONFIG_HEADERS  = $CONFIG_HEADERS
   22193   CONFIG_LINKS    = $CONFIG_LINKS
   22194   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22195   $ $0 $@
   22196 
   22197 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22198 "
   22199 
   22200 _ACEOF
   22201 
   22202 cat >>$CONFIG_STATUS <<_ACEOF
   22203 # Files that config.status was made for.
   22204 config_files="$ac_config_files"
   22205 config_headers="$ac_config_headers"
   22206 config_commands="$ac_config_commands"
   22207 
   22208 _ACEOF
   22209 
   22210 cat >>$CONFIG_STATUS <<\_ACEOF
   22211 ac_cs_usage="\
   22212 \`$as_me' instantiates files from templates according to the
   22213 current configuration.
   22214 
   22215 Usage: $0 [OPTIONS] [FILE]...
   22216 
   22217   -h, --help       print this help, then exit
   22218   -V, --version    print version number and configuration settings, then exit
   22219   -q, --quiet      do not print progress messages
   22220   -d, --debug      don't remove temporary files
   22221       --recheck    update $as_me by reconfiguring in the same conditions
   22222   --file=FILE[:TEMPLATE]
   22223 		   instantiate the configuration file FILE
   22224   --header=FILE[:TEMPLATE]
   22225 		   instantiate the configuration header FILE
   22226 
   22227 Configuration files:
   22228 $config_files
   22229 
   22230 Configuration headers:
   22231 $config_headers
   22232 
   22233 Configuration commands:
   22234 $config_commands
   22235 
   22236 Report bugs to <bug-autoconf (at] gnu.org>."
   22237 
   22238 _ACEOF
   22239 cat >>$CONFIG_STATUS <<_ACEOF
   22240 ac_cs_version="\\
   22241 xf86-video-r128 config.status 6.8.0
   22242 configured by $0, generated by GNU Autoconf 2.61,
   22243   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22244 
   22245 Copyright (C) 2006 Free Software Foundation, Inc.
   22246 This config.status script is free software; the Free Software Foundation
   22247 gives unlimited permission to copy, distribute and modify it."
   22248 
   22249 ac_pwd='$ac_pwd'
   22250 srcdir='$srcdir'
   22251 INSTALL='$INSTALL'
   22252 MKDIR_P='$MKDIR_P'
   22253 _ACEOF
   22254 
   22255 cat >>$CONFIG_STATUS <<\_ACEOF
   22256 # If no file are specified by the user, then we need to provide default
   22257 # value.  By we need to know if files were specified by the user.
   22258 ac_need_defaults=:
   22259 while test $# != 0
   22260 do
   22261   case $1 in
   22262   --*=*)
   22263     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22264     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22265     ac_shift=:
   22266     ;;
   22267   *)
   22268     ac_option=$1
   22269     ac_optarg=$2
   22270     ac_shift=shift
   22271     ;;
   22272   esac
   22273 
   22274   case $ac_option in
   22275   # Handling of the options.
   22276   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22277     ac_cs_recheck=: ;;
   22278   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22279     echo "$ac_cs_version"; exit ;;
   22280   --debug | --debu | --deb | --de | --d | -d )
   22281     debug=: ;;
   22282   --file | --fil | --fi | --f )
   22283     $ac_shift
   22284     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   22285     ac_need_defaults=false;;
   22286   --header | --heade | --head | --hea )
   22287     $ac_shift
   22288     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   22289     ac_need_defaults=false;;
   22290   --he | --h)
   22291     # Conflict between --help and --header
   22292     { echo "$as_me: error: ambiguous option: $1
   22293 Try \`$0 --help' for more information." >&2
   22294    { (exit 1); exit 1; }; };;
   22295   --help | --hel | -h )
   22296     echo "$ac_cs_usage"; exit ;;
   22297   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22298   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22299     ac_cs_silent=: ;;
   22300 
   22301   # This is an error.
   22302   -*) { echo "$as_me: error: unrecognized option: $1
   22303 Try \`$0 --help' for more information." >&2
   22304    { (exit 1); exit 1; }; } ;;
   22305 
   22306   *) ac_config_targets="$ac_config_targets $1"
   22307      ac_need_defaults=false ;;
   22308 
   22309   esac
   22310   shift
   22311 done
   22312 
   22313 ac_configure_extra_args=
   22314 
   22315 if $ac_cs_silent; then
   22316   exec 6>/dev/null
   22317   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22318 fi
   22319 
   22320 _ACEOF
   22321 cat >>$CONFIG_STATUS <<_ACEOF
   22322 if \$ac_cs_recheck; then
   22323   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   22324   CONFIG_SHELL=$SHELL
   22325   export CONFIG_SHELL
   22326   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22327 fi
   22328 
   22329 _ACEOF
   22330 cat >>$CONFIG_STATUS <<\_ACEOF
   22331 exec 5>>config.log
   22332 {
   22333   echo
   22334   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22335 ## Running $as_me. ##
   22336 _ASBOX
   22337   echo "$ac_log"
   22338 } >&5
   22339 
   22340 _ACEOF
   22341 cat >>$CONFIG_STATUS <<_ACEOF
   22342 #
   22343 # INIT-COMMANDS
   22344 #
   22345 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22346 
   22347 _ACEOF
   22348 
   22349 cat >>$CONFIG_STATUS <<\_ACEOF
   22350 
   22351 # Handling of arguments.
   22352 for ac_config_target in $ac_config_targets
   22353 do
   22354   case $ac_config_target in
   22355     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22356     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22357     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22358     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22359     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22360 
   22361   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22362 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22363    { (exit 1); exit 1; }; };;
   22364   esac
   22365 done
   22366 
   22367 
   22368 # If the user did not use the arguments to specify the items to instantiate,
   22369 # then the envvar interface is used.  Set only those that are not.
   22370 # We use the long form for the default assignment because of an extremely
   22371 # bizarre bug on SunOS 4.1.3.
   22372 if $ac_need_defaults; then
   22373   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22374   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22375   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22376 fi
   22377 
   22378 # Have a temporary directory for convenience.  Make it in the build tree
   22379 # simply because there is no reason against having it here, and in addition,
   22380 # creating and moving files from /tmp can sometimes cause problems.
   22381 # Hook for its removal unless debugging.
   22382 # Note that there is a small window in which the directory will not be cleaned:
   22383 # after its creation but before its name has been assigned to `$tmp'.
   22384 $debug ||
   22385 {
   22386   tmp=
   22387   trap 'exit_status=$?
   22388   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22389 ' 0
   22390   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22391 }
   22392 # Create a (secure) tmp directory for tmp files.
   22393 
   22394 {
   22395   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22396   test -n "$tmp" && test -d "$tmp"
   22397 }  ||
   22398 {
   22399   tmp=./conf$$-$RANDOM
   22400   (umask 077 && mkdir "$tmp")
   22401 } ||
   22402 {
   22403    echo "$me: cannot create a temporary directory in ." >&2
   22404    { (exit 1); exit 1; }
   22405 }
   22406 
   22407 #
   22408 # Set up the sed scripts for CONFIG_FILES section.
   22409 #
   22410 
   22411 # No need to generate the scripts if there are no CONFIG_FILES.
   22412 # This happens for instance when ./config.status config.h
   22413 if test -n "$CONFIG_FILES"; then
   22414 
   22415 _ACEOF
   22416 
   22417 
   22418 
   22419 ac_delim='%!_!# '
   22420 for ac_last_try in false false false false false :; do
   22421   cat >conf$$subs.sed <<_ACEOF
   22422 SHELL!$SHELL$ac_delim
   22423 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   22424 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   22425 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   22426 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   22427 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   22428 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   22429 exec_prefix!$exec_prefix$ac_delim
   22430 prefix!$prefix$ac_delim
   22431 program_transform_name!$program_transform_name$ac_delim
   22432 bindir!$bindir$ac_delim
   22433 sbindir!$sbindir$ac_delim
   22434 libexecdir!$libexecdir$ac_delim
   22435 datarootdir!$datarootdir$ac_delim
   22436 datadir!$datadir$ac_delim
   22437 sysconfdir!$sysconfdir$ac_delim
   22438 sharedstatedir!$sharedstatedir$ac_delim
   22439 localstatedir!$localstatedir$ac_delim
   22440 includedir!$includedir$ac_delim
   22441 oldincludedir!$oldincludedir$ac_delim
   22442 docdir!$docdir$ac_delim
   22443 infodir!$infodir$ac_delim
   22444 htmldir!$htmldir$ac_delim
   22445 dvidir!$dvidir$ac_delim
   22446 pdfdir!$pdfdir$ac_delim
   22447 psdir!$psdir$ac_delim
   22448 libdir!$libdir$ac_delim
   22449 localedir!$localedir$ac_delim
   22450 mandir!$mandir$ac_delim
   22451 DEFS!$DEFS$ac_delim
   22452 ECHO_C!$ECHO_C$ac_delim
   22453 ECHO_N!$ECHO_N$ac_delim
   22454 ECHO_T!$ECHO_T$ac_delim
   22455 LIBS!$LIBS$ac_delim
   22456 build_alias!$build_alias$ac_delim
   22457 host_alias!$host_alias$ac_delim
   22458 target_alias!$target_alias$ac_delim
   22459 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   22460 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   22461 INSTALL_DATA!$INSTALL_DATA$ac_delim
   22462 am__isrc!$am__isrc$ac_delim
   22463 CYGPATH_W!$CYGPATH_W$ac_delim
   22464 PACKAGE!$PACKAGE$ac_delim
   22465 VERSION!$VERSION$ac_delim
   22466 ACLOCAL!$ACLOCAL$ac_delim
   22467 AUTOCONF!$AUTOCONF$ac_delim
   22468 AUTOMAKE!$AUTOMAKE$ac_delim
   22469 AUTOHEADER!$AUTOHEADER$ac_delim
   22470 MAKEINFO!$MAKEINFO$ac_delim
   22471 install_sh!$install_sh$ac_delim
   22472 STRIP!$STRIP$ac_delim
   22473 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   22474 mkdir_p!$mkdir_p$ac_delim
   22475 AWK!$AWK$ac_delim
   22476 SET_MAKE!$SET_MAKE$ac_delim
   22477 am__leading_dot!$am__leading_dot$ac_delim
   22478 AMTAR!$AMTAR$ac_delim
   22479 am__tar!$am__tar$ac_delim
   22480 am__untar!$am__untar$ac_delim
   22481 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   22482 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   22483 MAINT!$MAINT$ac_delim
   22484 build!$build$ac_delim
   22485 build_cpu!$build_cpu$ac_delim
   22486 build_vendor!$build_vendor$ac_delim
   22487 build_os!$build_os$ac_delim
   22488 host!$host$ac_delim
   22489 host_cpu!$host_cpu$ac_delim
   22490 host_vendor!$host_vendor$ac_delim
   22491 host_os!$host_os$ac_delim
   22492 CC!$CC$ac_delim
   22493 CFLAGS!$CFLAGS$ac_delim
   22494 LDFLAGS!$LDFLAGS$ac_delim
   22495 CPPFLAGS!$CPPFLAGS$ac_delim
   22496 ac_ct_CC!$ac_ct_CC$ac_delim
   22497 EXEEXT!$EXEEXT$ac_delim
   22498 OBJEXT!$OBJEXT$ac_delim
   22499 DEPDIR!$DEPDIR$ac_delim
   22500 am__include!$am__include$ac_delim
   22501 am__quote!$am__quote$ac_delim
   22502 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   22503 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   22504 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   22505 CCDEPMODE!$CCDEPMODE$ac_delim
   22506 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   22507 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   22508 SED!$SED$ac_delim
   22509 GREP!$GREP$ac_delim
   22510 EGREP!$EGREP$ac_delim
   22511 LN_S!$LN_S$ac_delim
   22512 ECHO!$ECHO$ac_delim
   22513 AR!$AR$ac_delim
   22514 RANLIB!$RANLIB$ac_delim
   22515 CPP!$CPP$ac_delim
   22516 CXX!$CXX$ac_delim
   22517 CXXFLAGS!$CXXFLAGS$ac_delim
   22518 ac_ct_CXX!$ac_ct_CXX$ac_delim
   22519 _ACEOF
   22520 
   22521   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   22522     break
   22523   elif $ac_last_try; then
   22524     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22525 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22526    { (exit 1); exit 1; }; }
   22527   else
   22528     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22529   fi
   22530 done
   22531 
   22532 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22533 if test -n "$ac_eof"; then
   22534   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22535   ac_eof=`expr $ac_eof + 1`
   22536 fi
   22537 
   22538 cat >>$CONFIG_STATUS <<_ACEOF
   22539 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   22540 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22541 _ACEOF
   22542 sed '
   22543 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22544 s/^/s,@/; s/!/@,|#_!!_#|/
   22545 :n
   22546 t n
   22547 s/'"$ac_delim"'$/,g/; t
   22548 s/$/\\/; p
   22549 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22550 ' >>$CONFIG_STATUS <conf$$subs.sed
   22551 rm -f conf$$subs.sed
   22552 cat >>$CONFIG_STATUS <<_ACEOF
   22553 CEOF$ac_eof
   22554 _ACEOF
   22555 
   22556 
   22557 ac_delim='%!_!# '
   22558 for ac_last_try in false false false false false :; do
   22559   cat >conf$$subs.sed <<_ACEOF
   22560 CXXDEPMODE!$CXXDEPMODE$ac_delim
   22561 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   22562 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   22563 CXXCPP!$CXXCPP$ac_delim
   22564 F77!$F77$ac_delim
   22565 FFLAGS!$FFLAGS$ac_delim
   22566 ac_ct_F77!$ac_ct_F77$ac_delim
   22567 LIBTOOL!$LIBTOOL$ac_delim
   22568 PKG_CONFIG!$PKG_CONFIG$ac_delim
   22569 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   22570 XORG_LIBS!$XORG_LIBS$ac_delim
   22571 DRI_TRUE!$DRI_TRUE$ac_delim
   22572 DRI_FALSE!$DRI_FALSE$ac_delim
   22573 DRI_CFLAGS!$DRI_CFLAGS$ac_delim
   22574 DRI_LIBS!$DRI_LIBS$ac_delim
   22575 USE_EXA_TRUE!$USE_EXA_TRUE$ac_delim
   22576 USE_EXA_FALSE!$USE_EXA_FALSE$ac_delim
   22577 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   22578 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   22579 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   22580 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   22581 moduledir!$moduledir$ac_delim
   22582 DRIVER_NAME!$DRIVER_NAME$ac_delim
   22583 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   22584 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   22585 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   22586 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   22587 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   22588 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   22589 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   22590 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   22591 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   22592 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   22593 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   22594 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   22595 LINUXDOC!$LINUXDOC$ac_delim
   22596 PS2PDF!$PS2PDF$ac_delim
   22597 BUILD_LINUXDOC_TRUE!$BUILD_LINUXDOC_TRUE$ac_delim
   22598 BUILD_LINUXDOC_FALSE!$BUILD_LINUXDOC_FALSE$ac_delim
   22599 BUILD_PDFDOC_TRUE!$BUILD_PDFDOC_TRUE$ac_delim
   22600 BUILD_PDFDOC_FALSE!$BUILD_PDFDOC_FALSE$ac_delim
   22601 MAKE_TEXT!$MAKE_TEXT$ac_delim
   22602 MAKE_PS!$MAKE_PS$ac_delim
   22603 MAKE_PDF!$MAKE_PDF$ac_delim
   22604 MAKE_HTML!$MAKE_HTML$ac_delim
   22605 LIBOBJS!$LIBOBJS$ac_delim
   22606 LTLIBOBJS!$LTLIBOBJS$ac_delim
   22607 _ACEOF
   22608 
   22609   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 47; then
   22610     break
   22611   elif $ac_last_try; then
   22612     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22613 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22614    { (exit 1); exit 1; }; }
   22615   else
   22616     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22617   fi
   22618 done
   22619 
   22620 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22621 if test -n "$ac_eof"; then
   22622   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22623   ac_eof=`expr $ac_eof + 1`
   22624 fi
   22625 
   22626 cat >>$CONFIG_STATUS <<_ACEOF
   22627 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   22628 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   22629 _ACEOF
   22630 sed '
   22631 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22632 s/^/s,@/; s/!/@,|#_!!_#|/
   22633 :n
   22634 t n
   22635 s/'"$ac_delim"'$/,g/; t
   22636 s/$/\\/; p
   22637 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22638 ' >>$CONFIG_STATUS <conf$$subs.sed
   22639 rm -f conf$$subs.sed
   22640 cat >>$CONFIG_STATUS <<_ACEOF
   22641 :end
   22642 s/|#_!!_#|//g
   22643 CEOF$ac_eof
   22644 _ACEOF
   22645 
   22646 
   22647 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22648 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22649 # trailing colons and then remove the whole line if VPATH becomes empty
   22650 # (actually we leave an empty line to preserve line numbers).
   22651 if test "x$srcdir" = x.; then
   22652   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22653 s/:*\$(srcdir):*/:/
   22654 s/:*\${srcdir}:*/:/
   22655 s/:*@srcdir@:*/:/
   22656 s/^\([^=]*=[	 ]*\):*/\1/
   22657 s/:*$//
   22658 s/^[^=]*=[	 ]*$//
   22659 }'
   22660 fi
   22661 
   22662 cat >>$CONFIG_STATUS <<\_ACEOF
   22663 fi # test -n "$CONFIG_FILES"
   22664 
   22665 
   22666 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   22667 do
   22668   case $ac_tag in
   22669   :[FHLC]) ac_mode=$ac_tag; continue;;
   22670   esac
   22671   case $ac_mode$ac_tag in
   22672   :[FHL]*:*);;
   22673   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   22674 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   22675    { (exit 1); exit 1; }; };;
   22676   :[FH]-) ac_tag=-:-;;
   22677   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22678   esac
   22679   ac_save_IFS=$IFS
   22680   IFS=:
   22681   set x $ac_tag
   22682   IFS=$ac_save_IFS
   22683   shift
   22684   ac_file=$1
   22685   shift
   22686 
   22687   case $ac_mode in
   22688   :L) ac_source=$1;;
   22689   :[FH])
   22690     ac_file_inputs=
   22691     for ac_f
   22692     do
   22693       case $ac_f in
   22694       -) ac_f="$tmp/stdin";;
   22695       *) # Look for the file first in the build tree, then in the source tree
   22696 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22697 	 # because $ac_f cannot contain `:'.
   22698 	 test -f "$ac_f" ||
   22699 	   case $ac_f in
   22700 	   [\\/$]*) false;;
   22701 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22702 	   esac ||
   22703 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22704 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22705    { (exit 1); exit 1; }; };;
   22706       esac
   22707       ac_file_inputs="$ac_file_inputs $ac_f"
   22708     done
   22709 
   22710     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22711     # use $as_me), people would be surprised to read:
   22712     #    /* config.h.  Generated by config.status.  */
   22713     configure_input="Generated from "`IFS=:
   22714 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   22715     if test x"$ac_file" != x-; then
   22716       configure_input="$ac_file.  $configure_input"
   22717       { echo "$as_me:$LINENO: creating $ac_file" >&5
   22718 echo "$as_me: creating $ac_file" >&6;}
   22719     fi
   22720 
   22721     case $ac_tag in
   22722     *:-:* | *:-) cat >"$tmp/stdin";;
   22723     esac
   22724     ;;
   22725   esac
   22726 
   22727   ac_dir=`$as_dirname -- "$ac_file" ||
   22728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22729 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22730 	 X"$ac_file" : 'X\(//\)$' \| \
   22731 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22732 echo X"$ac_file" |
   22733     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22734 	    s//\1/
   22735 	    q
   22736 	  }
   22737 	  /^X\(\/\/\)[^/].*/{
   22738 	    s//\1/
   22739 	    q
   22740 	  }
   22741 	  /^X\(\/\/\)$/{
   22742 	    s//\1/
   22743 	    q
   22744 	  }
   22745 	  /^X\(\/\).*/{
   22746 	    s//\1/
   22747 	    q
   22748 	  }
   22749 	  s/.*/./; q'`
   22750   { as_dir="$ac_dir"
   22751   case $as_dir in #(
   22752   -*) as_dir=./$as_dir;;
   22753   esac
   22754   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22755     as_dirs=
   22756     while :; do
   22757       case $as_dir in #(
   22758       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22759       *) as_qdir=$as_dir;;
   22760       esac
   22761       as_dirs="'$as_qdir' $as_dirs"
   22762       as_dir=`$as_dirname -- "$as_dir" ||
   22763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22764 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22765 	 X"$as_dir" : 'X\(//\)$' \| \
   22766 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22767 echo X"$as_dir" |
   22768     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22769 	    s//\1/
   22770 	    q
   22771 	  }
   22772 	  /^X\(\/\/\)[^/].*/{
   22773 	    s//\1/
   22774 	    q
   22775 	  }
   22776 	  /^X\(\/\/\)$/{
   22777 	    s//\1/
   22778 	    q
   22779 	  }
   22780 	  /^X\(\/\).*/{
   22781 	    s//\1/
   22782 	    q
   22783 	  }
   22784 	  s/.*/./; q'`
   22785       test -d "$as_dir" && break
   22786     done
   22787     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22788   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22789 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22790    { (exit 1); exit 1; }; }; }
   22791   ac_builddir=.
   22792 
   22793 case "$ac_dir" in
   22794 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22795 *)
   22796   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22797   # A ".." for each directory in $ac_dir_suffix.
   22798   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22799   case $ac_top_builddir_sub in
   22800   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22801   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22802   esac ;;
   22803 esac
   22804 ac_abs_top_builddir=$ac_pwd
   22805 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22806 # for backward compatibility:
   22807 ac_top_builddir=$ac_top_build_prefix
   22808 
   22809 case $srcdir in
   22810   .)  # We are building in place.
   22811     ac_srcdir=.
   22812     ac_top_srcdir=$ac_top_builddir_sub
   22813     ac_abs_top_srcdir=$ac_pwd ;;
   22814   [\\/]* | ?:[\\/]* )  # Absolute name.
   22815     ac_srcdir=$srcdir$ac_dir_suffix;
   22816     ac_top_srcdir=$srcdir
   22817     ac_abs_top_srcdir=$srcdir ;;
   22818   *) # Relative name.
   22819     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22820     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22821     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22822 esac
   22823 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22824 
   22825 
   22826   case $ac_mode in
   22827   :F)
   22828   #
   22829   # CONFIG_FILE
   22830   #
   22831 
   22832   case $INSTALL in
   22833   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22834   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22835   esac
   22836   ac_MKDIR_P=$MKDIR_P
   22837   case $MKDIR_P in
   22838   [\\/$]* | ?:[\\/]* ) ;;
   22839   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22840   esac
   22841 _ACEOF
   22842 
   22843 cat >>$CONFIG_STATUS <<\_ACEOF
   22844 # If the template does not know about datarootdir, expand it.
   22845 # FIXME: This hack should be removed a few years after 2.60.
   22846 ac_datarootdir_hack=; ac_datarootdir_seen=
   22847 
   22848 case `sed -n '/datarootdir/ {
   22849   p
   22850   q
   22851 }
   22852 /@datadir@/p
   22853 /@docdir@/p
   22854 /@infodir@/p
   22855 /@localedir@/p
   22856 /@mandir@/p
   22857 ' $ac_file_inputs` in
   22858 *datarootdir*) ac_datarootdir_seen=yes;;
   22859 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22860   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22861 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22862 _ACEOF
   22863 cat >>$CONFIG_STATUS <<_ACEOF
   22864   ac_datarootdir_hack='
   22865   s&@datadir@&$datadir&g
   22866   s&@docdir@&$docdir&g
   22867   s&@infodir@&$infodir&g
   22868   s&@localedir@&$localedir&g
   22869   s&@mandir@&$mandir&g
   22870     s&\\\${datarootdir}&$datarootdir&g' ;;
   22871 esac
   22872 _ACEOF
   22873 
   22874 # Neutralize VPATH when `$srcdir' = `.'.
   22875 # Shell code in configure.ac might set extrasub.
   22876 # FIXME: do we really want to maintain this feature?
   22877 cat >>$CONFIG_STATUS <<_ACEOF
   22878   sed "$ac_vpsub
   22879 $extrasub
   22880 _ACEOF
   22881 cat >>$CONFIG_STATUS <<\_ACEOF
   22882 :t
   22883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22884 s&@configure_input@&$configure_input&;t t
   22885 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22886 s&@srcdir@&$ac_srcdir&;t t
   22887 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22888 s&@top_srcdir@&$ac_top_srcdir&;t t
   22889 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22890 s&@builddir@&$ac_builddir&;t t
   22891 s&@abs_builddir@&$ac_abs_builddir&;t t
   22892 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22893 s&@INSTALL@&$ac_INSTALL&;t t
   22894 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22895 $ac_datarootdir_hack
   22896 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   22897 
   22898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22899   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22900   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22901   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22902 which seems to be undefined.  Please make sure it is defined." >&5
   22903 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22904 which seems to be undefined.  Please make sure it is defined." >&2;}
   22905 
   22906   rm -f "$tmp/stdin"
   22907   case $ac_file in
   22908   -) cat "$tmp/out"; rm -f "$tmp/out";;
   22909   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   22910   esac
   22911  ;;
   22912   :H)
   22913   #
   22914   # CONFIG_HEADER
   22915   #
   22916 _ACEOF
   22917 
   22918 # Transform confdefs.h into a sed script `conftest.defines', that
   22919 # substitutes the proper values into config.h.in to produce config.h.
   22920 rm -f conftest.defines conftest.tail
   22921 # First, append a space to every undef/define line, to ease matching.
   22922 echo 's/$/ /' >conftest.defines
   22923 # Then, protect against being on the right side of a sed subst, or in
   22924 # an unquoted here document, in config.status.  If some macros were
   22925 # called several times there might be several #defines for the same
   22926 # symbol, which is useless.  But do not sort them, since the last
   22927 # AC_DEFINE must be honored.
   22928 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22929 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   22930 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   22931 # PARAMS is the parameter list in the macro definition--in most cases, it's
   22932 # just an empty string.
   22933 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   22934 ac_dB='\\)[	 (].*,\\1define\\2'
   22935 ac_dC=' '
   22936 ac_dD=' ,'
   22937 
   22938 uniq confdefs.h |
   22939   sed -n '
   22940 	t rset
   22941 	:rset
   22942 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   22943 	t ok
   22944 	d
   22945 	:ok
   22946 	s/[\\&,]/\\&/g
   22947 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   22948 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   22949   ' >>conftest.defines
   22950 
   22951 # Remove the space that was appended to ease matching.
   22952 # Then replace #undef with comments.  This is necessary, for
   22953 # example, in the case of _POSIX_SOURCE, which is predefined and required
   22954 # on some systems where configure will not decide to define it.
   22955 # (The regexp can be short, since the line contains either #define or #undef.)
   22956 echo 's/ $//
   22957 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   22958 
   22959 # Break up conftest.defines:
   22960 ac_max_sed_lines=50
   22961 
   22962 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   22963 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   22964 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   22965 # et cetera.
   22966 ac_in='$ac_file_inputs'
   22967 ac_out='"$tmp/out1"'
   22968 ac_nxt='"$tmp/out2"'
   22969 
   22970 while :
   22971 do
   22972   # Write a here document:
   22973     cat >>$CONFIG_STATUS <<_ACEOF
   22974     # First, check the format of the line:
   22975     cat >"\$tmp/defines.sed" <<\\CEOF
   22976 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   22977 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   22978 b
   22979 :def
   22980 _ACEOF
   22981   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   22982   echo 'CEOF
   22983     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   22984   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   22985   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   22986   grep . conftest.tail >/dev/null || break
   22987   rm -f conftest.defines
   22988   mv conftest.tail conftest.defines
   22989 done
   22990 rm -f conftest.defines conftest.tail
   22991 
   22992 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   22993 cat >>$CONFIG_STATUS <<\_ACEOF
   22994   if test x"$ac_file" != x-; then
   22995     echo "/* $configure_input  */" >"$tmp/config.h"
   22996     cat "$ac_result" >>"$tmp/config.h"
   22997     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   22998       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22999 echo "$as_me: $ac_file is unchanged" >&6;}
   23000     else
   23001       rm -f $ac_file
   23002       mv "$tmp/config.h" $ac_file
   23003     fi
   23004   else
   23005     echo "/* $configure_input  */"
   23006     cat "$ac_result"
   23007   fi
   23008   rm -f "$tmp/out12"
   23009 # Compute $ac_file's index in $config_headers.
   23010 _am_arg=$ac_file
   23011 _am_stamp_count=1
   23012 for _am_header in $config_headers :; do
   23013   case $_am_header in
   23014     $_am_arg | $_am_arg:* )
   23015       break ;;
   23016     * )
   23017       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23018   esac
   23019 done
   23020 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23021 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23022 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23023 	 X"$_am_arg" : 'X\(//\)$' \| \
   23024 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23025 echo X"$_am_arg" |
   23026     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23027 	    s//\1/
   23028 	    q
   23029 	  }
   23030 	  /^X\(\/\/\)[^/].*/{
   23031 	    s//\1/
   23032 	    q
   23033 	  }
   23034 	  /^X\(\/\/\)$/{
   23035 	    s//\1/
   23036 	    q
   23037 	  }
   23038 	  /^X\(\/\).*/{
   23039 	    s//\1/
   23040 	    q
   23041 	  }
   23042 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23043  ;;
   23044 
   23045   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23046 echo "$as_me: executing $ac_file commands" >&6;}
   23047  ;;
   23048   esac
   23049 
   23050 
   23051   case $ac_file$ac_mode in
   23052     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23053   # Strip MF so we end up with the name of the file.
   23054   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23055   # Check whether this is an Automake generated Makefile or not.
   23056   # We used to match only the files named `Makefile.in', but
   23057   # some people rename them; so instead we look at the file content.
   23058   # Grep'ing the first line is not enough: some people post-process
   23059   # each Makefile.in and add a new line on top of each file to say so.
   23060   # Grep'ing the whole file is not good either: AIX grep has a line
   23061   # limit of 2048, but all sed's we know have understand at least 4000.
   23062   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23063     dirpart=`$as_dirname -- "$mf" ||
   23064 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23065 	 X"$mf" : 'X\(//\)[^/]' \| \
   23066 	 X"$mf" : 'X\(//\)$' \| \
   23067 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23068 echo X"$mf" |
   23069     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23070 	    s//\1/
   23071 	    q
   23072 	  }
   23073 	  /^X\(\/\/\)[^/].*/{
   23074 	    s//\1/
   23075 	    q
   23076 	  }
   23077 	  /^X\(\/\/\)$/{
   23078 	    s//\1/
   23079 	    q
   23080 	  }
   23081 	  /^X\(\/\).*/{
   23082 	    s//\1/
   23083 	    q
   23084 	  }
   23085 	  s/.*/./; q'`
   23086   else
   23087     continue
   23088   fi
   23089   # Extract the definition of DEPDIR, am__include, and am__quote
   23090   # from the Makefile without running `make'.
   23091   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23092   test -z "$DEPDIR" && continue
   23093   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23094   test -z "am__include" && continue
   23095   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23096   # When using ansi2knr, U may be empty or an underscore; expand it
   23097   U=`sed -n 's/^U = //p' < "$mf"`
   23098   # Find all dependency output files, they are included files with
   23099   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23100   # simplest approach to changing $(DEPDIR) to its actual value in the
   23101   # expansion.
   23102   for file in `sed -n "
   23103     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23104        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23105     # Make sure the directory exists.
   23106     test -f "$dirpart/$file" && continue
   23107     fdir=`$as_dirname -- "$file" ||
   23108 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23109 	 X"$file" : 'X\(//\)[^/]' \| \
   23110 	 X"$file" : 'X\(//\)$' \| \
   23111 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23112 echo X"$file" |
   23113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23114 	    s//\1/
   23115 	    q
   23116 	  }
   23117 	  /^X\(\/\/\)[^/].*/{
   23118 	    s//\1/
   23119 	    q
   23120 	  }
   23121 	  /^X\(\/\/\)$/{
   23122 	    s//\1/
   23123 	    q
   23124 	  }
   23125 	  /^X\(\/\).*/{
   23126 	    s//\1/
   23127 	    q
   23128 	  }
   23129 	  s/.*/./; q'`
   23130     { as_dir=$dirpart/$fdir
   23131   case $as_dir in #(
   23132   -*) as_dir=./$as_dir;;
   23133   esac
   23134   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23135     as_dirs=
   23136     while :; do
   23137       case $as_dir in #(
   23138       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23139       *) as_qdir=$as_dir;;
   23140       esac
   23141       as_dirs="'$as_qdir' $as_dirs"
   23142       as_dir=`$as_dirname -- "$as_dir" ||
   23143 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23144 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23145 	 X"$as_dir" : 'X\(//\)$' \| \
   23146 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23147 echo X"$as_dir" |
   23148     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23149 	    s//\1/
   23150 	    q
   23151 	  }
   23152 	  /^X\(\/\/\)[^/].*/{
   23153 	    s//\1/
   23154 	    q
   23155 	  }
   23156 	  /^X\(\/\/\)$/{
   23157 	    s//\1/
   23158 	    q
   23159 	  }
   23160 	  /^X\(\/\).*/{
   23161 	    s//\1/
   23162 	    q
   23163 	  }
   23164 	  s/.*/./; q'`
   23165       test -d "$as_dir" && break
   23166     done
   23167     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23168   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23169 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23170    { (exit 1); exit 1; }; }; }
   23171     # echo "creating $dirpart/$file"
   23172     echo '# dummy' > "$dirpart/$file"
   23173   done
   23174 done
   23175  ;;
   23176 
   23177   esac
   23178 done # for ac_tag
   23179 
   23180 
   23181 { (exit 0); exit 0; }
   23182 _ACEOF
   23183 chmod +x $CONFIG_STATUS
   23184 ac_clean_files=$ac_clean_files_save
   23185 
   23186 
   23187 # configure is writing to config.log, and then calls config.status.
   23188 # config.status does its own redirection, appending to config.log.
   23189 # Unfortunately, on DOS this fails, as config.log is still kept open
   23190 # by configure, so config.status won't be able to write to it; its
   23191 # output is simply discarded.  So we exec the FD to /dev/null,
   23192 # effectively closing config.log, so it can be properly (re)opened and
   23193 # appended to by config.status.  When coming back to configure, we
   23194 # need to make the FD available again.
   23195 if test "$no_create" != yes; then
   23196   ac_cs_success=:
   23197   ac_config_status_args=
   23198   test "$silent" = yes &&
   23199     ac_config_status_args="$ac_config_status_args --quiet"
   23200   exec 5>/dev/null
   23201   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23202   exec 5>>config.log
   23203   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23204   # would make configure fail if this is the last instruction.
   23205   $ac_cs_success || { (exit 1); exit 1; }
   23206 fi
   23207 
   23208