Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-ati 6.12.2.
      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-ati'
    730 PACKAGE_TARNAME='xf86-video-ati'
    731 PACKAGE_VERSION='6.12.2'
    732 PACKAGE_STRING='xf86-video-ati 6.12.2'
    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 DSYMUTIL
    866 NMEDIT
    867 CPP
    868 CXX
    869 CXXFLAGS
    870 ac_ct_CXX
    871 CXXDEPMODE
    872 am__fastdepCXX_TRUE
    873 am__fastdepCXX_FALSE
    874 CXXCPP
    875 F77
    876 FFLAGS
    877 ac_ct_F77
    878 LIBTOOL
    879 PKG_CONFIG
    880 XORG_CFLAGS
    881 XORG_LIBS
    882 DRI_TRUE
    883 DRI_FALSE
    884 DRI_CFLAGS
    885 DRI_LIBS
    886 XMODES_TRUE
    887 XMODES_FALSE
    888 XMODES_CFLAGS
    889 USE_EXA_TRUE
    890 USE_EXA_FALSE
    891 PCIACCESS_CFLAGS
    892 PCIACCESS_LIBS
    893 XSERVER_LIBPCIACCESS_TRUE
    894 XSERVER_LIBPCIACCESS_FALSE
    895 moduledir
    896 DRIVER_NAME
    897 APP_MAN_SUFFIX
    898 LIB_MAN_SUFFIX
    899 FILE_MAN_SUFFIX
    900 MISC_MAN_SUFFIX
    901 DRIVER_MAN_SUFFIX
    902 ADMIN_MAN_SUFFIX
    903 APP_MAN_DIR
    904 LIB_MAN_DIR
    905 FILE_MAN_DIR
    906 MISC_MAN_DIR
    907 DRIVER_MAN_DIR
    908 ADMIN_MAN_DIR
    909 LINUXDOC
    910 PS2PDF
    911 BUILD_LINUXDOC_TRUE
    912 BUILD_LINUXDOC_FALSE
    913 BUILD_PDFDOC_TRUE
    914 BUILD_PDFDOC_FALSE
    915 MAKE_TEXT
    916 MAKE_PS
    917 MAKE_PDF
    918 MAKE_HTML
    919 LIBOBJS
    920 LTLIBOBJS'
    921 ac_subst_files=''
    922       ac_precious_vars='build_alias
    923 host_alias
    924 target_alias
    925 CC
    926 CFLAGS
    927 LDFLAGS
    928 LIBS
    929 CPPFLAGS
    930 CPP
    931 CXX
    932 CXXFLAGS
    933 CCC
    934 CXXCPP
    935 F77
    936 FFLAGS
    937 PKG_CONFIG
    938 XORG_CFLAGS
    939 XORG_LIBS
    940 DRI_CFLAGS
    941 DRI_LIBS
    942 PCIACCESS_CFLAGS
    943 PCIACCESS_LIBS'
    944 
    945 
    946 # Initialize some variables set by options.
    947 ac_init_help=
    948 ac_init_version=false
    949 # The variables have the same names as the options, with
    950 # dashes changed to underlines.
    951 cache_file=/dev/null
    952 exec_prefix=NONE
    953 no_create=
    954 no_recursion=
    955 prefix=NONE
    956 program_prefix=NONE
    957 program_suffix=NONE
    958 program_transform_name=s,x,x,
    959 silent=
    960 site=
    961 srcdir=
    962 verbose=
    963 x_includes=NONE
    964 x_libraries=NONE
    965 
    966 # Installation directory options.
    967 # These are left unexpanded so users can "make install exec_prefix=/foo"
    968 # and all the variables that are supposed to be based on exec_prefix
    969 # by default will actually change.
    970 # Use braces instead of parens because sh, perl, etc. also accept them.
    971 # (The list follows the same order as the GNU Coding Standards.)
    972 bindir='${exec_prefix}/bin'
    973 sbindir='${exec_prefix}/sbin'
    974 libexecdir='${exec_prefix}/libexec'
    975 datarootdir='${prefix}/share'
    976 datadir='${datarootdir}'
    977 sysconfdir='${prefix}/etc'
    978 sharedstatedir='${prefix}/com'
    979 localstatedir='${prefix}/var'
    980 includedir='${prefix}/include'
    981 oldincludedir='/usr/include'
    982 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    983 infodir='${datarootdir}/info'
    984 htmldir='${docdir}'
    985 dvidir='${docdir}'
    986 pdfdir='${docdir}'
    987 psdir='${docdir}'
    988 libdir='${exec_prefix}/lib'
    989 localedir='${datarootdir}/locale'
    990 mandir='${datarootdir}/man'
    991 
    992 ac_prev=
    993 ac_dashdash=
    994 for ac_option
    995 do
    996   # If the previous option needs an argument, assign it.
    997   if test -n "$ac_prev"; then
    998     eval $ac_prev=\$ac_option
    999     ac_prev=
   1000     continue
   1001   fi
   1002 
   1003   case $ac_option in
   1004   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1005   *)	ac_optarg=yes ;;
   1006   esac
   1007 
   1008   # Accept the important Cygnus configure options, so we can diagnose typos.
   1009 
   1010   case $ac_dashdash$ac_option in
   1011   --)
   1012     ac_dashdash=yes ;;
   1013 
   1014   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1015     ac_prev=bindir ;;
   1016   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1017     bindir=$ac_optarg ;;
   1018 
   1019   -build | --build | --buil | --bui | --bu)
   1020     ac_prev=build_alias ;;
   1021   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1022     build_alias=$ac_optarg ;;
   1023 
   1024   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1025   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1026     ac_prev=cache_file ;;
   1027   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1028   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1029     cache_file=$ac_optarg ;;
   1030 
   1031   --config-cache | -C)
   1032     cache_file=config.cache ;;
   1033 
   1034   -datadir | --datadir | --datadi | --datad)
   1035     ac_prev=datadir ;;
   1036   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1037     datadir=$ac_optarg ;;
   1038 
   1039   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1040   | --dataroo | --dataro | --datar)
   1041     ac_prev=datarootdir ;;
   1042   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1043   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1044     datarootdir=$ac_optarg ;;
   1045 
   1046   -disable-* | --disable-*)
   1047     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1048     # Reject names that are not valid shell variable names.
   1049     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1050       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1051    { (exit 1); exit 1; }; }
   1052     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1053     eval enable_$ac_feature=no ;;
   1054 
   1055   -docdir | --docdir | --docdi | --doc | --do)
   1056     ac_prev=docdir ;;
   1057   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1058     docdir=$ac_optarg ;;
   1059 
   1060   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1061     ac_prev=dvidir ;;
   1062   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1063     dvidir=$ac_optarg ;;
   1064 
   1065   -enable-* | --enable-*)
   1066     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1067     # Reject names that are not valid shell variable names.
   1068     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1069       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1070    { (exit 1); exit 1; }; }
   1071     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1072     eval enable_$ac_feature=\$ac_optarg ;;
   1073 
   1074   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1075   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1076   | --exec | --exe | --ex)
   1077     ac_prev=exec_prefix ;;
   1078   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1079   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1080   | --exec=* | --exe=* | --ex=*)
   1081     exec_prefix=$ac_optarg ;;
   1082 
   1083   -gas | --gas | --ga | --g)
   1084     # Obsolete; use --with-gas.
   1085     with_gas=yes ;;
   1086 
   1087   -help | --help | --hel | --he | -h)
   1088     ac_init_help=long ;;
   1089   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1090     ac_init_help=recursive ;;
   1091   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1092     ac_init_help=short ;;
   1093 
   1094   -host | --host | --hos | --ho)
   1095     ac_prev=host_alias ;;
   1096   -host=* | --host=* | --hos=* | --ho=*)
   1097     host_alias=$ac_optarg ;;
   1098 
   1099   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1100     ac_prev=htmldir ;;
   1101   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1102   | --ht=*)
   1103     htmldir=$ac_optarg ;;
   1104 
   1105   -includedir | --includedir | --includedi | --included | --include \
   1106   | --includ | --inclu | --incl | --inc)
   1107     ac_prev=includedir ;;
   1108   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1109   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1110     includedir=$ac_optarg ;;
   1111 
   1112   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1113     ac_prev=infodir ;;
   1114   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1115     infodir=$ac_optarg ;;
   1116 
   1117   -libdir | --libdir | --libdi | --libd)
   1118     ac_prev=libdir ;;
   1119   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1120     libdir=$ac_optarg ;;
   1121 
   1122   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1123   | --libexe | --libex | --libe)
   1124     ac_prev=libexecdir ;;
   1125   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1126   | --libexe=* | --libex=* | --libe=*)
   1127     libexecdir=$ac_optarg ;;
   1128 
   1129   -localedir | --localedir | --localedi | --localed | --locale)
   1130     ac_prev=localedir ;;
   1131   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1132     localedir=$ac_optarg ;;
   1133 
   1134   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1135   | --localstate | --localstat | --localsta | --localst | --locals)
   1136     ac_prev=localstatedir ;;
   1137   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1138   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1139     localstatedir=$ac_optarg ;;
   1140 
   1141   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1142     ac_prev=mandir ;;
   1143   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1144     mandir=$ac_optarg ;;
   1145 
   1146   -nfp | --nfp | --nf)
   1147     # Obsolete; use --without-fp.
   1148     with_fp=no ;;
   1149 
   1150   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1151   | --no-cr | --no-c | -n)
   1152     no_create=yes ;;
   1153 
   1154   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1155   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1156     no_recursion=yes ;;
   1157 
   1158   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1159   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1160   | --oldin | --oldi | --old | --ol | --o)
   1161     ac_prev=oldincludedir ;;
   1162   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1163   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1164   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1165     oldincludedir=$ac_optarg ;;
   1166 
   1167   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1168     ac_prev=prefix ;;
   1169   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1170     prefix=$ac_optarg ;;
   1171 
   1172   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1173   | --program-pre | --program-pr | --program-p)
   1174     ac_prev=program_prefix ;;
   1175   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1176   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1177     program_prefix=$ac_optarg ;;
   1178 
   1179   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1180   | --program-suf | --program-su | --program-s)
   1181     ac_prev=program_suffix ;;
   1182   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1183   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1184     program_suffix=$ac_optarg ;;
   1185 
   1186   -program-transform-name | --program-transform-name \
   1187   | --program-transform-nam | --program-transform-na \
   1188   | --program-transform-n | --program-transform- \
   1189   | --program-transform | --program-transfor \
   1190   | --program-transfo | --program-transf \
   1191   | --program-trans | --program-tran \
   1192   | --progr-tra | --program-tr | --program-t)
   1193     ac_prev=program_transform_name ;;
   1194   -program-transform-name=* | --program-transform-name=* \
   1195   | --program-transform-nam=* | --program-transform-na=* \
   1196   | --program-transform-n=* | --program-transform-=* \
   1197   | --program-transform=* | --program-transfor=* \
   1198   | --program-transfo=* | --program-transf=* \
   1199   | --program-trans=* | --program-tran=* \
   1200   | --progr-tra=* | --program-tr=* | --program-t=*)
   1201     program_transform_name=$ac_optarg ;;
   1202 
   1203   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1204     ac_prev=pdfdir ;;
   1205   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1206     pdfdir=$ac_optarg ;;
   1207 
   1208   -psdir | --psdir | --psdi | --psd | --ps)
   1209     ac_prev=psdir ;;
   1210   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1211     psdir=$ac_optarg ;;
   1212 
   1213   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1214   | -silent | --silent | --silen | --sile | --sil)
   1215     silent=yes ;;
   1216 
   1217   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1218     ac_prev=sbindir ;;
   1219   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1220   | --sbi=* | --sb=*)
   1221     sbindir=$ac_optarg ;;
   1222 
   1223   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1224   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1225   | --sharedst | --shareds | --shared | --share | --shar \
   1226   | --sha | --sh)
   1227     ac_prev=sharedstatedir ;;
   1228   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1229   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1230   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1231   | --sha=* | --sh=*)
   1232     sharedstatedir=$ac_optarg ;;
   1233 
   1234   -site | --site | --sit)
   1235     ac_prev=site ;;
   1236   -site=* | --site=* | --sit=*)
   1237     site=$ac_optarg ;;
   1238 
   1239   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1240     ac_prev=srcdir ;;
   1241   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1242     srcdir=$ac_optarg ;;
   1243 
   1244   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1245   | --syscon | --sysco | --sysc | --sys | --sy)
   1246     ac_prev=sysconfdir ;;
   1247   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1248   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1249     sysconfdir=$ac_optarg ;;
   1250 
   1251   -target | --target | --targe | --targ | --tar | --ta | --t)
   1252     ac_prev=target_alias ;;
   1253   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1254     target_alias=$ac_optarg ;;
   1255 
   1256   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1257     verbose=yes ;;
   1258 
   1259   -version | --version | --versio | --versi | --vers | -V)
   1260     ac_init_version=: ;;
   1261 
   1262   -with-* | --with-*)
   1263     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1264     # Reject names that are not valid shell variable names.
   1265     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1266       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1267    { (exit 1); exit 1; }; }
   1268     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1269     eval with_$ac_package=\$ac_optarg ;;
   1270 
   1271   -without-* | --without-*)
   1272     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1273     # Reject names that are not valid shell variable names.
   1274     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1275       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1276    { (exit 1); exit 1; }; }
   1277     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1278     eval with_$ac_package=no ;;
   1279 
   1280   --x)
   1281     # Obsolete; use --with-x.
   1282     with_x=yes ;;
   1283 
   1284   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1285   | --x-incl | --x-inc | --x-in | --x-i)
   1286     ac_prev=x_includes ;;
   1287   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1288   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1289     x_includes=$ac_optarg ;;
   1290 
   1291   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1292   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1293     ac_prev=x_libraries ;;
   1294   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1295   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1296     x_libraries=$ac_optarg ;;
   1297 
   1298   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1299 Try \`$0 --help' for more information." >&2
   1300    { (exit 1); exit 1; }; }
   1301     ;;
   1302 
   1303   *=*)
   1304     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1305     # Reject names that are not valid shell variable names.
   1306     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1307       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1308    { (exit 1); exit 1; }; }
   1309     eval $ac_envvar=\$ac_optarg
   1310     export $ac_envvar ;;
   1311 
   1312   *)
   1313     # FIXME: should be removed in autoconf 3.0.
   1314     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1315     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1316       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1317     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1318     ;;
   1319 
   1320   esac
   1321 done
   1322 
   1323 if test -n "$ac_prev"; then
   1324   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1325   { echo "$as_me: error: missing argument to $ac_option" >&2
   1326    { (exit 1); exit 1; }; }
   1327 fi
   1328 
   1329 # Be sure to have absolute directory names.
   1330 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1331 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1332 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1333 		libdir localedir mandir
   1334 do
   1335   eval ac_val=\$$ac_var
   1336   case $ac_val in
   1337     [\\/$]* | ?:[\\/]* )  continue;;
   1338     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1339   esac
   1340   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1341    { (exit 1); exit 1; }; }
   1342 done
   1343 
   1344 # There might be people who depend on the old broken behavior: `$host'
   1345 # used to hold the argument of --host etc.
   1346 # FIXME: To remove some day.
   1347 build=$build_alias
   1348 host=$host_alias
   1349 target=$target_alias
   1350 
   1351 # FIXME: To remove some day.
   1352 if test "x$host_alias" != x; then
   1353   if test "x$build_alias" = x; then
   1354     cross_compiling=maybe
   1355     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1356     If a cross compiler is detected then cross compile mode will be used." >&2
   1357   elif test "x$build_alias" != "x$host_alias"; then
   1358     cross_compiling=yes
   1359   fi
   1360 fi
   1361 
   1362 ac_tool_prefix=
   1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1364 
   1365 test "$silent" = yes && exec 6>/dev/null
   1366 
   1367 
   1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1369 ac_ls_di=`ls -di .` &&
   1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1371   { echo "$as_me: error: Working directory cannot be determined" >&2
   1372    { (exit 1); exit 1; }; }
   1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1374   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1375    { (exit 1); exit 1; }; }
   1376 
   1377 
   1378 # Find the source files, if location was not specified.
   1379 if test -z "$srcdir"; then
   1380   ac_srcdir_defaulted=yes
   1381   # Try the directory containing this script, then the parent directory.
   1382   ac_confdir=`$as_dirname -- "$0" ||
   1383 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1384 	 X"$0" : 'X\(//\)[^/]' \| \
   1385 	 X"$0" : 'X\(//\)$' \| \
   1386 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1387 echo X"$0" |
   1388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1389 	    s//\1/
   1390 	    q
   1391 	  }
   1392 	  /^X\(\/\/\)[^/].*/{
   1393 	    s//\1/
   1394 	    q
   1395 	  }
   1396 	  /^X\(\/\/\)$/{
   1397 	    s//\1/
   1398 	    q
   1399 	  }
   1400 	  /^X\(\/\).*/{
   1401 	    s//\1/
   1402 	    q
   1403 	  }
   1404 	  s/.*/./; q'`
   1405   srcdir=$ac_confdir
   1406   if test ! -r "$srcdir/$ac_unique_file"; then
   1407     srcdir=..
   1408   fi
   1409 else
   1410   ac_srcdir_defaulted=no
   1411 fi
   1412 if test ! -r "$srcdir/$ac_unique_file"; then
   1413   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1414   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1415    { (exit 1); exit 1; }; }
   1416 fi
   1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1418 ac_abs_confdir=`(
   1419 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1420    { (exit 1); exit 1; }; }
   1421 	pwd)`
   1422 # When building in place, set srcdir=.
   1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1424   srcdir=.
   1425 fi
   1426 # Remove unnecessary trailing slashes from srcdir.
   1427 # Double slashes in file names in object file debugging info
   1428 # mess up M-x gdb in Emacs.
   1429 case $srcdir in
   1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1431 esac
   1432 for ac_var in $ac_precious_vars; do
   1433   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1434   eval ac_env_${ac_var}_value=\$${ac_var}
   1435   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1436   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1437 done
   1438 
   1439 #
   1440 # Report the --help message.
   1441 #
   1442 if test "$ac_init_help" = "long"; then
   1443   # Omit some internal or obsolete options to make the list less imposing.
   1444   # This message is too long to be a string in the A/UX 3.1 sh.
   1445   cat <<_ACEOF
   1446 \`configure' configures xf86-video-ati 6.12.2 to adapt to many kinds of systems.
   1447 
   1448 Usage: $0 [OPTION]... [VAR=VALUE]...
   1449 
   1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1451 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1452 
   1453 Defaults for the options are specified in brackets.
   1454 
   1455 Configuration:
   1456   -h, --help              display this help and exit
   1457       --help=short        display options specific to this package
   1458       --help=recursive    display the short help of all the included packages
   1459   -V, --version           display version information and exit
   1460   -q, --quiet, --silent   do not print \`checking...' messages
   1461       --cache-file=FILE   cache test results in FILE [disabled]
   1462   -C, --config-cache      alias for \`--cache-file=config.cache'
   1463   -n, --no-create         do not create output files
   1464       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1465 
   1466 Installation directories:
   1467   --prefix=PREFIX         install architecture-independent files in PREFIX
   1468 			  [$ac_default_prefix]
   1469   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1470 			  [PREFIX]
   1471 
   1472 By default, \`make install' will install all the files in
   1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1475 for instance \`--prefix=\$HOME'.
   1476 
   1477 For better control, use the options below.
   1478 
   1479 Fine tuning of the installation directories:
   1480   --bindir=DIR           user executables [EPREFIX/bin]
   1481   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1482   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1483   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1484   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1485   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1486   --libdir=DIR           object code libraries [EPREFIX/lib]
   1487   --includedir=DIR       C header files [PREFIX/include]
   1488   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1489   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1490   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1491   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1492   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1493   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1494   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-ati]
   1495   --htmldir=DIR          html documentation [DOCDIR]
   1496   --dvidir=DIR           dvi documentation [DOCDIR]
   1497   --pdfdir=DIR           pdf documentation [DOCDIR]
   1498   --psdir=DIR            ps documentation [DOCDIR]
   1499 _ACEOF
   1500 
   1501   cat <<\_ACEOF
   1502 
   1503 Program names:
   1504   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1505   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1506   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1507 
   1508 System types:
   1509   --build=BUILD     configure for building on BUILD [guessed]
   1510   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1511 _ACEOF
   1512 fi
   1513 
   1514 if test -n "$ac_init_help"; then
   1515   case $ac_init_help in
   1516      short | recursive ) echo "Configuration of xf86-video-ati 6.12.2:";;
   1517    esac
   1518   cat <<\_ACEOF
   1519 
   1520 Optional Features:
   1521   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1522   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1523   --enable-maintainer-mode  enable make rules and dependencies not useful
   1524 			  (and sometimes confusing) to the casual installer
   1525   --enable-static[=PKGS]  build static libraries [default=no]
   1526   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1527   --enable-fast-install[=PKGS]
   1528                           optimize for fast installation [default=yes]
   1529   --disable-dependency-tracking  speeds up one-time build
   1530   --enable-dependency-tracking   do not reject slow dependency extractors
   1531   --disable-libtool-lock  avoid locking (might break parallel builds)
   1532   --disable-dri           Disable DRI support [default=auto]
   1533   --disable-exa           Disable EXA support [default=enabled]
   1534 
   1535 Optional Packages:
   1536   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1537   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1538   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1539   --with-pic              try to use only PIC/non-PIC objects [default=use
   1540                           both]
   1541   --with-tags[=TAGS]      include additional configurations [automatic]
   1542   --with-xorg-module-dir=DIR
   1543                           Default xorg module directory
   1544                           [default=$libdir/xorg/modules]
   1545   --with-xserver-source=XSERVER_SOURCE
   1546                           Path to X server source tree
   1547   --with-release-version=STRING
   1548                           Use release version string in package name
   1549 
   1550 Some influential environment variables:
   1551   CC          C compiler command
   1552   CFLAGS      C compiler flags
   1553   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1554               nonstandard directory <lib dir>
   1555   LIBS        libraries to pass to the linker, e.g. -l<library>
   1556   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1557               you have headers in a nonstandard directory <include dir>
   1558   CPP         C preprocessor
   1559   CXX         C++ compiler command
   1560   CXXFLAGS    C++ compiler flags
   1561   CXXCPP      C++ preprocessor
   1562   F77         Fortran 77 compiler command
   1563   FFLAGS      Fortran 77 compiler flags
   1564   PKG_CONFIG  path to pkg-config utility
   1565   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1566   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1567   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1568   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1569   PCIACCESS_CFLAGS
   1570               C compiler flags for PCIACCESS, overriding pkg-config
   1571   PCIACCESS_LIBS
   1572               linker flags for PCIACCESS, overriding pkg-config
   1573 
   1574 Use these variables to override the choices made by `configure' or to help
   1575 it to find libraries and programs with nonstandard names/locations.
   1576 
   1577 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1578 _ACEOF
   1579 ac_status=$?
   1580 fi
   1581 
   1582 if test "$ac_init_help" = "recursive"; then
   1583   # If there are subdirs, report their specific --help.
   1584   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1585     test -d "$ac_dir" || continue
   1586     ac_builddir=.
   1587 
   1588 case "$ac_dir" in
   1589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1590 *)
   1591   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1592   # A ".." for each directory in $ac_dir_suffix.
   1593   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1594   case $ac_top_builddir_sub in
   1595   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1596   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1597   esac ;;
   1598 esac
   1599 ac_abs_top_builddir=$ac_pwd
   1600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1601 # for backward compatibility:
   1602 ac_top_builddir=$ac_top_build_prefix
   1603 
   1604 case $srcdir in
   1605   .)  # We are building in place.
   1606     ac_srcdir=.
   1607     ac_top_srcdir=$ac_top_builddir_sub
   1608     ac_abs_top_srcdir=$ac_pwd ;;
   1609   [\\/]* | ?:[\\/]* )  # Absolute name.
   1610     ac_srcdir=$srcdir$ac_dir_suffix;
   1611     ac_top_srcdir=$srcdir
   1612     ac_abs_top_srcdir=$srcdir ;;
   1613   *) # Relative name.
   1614     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1615     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1616     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1617 esac
   1618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1619 
   1620     cd "$ac_dir" || { ac_status=$?; continue; }
   1621     # Check for guested configure.
   1622     if test -f "$ac_srcdir/configure.gnu"; then
   1623       echo &&
   1624       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1625     elif test -f "$ac_srcdir/configure"; then
   1626       echo &&
   1627       $SHELL "$ac_srcdir/configure" --help=recursive
   1628     else
   1629       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1630     fi || ac_status=$?
   1631     cd "$ac_pwd" || { ac_status=$?; break; }
   1632   done
   1633 fi
   1634 
   1635 test -n "$ac_init_help" && exit $ac_status
   1636 if $ac_init_version; then
   1637   cat <<\_ACEOF
   1638 xf86-video-ati configure 6.12.2
   1639 generated by GNU Autoconf 2.61
   1640 
   1641 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1642 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1643 This configure script is free software; the Free Software Foundation
   1644 gives unlimited permission to copy, distribute and modify it.
   1645 _ACEOF
   1646   exit
   1647 fi
   1648 cat >config.log <<_ACEOF
   1649 This file contains any messages produced by compilers while
   1650 running configure, to aid debugging if configure makes a mistake.
   1651 
   1652 It was created by xf86-video-ati $as_me 6.12.2, which was
   1653 generated by GNU Autoconf 2.61.  Invocation command line was
   1654 
   1655   $ $0 $@
   1656 
   1657 _ACEOF
   1658 exec 5>>config.log
   1659 {
   1660 cat <<_ASUNAME
   1661 ## --------- ##
   1662 ## Platform. ##
   1663 ## --------- ##
   1664 
   1665 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1666 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1667 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1668 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1669 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1670 
   1671 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1672 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1673 
   1674 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1675 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1676 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1677 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1678 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1679 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1680 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1681 
   1682 _ASUNAME
   1683 
   1684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1685 for as_dir in $PATH
   1686 do
   1687   IFS=$as_save_IFS
   1688   test -z "$as_dir" && as_dir=.
   1689   echo "PATH: $as_dir"
   1690 done
   1691 IFS=$as_save_IFS
   1692 
   1693 } >&5
   1694 
   1695 cat >&5 <<_ACEOF
   1696 
   1697 
   1698 ## ----------- ##
   1699 ## Core tests. ##
   1700 ## ----------- ##
   1701 
   1702 _ACEOF
   1703 
   1704 
   1705 # Keep a trace of the command line.
   1706 # Strip out --no-create and --no-recursion so they do not pile up.
   1707 # Strip out --silent because we don't want to record it for future runs.
   1708 # Also quote any args containing shell meta-characters.
   1709 # Make two passes to allow for proper duplicate-argument suppression.
   1710 ac_configure_args=
   1711 ac_configure_args0=
   1712 ac_configure_args1=
   1713 ac_must_keep_next=false
   1714 for ac_pass in 1 2
   1715 do
   1716   for ac_arg
   1717   do
   1718     case $ac_arg in
   1719     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1720     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1721     | -silent | --silent | --silen | --sile | --sil)
   1722       continue ;;
   1723     *\'*)
   1724       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1725     esac
   1726     case $ac_pass in
   1727     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1728     2)
   1729       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1730       if test $ac_must_keep_next = true; then
   1731 	ac_must_keep_next=false # Got value, back to normal.
   1732       else
   1733 	case $ac_arg in
   1734 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1735 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1736 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1737 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1738 	    case "$ac_configure_args0 " in
   1739 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1740 	    esac
   1741 	    ;;
   1742 	  -* ) ac_must_keep_next=true ;;
   1743 	esac
   1744       fi
   1745       ac_configure_args="$ac_configure_args '$ac_arg'"
   1746       ;;
   1747     esac
   1748   done
   1749 done
   1750 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1751 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1752 
   1753 # When interrupted or exit'd, cleanup temporary files, and complete
   1754 # config.log.  We remove comments because anyway the quotes in there
   1755 # would cause problems or look ugly.
   1756 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1757 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1758 trap 'exit_status=$?
   1759   # Save into config.log some information that might help in debugging.
   1760   {
   1761     echo
   1762 
   1763     cat <<\_ASBOX
   1764 ## ---------------- ##
   1765 ## Cache variables. ##
   1766 ## ---------------- ##
   1767 _ASBOX
   1768     echo
   1769     # The following way of writing the cache mishandles newlines in values,
   1770 (
   1771   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1772     eval ac_val=\$$ac_var
   1773     case $ac_val in #(
   1774     *${as_nl}*)
   1775       case $ac_var in #(
   1776       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1777 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1778       esac
   1779       case $ac_var in #(
   1780       _ | IFS | as_nl) ;; #(
   1781       *) $as_unset $ac_var ;;
   1782       esac ;;
   1783     esac
   1784   done
   1785   (set) 2>&1 |
   1786     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1787     *${as_nl}ac_space=\ *)
   1788       sed -n \
   1789 	"s/'\''/'\''\\\\'\'''\''/g;
   1790 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1791       ;; #(
   1792     *)
   1793       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1794       ;;
   1795     esac |
   1796     sort
   1797 )
   1798     echo
   1799 
   1800     cat <<\_ASBOX
   1801 ## ----------------- ##
   1802 ## Output variables. ##
   1803 ## ----------------- ##
   1804 _ASBOX
   1805     echo
   1806     for ac_var in $ac_subst_vars
   1807     do
   1808       eval ac_val=\$$ac_var
   1809       case $ac_val in
   1810       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1811       esac
   1812       echo "$ac_var='\''$ac_val'\''"
   1813     done | sort
   1814     echo
   1815 
   1816     if test -n "$ac_subst_files"; then
   1817       cat <<\_ASBOX
   1818 ## ------------------- ##
   1819 ## File substitutions. ##
   1820 ## ------------------- ##
   1821 _ASBOX
   1822       echo
   1823       for ac_var in $ac_subst_files
   1824       do
   1825 	eval ac_val=\$$ac_var
   1826 	case $ac_val in
   1827 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1828 	esac
   1829 	echo "$ac_var='\''$ac_val'\''"
   1830       done | sort
   1831       echo
   1832     fi
   1833 
   1834     if test -s confdefs.h; then
   1835       cat <<\_ASBOX
   1836 ## ----------- ##
   1837 ## confdefs.h. ##
   1838 ## ----------- ##
   1839 _ASBOX
   1840       echo
   1841       cat confdefs.h
   1842       echo
   1843     fi
   1844     test "$ac_signal" != 0 &&
   1845       echo "$as_me: caught signal $ac_signal"
   1846     echo "$as_me: exit $exit_status"
   1847   } >&5
   1848   rm -f core *.core core.conftest.* &&
   1849     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1850     exit $exit_status
   1851 ' 0
   1852 for ac_signal in 1 2 13 15; do
   1853   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1854 done
   1855 ac_signal=0
   1856 
   1857 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1858 rm -f -r conftest* confdefs.h
   1859 
   1860 # Predefined preprocessor variables.
   1861 
   1862 cat >>confdefs.h <<_ACEOF
   1863 #define PACKAGE_NAME "$PACKAGE_NAME"
   1864 _ACEOF
   1865 
   1866 
   1867 cat >>confdefs.h <<_ACEOF
   1868 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1869 _ACEOF
   1870 
   1871 
   1872 cat >>confdefs.h <<_ACEOF
   1873 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1874 _ACEOF
   1875 
   1876 
   1877 cat >>confdefs.h <<_ACEOF
   1878 #define PACKAGE_STRING "$PACKAGE_STRING"
   1879 _ACEOF
   1880 
   1881 
   1882 cat >>confdefs.h <<_ACEOF
   1883 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1884 _ACEOF
   1885 
   1886 
   1887 # Let the site file select an alternate cache file if it wants to.
   1888 # Prefer explicitly selected file to automatically selected ones.
   1889 if test -n "$CONFIG_SITE"; then
   1890   set x "$CONFIG_SITE"
   1891 elif test "x$prefix" != xNONE; then
   1892   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1893 else
   1894   set x "$ac_default_prefix/share/config.site" \
   1895 	"$ac_default_prefix/etc/config.site"
   1896 fi
   1897 shift
   1898 for ac_site_file
   1899 do
   1900   if test -r "$ac_site_file"; then
   1901     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1902 echo "$as_me: loading site script $ac_site_file" >&6;}
   1903     sed 's/^/| /' "$ac_site_file" >&5
   1904     . "$ac_site_file"
   1905   fi
   1906 done
   1907 
   1908 if test -r "$cache_file"; then
   1909   # Some versions of bash will fail to source /dev/null (special
   1910   # files actually), so we avoid doing that.
   1911   if test -f "$cache_file"; then
   1912     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1913 echo "$as_me: loading cache $cache_file" >&6;}
   1914     case $cache_file in
   1915       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1916       *)                      . "./$cache_file";;
   1917     esac
   1918   fi
   1919 else
   1920   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1921 echo "$as_me: creating cache $cache_file" >&6;}
   1922   >$cache_file
   1923 fi
   1924 
   1925 # Check that the precious variables saved in the cache have kept the same
   1926 # value.
   1927 ac_cache_corrupted=false
   1928 for ac_var in $ac_precious_vars; do
   1929   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1930   eval ac_new_set=\$ac_env_${ac_var}_set
   1931   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1932   eval ac_new_val=\$ac_env_${ac_var}_value
   1933   case $ac_old_set,$ac_new_set in
   1934     set,)
   1935       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1936 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1937       ac_cache_corrupted=: ;;
   1938     ,set)
   1939       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1940 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1941       ac_cache_corrupted=: ;;
   1942     ,);;
   1943     *)
   1944       if test "x$ac_old_val" != "x$ac_new_val"; then
   1945 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1946 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1947 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1948 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1949 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1950 echo "$as_me:   current value: $ac_new_val" >&2;}
   1951 	ac_cache_corrupted=:
   1952       fi;;
   1953   esac
   1954   # Pass precious variables to config.status.
   1955   if test "$ac_new_set" = set; then
   1956     case $ac_new_val in
   1957     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1958     *) ac_arg=$ac_var=$ac_new_val ;;
   1959     esac
   1960     case " $ac_configure_args " in
   1961       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1962       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1963     esac
   1964   fi
   1965 done
   1966 if $ac_cache_corrupted; then
   1967   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1968 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1969   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1970 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1971    { (exit 1); exit 1; }; }
   1972 fi
   1973 
   1974 
   1975 
   1976 
   1977 
   1978 
   1979 
   1980 
   1981 
   1982 
   1983 
   1984 
   1985 
   1986 
   1987 
   1988 
   1989 
   1990 
   1991 
   1992 
   1993 
   1994 
   1995 
   1996 
   1997 
   1998 ac_ext=c
   1999 ac_cpp='$CPP $CPPFLAGS'
   2000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2003 
   2004 
   2005 
   2006 
   2007 ac_config_headers="$ac_config_headers config.h"
   2008 
   2009 ac_aux_dir=
   2010 for ac_dir in . "$srcdir"/.; do
   2011   if test -f "$ac_dir/install-sh"; then
   2012     ac_aux_dir=$ac_dir
   2013     ac_install_sh="$ac_aux_dir/install-sh -c"
   2014     break
   2015   elif test -f "$ac_dir/install.sh"; then
   2016     ac_aux_dir=$ac_dir
   2017     ac_install_sh="$ac_aux_dir/install.sh -c"
   2018     break
   2019   elif test -f "$ac_dir/shtool"; then
   2020     ac_aux_dir=$ac_dir
   2021     ac_install_sh="$ac_aux_dir/shtool install -c"
   2022     break
   2023   fi
   2024 done
   2025 if test -z "$ac_aux_dir"; then
   2026   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2027 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2028    { (exit 1); exit 1; }; }
   2029 fi
   2030 
   2031 # These three variables are undocumented and unsupported,
   2032 # and are intended to be withdrawn in a future Autoconf release.
   2033 # They can cause serious problems if a builder's source tree is in a directory
   2034 # whose full name contains unusual characters.
   2035 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2036 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2037 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2038 
   2039 
   2040 
   2041 am__api_version='1.10'
   2042 
   2043 # Find a good install program.  We prefer a C program (faster),
   2044 # so one script is as good as another.  But avoid the broken or
   2045 # incompatible versions:
   2046 # SysV /etc/install, /usr/sbin/install
   2047 # SunOS /usr/etc/install
   2048 # IRIX /sbin/install
   2049 # AIX /bin/install
   2050 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2051 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2052 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2053 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2054 # OS/2's system install, which has a completely different semantic
   2055 # ./install, which can be erroneously created by make from ./install.sh.
   2056 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2057 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2058 if test -z "$INSTALL"; then
   2059 if test "${ac_cv_path_install+set}" = set; then
   2060   echo $ECHO_N "(cached) $ECHO_C" >&6
   2061 else
   2062   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2063 for as_dir in $PATH
   2064 do
   2065   IFS=$as_save_IFS
   2066   test -z "$as_dir" && as_dir=.
   2067   # Account for people who put trailing slashes in PATH elements.
   2068 case $as_dir/ in
   2069   ./ | .// | /cC/* | \
   2070   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2071   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2072   /usr/ucb/* ) ;;
   2073   *)
   2074     # OSF1 and SCO ODT 3.0 have their own names for install.
   2075     # Don't use installbsd from OSF since it installs stuff as root
   2076     # by default.
   2077     for ac_prog in ginstall scoinst install; do
   2078       for ac_exec_ext in '' $ac_executable_extensions; do
   2079 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2080 	  if test $ac_prog = install &&
   2081 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2082 	    # AIX install.  It has an incompatible calling convention.
   2083 	    :
   2084 	  elif test $ac_prog = install &&
   2085 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2086 	    # program-specific install script used by HP pwplus--don't use.
   2087 	    :
   2088 	  else
   2089 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2090 	    break 3
   2091 	  fi
   2092 	fi
   2093       done
   2094     done
   2095     ;;
   2096 esac
   2097 done
   2098 IFS=$as_save_IFS
   2099 
   2100 
   2101 fi
   2102   if test "${ac_cv_path_install+set}" = set; then
   2103     INSTALL=$ac_cv_path_install
   2104   else
   2105     # As a last resort, use the slow shell script.  Don't cache a
   2106     # value for INSTALL within a source directory, because that will
   2107     # break other packages using the cache if that directory is
   2108     # removed, or if the value is a relative name.
   2109     INSTALL=$ac_install_sh
   2110   fi
   2111 fi
   2112 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2113 echo "${ECHO_T}$INSTALL" >&6; }
   2114 
   2115 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2116 # It thinks the first close brace ends the variable substitution.
   2117 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2118 
   2119 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2120 
   2121 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2122 
   2123 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2124 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2125 # Just in case
   2126 sleep 1
   2127 echo timestamp > conftest.file
   2128 # Do `set' in a subshell so we don't clobber the current shell's
   2129 # arguments.  Must try -L first in case configure is actually a
   2130 # symlink; some systems play weird games with the mod time of symlinks
   2131 # (eg FreeBSD returns the mod time of the symlink's containing
   2132 # directory).
   2133 if (
   2134    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2135    if test "$*" = "X"; then
   2136       # -L didn't work.
   2137       set X `ls -t $srcdir/configure conftest.file`
   2138    fi
   2139    rm -f conftest.file
   2140    if test "$*" != "X $srcdir/configure conftest.file" \
   2141       && test "$*" != "X conftest.file $srcdir/configure"; then
   2142 
   2143       # If neither matched, then we have a broken ls.  This can happen
   2144       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2145       # broken ls alias from the environment.  This has actually
   2146       # happened.  Such a system could not be considered "sane".
   2147       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2148 alias in your environment" >&5
   2149 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2150 alias in your environment" >&2;}
   2151    { (exit 1); exit 1; }; }
   2152    fi
   2153 
   2154    test "$2" = conftest.file
   2155    )
   2156 then
   2157    # Ok.
   2158    :
   2159 else
   2160    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2161 Check your system clock" >&5
   2162 echo "$as_me: error: newly created file is older than distributed files!
   2163 Check your system clock" >&2;}
   2164    { (exit 1); exit 1; }; }
   2165 fi
   2166 { echo "$as_me:$LINENO: result: yes" >&5
   2167 echo "${ECHO_T}yes" >&6; }
   2168 test "$program_prefix" != NONE &&
   2169   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2170 # Use a double $ so make ignores it.
   2171 test "$program_suffix" != NONE &&
   2172   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2173 # Double any \ or $.  echo might interpret backslashes.
   2174 # By default was `s,x,x', remove it if useless.
   2175 cat <<\_ACEOF >conftest.sed
   2176 s/[\\$]/&&/g;s/;s,x,x,$//
   2177 _ACEOF
   2178 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2179 rm -f conftest.sed
   2180 
   2181 # expand $ac_aux_dir to an absolute path
   2182 am_aux_dir=`cd $ac_aux_dir && pwd`
   2183 
   2184 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2185 # Use eval to expand $SHELL
   2186 if eval "$MISSING --run true"; then
   2187   am_missing_run="$MISSING --run "
   2188 else
   2189   am_missing_run=
   2190   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2191 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2192 fi
   2193 
   2194 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2195 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2196 if test -z "$MKDIR_P"; then
   2197   if test "${ac_cv_path_mkdir+set}" = set; then
   2198   echo $ECHO_N "(cached) $ECHO_C" >&6
   2199 else
   2200   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2201 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2202 do
   2203   IFS=$as_save_IFS
   2204   test -z "$as_dir" && as_dir=.
   2205   for ac_prog in mkdir gmkdir; do
   2206 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2207 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2208 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2209 	     'mkdir (GNU coreutils) '* | \
   2210 	     'mkdir (coreutils) '* | \
   2211 	     'mkdir (fileutils) '4.1*)
   2212 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2213 	       break 3;;
   2214 	   esac
   2215 	 done
   2216        done
   2217 done
   2218 IFS=$as_save_IFS
   2219 
   2220 fi
   2221 
   2222   if test "${ac_cv_path_mkdir+set}" = set; then
   2223     MKDIR_P="$ac_cv_path_mkdir -p"
   2224   else
   2225     # As a last resort, use the slow shell script.  Don't cache a
   2226     # value for MKDIR_P within a source directory, because that will
   2227     # break other packages using the cache if that directory is
   2228     # removed, or if the value is a relative name.
   2229     test -d ./--version && rmdir ./--version
   2230     MKDIR_P="$ac_install_sh -d"
   2231   fi
   2232 fi
   2233 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2234 echo "${ECHO_T}$MKDIR_P" >&6; }
   2235 
   2236 mkdir_p="$MKDIR_P"
   2237 case $mkdir_p in
   2238   [\\/$]* | ?:[\\/]*) ;;
   2239   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2240 esac
   2241 
   2242 for ac_prog in gawk mawk nawk awk
   2243 do
   2244   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2245 set dummy $ac_prog; ac_word=$2
   2246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2248 if test "${ac_cv_prog_AWK+set}" = set; then
   2249   echo $ECHO_N "(cached) $ECHO_C" >&6
   2250 else
   2251   if test -n "$AWK"; then
   2252   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2253 else
   2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2255 for as_dir in $PATH
   2256 do
   2257   IFS=$as_save_IFS
   2258   test -z "$as_dir" && as_dir=.
   2259   for ac_exec_ext in '' $ac_executable_extensions; do
   2260   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2261     ac_cv_prog_AWK="$ac_prog"
   2262     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2263     break 2
   2264   fi
   2265 done
   2266 done
   2267 IFS=$as_save_IFS
   2268 
   2269 fi
   2270 fi
   2271 AWK=$ac_cv_prog_AWK
   2272 if test -n "$AWK"; then
   2273   { echo "$as_me:$LINENO: result: $AWK" >&5
   2274 echo "${ECHO_T}$AWK" >&6; }
   2275 else
   2276   { echo "$as_me:$LINENO: result: no" >&5
   2277 echo "${ECHO_T}no" >&6; }
   2278 fi
   2279 
   2280 
   2281   test -n "$AWK" && break
   2282 done
   2283 
   2284 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2285 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2286 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2287 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2288   echo $ECHO_N "(cached) $ECHO_C" >&6
   2289 else
   2290   cat >conftest.make <<\_ACEOF
   2291 SHELL = /bin/sh
   2292 all:
   2293 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2294 _ACEOF
   2295 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2296 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2297   *@@@%%%=?*=@@@%%%*)
   2298     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2299   *)
   2300     eval ac_cv_prog_make_${ac_make}_set=no;;
   2301 esac
   2302 rm -f conftest.make
   2303 fi
   2304 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2305   { echo "$as_me:$LINENO: result: yes" >&5
   2306 echo "${ECHO_T}yes" >&6; }
   2307   SET_MAKE=
   2308 else
   2309   { echo "$as_me:$LINENO: result: no" >&5
   2310 echo "${ECHO_T}no" >&6; }
   2311   SET_MAKE="MAKE=${MAKE-make}"
   2312 fi
   2313 
   2314 rm -rf .tst 2>/dev/null
   2315 mkdir .tst 2>/dev/null
   2316 if test -d .tst; then
   2317   am__leading_dot=.
   2318 else
   2319   am__leading_dot=_
   2320 fi
   2321 rmdir .tst 2>/dev/null
   2322 
   2323 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2324   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2325   # is not polluted with repeated "-I."
   2326   am__isrc=' -I$(srcdir)'
   2327   # test to see if srcdir already configured
   2328   if test -f $srcdir/config.status; then
   2329     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2330 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2331    { (exit 1); exit 1; }; }
   2332   fi
   2333 fi
   2334 
   2335 # test whether we have cygpath
   2336 if test -z "$CYGPATH_W"; then
   2337   if (cygpath --version) >/dev/null 2>/dev/null; then
   2338     CYGPATH_W='cygpath -w'
   2339   else
   2340     CYGPATH_W=echo
   2341   fi
   2342 fi
   2343 
   2344 
   2345 # Define the identity of the package.
   2346  PACKAGE='xf86-video-ati'
   2347  VERSION='6.12.2'
   2348 
   2349 
   2350 cat >>confdefs.h <<_ACEOF
   2351 #define PACKAGE "$PACKAGE"
   2352 _ACEOF
   2353 
   2354 
   2355 cat >>confdefs.h <<_ACEOF
   2356 #define VERSION "$VERSION"
   2357 _ACEOF
   2358 
   2359 # Some tools Automake needs.
   2360 
   2361 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2362 
   2363 
   2364 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2365 
   2366 
   2367 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2368 
   2369 
   2370 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2371 
   2372 
   2373 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2374 
   2375 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2376 
   2377 # Installed binaries are usually stripped using `strip' when the user
   2378 # run `make install-strip'.  However `strip' might not be the right
   2379 # tool to use in cross-compilation environments, therefore Automake
   2380 # will honor the `STRIP' environment variable to overrule this program.
   2381 if test "$cross_compiling" != no; then
   2382   if test -n "$ac_tool_prefix"; then
   2383   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2384 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2387 if test "${ac_cv_prog_STRIP+set}" = set; then
   2388   echo $ECHO_N "(cached) $ECHO_C" >&6
   2389 else
   2390   if test -n "$STRIP"; then
   2391   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2392 else
   2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2394 for as_dir in $PATH
   2395 do
   2396   IFS=$as_save_IFS
   2397   test -z "$as_dir" && as_dir=.
   2398   for ac_exec_ext in '' $ac_executable_extensions; do
   2399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2400     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2401     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2402     break 2
   2403   fi
   2404 done
   2405 done
   2406 IFS=$as_save_IFS
   2407 
   2408 fi
   2409 fi
   2410 STRIP=$ac_cv_prog_STRIP
   2411 if test -n "$STRIP"; then
   2412   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2413 echo "${ECHO_T}$STRIP" >&6; }
   2414 else
   2415   { echo "$as_me:$LINENO: result: no" >&5
   2416 echo "${ECHO_T}no" >&6; }
   2417 fi
   2418 
   2419 
   2420 fi
   2421 if test -z "$ac_cv_prog_STRIP"; then
   2422   ac_ct_STRIP=$STRIP
   2423   # Extract the first word of "strip", so it can be a program name with args.
   2424 set dummy strip; ac_word=$2
   2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2427 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2428   echo $ECHO_N "(cached) $ECHO_C" >&6
   2429 else
   2430   if test -n "$ac_ct_STRIP"; then
   2431   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2432 else
   2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2434 for as_dir in $PATH
   2435 do
   2436   IFS=$as_save_IFS
   2437   test -z "$as_dir" && as_dir=.
   2438   for ac_exec_ext in '' $ac_executable_extensions; do
   2439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2440     ac_cv_prog_ac_ct_STRIP="strip"
   2441     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2442     break 2
   2443   fi
   2444 done
   2445 done
   2446 IFS=$as_save_IFS
   2447 
   2448 fi
   2449 fi
   2450 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2451 if test -n "$ac_ct_STRIP"; then
   2452   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2453 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2454 else
   2455   { echo "$as_me:$LINENO: result: no" >&5
   2456 echo "${ECHO_T}no" >&6; }
   2457 fi
   2458 
   2459   if test "x$ac_ct_STRIP" = x; then
   2460     STRIP=":"
   2461   else
   2462     case $cross_compiling:$ac_tool_warned in
   2463 yes:)
   2464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2465 whose name does not start with the host triplet.  If you think this
   2466 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2468 whose name does not start with the host triplet.  If you think this
   2469 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2470 ac_tool_warned=yes ;;
   2471 esac
   2472     STRIP=$ac_ct_STRIP
   2473   fi
   2474 else
   2475   STRIP="$ac_cv_prog_STRIP"
   2476 fi
   2477 
   2478 fi
   2479 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2480 
   2481 # We need awk for the "check" target.  The system "awk" is bad on
   2482 # some platforms.
   2483 # Always define AMTAR for backward compatibility.
   2484 
   2485 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2486 
   2487 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2488 
   2489 
   2490 
   2491 
   2492 
   2493 
   2494 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2495 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2496     # Check whether --enable-maintainer-mode was given.
   2497 if test "${enable_maintainer_mode+set}" = set; then
   2498   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2499 else
   2500   USE_MAINTAINER_MODE=no
   2501 fi
   2502 
   2503   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2504 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2505    if test $USE_MAINTAINER_MODE = yes; then
   2506   MAINTAINER_MODE_TRUE=
   2507   MAINTAINER_MODE_FALSE='#'
   2508 else
   2509   MAINTAINER_MODE_TRUE='#'
   2510   MAINTAINER_MODE_FALSE=
   2511 fi
   2512 
   2513   MAINT=$MAINTAINER_MODE_TRUE
   2514 
   2515 
   2516 
   2517 # Checks for programs.
   2518 # Check whether --enable-static was given.
   2519 if test "${enable_static+set}" = set; then
   2520   enableval=$enable_static; p=${PACKAGE-default}
   2521     case $enableval in
   2522     yes) enable_static=yes ;;
   2523     no) enable_static=no ;;
   2524     *)
   2525      enable_static=no
   2526       # Look at the argument we got.  We use all the common list separators.
   2527       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2528       for pkg in $enableval; do
   2529 	IFS="$lt_save_ifs"
   2530 	if test "X$pkg" = "X$p"; then
   2531 	  enable_static=yes
   2532 	fi
   2533       done
   2534       IFS="$lt_save_ifs"
   2535       ;;
   2536     esac
   2537 else
   2538   enable_static=no
   2539 fi
   2540 
   2541 
   2542 
   2543 # Check whether --enable-shared was given.
   2544 if test "${enable_shared+set}" = set; then
   2545   enableval=$enable_shared; p=${PACKAGE-default}
   2546     case $enableval in
   2547     yes) enable_shared=yes ;;
   2548     no) enable_shared=no ;;
   2549     *)
   2550       enable_shared=no
   2551       # Look at the argument we got.  We use all the common list separators.
   2552       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2553       for pkg in $enableval; do
   2554 	IFS="$lt_save_ifs"
   2555 	if test "X$pkg" = "X$p"; then
   2556 	  enable_shared=yes
   2557 	fi
   2558       done
   2559       IFS="$lt_save_ifs"
   2560       ;;
   2561     esac
   2562 else
   2563   enable_shared=yes
   2564 fi
   2565 
   2566 
   2567 # Check whether --enable-fast-install was given.
   2568 if test "${enable_fast_install+set}" = set; then
   2569   enableval=$enable_fast_install; p=${PACKAGE-default}
   2570     case $enableval in
   2571     yes) enable_fast_install=yes ;;
   2572     no) enable_fast_install=no ;;
   2573     *)
   2574       enable_fast_install=no
   2575       # Look at the argument we got.  We use all the common list separators.
   2576       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2577       for pkg in $enableval; do
   2578 	IFS="$lt_save_ifs"
   2579 	if test "X$pkg" = "X$p"; then
   2580 	  enable_fast_install=yes
   2581 	fi
   2582       done
   2583       IFS="$lt_save_ifs"
   2584       ;;
   2585     esac
   2586 else
   2587   enable_fast_install=yes
   2588 fi
   2589 
   2590 
   2591 # Make sure we can run config.sub.
   2592 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2593   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2594 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2595    { (exit 1); exit 1; }; }
   2596 
   2597 { echo "$as_me:$LINENO: checking build system type" >&5
   2598 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2599 if test "${ac_cv_build+set}" = set; then
   2600   echo $ECHO_N "(cached) $ECHO_C" >&6
   2601 else
   2602   ac_build_alias=$build_alias
   2603 test "x$ac_build_alias" = x &&
   2604   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2605 test "x$ac_build_alias" = x &&
   2606   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2607 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2608    { (exit 1); exit 1; }; }
   2609 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2610   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2611 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2612    { (exit 1); exit 1; }; }
   2613 
   2614 fi
   2615 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2616 echo "${ECHO_T}$ac_cv_build" >&6; }
   2617 case $ac_cv_build in
   2618 *-*-*) ;;
   2619 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2620 echo "$as_me: error: invalid value of canonical build" >&2;}
   2621    { (exit 1); exit 1; }; };;
   2622 esac
   2623 build=$ac_cv_build
   2624 ac_save_IFS=$IFS; IFS='-'
   2625 set x $ac_cv_build
   2626 shift
   2627 build_cpu=$1
   2628 build_vendor=$2
   2629 shift; shift
   2630 # Remember, the first character of IFS is used to create $*,
   2631 # except with old shells:
   2632 build_os=$*
   2633 IFS=$ac_save_IFS
   2634 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2635 
   2636 
   2637 { echo "$as_me:$LINENO: checking host system type" >&5
   2638 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2639 if test "${ac_cv_host+set}" = set; then
   2640   echo $ECHO_N "(cached) $ECHO_C" >&6
   2641 else
   2642   if test "x$host_alias" = x; then
   2643   ac_cv_host=$ac_cv_build
   2644 else
   2645   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2646     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2647 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2648    { (exit 1); exit 1; }; }
   2649 fi
   2650 
   2651 fi
   2652 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2653 echo "${ECHO_T}$ac_cv_host" >&6; }
   2654 case $ac_cv_host in
   2655 *-*-*) ;;
   2656 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2657 echo "$as_me: error: invalid value of canonical host" >&2;}
   2658    { (exit 1); exit 1; }; };;
   2659 esac
   2660 host=$ac_cv_host
   2661 ac_save_IFS=$IFS; IFS='-'
   2662 set x $ac_cv_host
   2663 shift
   2664 host_cpu=$1
   2665 host_vendor=$2
   2666 shift; shift
   2667 # Remember, the first character of IFS is used to create $*,
   2668 # except with old shells:
   2669 host_os=$*
   2670 IFS=$ac_save_IFS
   2671 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2672 
   2673 
   2674 DEPDIR="${am__leading_dot}deps"
   2675 
   2676 ac_config_commands="$ac_config_commands depfiles"
   2677 
   2678 
   2679 am_make=${MAKE-make}
   2680 cat > confinc << 'END'
   2681 am__doit:
   2682 	@echo done
   2683 .PHONY: am__doit
   2684 END
   2685 # If we don't find an include directive, just comment out the code.
   2686 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2687 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2688 am__include="#"
   2689 am__quote=
   2690 _am_result=none
   2691 # First try GNU make style include.
   2692 echo "include confinc" > confmf
   2693 # We grep out `Entering directory' and `Leaving directory'
   2694 # messages which can occur if `w' ends up in MAKEFLAGS.
   2695 # In particular we don't look at `^make:' because GNU make might
   2696 # be invoked under some other name (usually "gmake"), in which
   2697 # case it prints its new name instead of `make'.
   2698 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2699    am__include=include
   2700    am__quote=
   2701    _am_result=GNU
   2702 fi
   2703 # Now try BSD make style include.
   2704 if test "$am__include" = "#"; then
   2705    echo '.include "confinc"' > confmf
   2706    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2707       am__include=.include
   2708       am__quote="\""
   2709       _am_result=BSD
   2710    fi
   2711 fi
   2712 
   2713 
   2714 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2715 echo "${ECHO_T}$_am_result" >&6; }
   2716 rm -f confinc confmf
   2717 
   2718 # Check whether --enable-dependency-tracking was given.
   2719 if test "${enable_dependency_tracking+set}" = set; then
   2720   enableval=$enable_dependency_tracking;
   2721 fi
   2722 
   2723 if test "x$enable_dependency_tracking" != xno; then
   2724   am_depcomp="$ac_aux_dir/depcomp"
   2725   AMDEPBACKSLASH='\'
   2726 fi
   2727  if test "x$enable_dependency_tracking" != xno; then
   2728   AMDEP_TRUE=
   2729   AMDEP_FALSE='#'
   2730 else
   2731   AMDEP_TRUE='#'
   2732   AMDEP_FALSE=
   2733 fi
   2734 
   2735 
   2736 ac_ext=c
   2737 ac_cpp='$CPP $CPPFLAGS'
   2738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2741 if test -n "$ac_tool_prefix"; then
   2742   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2743 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2746 if test "${ac_cv_prog_CC+set}" = set; then
   2747   echo $ECHO_N "(cached) $ECHO_C" >&6
   2748 else
   2749   if test -n "$CC"; then
   2750   ac_cv_prog_CC="$CC" # Let the user override the test.
   2751 else
   2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2753 for as_dir in $PATH
   2754 do
   2755   IFS=$as_save_IFS
   2756   test -z "$as_dir" && as_dir=.
   2757   for ac_exec_ext in '' $ac_executable_extensions; do
   2758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2759     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2760     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2761     break 2
   2762   fi
   2763 done
   2764 done
   2765 IFS=$as_save_IFS
   2766 
   2767 fi
   2768 fi
   2769 CC=$ac_cv_prog_CC
   2770 if test -n "$CC"; then
   2771   { echo "$as_me:$LINENO: result: $CC" >&5
   2772 echo "${ECHO_T}$CC" >&6; }
   2773 else
   2774   { echo "$as_me:$LINENO: result: no" >&5
   2775 echo "${ECHO_T}no" >&6; }
   2776 fi
   2777 
   2778 
   2779 fi
   2780 if test -z "$ac_cv_prog_CC"; then
   2781   ac_ct_CC=$CC
   2782   # Extract the first word of "gcc", so it can be a program name with args.
   2783 set dummy gcc; ac_word=$2
   2784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2787   echo $ECHO_N "(cached) $ECHO_C" >&6
   2788 else
   2789   if test -n "$ac_ct_CC"; then
   2790   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2791 else
   2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2793 for as_dir in $PATH
   2794 do
   2795   IFS=$as_save_IFS
   2796   test -z "$as_dir" && as_dir=.
   2797   for ac_exec_ext in '' $ac_executable_extensions; do
   2798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2799     ac_cv_prog_ac_ct_CC="gcc"
   2800     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804 done
   2805 IFS=$as_save_IFS
   2806 
   2807 fi
   2808 fi
   2809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2810 if test -n "$ac_ct_CC"; then
   2811   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2812 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2813 else
   2814   { echo "$as_me:$LINENO: result: no" >&5
   2815 echo "${ECHO_T}no" >&6; }
   2816 fi
   2817 
   2818   if test "x$ac_ct_CC" = x; then
   2819     CC=""
   2820   else
   2821     case $cross_compiling:$ac_tool_warned in
   2822 yes:)
   2823 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2824 whose name does not start with the host triplet.  If you think this
   2825 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2826 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2827 whose name does not start with the host triplet.  If you think this
   2828 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2829 ac_tool_warned=yes ;;
   2830 esac
   2831     CC=$ac_ct_CC
   2832   fi
   2833 else
   2834   CC="$ac_cv_prog_CC"
   2835 fi
   2836 
   2837 if test -z "$CC"; then
   2838           if test -n "$ac_tool_prefix"; then
   2839     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2840 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2843 if test "${ac_cv_prog_CC+set}" = set; then
   2844   echo $ECHO_N "(cached) $ECHO_C" >&6
   2845 else
   2846   if test -n "$CC"; then
   2847   ac_cv_prog_CC="$CC" # Let the user override the test.
   2848 else
   2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2850 for as_dir in $PATH
   2851 do
   2852   IFS=$as_save_IFS
   2853   test -z "$as_dir" && as_dir=.
   2854   for ac_exec_ext in '' $ac_executable_extensions; do
   2855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2856     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2857     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861 done
   2862 IFS=$as_save_IFS
   2863 
   2864 fi
   2865 fi
   2866 CC=$ac_cv_prog_CC
   2867 if test -n "$CC"; then
   2868   { echo "$as_me:$LINENO: result: $CC" >&5
   2869 echo "${ECHO_T}$CC" >&6; }
   2870 else
   2871   { echo "$as_me:$LINENO: result: no" >&5
   2872 echo "${ECHO_T}no" >&6; }
   2873 fi
   2874 
   2875 
   2876   fi
   2877 fi
   2878 if test -z "$CC"; then
   2879   # Extract the first word of "cc", so it can be a program name with args.
   2880 set dummy cc; ac_word=$2
   2881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2883 if test "${ac_cv_prog_CC+set}" = set; then
   2884   echo $ECHO_N "(cached) $ECHO_C" >&6
   2885 else
   2886   if test -n "$CC"; then
   2887   ac_cv_prog_CC="$CC" # Let the user override the test.
   2888 else
   2889   ac_prog_rejected=no
   2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895   for ac_exec_ext in '' $ac_executable_extensions; do
   2896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2897     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2898        ac_prog_rejected=yes
   2899        continue
   2900      fi
   2901     ac_cv_prog_CC="cc"
   2902     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2903     break 2
   2904   fi
   2905 done
   2906 done
   2907 IFS=$as_save_IFS
   2908 
   2909 if test $ac_prog_rejected = yes; then
   2910   # We found a bogon in the path, so make sure we never use it.
   2911   set dummy $ac_cv_prog_CC
   2912   shift
   2913   if test $# != 0; then
   2914     # We chose a different compiler from the bogus one.
   2915     # However, it has the same basename, so the bogon will be chosen
   2916     # first if we set CC to just the basename; use the full file name.
   2917     shift
   2918     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2919   fi
   2920 fi
   2921 fi
   2922 fi
   2923 CC=$ac_cv_prog_CC
   2924 if test -n "$CC"; then
   2925   { echo "$as_me:$LINENO: result: $CC" >&5
   2926 echo "${ECHO_T}$CC" >&6; }
   2927 else
   2928   { echo "$as_me:$LINENO: result: no" >&5
   2929 echo "${ECHO_T}no" >&6; }
   2930 fi
   2931 
   2932 
   2933 fi
   2934 if test -z "$CC"; then
   2935   if test -n "$ac_tool_prefix"; then
   2936   for ac_prog in cl.exe
   2937   do
   2938     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2939 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2942 if test "${ac_cv_prog_CC+set}" = set; then
   2943   echo $ECHO_N "(cached) $ECHO_C" >&6
   2944 else
   2945   if test -n "$CC"; then
   2946   ac_cv_prog_CC="$CC" # Let the user override the test.
   2947 else
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   test -z "$as_dir" && as_dir=.
   2953   for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2955     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2956     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2957     break 2
   2958   fi
   2959 done
   2960 done
   2961 IFS=$as_save_IFS
   2962 
   2963 fi
   2964 fi
   2965 CC=$ac_cv_prog_CC
   2966 if test -n "$CC"; then
   2967   { echo "$as_me:$LINENO: result: $CC" >&5
   2968 echo "${ECHO_T}$CC" >&6; }
   2969 else
   2970   { echo "$as_me:$LINENO: result: no" >&5
   2971 echo "${ECHO_T}no" >&6; }
   2972 fi
   2973 
   2974 
   2975     test -n "$CC" && break
   2976   done
   2977 fi
   2978 if test -z "$CC"; then
   2979   ac_ct_CC=$CC
   2980   for ac_prog in cl.exe
   2981 do
   2982   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2983 set dummy $ac_prog; ac_word=$2
   2984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2986 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2987   echo $ECHO_N "(cached) $ECHO_C" >&6
   2988 else
   2989   if test -n "$ac_ct_CC"; then
   2990   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2991 else
   2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2993 for as_dir in $PATH
   2994 do
   2995   IFS=$as_save_IFS
   2996   test -z "$as_dir" && as_dir=.
   2997   for ac_exec_ext in '' $ac_executable_extensions; do
   2998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2999     ac_cv_prog_ac_ct_CC="$ac_prog"
   3000     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3001     break 2
   3002   fi
   3003 done
   3004 done
   3005 IFS=$as_save_IFS
   3006 
   3007 fi
   3008 fi
   3009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3010 if test -n "$ac_ct_CC"; then
   3011   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3012 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3013 else
   3014   { echo "$as_me:$LINENO: result: no" >&5
   3015 echo "${ECHO_T}no" >&6; }
   3016 fi
   3017 
   3018 
   3019   test -n "$ac_ct_CC" && break
   3020 done
   3021 
   3022   if test "x$ac_ct_CC" = x; then
   3023     CC=""
   3024   else
   3025     case $cross_compiling:$ac_tool_warned in
   3026 yes:)
   3027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3028 whose name does not start with the host triplet.  If you think this
   3029 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3031 whose name does not start with the host triplet.  If you think this
   3032 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3033 ac_tool_warned=yes ;;
   3034 esac
   3035     CC=$ac_ct_CC
   3036   fi
   3037 fi
   3038 
   3039 fi
   3040 
   3041 
   3042 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3043 See \`config.log' for more details." >&5
   3044 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3045 See \`config.log' for more details." >&2;}
   3046    { (exit 1); exit 1; }; }
   3047 
   3048 # Provide some information about the compiler.
   3049 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3050 ac_compiler=`set X $ac_compile; echo $2`
   3051 { (ac_try="$ac_compiler --version >&5"
   3052 case "(($ac_try" in
   3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3054   *) ac_try_echo=$ac_try;;
   3055 esac
   3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3057   (eval "$ac_compiler --version >&5") 2>&5
   3058   ac_status=$?
   3059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3060   (exit $ac_status); }
   3061 { (ac_try="$ac_compiler -v >&5"
   3062 case "(($ac_try" in
   3063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3064   *) ac_try_echo=$ac_try;;
   3065 esac
   3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3067   (eval "$ac_compiler -v >&5") 2>&5
   3068   ac_status=$?
   3069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3070   (exit $ac_status); }
   3071 { (ac_try="$ac_compiler -V >&5"
   3072 case "(($ac_try" in
   3073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3074   *) ac_try_echo=$ac_try;;
   3075 esac
   3076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3077   (eval "$ac_compiler -V >&5") 2>&5
   3078   ac_status=$?
   3079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3080   (exit $ac_status); }
   3081 
   3082 cat >conftest.$ac_ext <<_ACEOF
   3083 /* confdefs.h.  */
   3084 _ACEOF
   3085 cat confdefs.h >>conftest.$ac_ext
   3086 cat >>conftest.$ac_ext <<_ACEOF
   3087 /* end confdefs.h.  */
   3088 
   3089 int
   3090 main ()
   3091 {
   3092 
   3093   ;
   3094   return 0;
   3095 }
   3096 _ACEOF
   3097 ac_clean_files_save=$ac_clean_files
   3098 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3099 # Try to create an executable without -o first, disregard a.out.
   3100 # It will help us diagnose broken compilers, and finding out an intuition
   3101 # of exeext.
   3102 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3103 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3104 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3105 #
   3106 # List of possible output files, starting from the most likely.
   3107 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3108 # only as a last resort.  b.out is created by i960 compilers.
   3109 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3110 #
   3111 # The IRIX 6 linker writes into existing files which may not be
   3112 # executable, retaining their permissions.  Remove them first so a
   3113 # subsequent execution test works.
   3114 ac_rmfiles=
   3115 for ac_file in $ac_files
   3116 do
   3117   case $ac_file in
   3118     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3119     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3120   esac
   3121 done
   3122 rm -f $ac_rmfiles
   3123 
   3124 if { (ac_try="$ac_link_default"
   3125 case "(($ac_try" in
   3126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3127   *) ac_try_echo=$ac_try;;
   3128 esac
   3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3130   (eval "$ac_link_default") 2>&5
   3131   ac_status=$?
   3132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3133   (exit $ac_status); }; then
   3134   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3135 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3136 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3137 # so that the user can short-circuit this test for compilers unknown to
   3138 # Autoconf.
   3139 for ac_file in $ac_files ''
   3140 do
   3141   test -f "$ac_file" || continue
   3142   case $ac_file in
   3143     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3144 	;;
   3145     [ab].out )
   3146 	# We found the default executable, but exeext='' is most
   3147 	# certainly right.
   3148 	break;;
   3149     *.* )
   3150         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3151 	then :; else
   3152 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3153 	fi
   3154 	# We set ac_cv_exeext here because the later test for it is not
   3155 	# safe: cross compilers may not add the suffix if given an `-o'
   3156 	# argument, so we may need to know it at that point already.
   3157 	# Even if this section looks crufty: it has the advantage of
   3158 	# actually working.
   3159 	break;;
   3160     * )
   3161 	break;;
   3162   esac
   3163 done
   3164 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3165 
   3166 else
   3167   ac_file=''
   3168 fi
   3169 
   3170 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3171 echo "${ECHO_T}$ac_file" >&6; }
   3172 if test -z "$ac_file"; then
   3173   echo "$as_me: failed program was:" >&5
   3174 sed 's/^/| /' conftest.$ac_ext >&5
   3175 
   3176 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3177 See \`config.log' for more details." >&5
   3178 echo "$as_me: error: C compiler cannot create executables
   3179 See \`config.log' for more details." >&2;}
   3180    { (exit 77); exit 77; }; }
   3181 fi
   3182 
   3183 ac_exeext=$ac_cv_exeext
   3184 
   3185 # Check that the compiler produces executables we can run.  If not, either
   3186 # the compiler is broken, or we cross compile.
   3187 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3188 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3189 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3190 # If not cross compiling, check that we can run a simple program.
   3191 if test "$cross_compiling" != yes; then
   3192   if { ac_try='./$ac_file'
   3193   { (case "(($ac_try" in
   3194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3195   *) ac_try_echo=$ac_try;;
   3196 esac
   3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3198   (eval "$ac_try") 2>&5
   3199   ac_status=$?
   3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3201   (exit $ac_status); }; }; then
   3202     cross_compiling=no
   3203   else
   3204     if test "$cross_compiling" = maybe; then
   3205 	cross_compiling=yes
   3206     else
   3207 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3208 If you meant to cross compile, use \`--host'.
   3209 See \`config.log' for more details." >&5
   3210 echo "$as_me: error: cannot run C compiled programs.
   3211 If you meant to cross compile, use \`--host'.
   3212 See \`config.log' for more details." >&2;}
   3213    { (exit 1); exit 1; }; }
   3214     fi
   3215   fi
   3216 fi
   3217 { echo "$as_me:$LINENO: result: yes" >&5
   3218 echo "${ECHO_T}yes" >&6; }
   3219 
   3220 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3221 ac_clean_files=$ac_clean_files_save
   3222 # Check that the compiler produces executables we can run.  If not, either
   3223 # the compiler is broken, or we cross compile.
   3224 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3225 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3226 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3227 echo "${ECHO_T}$cross_compiling" >&6; }
   3228 
   3229 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3230 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3231 if { (ac_try="$ac_link"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3237   (eval "$ac_link") 2>&5
   3238   ac_status=$?
   3239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3240   (exit $ac_status); }; then
   3241   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3242 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3243 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3244 # `rm'.
   3245 for ac_file in conftest.exe conftest conftest.*; do
   3246   test -f "$ac_file" || continue
   3247   case $ac_file in
   3248     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3249     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3250 	  break;;
   3251     * ) break;;
   3252   esac
   3253 done
   3254 else
   3255   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3256 See \`config.log' for more details." >&5
   3257 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3258 See \`config.log' for more details." >&2;}
   3259    { (exit 1); exit 1; }; }
   3260 fi
   3261 
   3262 rm -f conftest$ac_cv_exeext
   3263 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3264 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3265 
   3266 rm -f conftest.$ac_ext
   3267 EXEEXT=$ac_cv_exeext
   3268 ac_exeext=$EXEEXT
   3269 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3270 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3271 if test "${ac_cv_objext+set}" = set; then
   3272   echo $ECHO_N "(cached) $ECHO_C" >&6
   3273 else
   3274   cat >conftest.$ac_ext <<_ACEOF
   3275 /* confdefs.h.  */
   3276 _ACEOF
   3277 cat confdefs.h >>conftest.$ac_ext
   3278 cat >>conftest.$ac_ext <<_ACEOF
   3279 /* end confdefs.h.  */
   3280 
   3281 int
   3282 main ()
   3283 {
   3284 
   3285   ;
   3286   return 0;
   3287 }
   3288 _ACEOF
   3289 rm -f conftest.o conftest.obj
   3290 if { (ac_try="$ac_compile"
   3291 case "(($ac_try" in
   3292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3293   *) ac_try_echo=$ac_try;;
   3294 esac
   3295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3296   (eval "$ac_compile") 2>&5
   3297   ac_status=$?
   3298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3299   (exit $ac_status); }; then
   3300   for ac_file in conftest.o conftest.obj conftest.*; do
   3301   test -f "$ac_file" || continue;
   3302   case $ac_file in
   3303     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3304     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3305        break;;
   3306   esac
   3307 done
   3308 else
   3309   echo "$as_me: failed program was:" >&5
   3310 sed 's/^/| /' conftest.$ac_ext >&5
   3311 
   3312 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3313 See \`config.log' for more details." >&5
   3314 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3315 See \`config.log' for more details." >&2;}
   3316    { (exit 1); exit 1; }; }
   3317 fi
   3318 
   3319 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3320 fi
   3321 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3322 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3323 OBJEXT=$ac_cv_objext
   3324 ac_objext=$OBJEXT
   3325 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3326 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3327 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3328   echo $ECHO_N "(cached) $ECHO_C" >&6
   3329 else
   3330   cat >conftest.$ac_ext <<_ACEOF
   3331 /* confdefs.h.  */
   3332 _ACEOF
   3333 cat confdefs.h >>conftest.$ac_ext
   3334 cat >>conftest.$ac_ext <<_ACEOF
   3335 /* end confdefs.h.  */
   3336 
   3337 int
   3338 main ()
   3339 {
   3340 #ifndef __GNUC__
   3341        choke me
   3342 #endif
   3343 
   3344   ;
   3345   return 0;
   3346 }
   3347 _ACEOF
   3348 rm -f conftest.$ac_objext
   3349 if { (ac_try="$ac_compile"
   3350 case "(($ac_try" in
   3351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3352   *) ac_try_echo=$ac_try;;
   3353 esac
   3354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3355   (eval "$ac_compile") 2>conftest.er1
   3356   ac_status=$?
   3357   grep -v '^ *+' conftest.er1 >conftest.err
   3358   rm -f conftest.er1
   3359   cat conftest.err >&5
   3360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3361   (exit $ac_status); } && {
   3362 	 test -z "$ac_c_werror_flag" ||
   3363 	 test ! -s conftest.err
   3364        } && test -s conftest.$ac_objext; then
   3365   ac_compiler_gnu=yes
   3366 else
   3367   echo "$as_me: failed program was:" >&5
   3368 sed 's/^/| /' conftest.$ac_ext >&5
   3369 
   3370 	ac_compiler_gnu=no
   3371 fi
   3372 
   3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3374 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3375 
   3376 fi
   3377 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3378 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3379 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3380 ac_test_CFLAGS=${CFLAGS+set}
   3381 ac_save_CFLAGS=$CFLAGS
   3382 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3383 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3384 if test "${ac_cv_prog_cc_g+set}" = set; then
   3385   echo $ECHO_N "(cached) $ECHO_C" >&6
   3386 else
   3387   ac_save_c_werror_flag=$ac_c_werror_flag
   3388    ac_c_werror_flag=yes
   3389    ac_cv_prog_cc_g=no
   3390    CFLAGS="-g"
   3391    cat >conftest.$ac_ext <<_ACEOF
   3392 /* confdefs.h.  */
   3393 _ACEOF
   3394 cat confdefs.h >>conftest.$ac_ext
   3395 cat >>conftest.$ac_ext <<_ACEOF
   3396 /* end confdefs.h.  */
   3397 
   3398 int
   3399 main ()
   3400 {
   3401 
   3402   ;
   3403   return 0;
   3404 }
   3405 _ACEOF
   3406 rm -f conftest.$ac_objext
   3407 if { (ac_try="$ac_compile"
   3408 case "(($ac_try" in
   3409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3410   *) ac_try_echo=$ac_try;;
   3411 esac
   3412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3413   (eval "$ac_compile") 2>conftest.er1
   3414   ac_status=$?
   3415   grep -v '^ *+' conftest.er1 >conftest.err
   3416   rm -f conftest.er1
   3417   cat conftest.err >&5
   3418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3419   (exit $ac_status); } && {
   3420 	 test -z "$ac_c_werror_flag" ||
   3421 	 test ! -s conftest.err
   3422        } && test -s conftest.$ac_objext; then
   3423   ac_cv_prog_cc_g=yes
   3424 else
   3425   echo "$as_me: failed program was:" >&5
   3426 sed 's/^/| /' conftest.$ac_ext >&5
   3427 
   3428 	CFLAGS=""
   3429       cat >conftest.$ac_ext <<_ACEOF
   3430 /* confdefs.h.  */
   3431 _ACEOF
   3432 cat confdefs.h >>conftest.$ac_ext
   3433 cat >>conftest.$ac_ext <<_ACEOF
   3434 /* end confdefs.h.  */
   3435 
   3436 int
   3437 main ()
   3438 {
   3439 
   3440   ;
   3441   return 0;
   3442 }
   3443 _ACEOF
   3444 rm -f conftest.$ac_objext
   3445 if { (ac_try="$ac_compile"
   3446 case "(($ac_try" in
   3447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3448   *) ac_try_echo=$ac_try;;
   3449 esac
   3450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3451   (eval "$ac_compile") 2>conftest.er1
   3452   ac_status=$?
   3453   grep -v '^ *+' conftest.er1 >conftest.err
   3454   rm -f conftest.er1
   3455   cat conftest.err >&5
   3456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3457   (exit $ac_status); } && {
   3458 	 test -z "$ac_c_werror_flag" ||
   3459 	 test ! -s conftest.err
   3460        } && test -s conftest.$ac_objext; then
   3461   :
   3462 else
   3463   echo "$as_me: failed program was:" >&5
   3464 sed 's/^/| /' conftest.$ac_ext >&5
   3465 
   3466 	ac_c_werror_flag=$ac_save_c_werror_flag
   3467 	 CFLAGS="-g"
   3468 	 cat >conftest.$ac_ext <<_ACEOF
   3469 /* confdefs.h.  */
   3470 _ACEOF
   3471 cat confdefs.h >>conftest.$ac_ext
   3472 cat >>conftest.$ac_ext <<_ACEOF
   3473 /* end confdefs.h.  */
   3474 
   3475 int
   3476 main ()
   3477 {
   3478 
   3479   ;
   3480   return 0;
   3481 }
   3482 _ACEOF
   3483 rm -f conftest.$ac_objext
   3484 if { (ac_try="$ac_compile"
   3485 case "(($ac_try" in
   3486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3487   *) ac_try_echo=$ac_try;;
   3488 esac
   3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3490   (eval "$ac_compile") 2>conftest.er1
   3491   ac_status=$?
   3492   grep -v '^ *+' conftest.er1 >conftest.err
   3493   rm -f conftest.er1
   3494   cat conftest.err >&5
   3495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3496   (exit $ac_status); } && {
   3497 	 test -z "$ac_c_werror_flag" ||
   3498 	 test ! -s conftest.err
   3499        } && test -s conftest.$ac_objext; then
   3500   ac_cv_prog_cc_g=yes
   3501 else
   3502   echo "$as_me: failed program was:" >&5
   3503 sed 's/^/| /' conftest.$ac_ext >&5
   3504 
   3505 
   3506 fi
   3507 
   3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3509 fi
   3510 
   3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3512 fi
   3513 
   3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3515    ac_c_werror_flag=$ac_save_c_werror_flag
   3516 fi
   3517 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3518 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3519 if test "$ac_test_CFLAGS" = set; then
   3520   CFLAGS=$ac_save_CFLAGS
   3521 elif test $ac_cv_prog_cc_g = yes; then
   3522   if test "$GCC" = yes; then
   3523     CFLAGS="-g -O2"
   3524   else
   3525     CFLAGS="-g"
   3526   fi
   3527 else
   3528   if test "$GCC" = yes; then
   3529     CFLAGS="-O2"
   3530   else
   3531     CFLAGS=
   3532   fi
   3533 fi
   3534 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3535 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3536 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3537   echo $ECHO_N "(cached) $ECHO_C" >&6
   3538 else
   3539   ac_cv_prog_cc_c89=no
   3540 ac_save_CC=$CC
   3541 cat >conftest.$ac_ext <<_ACEOF
   3542 /* confdefs.h.  */
   3543 _ACEOF
   3544 cat confdefs.h >>conftest.$ac_ext
   3545 cat >>conftest.$ac_ext <<_ACEOF
   3546 /* end confdefs.h.  */
   3547 #include <stdarg.h>
   3548 #include <stdio.h>
   3549 #include <sys/types.h>
   3550 #include <sys/stat.h>
   3551 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3552 struct buf { int x; };
   3553 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3554 static char *e (p, i)
   3555      char **p;
   3556      int i;
   3557 {
   3558   return p[i];
   3559 }
   3560 static char *f (char * (*g) (char **, int), char **p, ...)
   3561 {
   3562   char *s;
   3563   va_list v;
   3564   va_start (v,p);
   3565   s = g (p, va_arg (v,int));
   3566   va_end (v);
   3567   return s;
   3568 }
   3569 
   3570 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3571    function prototypes and stuff, but not '\xHH' hex character constants.
   3572    These don't provoke an error unfortunately, instead are silently treated
   3573    as 'x'.  The following induces an error, until -std is added to get
   3574    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3575    array size at least.  It's necessary to write '\x00'==0 to get something
   3576    that's true only with -std.  */
   3577 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3578 
   3579 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3580    inside strings and character constants.  */
   3581 #define FOO(x) 'x'
   3582 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3583 
   3584 int test (int i, double x);
   3585 struct s1 {int (*f) (int a);};
   3586 struct s2 {int (*f) (double a);};
   3587 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3588 int argc;
   3589 char **argv;
   3590 int
   3591 main ()
   3592 {
   3593 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3594   ;
   3595   return 0;
   3596 }
   3597 _ACEOF
   3598 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3599 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3600 do
   3601   CC="$ac_save_CC $ac_arg"
   3602   rm -f conftest.$ac_objext
   3603 if { (ac_try="$ac_compile"
   3604 case "(($ac_try" in
   3605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3606   *) ac_try_echo=$ac_try;;
   3607 esac
   3608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3609   (eval "$ac_compile") 2>conftest.er1
   3610   ac_status=$?
   3611   grep -v '^ *+' conftest.er1 >conftest.err
   3612   rm -f conftest.er1
   3613   cat conftest.err >&5
   3614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3615   (exit $ac_status); } && {
   3616 	 test -z "$ac_c_werror_flag" ||
   3617 	 test ! -s conftest.err
   3618        } && test -s conftest.$ac_objext; then
   3619   ac_cv_prog_cc_c89=$ac_arg
   3620 else
   3621   echo "$as_me: failed program was:" >&5
   3622 sed 's/^/| /' conftest.$ac_ext >&5
   3623 
   3624 
   3625 fi
   3626 
   3627 rm -f core conftest.err conftest.$ac_objext
   3628   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3629 done
   3630 rm -f conftest.$ac_ext
   3631 CC=$ac_save_CC
   3632 
   3633 fi
   3634 # AC_CACHE_VAL
   3635 case "x$ac_cv_prog_cc_c89" in
   3636   x)
   3637     { echo "$as_me:$LINENO: result: none needed" >&5
   3638 echo "${ECHO_T}none needed" >&6; } ;;
   3639   xno)
   3640     { echo "$as_me:$LINENO: result: unsupported" >&5
   3641 echo "${ECHO_T}unsupported" >&6; } ;;
   3642   *)
   3643     CC="$CC $ac_cv_prog_cc_c89"
   3644     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3645 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3646 esac
   3647 
   3648 
   3649 ac_ext=c
   3650 ac_cpp='$CPP $CPPFLAGS'
   3651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3654 
   3655 depcc="$CC"   am_compiler_list=
   3656 
   3657 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3658 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3659 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3660   echo $ECHO_N "(cached) $ECHO_C" >&6
   3661 else
   3662   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3663   # We make a subdir and do the tests there.  Otherwise we can end up
   3664   # making bogus files that we don't know about and never remove.  For
   3665   # instance it was reported that on HP-UX the gcc test will end up
   3666   # making a dummy file named `D' -- because `-MD' means `put the output
   3667   # in D'.
   3668   mkdir conftest.dir
   3669   # Copy depcomp to subdir because otherwise we won't find it if we're
   3670   # using a relative directory.
   3671   cp "$am_depcomp" conftest.dir
   3672   cd conftest.dir
   3673   # We will build objects and dependencies in a subdirectory because
   3674   # it helps to detect inapplicable dependency modes.  For instance
   3675   # both Tru64's cc and ICC support -MD to output dependencies as a
   3676   # side effect of compilation, but ICC will put the dependencies in
   3677   # the current directory while Tru64 will put them in the object
   3678   # directory.
   3679   mkdir sub
   3680 
   3681   am_cv_CC_dependencies_compiler_type=none
   3682   if test "$am_compiler_list" = ""; then
   3683      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3684   fi
   3685   for depmode in $am_compiler_list; do
   3686     # Setup a source with many dependencies, because some compilers
   3687     # like to wrap large dependency lists on column 80 (with \), and
   3688     # we should not choose a depcomp mode which is confused by this.
   3689     #
   3690     # We need to recreate these files for each test, as the compiler may
   3691     # overwrite some of them when testing with obscure command lines.
   3692     # This happens at least with the AIX C compiler.
   3693     : > sub/conftest.c
   3694     for i in 1 2 3 4 5 6; do
   3695       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3696       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3697       # Solaris 8's {/usr,}/bin/sh.
   3698       touch sub/conftst$i.h
   3699     done
   3700     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3701 
   3702     case $depmode in
   3703     nosideeffect)
   3704       # after this tag, mechanisms are not by side-effect, so they'll
   3705       # only be used when explicitly requested
   3706       if test "x$enable_dependency_tracking" = xyes; then
   3707 	continue
   3708       else
   3709 	break
   3710       fi
   3711       ;;
   3712     none) break ;;
   3713     esac
   3714     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3715     # mode.  It turns out that the SunPro C++ compiler does not properly
   3716     # handle `-M -o', and we need to detect this.
   3717     if depmode=$depmode \
   3718        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3719        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3720        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3721          >/dev/null 2>conftest.err &&
   3722        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3723        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3724        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3725        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3726       # icc doesn't choke on unknown options, it will just issue warnings
   3727       # or remarks (even with -Werror).  So we grep stderr for any message
   3728       # that says an option was ignored or not supported.
   3729       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3730       #   icc: Command line warning: ignoring option '-M'; no argument required
   3731       # The diagnosis changed in icc 8.0:
   3732       #   icc: Command line remark: option '-MP' not supported
   3733       if (grep 'ignoring option' conftest.err ||
   3734           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3735         am_cv_CC_dependencies_compiler_type=$depmode
   3736         break
   3737       fi
   3738     fi
   3739   done
   3740 
   3741   cd ..
   3742   rm -rf conftest.dir
   3743 else
   3744   am_cv_CC_dependencies_compiler_type=none
   3745 fi
   3746 
   3747 fi
   3748 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3749 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3750 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3751 
   3752  if
   3753   test "x$enable_dependency_tracking" != xno \
   3754   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3755   am__fastdepCC_TRUE=
   3756   am__fastdepCC_FALSE='#'
   3757 else
   3758   am__fastdepCC_TRUE='#'
   3759   am__fastdepCC_FALSE=
   3760 fi
   3761 
   3762 
   3763 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3764 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3765 if test "${lt_cv_path_SED+set}" = set; then
   3766   echo $ECHO_N "(cached) $ECHO_C" >&6
   3767 else
   3768   # Loop through the user's path and test for sed and gsed.
   3769 # Then use that list of sed's as ones to test for truncation.
   3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3771 for as_dir in $PATH
   3772 do
   3773   IFS=$as_save_IFS
   3774   test -z "$as_dir" && as_dir=.
   3775   for lt_ac_prog in sed gsed; do
   3776     for ac_exec_ext in '' $ac_executable_extensions; do
   3777       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3778         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3779       fi
   3780     done
   3781   done
   3782 done
   3783 IFS=$as_save_IFS
   3784 lt_ac_max=0
   3785 lt_ac_count=0
   3786 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3787 # along with /bin/sed that truncates output.
   3788 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3789   test ! -f $lt_ac_sed && continue
   3790   cat /dev/null > conftest.in
   3791   lt_ac_count=0
   3792   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3793   # Check for GNU sed and select it if it is found.
   3794   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3795     lt_cv_path_SED=$lt_ac_sed
   3796     break
   3797   fi
   3798   while true; do
   3799     cat conftest.in conftest.in >conftest.tmp
   3800     mv conftest.tmp conftest.in
   3801     cp conftest.in conftest.nl
   3802     echo >>conftest.nl
   3803     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3804     cmp -s conftest.out conftest.nl || break
   3805     # 10000 chars as input seems more than enough
   3806     test $lt_ac_count -gt 10 && break
   3807     lt_ac_count=`expr $lt_ac_count + 1`
   3808     if test $lt_ac_count -gt $lt_ac_max; then
   3809       lt_ac_max=$lt_ac_count
   3810       lt_cv_path_SED=$lt_ac_sed
   3811     fi
   3812   done
   3813 done
   3814 
   3815 fi
   3816 
   3817 SED=$lt_cv_path_SED
   3818 
   3819 { echo "$as_me:$LINENO: result: $SED" >&5
   3820 echo "${ECHO_T}$SED" >&6; }
   3821 
   3822 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3823 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3824 if test "${ac_cv_path_GREP+set}" = set; then
   3825   echo $ECHO_N "(cached) $ECHO_C" >&6
   3826 else
   3827   # Extract the first word of "grep ggrep" to use in msg output
   3828 if test -z "$GREP"; then
   3829 set dummy grep ggrep; ac_prog_name=$2
   3830 if test "${ac_cv_path_GREP+set}" = set; then
   3831   echo $ECHO_N "(cached) $ECHO_C" >&6
   3832 else
   3833   ac_path_GREP_found=false
   3834 # Loop through the user's path and test for each of PROGNAME-LIST
   3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3837 do
   3838   IFS=$as_save_IFS
   3839   test -z "$as_dir" && as_dir=.
   3840   for ac_prog in grep ggrep; do
   3841   for ac_exec_ext in '' $ac_executable_extensions; do
   3842     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3843     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3844     # Check for GNU ac_path_GREP and select it if it is found.
   3845   # Check for GNU $ac_path_GREP
   3846 case `"$ac_path_GREP" --version 2>&1` in
   3847 *GNU*)
   3848   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3849 *)
   3850   ac_count=0
   3851   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3852   while :
   3853   do
   3854     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3855     mv "conftest.tmp" "conftest.in"
   3856     cp "conftest.in" "conftest.nl"
   3857     echo 'GREP' >> "conftest.nl"
   3858     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3859     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3860     ac_count=`expr $ac_count + 1`
   3861     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3862       # Best one so far, save it but keep looking for a better one
   3863       ac_cv_path_GREP="$ac_path_GREP"
   3864       ac_path_GREP_max=$ac_count
   3865     fi
   3866     # 10*(2^10) chars as input seems more than enough
   3867     test $ac_count -gt 10 && break
   3868   done
   3869   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3870 esac
   3871 
   3872 
   3873     $ac_path_GREP_found && break 3
   3874   done
   3875 done
   3876 
   3877 done
   3878 IFS=$as_save_IFS
   3879 
   3880 
   3881 fi
   3882 
   3883 GREP="$ac_cv_path_GREP"
   3884 if test -z "$GREP"; then
   3885   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3886 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3887    { (exit 1); exit 1; }; }
   3888 fi
   3889 
   3890 else
   3891   ac_cv_path_GREP=$GREP
   3892 fi
   3893 
   3894 
   3895 fi
   3896 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3897 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3898  GREP="$ac_cv_path_GREP"
   3899 
   3900 
   3901 { echo "$as_me:$LINENO: checking for egrep" >&5
   3902 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3903 if test "${ac_cv_path_EGREP+set}" = set; then
   3904   echo $ECHO_N "(cached) $ECHO_C" >&6
   3905 else
   3906   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3907    then ac_cv_path_EGREP="$GREP -E"
   3908    else
   3909      # Extract the first word of "egrep" to use in msg output
   3910 if test -z "$EGREP"; then
   3911 set dummy egrep; ac_prog_name=$2
   3912 if test "${ac_cv_path_EGREP+set}" = set; then
   3913   echo $ECHO_N "(cached) $ECHO_C" >&6
   3914 else
   3915   ac_path_EGREP_found=false
   3916 # Loop through the user's path and test for each of PROGNAME-LIST
   3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3919 do
   3920   IFS=$as_save_IFS
   3921   test -z "$as_dir" && as_dir=.
   3922   for ac_prog in egrep; do
   3923   for ac_exec_ext in '' $ac_executable_extensions; do
   3924     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3925     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3926     # Check for GNU ac_path_EGREP and select it if it is found.
   3927   # Check for GNU $ac_path_EGREP
   3928 case `"$ac_path_EGREP" --version 2>&1` in
   3929 *GNU*)
   3930   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3931 *)
   3932   ac_count=0
   3933   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3934   while :
   3935   do
   3936     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3937     mv "conftest.tmp" "conftest.in"
   3938     cp "conftest.in" "conftest.nl"
   3939     echo 'EGREP' >> "conftest.nl"
   3940     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3941     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3942     ac_count=`expr $ac_count + 1`
   3943     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3944       # Best one so far, save it but keep looking for a better one
   3945       ac_cv_path_EGREP="$ac_path_EGREP"
   3946       ac_path_EGREP_max=$ac_count
   3947     fi
   3948     # 10*(2^10) chars as input seems more than enough
   3949     test $ac_count -gt 10 && break
   3950   done
   3951   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3952 esac
   3953 
   3954 
   3955     $ac_path_EGREP_found && break 3
   3956   done
   3957 done
   3958 
   3959 done
   3960 IFS=$as_save_IFS
   3961 
   3962 
   3963 fi
   3964 
   3965 EGREP="$ac_cv_path_EGREP"
   3966 if test -z "$EGREP"; then
   3967   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3969    { (exit 1); exit 1; }; }
   3970 fi
   3971 
   3972 else
   3973   ac_cv_path_EGREP=$EGREP
   3974 fi
   3975 
   3976 
   3977    fi
   3978 fi
   3979 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3980 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3981  EGREP="$ac_cv_path_EGREP"
   3982 
   3983 
   3984 
   3985 # Check whether --with-gnu-ld was given.
   3986 if test "${with_gnu_ld+set}" = set; then
   3987   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3988 else
   3989   with_gnu_ld=no
   3990 fi
   3991 
   3992 ac_prog=ld
   3993 if test "$GCC" = yes; then
   3994   # Check if gcc -print-prog-name=ld gives a path.
   3995   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3996 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3997   case $host in
   3998   *-*-mingw*)
   3999     # gcc leaves a trailing carriage return which upsets mingw
   4000     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4001   *)
   4002     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4003   esac
   4004   case $ac_prog in
   4005     # Accept absolute paths.
   4006     [\\/]* | ?:[\\/]*)
   4007       re_direlt='/[^/][^/]*/\.\./'
   4008       # Canonicalize the pathname of ld
   4009       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4010       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4011 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4012       done
   4013       test -z "$LD" && LD="$ac_prog"
   4014       ;;
   4015   "")
   4016     # If it fails, then pretend we aren't using GCC.
   4017     ac_prog=ld
   4018     ;;
   4019   *)
   4020     # If it is relative, then search for the first ld in PATH.
   4021     with_gnu_ld=unknown
   4022     ;;
   4023   esac
   4024 elif test "$with_gnu_ld" = yes; then
   4025   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4026 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4027 else
   4028   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4029 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4030 fi
   4031 if test "${lt_cv_path_LD+set}" = set; then
   4032   echo $ECHO_N "(cached) $ECHO_C" >&6
   4033 else
   4034   if test -z "$LD"; then
   4035   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4036   for ac_dir in $PATH; do
   4037     IFS="$lt_save_ifs"
   4038     test -z "$ac_dir" && ac_dir=.
   4039     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4040       lt_cv_path_LD="$ac_dir/$ac_prog"
   4041       # Check to see if the program is GNU ld.  I'd rather use --version,
   4042       # but apparently some variants of GNU ld only accept -v.
   4043       # Break only if it was the GNU/non-GNU ld that we prefer.
   4044       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4045       *GNU* | *'with BFD'*)
   4046 	test "$with_gnu_ld" != no && break
   4047 	;;
   4048       *)
   4049 	test "$with_gnu_ld" != yes && break
   4050 	;;
   4051       esac
   4052     fi
   4053   done
   4054   IFS="$lt_save_ifs"
   4055 else
   4056   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4057 fi
   4058 fi
   4059 
   4060 LD="$lt_cv_path_LD"
   4061 if test -n "$LD"; then
   4062   { echo "$as_me:$LINENO: result: $LD" >&5
   4063 echo "${ECHO_T}$LD" >&6; }
   4064 else
   4065   { echo "$as_me:$LINENO: result: no" >&5
   4066 echo "${ECHO_T}no" >&6; }
   4067 fi
   4068 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4069 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4070    { (exit 1); exit 1; }; }
   4071 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4072 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4073 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4074   echo $ECHO_N "(cached) $ECHO_C" >&6
   4075 else
   4076   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4077 case `$LD -v 2>&1 </dev/null` in
   4078 *GNU* | *'with BFD'*)
   4079   lt_cv_prog_gnu_ld=yes
   4080   ;;
   4081 *)
   4082   lt_cv_prog_gnu_ld=no
   4083   ;;
   4084 esac
   4085 fi
   4086 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4087 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4088 with_gnu_ld=$lt_cv_prog_gnu_ld
   4089 
   4090 
   4091 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4092 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4093 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4094   echo $ECHO_N "(cached) $ECHO_C" >&6
   4095 else
   4096   lt_cv_ld_reload_flag='-r'
   4097 fi
   4098 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4099 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4100 reload_flag=$lt_cv_ld_reload_flag
   4101 case $reload_flag in
   4102 "" | " "*) ;;
   4103 *) reload_flag=" $reload_flag" ;;
   4104 esac
   4105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4106 case $host_os in
   4107   darwin*)
   4108     if test "$GCC" = yes; then
   4109       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4110     else
   4111       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4112     fi
   4113     ;;
   4114 esac
   4115 
   4116 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4117 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4118 if test "${lt_cv_path_NM+set}" = set; then
   4119   echo $ECHO_N "(cached) $ECHO_C" >&6
   4120 else
   4121   if test -n "$NM"; then
   4122   # Let the user override the test.
   4123   lt_cv_path_NM="$NM"
   4124 else
   4125   lt_nm_to_check="${ac_tool_prefix}nm"
   4126   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4127     lt_nm_to_check="$lt_nm_to_check nm"
   4128   fi
   4129   for lt_tmp_nm in $lt_nm_to_check; do
   4130     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4131     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4132       IFS="$lt_save_ifs"
   4133       test -z "$ac_dir" && ac_dir=.
   4134       tmp_nm="$ac_dir/$lt_tmp_nm"
   4135       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4136 	# Check to see if the nm accepts a BSD-compat flag.
   4137 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4138 	#   nm: unknown option "B" ignored
   4139 	# Tru64's nm complains that /dev/null is an invalid object file
   4140 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4141 	*/dev/null* | *'Invalid file or object type'*)
   4142 	  lt_cv_path_NM="$tmp_nm -B"
   4143 	  break
   4144 	  ;;
   4145 	*)
   4146 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4147 	  */dev/null*)
   4148 	    lt_cv_path_NM="$tmp_nm -p"
   4149 	    break
   4150 	    ;;
   4151 	  *)
   4152 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4153 	    continue # so that we can try to find one that supports BSD flags
   4154 	    ;;
   4155 	  esac
   4156 	  ;;
   4157 	esac
   4158       fi
   4159     done
   4160     IFS="$lt_save_ifs"
   4161   done
   4162   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4163 fi
   4164 fi
   4165 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4166 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4167 NM="$lt_cv_path_NM"
   4168 
   4169 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4170 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4171 LN_S=$as_ln_s
   4172 if test "$LN_S" = "ln -s"; then
   4173   { echo "$as_me:$LINENO: result: yes" >&5
   4174 echo "${ECHO_T}yes" >&6; }
   4175 else
   4176   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4177 echo "${ECHO_T}no, using $LN_S" >&6; }
   4178 fi
   4179 
   4180 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4181 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4182 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4183   echo $ECHO_N "(cached) $ECHO_C" >&6
   4184 else
   4185   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4186 lt_cv_file_magic_test_file=
   4187 lt_cv_deplibs_check_method='unknown'
   4188 # Need to set the preceding variable on all platforms that support
   4189 # interlibrary dependencies.
   4190 # 'none' -- dependencies not supported.
   4191 # `unknown' -- same as none, but documents that we really don't know.
   4192 # 'pass_all' -- all dependencies passed with no checks.
   4193 # 'test_compile' -- check by making test program.
   4194 # 'file_magic [[regex]]' -- check by looking for files in library path
   4195 # which responds to the $file_magic_cmd with a given extended regex.
   4196 # If you have `file' or equivalent on your system and you're not sure
   4197 # whether `pass_all' will *always* work, you probably want this one.
   4198 
   4199 case $host_os in
   4200 aix[4-9]*)
   4201   lt_cv_deplibs_check_method=pass_all
   4202   ;;
   4203 
   4204 beos*)
   4205   lt_cv_deplibs_check_method=pass_all
   4206   ;;
   4207 
   4208 bsdi[45]*)
   4209   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4210   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4211   lt_cv_file_magic_test_file=/shlib/libc.so
   4212   ;;
   4213 
   4214 cygwin*)
   4215   # func_win32_libid is a shell function defined in ltmain.sh
   4216   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4217   lt_cv_file_magic_cmd='func_win32_libid'
   4218   ;;
   4219 
   4220 mingw* | pw32*)
   4221   # Base MSYS/MinGW do not provide the 'file' command needed by
   4222   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4223   # unless we find 'file', for example because we are cross-compiling.
   4224   if ( file / ) >/dev/null 2>&1; then
   4225     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4226     lt_cv_file_magic_cmd='func_win32_libid'
   4227   else
   4228     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4229     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4230   fi
   4231   ;;
   4232 
   4233 darwin* | rhapsody*)
   4234   lt_cv_deplibs_check_method=pass_all
   4235   ;;
   4236 
   4237 freebsd* | dragonfly*)
   4238   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4239     case $host_cpu in
   4240     i*86 )
   4241       # Not sure whether the presence of OpenBSD here was a mistake.
   4242       # Let's accept both of them until this is cleared up.
   4243       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4244       lt_cv_file_magic_cmd=/usr/bin/file
   4245       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4246       ;;
   4247     esac
   4248   else
   4249     lt_cv_deplibs_check_method=pass_all
   4250   fi
   4251   ;;
   4252 
   4253 gnu*)
   4254   lt_cv_deplibs_check_method=pass_all
   4255   ;;
   4256 
   4257 hpux10.20* | hpux11*)
   4258   lt_cv_file_magic_cmd=/usr/bin/file
   4259   case $host_cpu in
   4260   ia64*)
   4261     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4262     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4263     ;;
   4264   hppa*64*)
   4265     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]'
   4266     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4267     ;;
   4268   *)
   4269     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4270     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4271     ;;
   4272   esac
   4273   ;;
   4274 
   4275 interix[3-9]*)
   4276   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4277   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4278   ;;
   4279 
   4280 irix5* | irix6* | nonstopux*)
   4281   case $LD in
   4282   *-32|*"-32 ") libmagic=32-bit;;
   4283   *-n32|*"-n32 ") libmagic=N32;;
   4284   *-64|*"-64 ") libmagic=64-bit;;
   4285   *) libmagic=never-match;;
   4286   esac
   4287   lt_cv_deplibs_check_method=pass_all
   4288   ;;
   4289 
   4290 # This must be Linux ELF.
   4291 linux* | k*bsd*-gnu)
   4292   lt_cv_deplibs_check_method=pass_all
   4293   ;;
   4294 
   4295 netbsd* | netbsdelf*-gnu)
   4296   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4297     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4298   else
   4299     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4300   fi
   4301   ;;
   4302 
   4303 newos6*)
   4304   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4305   lt_cv_file_magic_cmd=/usr/bin/file
   4306   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4307   ;;
   4308 
   4309 nto-qnx*)
   4310   lt_cv_deplibs_check_method=unknown
   4311   ;;
   4312 
   4313 openbsd*)
   4314   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4315     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4316   else
   4317     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4318   fi
   4319   ;;
   4320 
   4321 osf3* | osf4* | osf5*)
   4322   lt_cv_deplibs_check_method=pass_all
   4323   ;;
   4324 
   4325 rdos*)
   4326   lt_cv_deplibs_check_method=pass_all
   4327   ;;
   4328 
   4329 solaris*)
   4330   lt_cv_deplibs_check_method=pass_all
   4331   ;;
   4332 
   4333 sysv4 | sysv4.3*)
   4334   case $host_vendor in
   4335   motorola)
   4336     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]'
   4337     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4338     ;;
   4339   ncr)
   4340     lt_cv_deplibs_check_method=pass_all
   4341     ;;
   4342   sequent)
   4343     lt_cv_file_magic_cmd='/bin/file'
   4344     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4345     ;;
   4346   sni)
   4347     lt_cv_file_magic_cmd='/bin/file'
   4348     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4349     lt_cv_file_magic_test_file=/lib/libc.so
   4350     ;;
   4351   siemens)
   4352     lt_cv_deplibs_check_method=pass_all
   4353     ;;
   4354   pc)
   4355     lt_cv_deplibs_check_method=pass_all
   4356     ;;
   4357   esac
   4358   ;;
   4359 
   4360 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4361   lt_cv_deplibs_check_method=pass_all
   4362   ;;
   4363 esac
   4364 
   4365 fi
   4366 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4367 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4368 file_magic_cmd=$lt_cv_file_magic_cmd
   4369 deplibs_check_method=$lt_cv_deplibs_check_method
   4370 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4371 
   4372 
   4373 
   4374 
   4375 # If no C compiler was specified, use CC.
   4376 LTCC=${LTCC-"$CC"}
   4377 
   4378 # If no C compiler flags were specified, use CFLAGS.
   4379 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4380 
   4381 # Allow CC to be a program name with arguments.
   4382 compiler=$CC
   4383 
   4384 
   4385 # Check whether --enable-libtool-lock was given.
   4386 if test "${enable_libtool_lock+set}" = set; then
   4387   enableval=$enable_libtool_lock;
   4388 fi
   4389 
   4390 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4391 
   4392 # Some flags need to be propagated to the compiler or linker for good
   4393 # libtool support.
   4394 case $host in
   4395 ia64-*-hpux*)
   4396   # Find out which ABI we are using.
   4397   echo 'int i;' > conftest.$ac_ext
   4398   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4399   (eval $ac_compile) 2>&5
   4400   ac_status=$?
   4401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4402   (exit $ac_status); }; then
   4403     case `/usr/bin/file conftest.$ac_objext` in
   4404     *ELF-32*)
   4405       HPUX_IA64_MODE="32"
   4406       ;;
   4407     *ELF-64*)
   4408       HPUX_IA64_MODE="64"
   4409       ;;
   4410     esac
   4411   fi
   4412   rm -rf conftest*
   4413   ;;
   4414 *-*-irix6*)
   4415   # Find out which ABI we are using.
   4416   echo '#line 4416 "configure"' > conftest.$ac_ext
   4417   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4418   (eval $ac_compile) 2>&5
   4419   ac_status=$?
   4420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4421   (exit $ac_status); }; then
   4422    if test "$lt_cv_prog_gnu_ld" = yes; then
   4423     case `/usr/bin/file conftest.$ac_objext` in
   4424     *32-bit*)
   4425       LD="${LD-ld} -melf32bsmip"
   4426       ;;
   4427     *N32*)
   4428       LD="${LD-ld} -melf32bmipn32"
   4429       ;;
   4430     *64-bit*)
   4431       LD="${LD-ld} -melf64bmip"
   4432       ;;
   4433     esac
   4434    else
   4435     case `/usr/bin/file conftest.$ac_objext` in
   4436     *32-bit*)
   4437       LD="${LD-ld} -32"
   4438       ;;
   4439     *N32*)
   4440       LD="${LD-ld} -n32"
   4441       ;;
   4442     *64-bit*)
   4443       LD="${LD-ld} -64"
   4444       ;;
   4445     esac
   4446    fi
   4447   fi
   4448   rm -rf conftest*
   4449   ;;
   4450 
   4451 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4452 s390*-*linux*|sparc*-*linux*)
   4453   # Find out which ABI we are using.
   4454   echo 'int i;' > conftest.$ac_ext
   4455   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4456   (eval $ac_compile) 2>&5
   4457   ac_status=$?
   4458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4459   (exit $ac_status); }; then
   4460     case `/usr/bin/file conftest.o` in
   4461     *32-bit*)
   4462       case $host in
   4463         x86_64-*kfreebsd*-gnu)
   4464           LD="${LD-ld} -m elf_i386_fbsd"
   4465           ;;
   4466         x86_64-*linux*)
   4467           LD="${LD-ld} -m elf_i386"
   4468           ;;
   4469         ppc64-*linux*|powerpc64-*linux*)
   4470           LD="${LD-ld} -m elf32ppclinux"
   4471           ;;
   4472         s390x-*linux*)
   4473           LD="${LD-ld} -m elf_s390"
   4474           ;;
   4475         sparc64-*linux*)
   4476           LD="${LD-ld} -m elf32_sparc"
   4477           ;;
   4478       esac
   4479       ;;
   4480     *64-bit*)
   4481       case $host in
   4482         x86_64-*kfreebsd*-gnu)
   4483           LD="${LD-ld} -m elf_x86_64_fbsd"
   4484           ;;
   4485         x86_64-*linux*)
   4486           LD="${LD-ld} -m elf_x86_64"
   4487           ;;
   4488         ppc*-*linux*|powerpc*-*linux*)
   4489           LD="${LD-ld} -m elf64ppc"
   4490           ;;
   4491         s390*-*linux*)
   4492           LD="${LD-ld} -m elf64_s390"
   4493           ;;
   4494         sparc*-*linux*)
   4495           LD="${LD-ld} -m elf64_sparc"
   4496           ;;
   4497       esac
   4498       ;;
   4499     esac
   4500   fi
   4501   rm -rf conftest*
   4502   ;;
   4503 
   4504 *-*-sco3.2v5*)
   4505   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4506   SAVE_CFLAGS="$CFLAGS"
   4507   CFLAGS="$CFLAGS -belf"
   4508   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4509 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4510 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4511   echo $ECHO_N "(cached) $ECHO_C" >&6
   4512 else
   4513   ac_ext=c
   4514 ac_cpp='$CPP $CPPFLAGS'
   4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4518 
   4519      cat >conftest.$ac_ext <<_ACEOF
   4520 /* confdefs.h.  */
   4521 _ACEOF
   4522 cat confdefs.h >>conftest.$ac_ext
   4523 cat >>conftest.$ac_ext <<_ACEOF
   4524 /* end confdefs.h.  */
   4525 
   4526 int
   4527 main ()
   4528 {
   4529 
   4530   ;
   4531   return 0;
   4532 }
   4533 _ACEOF
   4534 rm -f conftest.$ac_objext conftest$ac_exeext
   4535 if { (ac_try="$ac_link"
   4536 case "(($ac_try" in
   4537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4538   *) ac_try_echo=$ac_try;;
   4539 esac
   4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4541   (eval "$ac_link") 2>conftest.er1
   4542   ac_status=$?
   4543   grep -v '^ *+' conftest.er1 >conftest.err
   4544   rm -f conftest.er1
   4545   cat conftest.err >&5
   4546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4547   (exit $ac_status); } && {
   4548 	 test -z "$ac_c_werror_flag" ||
   4549 	 test ! -s conftest.err
   4550        } && test -s conftest$ac_exeext &&
   4551        $as_test_x conftest$ac_exeext; then
   4552   lt_cv_cc_needs_belf=yes
   4553 else
   4554   echo "$as_me: failed program was:" >&5
   4555 sed 's/^/| /' conftest.$ac_ext >&5
   4556 
   4557 	lt_cv_cc_needs_belf=no
   4558 fi
   4559 
   4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4561       conftest$ac_exeext conftest.$ac_ext
   4562      ac_ext=c
   4563 ac_cpp='$CPP $CPPFLAGS'
   4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4567 
   4568 fi
   4569 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4570 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4571   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4572     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4573     CFLAGS="$SAVE_CFLAGS"
   4574   fi
   4575   ;;
   4576 sparc*-*solaris*)
   4577   # Find out which ABI we are using.
   4578   echo 'int i;' > conftest.$ac_ext
   4579   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4580   (eval $ac_compile) 2>&5
   4581   ac_status=$?
   4582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4583   (exit $ac_status); }; then
   4584     case `/usr/bin/file conftest.o` in
   4585     *64-bit*)
   4586       case $lt_cv_prog_gnu_ld in
   4587       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4588       *)
   4589         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4590 	  LD="${LD-ld} -64"
   4591 	fi
   4592 	;;
   4593       esac
   4594       ;;
   4595     esac
   4596   fi
   4597   rm -rf conftest*
   4598   ;;
   4599 
   4600 
   4601 esac
   4602 
   4603 need_locks="$enable_libtool_lock"
   4604 
   4605 
   4606 ac_ext=c
   4607 ac_cpp='$CPP $CPPFLAGS'
   4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4611 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4612 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4613 # On Suns, sometimes $CPP names a directory.
   4614 if test -n "$CPP" && test -d "$CPP"; then
   4615   CPP=
   4616 fi
   4617 if test -z "$CPP"; then
   4618   if test "${ac_cv_prog_CPP+set}" = set; then
   4619   echo $ECHO_N "(cached) $ECHO_C" >&6
   4620 else
   4621       # Double quotes because CPP needs to be expanded
   4622     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4623     do
   4624       ac_preproc_ok=false
   4625 for ac_c_preproc_warn_flag in '' yes
   4626 do
   4627   # Use a header file that comes with gcc, so configuring glibc
   4628   # with a fresh cross-compiler works.
   4629   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4630   # <limits.h> exists even on freestanding compilers.
   4631   # On the NeXT, cc -E runs the code through the compiler's parser,
   4632   # not just through cpp. "Syntax error" is here to catch this case.
   4633   cat >conftest.$ac_ext <<_ACEOF
   4634 /* confdefs.h.  */
   4635 _ACEOF
   4636 cat confdefs.h >>conftest.$ac_ext
   4637 cat >>conftest.$ac_ext <<_ACEOF
   4638 /* end confdefs.h.  */
   4639 #ifdef __STDC__
   4640 # include <limits.h>
   4641 #else
   4642 # include <assert.h>
   4643 #endif
   4644 		     Syntax error
   4645 _ACEOF
   4646 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4647 case "(($ac_try" in
   4648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4649   *) ac_try_echo=$ac_try;;
   4650 esac
   4651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4652   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4653   ac_status=$?
   4654   grep -v '^ *+' conftest.er1 >conftest.err
   4655   rm -f conftest.er1
   4656   cat conftest.err >&5
   4657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4658   (exit $ac_status); } >/dev/null && {
   4659 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4660 	 test ! -s conftest.err
   4661        }; then
   4662   :
   4663 else
   4664   echo "$as_me: failed program was:" >&5
   4665 sed 's/^/| /' conftest.$ac_ext >&5
   4666 
   4667   # Broken: fails on valid input.
   4668 continue
   4669 fi
   4670 
   4671 rm -f conftest.err conftest.$ac_ext
   4672 
   4673   # OK, works on sane cases.  Now check whether nonexistent headers
   4674   # can be detected and how.
   4675   cat >conftest.$ac_ext <<_ACEOF
   4676 /* confdefs.h.  */
   4677 _ACEOF
   4678 cat confdefs.h >>conftest.$ac_ext
   4679 cat >>conftest.$ac_ext <<_ACEOF
   4680 /* end confdefs.h.  */
   4681 #include <ac_nonexistent.h>
   4682 _ACEOF
   4683 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4684 case "(($ac_try" in
   4685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4686   *) ac_try_echo=$ac_try;;
   4687 esac
   4688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4690   ac_status=$?
   4691   grep -v '^ *+' conftest.er1 >conftest.err
   4692   rm -f conftest.er1
   4693   cat conftest.err >&5
   4694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4695   (exit $ac_status); } >/dev/null && {
   4696 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4697 	 test ! -s conftest.err
   4698        }; then
   4699   # Broken: success on invalid input.
   4700 continue
   4701 else
   4702   echo "$as_me: failed program was:" >&5
   4703 sed 's/^/| /' conftest.$ac_ext >&5
   4704 
   4705   # Passes both tests.
   4706 ac_preproc_ok=:
   4707 break
   4708 fi
   4709 
   4710 rm -f conftest.err conftest.$ac_ext
   4711 
   4712 done
   4713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4714 rm -f conftest.err conftest.$ac_ext
   4715 if $ac_preproc_ok; then
   4716   break
   4717 fi
   4718 
   4719     done
   4720     ac_cv_prog_CPP=$CPP
   4721 
   4722 fi
   4723   CPP=$ac_cv_prog_CPP
   4724 else
   4725   ac_cv_prog_CPP=$CPP
   4726 fi
   4727 { echo "$as_me:$LINENO: result: $CPP" >&5
   4728 echo "${ECHO_T}$CPP" >&6; }
   4729 ac_preproc_ok=false
   4730 for ac_c_preproc_warn_flag in '' yes
   4731 do
   4732   # Use a header file that comes with gcc, so configuring glibc
   4733   # with a fresh cross-compiler works.
   4734   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4735   # <limits.h> exists even on freestanding compilers.
   4736   # On the NeXT, cc -E runs the code through the compiler's parser,
   4737   # not just through cpp. "Syntax error" is here to catch this case.
   4738   cat >conftest.$ac_ext <<_ACEOF
   4739 /* confdefs.h.  */
   4740 _ACEOF
   4741 cat confdefs.h >>conftest.$ac_ext
   4742 cat >>conftest.$ac_ext <<_ACEOF
   4743 /* end confdefs.h.  */
   4744 #ifdef __STDC__
   4745 # include <limits.h>
   4746 #else
   4747 # include <assert.h>
   4748 #endif
   4749 		     Syntax error
   4750 _ACEOF
   4751 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4752 case "(($ac_try" in
   4753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4754   *) ac_try_echo=$ac_try;;
   4755 esac
   4756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4757   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4758   ac_status=$?
   4759   grep -v '^ *+' conftest.er1 >conftest.err
   4760   rm -f conftest.er1
   4761   cat conftest.err >&5
   4762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4763   (exit $ac_status); } >/dev/null && {
   4764 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4765 	 test ! -s conftest.err
   4766        }; then
   4767   :
   4768 else
   4769   echo "$as_me: failed program was:" >&5
   4770 sed 's/^/| /' conftest.$ac_ext >&5
   4771 
   4772   # Broken: fails on valid input.
   4773 continue
   4774 fi
   4775 
   4776 rm -f conftest.err conftest.$ac_ext
   4777 
   4778   # OK, works on sane cases.  Now check whether nonexistent headers
   4779   # can be detected and how.
   4780   cat >conftest.$ac_ext <<_ACEOF
   4781 /* confdefs.h.  */
   4782 _ACEOF
   4783 cat confdefs.h >>conftest.$ac_ext
   4784 cat >>conftest.$ac_ext <<_ACEOF
   4785 /* end confdefs.h.  */
   4786 #include <ac_nonexistent.h>
   4787 _ACEOF
   4788 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4789 case "(($ac_try" in
   4790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4791   *) ac_try_echo=$ac_try;;
   4792 esac
   4793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4794   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4795   ac_status=$?
   4796   grep -v '^ *+' conftest.er1 >conftest.err
   4797   rm -f conftest.er1
   4798   cat conftest.err >&5
   4799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4800   (exit $ac_status); } >/dev/null && {
   4801 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4802 	 test ! -s conftest.err
   4803        }; then
   4804   # Broken: success on invalid input.
   4805 continue
   4806 else
   4807   echo "$as_me: failed program was:" >&5
   4808 sed 's/^/| /' conftest.$ac_ext >&5
   4809 
   4810   # Passes both tests.
   4811 ac_preproc_ok=:
   4812 break
   4813 fi
   4814 
   4815 rm -f conftest.err conftest.$ac_ext
   4816 
   4817 done
   4818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4819 rm -f conftest.err conftest.$ac_ext
   4820 if $ac_preproc_ok; then
   4821   :
   4822 else
   4823   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4824 See \`config.log' for more details." >&5
   4825 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4826 See \`config.log' for more details." >&2;}
   4827    { (exit 1); exit 1; }; }
   4828 fi
   4829 
   4830 ac_ext=c
   4831 ac_cpp='$CPP $CPPFLAGS'
   4832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4835 
   4836 
   4837 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4838 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4839 if test "${ac_cv_header_stdc+set}" = set; then
   4840   echo $ECHO_N "(cached) $ECHO_C" >&6
   4841 else
   4842   cat >conftest.$ac_ext <<_ACEOF
   4843 /* confdefs.h.  */
   4844 _ACEOF
   4845 cat confdefs.h >>conftest.$ac_ext
   4846 cat >>conftest.$ac_ext <<_ACEOF
   4847 /* end confdefs.h.  */
   4848 #include <stdlib.h>
   4849 #include <stdarg.h>
   4850 #include <string.h>
   4851 #include <float.h>
   4852 
   4853 int
   4854 main ()
   4855 {
   4856 
   4857   ;
   4858   return 0;
   4859 }
   4860 _ACEOF
   4861 rm -f conftest.$ac_objext
   4862 if { (ac_try="$ac_compile"
   4863 case "(($ac_try" in
   4864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4865   *) ac_try_echo=$ac_try;;
   4866 esac
   4867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4868   (eval "$ac_compile") 2>conftest.er1
   4869   ac_status=$?
   4870   grep -v '^ *+' conftest.er1 >conftest.err
   4871   rm -f conftest.er1
   4872   cat conftest.err >&5
   4873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4874   (exit $ac_status); } && {
   4875 	 test -z "$ac_c_werror_flag" ||
   4876 	 test ! -s conftest.err
   4877        } && test -s conftest.$ac_objext; then
   4878   ac_cv_header_stdc=yes
   4879 else
   4880   echo "$as_me: failed program was:" >&5
   4881 sed 's/^/| /' conftest.$ac_ext >&5
   4882 
   4883 	ac_cv_header_stdc=no
   4884 fi
   4885 
   4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4887 
   4888 if test $ac_cv_header_stdc = yes; then
   4889   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4890   cat >conftest.$ac_ext <<_ACEOF
   4891 /* confdefs.h.  */
   4892 _ACEOF
   4893 cat confdefs.h >>conftest.$ac_ext
   4894 cat >>conftest.$ac_ext <<_ACEOF
   4895 /* end confdefs.h.  */
   4896 #include <string.h>
   4897 
   4898 _ACEOF
   4899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4900   $EGREP "memchr" >/dev/null 2>&1; then
   4901   :
   4902 else
   4903   ac_cv_header_stdc=no
   4904 fi
   4905 rm -f conftest*
   4906 
   4907 fi
   4908 
   4909 if test $ac_cv_header_stdc = yes; then
   4910   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4911   cat >conftest.$ac_ext <<_ACEOF
   4912 /* confdefs.h.  */
   4913 _ACEOF
   4914 cat confdefs.h >>conftest.$ac_ext
   4915 cat >>conftest.$ac_ext <<_ACEOF
   4916 /* end confdefs.h.  */
   4917 #include <stdlib.h>
   4918 
   4919 _ACEOF
   4920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4921   $EGREP "free" >/dev/null 2>&1; then
   4922   :
   4923 else
   4924   ac_cv_header_stdc=no
   4925 fi
   4926 rm -f conftest*
   4927 
   4928 fi
   4929 
   4930 if test $ac_cv_header_stdc = yes; then
   4931   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4932   if test "$cross_compiling" = yes; then
   4933   :
   4934 else
   4935   cat >conftest.$ac_ext <<_ACEOF
   4936 /* confdefs.h.  */
   4937 _ACEOF
   4938 cat confdefs.h >>conftest.$ac_ext
   4939 cat >>conftest.$ac_ext <<_ACEOF
   4940 /* end confdefs.h.  */
   4941 #include <ctype.h>
   4942 #include <stdlib.h>
   4943 #if ((' ' & 0x0FF) == 0x020)
   4944 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4945 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4946 #else
   4947 # define ISLOWER(c) \
   4948 		   (('a' <= (c) && (c) <= 'i') \
   4949 		     || ('j' <= (c) && (c) <= 'r') \
   4950 		     || ('s' <= (c) && (c) <= 'z'))
   4951 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4952 #endif
   4953 
   4954 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4955 int
   4956 main ()
   4957 {
   4958   int i;
   4959   for (i = 0; i < 256; i++)
   4960     if (XOR (islower (i), ISLOWER (i))
   4961 	|| toupper (i) != TOUPPER (i))
   4962       return 2;
   4963   return 0;
   4964 }
   4965 _ACEOF
   4966 rm -f conftest$ac_exeext
   4967 if { (ac_try="$ac_link"
   4968 case "(($ac_try" in
   4969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4970   *) ac_try_echo=$ac_try;;
   4971 esac
   4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4973   (eval "$ac_link") 2>&5
   4974   ac_status=$?
   4975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4976   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4977   { (case "(($ac_try" in
   4978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4979   *) ac_try_echo=$ac_try;;
   4980 esac
   4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4982   (eval "$ac_try") 2>&5
   4983   ac_status=$?
   4984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4985   (exit $ac_status); }; }; then
   4986   :
   4987 else
   4988   echo "$as_me: program exited with status $ac_status" >&5
   4989 echo "$as_me: failed program was:" >&5
   4990 sed 's/^/| /' conftest.$ac_ext >&5
   4991 
   4992 ( exit $ac_status )
   4993 ac_cv_header_stdc=no
   4994 fi
   4995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4996 fi
   4997 
   4998 
   4999 fi
   5000 fi
   5001 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5002 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5003 if test $ac_cv_header_stdc = yes; then
   5004 
   5005 cat >>confdefs.h <<\_ACEOF
   5006 #define STDC_HEADERS 1
   5007 _ACEOF
   5008 
   5009 fi
   5010 
   5011 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5022 		  inttypes.h stdint.h unistd.h
   5023 do
   5024 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5028   echo $ECHO_N "(cached) $ECHO_C" >&6
   5029 else
   5030   cat >conftest.$ac_ext <<_ACEOF
   5031 /* confdefs.h.  */
   5032 _ACEOF
   5033 cat confdefs.h >>conftest.$ac_ext
   5034 cat >>conftest.$ac_ext <<_ACEOF
   5035 /* end confdefs.h.  */
   5036 $ac_includes_default
   5037 
   5038 #include <$ac_header>
   5039 _ACEOF
   5040 rm -f conftest.$ac_objext
   5041 if { (ac_try="$ac_compile"
   5042 case "(($ac_try" in
   5043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5044   *) ac_try_echo=$ac_try;;
   5045 esac
   5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5047   (eval "$ac_compile") 2>conftest.er1
   5048   ac_status=$?
   5049   grep -v '^ *+' conftest.er1 >conftest.err
   5050   rm -f conftest.er1
   5051   cat conftest.err >&5
   5052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5053   (exit $ac_status); } && {
   5054 	 test -z "$ac_c_werror_flag" ||
   5055 	 test ! -s conftest.err
   5056        } && test -s conftest.$ac_objext; then
   5057   eval "$as_ac_Header=yes"
   5058 else
   5059   echo "$as_me: failed program was:" >&5
   5060 sed 's/^/| /' conftest.$ac_ext >&5
   5061 
   5062 	eval "$as_ac_Header=no"
   5063 fi
   5064 
   5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5066 fi
   5067 ac_res=`eval echo '${'$as_ac_Header'}'`
   5068 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5069 echo "${ECHO_T}$ac_res" >&6; }
   5070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5071   cat >>confdefs.h <<_ACEOF
   5072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5073 _ACEOF
   5074 
   5075 fi
   5076 
   5077 done
   5078 
   5079 
   5080 
   5081 for ac_header in dlfcn.h
   5082 do
   5083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5085   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5088   echo $ECHO_N "(cached) $ECHO_C" >&6
   5089 fi
   5090 ac_res=`eval echo '${'$as_ac_Header'}'`
   5091 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5092 echo "${ECHO_T}$ac_res" >&6; }
   5093 else
   5094   # Is the header compilable?
   5095 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5097 cat >conftest.$ac_ext <<_ACEOF
   5098 /* confdefs.h.  */
   5099 _ACEOF
   5100 cat confdefs.h >>conftest.$ac_ext
   5101 cat >>conftest.$ac_ext <<_ACEOF
   5102 /* end confdefs.h.  */
   5103 $ac_includes_default
   5104 #include <$ac_header>
   5105 _ACEOF
   5106 rm -f conftest.$ac_objext
   5107 if { (ac_try="$ac_compile"
   5108 case "(($ac_try" in
   5109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5110   *) ac_try_echo=$ac_try;;
   5111 esac
   5112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5113   (eval "$ac_compile") 2>conftest.er1
   5114   ac_status=$?
   5115   grep -v '^ *+' conftest.er1 >conftest.err
   5116   rm -f conftest.er1
   5117   cat conftest.err >&5
   5118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5119   (exit $ac_status); } && {
   5120 	 test -z "$ac_c_werror_flag" ||
   5121 	 test ! -s conftest.err
   5122        } && test -s conftest.$ac_objext; then
   5123   ac_header_compiler=yes
   5124 else
   5125   echo "$as_me: failed program was:" >&5
   5126 sed 's/^/| /' conftest.$ac_ext >&5
   5127 
   5128 	ac_header_compiler=no
   5129 fi
   5130 
   5131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5132 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5133 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5134 
   5135 # Is the header present?
   5136 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5138 cat >conftest.$ac_ext <<_ACEOF
   5139 /* confdefs.h.  */
   5140 _ACEOF
   5141 cat confdefs.h >>conftest.$ac_ext
   5142 cat >>conftest.$ac_ext <<_ACEOF
   5143 /* end confdefs.h.  */
   5144 #include <$ac_header>
   5145 _ACEOF
   5146 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5147 case "(($ac_try" in
   5148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5149   *) ac_try_echo=$ac_try;;
   5150 esac
   5151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5152   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5153   ac_status=$?
   5154   grep -v '^ *+' conftest.er1 >conftest.err
   5155   rm -f conftest.er1
   5156   cat conftest.err >&5
   5157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5158   (exit $ac_status); } >/dev/null && {
   5159 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5160 	 test ! -s conftest.err
   5161        }; then
   5162   ac_header_preproc=yes
   5163 else
   5164   echo "$as_me: failed program was:" >&5
   5165 sed 's/^/| /' conftest.$ac_ext >&5
   5166 
   5167   ac_header_preproc=no
   5168 fi
   5169 
   5170 rm -f conftest.err conftest.$ac_ext
   5171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5172 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5173 
   5174 # So?  What about this header?
   5175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5176   yes:no: )
   5177     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5179     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5181     ac_header_preproc=yes
   5182     ;;
   5183   no:yes:* )
   5184     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5186     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5187 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5188     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5190     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5191 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5192     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5194     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5196     ( cat <<\_ASBOX
   5197 ## ---------------------------------------------------------------------- ##
   5198 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5199 ## ---------------------------------------------------------------------- ##
   5200 _ASBOX
   5201      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5202     ;;
   5203 esac
   5204 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5207   echo $ECHO_N "(cached) $ECHO_C" >&6
   5208 else
   5209   eval "$as_ac_Header=\$ac_header_preproc"
   5210 fi
   5211 ac_res=`eval echo '${'$as_ac_Header'}'`
   5212 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5213 echo "${ECHO_T}$ac_res" >&6; }
   5214 
   5215 fi
   5216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5217   cat >>confdefs.h <<_ACEOF
   5218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5219 _ACEOF
   5220 
   5221 fi
   5222 
   5223 done
   5224 
   5225 ac_ext=cpp
   5226 ac_cpp='$CXXCPP $CPPFLAGS'
   5227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5230 if test -z "$CXX"; then
   5231   if test -n "$CCC"; then
   5232     CXX=$CCC
   5233   else
   5234     if test -n "$ac_tool_prefix"; then
   5235   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5236   do
   5237     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5241 if test "${ac_cv_prog_CXX+set}" = set; then
   5242   echo $ECHO_N "(cached) $ECHO_C" >&6
   5243 else
   5244   if test -n "$CXX"; then
   5245   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5246 else
   5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5248 for as_dir in $PATH
   5249 do
   5250   IFS=$as_save_IFS
   5251   test -z "$as_dir" && as_dir=.
   5252   for ac_exec_ext in '' $ac_executable_extensions; do
   5253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5254     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5255     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5256     break 2
   5257   fi
   5258 done
   5259 done
   5260 IFS=$as_save_IFS
   5261 
   5262 fi
   5263 fi
   5264 CXX=$ac_cv_prog_CXX
   5265 if test -n "$CXX"; then
   5266   { echo "$as_me:$LINENO: result: $CXX" >&5
   5267 echo "${ECHO_T}$CXX" >&6; }
   5268 else
   5269   { echo "$as_me:$LINENO: result: no" >&5
   5270 echo "${ECHO_T}no" >&6; }
   5271 fi
   5272 
   5273 
   5274     test -n "$CXX" && break
   5275   done
   5276 fi
   5277 if test -z "$CXX"; then
   5278   ac_ct_CXX=$CXX
   5279   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5280 do
   5281   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5282 set dummy $ac_prog; ac_word=$2
   5283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5286   echo $ECHO_N "(cached) $ECHO_C" >&6
   5287 else
   5288   if test -n "$ac_ct_CXX"; then
   5289   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5290 else
   5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5292 for as_dir in $PATH
   5293 do
   5294   IFS=$as_save_IFS
   5295   test -z "$as_dir" && as_dir=.
   5296   for ac_exec_ext in '' $ac_executable_extensions; do
   5297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5298     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5299     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5300     break 2
   5301   fi
   5302 done
   5303 done
   5304 IFS=$as_save_IFS
   5305 
   5306 fi
   5307 fi
   5308 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5309 if test -n "$ac_ct_CXX"; then
   5310   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5311 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5312 else
   5313   { echo "$as_me:$LINENO: result: no" >&5
   5314 echo "${ECHO_T}no" >&6; }
   5315 fi
   5316 
   5317 
   5318   test -n "$ac_ct_CXX" && break
   5319 done
   5320 
   5321   if test "x$ac_ct_CXX" = x; then
   5322     CXX="g++"
   5323   else
   5324     case $cross_compiling:$ac_tool_warned in
   5325 yes:)
   5326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5327 whose name does not start with the host triplet.  If you think this
   5328 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5330 whose name does not start with the host triplet.  If you think this
   5331 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5332 ac_tool_warned=yes ;;
   5333 esac
   5334     CXX=$ac_ct_CXX
   5335   fi
   5336 fi
   5337 
   5338   fi
   5339 fi
   5340 # Provide some information about the compiler.
   5341 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5342 ac_compiler=`set X $ac_compile; echo $2`
   5343 { (ac_try="$ac_compiler --version >&5"
   5344 case "(($ac_try" in
   5345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5346   *) ac_try_echo=$ac_try;;
   5347 esac
   5348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5349   (eval "$ac_compiler --version >&5") 2>&5
   5350   ac_status=$?
   5351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5352   (exit $ac_status); }
   5353 { (ac_try="$ac_compiler -v >&5"
   5354 case "(($ac_try" in
   5355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5356   *) ac_try_echo=$ac_try;;
   5357 esac
   5358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5359   (eval "$ac_compiler -v >&5") 2>&5
   5360   ac_status=$?
   5361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5362   (exit $ac_status); }
   5363 { (ac_try="$ac_compiler -V >&5"
   5364 case "(($ac_try" in
   5365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5366   *) ac_try_echo=$ac_try;;
   5367 esac
   5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5369   (eval "$ac_compiler -V >&5") 2>&5
   5370   ac_status=$?
   5371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5372   (exit $ac_status); }
   5373 
   5374 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5375 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5376 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5377   echo $ECHO_N "(cached) $ECHO_C" >&6
   5378 else
   5379   cat >conftest.$ac_ext <<_ACEOF
   5380 /* confdefs.h.  */
   5381 _ACEOF
   5382 cat confdefs.h >>conftest.$ac_ext
   5383 cat >>conftest.$ac_ext <<_ACEOF
   5384 /* end confdefs.h.  */
   5385 
   5386 int
   5387 main ()
   5388 {
   5389 #ifndef __GNUC__
   5390        choke me
   5391 #endif
   5392 
   5393   ;
   5394   return 0;
   5395 }
   5396 _ACEOF
   5397 rm -f conftest.$ac_objext
   5398 if { (ac_try="$ac_compile"
   5399 case "(($ac_try" in
   5400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5401   *) ac_try_echo=$ac_try;;
   5402 esac
   5403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5404   (eval "$ac_compile") 2>conftest.er1
   5405   ac_status=$?
   5406   grep -v '^ *+' conftest.er1 >conftest.err
   5407   rm -f conftest.er1
   5408   cat conftest.err >&5
   5409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5410   (exit $ac_status); } && {
   5411 	 test -z "$ac_cxx_werror_flag" ||
   5412 	 test ! -s conftest.err
   5413        } && test -s conftest.$ac_objext; then
   5414   ac_compiler_gnu=yes
   5415 else
   5416   echo "$as_me: failed program was:" >&5
   5417 sed 's/^/| /' conftest.$ac_ext >&5
   5418 
   5419 	ac_compiler_gnu=no
   5420 fi
   5421 
   5422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5423 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5424 
   5425 fi
   5426 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5427 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5428 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5429 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5430 ac_save_CXXFLAGS=$CXXFLAGS
   5431 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5432 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5433 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5434   echo $ECHO_N "(cached) $ECHO_C" >&6
   5435 else
   5436   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5437    ac_cxx_werror_flag=yes
   5438    ac_cv_prog_cxx_g=no
   5439    CXXFLAGS="-g"
   5440    cat >conftest.$ac_ext <<_ACEOF
   5441 /* confdefs.h.  */
   5442 _ACEOF
   5443 cat confdefs.h >>conftest.$ac_ext
   5444 cat >>conftest.$ac_ext <<_ACEOF
   5445 /* end confdefs.h.  */
   5446 
   5447 int
   5448 main ()
   5449 {
   5450 
   5451   ;
   5452   return 0;
   5453 }
   5454 _ACEOF
   5455 rm -f conftest.$ac_objext
   5456 if { (ac_try="$ac_compile"
   5457 case "(($ac_try" in
   5458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5459   *) ac_try_echo=$ac_try;;
   5460 esac
   5461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5462   (eval "$ac_compile") 2>conftest.er1
   5463   ac_status=$?
   5464   grep -v '^ *+' conftest.er1 >conftest.err
   5465   rm -f conftest.er1
   5466   cat conftest.err >&5
   5467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5468   (exit $ac_status); } && {
   5469 	 test -z "$ac_cxx_werror_flag" ||
   5470 	 test ! -s conftest.err
   5471        } && test -s conftest.$ac_objext; then
   5472   ac_cv_prog_cxx_g=yes
   5473 else
   5474   echo "$as_me: failed program was:" >&5
   5475 sed 's/^/| /' conftest.$ac_ext >&5
   5476 
   5477 	CXXFLAGS=""
   5478       cat >conftest.$ac_ext <<_ACEOF
   5479 /* confdefs.h.  */
   5480 _ACEOF
   5481 cat confdefs.h >>conftest.$ac_ext
   5482 cat >>conftest.$ac_ext <<_ACEOF
   5483 /* end confdefs.h.  */
   5484 
   5485 int
   5486 main ()
   5487 {
   5488 
   5489   ;
   5490   return 0;
   5491 }
   5492 _ACEOF
   5493 rm -f conftest.$ac_objext
   5494 if { (ac_try="$ac_compile"
   5495 case "(($ac_try" in
   5496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5497   *) ac_try_echo=$ac_try;;
   5498 esac
   5499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5500   (eval "$ac_compile") 2>conftest.er1
   5501   ac_status=$?
   5502   grep -v '^ *+' conftest.er1 >conftest.err
   5503   rm -f conftest.er1
   5504   cat conftest.err >&5
   5505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5506   (exit $ac_status); } && {
   5507 	 test -z "$ac_cxx_werror_flag" ||
   5508 	 test ! -s conftest.err
   5509        } && test -s conftest.$ac_objext; then
   5510   :
   5511 else
   5512   echo "$as_me: failed program was:" >&5
   5513 sed 's/^/| /' conftest.$ac_ext >&5
   5514 
   5515 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5516 	 CXXFLAGS="-g"
   5517 	 cat >conftest.$ac_ext <<_ACEOF
   5518 /* confdefs.h.  */
   5519 _ACEOF
   5520 cat confdefs.h >>conftest.$ac_ext
   5521 cat >>conftest.$ac_ext <<_ACEOF
   5522 /* end confdefs.h.  */
   5523 
   5524 int
   5525 main ()
   5526 {
   5527 
   5528   ;
   5529   return 0;
   5530 }
   5531 _ACEOF
   5532 rm -f conftest.$ac_objext
   5533 if { (ac_try="$ac_compile"
   5534 case "(($ac_try" in
   5535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5536   *) ac_try_echo=$ac_try;;
   5537 esac
   5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5539   (eval "$ac_compile") 2>conftest.er1
   5540   ac_status=$?
   5541   grep -v '^ *+' conftest.er1 >conftest.err
   5542   rm -f conftest.er1
   5543   cat conftest.err >&5
   5544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5545   (exit $ac_status); } && {
   5546 	 test -z "$ac_cxx_werror_flag" ||
   5547 	 test ! -s conftest.err
   5548        } && test -s conftest.$ac_objext; then
   5549   ac_cv_prog_cxx_g=yes
   5550 else
   5551   echo "$as_me: failed program was:" >&5
   5552 sed 's/^/| /' conftest.$ac_ext >&5
   5553 
   5554 
   5555 fi
   5556 
   5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5558 fi
   5559 
   5560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5561 fi
   5562 
   5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5564    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5565 fi
   5566 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5567 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5568 if test "$ac_test_CXXFLAGS" = set; then
   5569   CXXFLAGS=$ac_save_CXXFLAGS
   5570 elif test $ac_cv_prog_cxx_g = yes; then
   5571   if test "$GXX" = yes; then
   5572     CXXFLAGS="-g -O2"
   5573   else
   5574     CXXFLAGS="-g"
   5575   fi
   5576 else
   5577   if test "$GXX" = yes; then
   5578     CXXFLAGS="-O2"
   5579   else
   5580     CXXFLAGS=
   5581   fi
   5582 fi
   5583 ac_ext=cpp
   5584 ac_cpp='$CXXCPP $CPPFLAGS'
   5585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5588 
   5589 depcc="$CXX"  am_compiler_list=
   5590 
   5591 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5592 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5593 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5594   echo $ECHO_N "(cached) $ECHO_C" >&6
   5595 else
   5596   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5597   # We make a subdir and do the tests there.  Otherwise we can end up
   5598   # making bogus files that we don't know about and never remove.  For
   5599   # instance it was reported that on HP-UX the gcc test will end up
   5600   # making a dummy file named `D' -- because `-MD' means `put the output
   5601   # in D'.
   5602   mkdir conftest.dir
   5603   # Copy depcomp to subdir because otherwise we won't find it if we're
   5604   # using a relative directory.
   5605   cp "$am_depcomp" conftest.dir
   5606   cd conftest.dir
   5607   # We will build objects and dependencies in a subdirectory because
   5608   # it helps to detect inapplicable dependency modes.  For instance
   5609   # both Tru64's cc and ICC support -MD to output dependencies as a
   5610   # side effect of compilation, but ICC will put the dependencies in
   5611   # the current directory while Tru64 will put them in the object
   5612   # directory.
   5613   mkdir sub
   5614 
   5615   am_cv_CXX_dependencies_compiler_type=none
   5616   if test "$am_compiler_list" = ""; then
   5617      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5618   fi
   5619   for depmode in $am_compiler_list; do
   5620     # Setup a source with many dependencies, because some compilers
   5621     # like to wrap large dependency lists on column 80 (with \), and
   5622     # we should not choose a depcomp mode which is confused by this.
   5623     #
   5624     # We need to recreate these files for each test, as the compiler may
   5625     # overwrite some of them when testing with obscure command lines.
   5626     # This happens at least with the AIX C compiler.
   5627     : > sub/conftest.c
   5628     for i in 1 2 3 4 5 6; do
   5629       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5630       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5631       # Solaris 8's {/usr,}/bin/sh.
   5632       touch sub/conftst$i.h
   5633     done
   5634     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5635 
   5636     case $depmode in
   5637     nosideeffect)
   5638       # after this tag, mechanisms are not by side-effect, so they'll
   5639       # only be used when explicitly requested
   5640       if test "x$enable_dependency_tracking" = xyes; then
   5641 	continue
   5642       else
   5643 	break
   5644       fi
   5645       ;;
   5646     none) break ;;
   5647     esac
   5648     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5649     # mode.  It turns out that the SunPro C++ compiler does not properly
   5650     # handle `-M -o', and we need to detect this.
   5651     if depmode=$depmode \
   5652        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5653        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5654        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5655          >/dev/null 2>conftest.err &&
   5656        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5657        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5658        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5659        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5660       # icc doesn't choke on unknown options, it will just issue warnings
   5661       # or remarks (even with -Werror).  So we grep stderr for any message
   5662       # that says an option was ignored or not supported.
   5663       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5664       #   icc: Command line warning: ignoring option '-M'; no argument required
   5665       # The diagnosis changed in icc 8.0:
   5666       #   icc: Command line remark: option '-MP' not supported
   5667       if (grep 'ignoring option' conftest.err ||
   5668           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5669         am_cv_CXX_dependencies_compiler_type=$depmode
   5670         break
   5671       fi
   5672     fi
   5673   done
   5674 
   5675   cd ..
   5676   rm -rf conftest.dir
   5677 else
   5678   am_cv_CXX_dependencies_compiler_type=none
   5679 fi
   5680 
   5681 fi
   5682 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5683 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5684 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5685 
   5686  if
   5687   test "x$enable_dependency_tracking" != xno \
   5688   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5689   am__fastdepCXX_TRUE=
   5690   am__fastdepCXX_FALSE='#'
   5691 else
   5692   am__fastdepCXX_TRUE='#'
   5693   am__fastdepCXX_FALSE=
   5694 fi
   5695 
   5696 
   5697 
   5698 
   5699 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5700     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5701     (test "X$CXX" != "Xg++"))) ; then
   5702   ac_ext=cpp
   5703 ac_cpp='$CXXCPP $CPPFLAGS'
   5704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5707 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5708 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5709 if test -z "$CXXCPP"; then
   5710   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5711   echo $ECHO_N "(cached) $ECHO_C" >&6
   5712 else
   5713       # Double quotes because CXXCPP needs to be expanded
   5714     for CXXCPP in "$CXX -E" "/lib/cpp"
   5715     do
   5716       ac_preproc_ok=false
   5717 for ac_cxx_preproc_warn_flag in '' yes
   5718 do
   5719   # Use a header file that comes with gcc, so configuring glibc
   5720   # with a fresh cross-compiler works.
   5721   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5722   # <limits.h> exists even on freestanding compilers.
   5723   # On the NeXT, cc -E runs the code through the compiler's parser,
   5724   # not just through cpp. "Syntax error" is here to catch this case.
   5725   cat >conftest.$ac_ext <<_ACEOF
   5726 /* confdefs.h.  */
   5727 _ACEOF
   5728 cat confdefs.h >>conftest.$ac_ext
   5729 cat >>conftest.$ac_ext <<_ACEOF
   5730 /* end confdefs.h.  */
   5731 #ifdef __STDC__
   5732 # include <limits.h>
   5733 #else
   5734 # include <assert.h>
   5735 #endif
   5736 		     Syntax error
   5737 _ACEOF
   5738 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5739 case "(($ac_try" in
   5740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5741   *) ac_try_echo=$ac_try;;
   5742 esac
   5743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5745   ac_status=$?
   5746   grep -v '^ *+' conftest.er1 >conftest.err
   5747   rm -f conftest.er1
   5748   cat conftest.err >&5
   5749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5750   (exit $ac_status); } >/dev/null && {
   5751 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5752 	 test ! -s conftest.err
   5753        }; then
   5754   :
   5755 else
   5756   echo "$as_me: failed program was:" >&5
   5757 sed 's/^/| /' conftest.$ac_ext >&5
   5758 
   5759   # Broken: fails on valid input.
   5760 continue
   5761 fi
   5762 
   5763 rm -f conftest.err conftest.$ac_ext
   5764 
   5765   # OK, works on sane cases.  Now check whether nonexistent headers
   5766   # can be detected and how.
   5767   cat >conftest.$ac_ext <<_ACEOF
   5768 /* confdefs.h.  */
   5769 _ACEOF
   5770 cat confdefs.h >>conftest.$ac_ext
   5771 cat >>conftest.$ac_ext <<_ACEOF
   5772 /* end confdefs.h.  */
   5773 #include <ac_nonexistent.h>
   5774 _ACEOF
   5775 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5776 case "(($ac_try" in
   5777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5778   *) ac_try_echo=$ac_try;;
   5779 esac
   5780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5781   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5782   ac_status=$?
   5783   grep -v '^ *+' conftest.er1 >conftest.err
   5784   rm -f conftest.er1
   5785   cat conftest.err >&5
   5786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5787   (exit $ac_status); } >/dev/null && {
   5788 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5789 	 test ! -s conftest.err
   5790        }; then
   5791   # Broken: success on invalid input.
   5792 continue
   5793 else
   5794   echo "$as_me: failed program was:" >&5
   5795 sed 's/^/| /' conftest.$ac_ext >&5
   5796 
   5797   # Passes both tests.
   5798 ac_preproc_ok=:
   5799 break
   5800 fi
   5801 
   5802 rm -f conftest.err conftest.$ac_ext
   5803 
   5804 done
   5805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5806 rm -f conftest.err conftest.$ac_ext
   5807 if $ac_preproc_ok; then
   5808   break
   5809 fi
   5810 
   5811     done
   5812     ac_cv_prog_CXXCPP=$CXXCPP
   5813 
   5814 fi
   5815   CXXCPP=$ac_cv_prog_CXXCPP
   5816 else
   5817   ac_cv_prog_CXXCPP=$CXXCPP
   5818 fi
   5819 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5820 echo "${ECHO_T}$CXXCPP" >&6; }
   5821 ac_preproc_ok=false
   5822 for ac_cxx_preproc_warn_flag in '' yes
   5823 do
   5824   # Use a header file that comes with gcc, so configuring glibc
   5825   # with a fresh cross-compiler works.
   5826   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5827   # <limits.h> exists even on freestanding compilers.
   5828   # On the NeXT, cc -E runs the code through the compiler's parser,
   5829   # not just through cpp. "Syntax error" is here to catch this case.
   5830   cat >conftest.$ac_ext <<_ACEOF
   5831 /* confdefs.h.  */
   5832 _ACEOF
   5833 cat confdefs.h >>conftest.$ac_ext
   5834 cat >>conftest.$ac_ext <<_ACEOF
   5835 /* end confdefs.h.  */
   5836 #ifdef __STDC__
   5837 # include <limits.h>
   5838 #else
   5839 # include <assert.h>
   5840 #endif
   5841 		     Syntax error
   5842 _ACEOF
   5843 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5844 case "(($ac_try" in
   5845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5846   *) ac_try_echo=$ac_try;;
   5847 esac
   5848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5849   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5850   ac_status=$?
   5851   grep -v '^ *+' conftest.er1 >conftest.err
   5852   rm -f conftest.er1
   5853   cat conftest.err >&5
   5854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5855   (exit $ac_status); } >/dev/null && {
   5856 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5857 	 test ! -s conftest.err
   5858        }; then
   5859   :
   5860 else
   5861   echo "$as_me: failed program was:" >&5
   5862 sed 's/^/| /' conftest.$ac_ext >&5
   5863 
   5864   # Broken: fails on valid input.
   5865 continue
   5866 fi
   5867 
   5868 rm -f conftest.err conftest.$ac_ext
   5869 
   5870   # OK, works on sane cases.  Now check whether nonexistent headers
   5871   # can be detected and how.
   5872   cat >conftest.$ac_ext <<_ACEOF
   5873 /* confdefs.h.  */
   5874 _ACEOF
   5875 cat confdefs.h >>conftest.$ac_ext
   5876 cat >>conftest.$ac_ext <<_ACEOF
   5877 /* end confdefs.h.  */
   5878 #include <ac_nonexistent.h>
   5879 _ACEOF
   5880 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5881 case "(($ac_try" in
   5882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5883   *) ac_try_echo=$ac_try;;
   5884 esac
   5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5886   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5887   ac_status=$?
   5888   grep -v '^ *+' conftest.er1 >conftest.err
   5889   rm -f conftest.er1
   5890   cat conftest.err >&5
   5891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5892   (exit $ac_status); } >/dev/null && {
   5893 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5894 	 test ! -s conftest.err
   5895        }; then
   5896   # Broken: success on invalid input.
   5897 continue
   5898 else
   5899   echo "$as_me: failed program was:" >&5
   5900 sed 's/^/| /' conftest.$ac_ext >&5
   5901 
   5902   # Passes both tests.
   5903 ac_preproc_ok=:
   5904 break
   5905 fi
   5906 
   5907 rm -f conftest.err conftest.$ac_ext
   5908 
   5909 done
   5910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5911 rm -f conftest.err conftest.$ac_ext
   5912 if $ac_preproc_ok; then
   5913   :
   5914 else
   5915   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5916 See \`config.log' for more details." >&5
   5917 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5918 See \`config.log' for more details." >&2;}
   5919    { (exit 1); exit 1; }; }
   5920 fi
   5921 
   5922 ac_ext=cpp
   5923 ac_cpp='$CXXCPP $CPPFLAGS'
   5924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5927 
   5928 fi
   5929 
   5930 
   5931 ac_ext=f
   5932 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5933 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5934 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5935 if test -n "$ac_tool_prefix"; then
   5936   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
   5937   do
   5938     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5939 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5942 if test "${ac_cv_prog_F77+set}" = set; then
   5943   echo $ECHO_N "(cached) $ECHO_C" >&6
   5944 else
   5945   if test -n "$F77"; then
   5946   ac_cv_prog_F77="$F77" # Let the user override the test.
   5947 else
   5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5949 for as_dir in $PATH
   5950 do
   5951   IFS=$as_save_IFS
   5952   test -z "$as_dir" && as_dir=.
   5953   for ac_exec_ext in '' $ac_executable_extensions; do
   5954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5955     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5956     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5957     break 2
   5958   fi
   5959 done
   5960 done
   5961 IFS=$as_save_IFS
   5962 
   5963 fi
   5964 fi
   5965 F77=$ac_cv_prog_F77
   5966 if test -n "$F77"; then
   5967   { echo "$as_me:$LINENO: result: $F77" >&5
   5968 echo "${ECHO_T}$F77" >&6; }
   5969 else
   5970   { echo "$as_me:$LINENO: result: no" >&5
   5971 echo "${ECHO_T}no" >&6; }
   5972 fi
   5973 
   5974 
   5975     test -n "$F77" && break
   5976   done
   5977 fi
   5978 if test -z "$F77"; then
   5979   ac_ct_F77=$F77
   5980   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
   5981 do
   5982   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5983 set dummy $ac_prog; ac_word=$2
   5984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5986 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5987   echo $ECHO_N "(cached) $ECHO_C" >&6
   5988 else
   5989   if test -n "$ac_ct_F77"; then
   5990   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5991 else
   5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5993 for as_dir in $PATH
   5994 do
   5995   IFS=$as_save_IFS
   5996   test -z "$as_dir" && as_dir=.
   5997   for ac_exec_ext in '' $ac_executable_extensions; do
   5998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5999     ac_cv_prog_ac_ct_F77="$ac_prog"
   6000     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6001     break 2
   6002   fi
   6003 done
   6004 done
   6005 IFS=$as_save_IFS
   6006 
   6007 fi
   6008 fi
   6009 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6010 if test -n "$ac_ct_F77"; then
   6011   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6012 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6013 else
   6014   { echo "$as_me:$LINENO: result: no" >&5
   6015 echo "${ECHO_T}no" >&6; }
   6016 fi
   6017 
   6018 
   6019   test -n "$ac_ct_F77" && break
   6020 done
   6021 
   6022   if test "x$ac_ct_F77" = x; then
   6023     F77=""
   6024   else
   6025     case $cross_compiling:$ac_tool_warned in
   6026 yes:)
   6027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6028 whose name does not start with the host triplet.  If you think this
   6029 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6031 whose name does not start with the host triplet.  If you think this
   6032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6033 ac_tool_warned=yes ;;
   6034 esac
   6035     F77=$ac_ct_F77
   6036   fi
   6037 fi
   6038 
   6039 
   6040 # Provide some information about the compiler.
   6041 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6042 ac_compiler=`set X $ac_compile; echo $2`
   6043 { (ac_try="$ac_compiler --version >&5"
   6044 case "(($ac_try" in
   6045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6046   *) ac_try_echo=$ac_try;;
   6047 esac
   6048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6049   (eval "$ac_compiler --version >&5") 2>&5
   6050   ac_status=$?
   6051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6052   (exit $ac_status); }
   6053 { (ac_try="$ac_compiler -v >&5"
   6054 case "(($ac_try" in
   6055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6056   *) ac_try_echo=$ac_try;;
   6057 esac
   6058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6059   (eval "$ac_compiler -v >&5") 2>&5
   6060   ac_status=$?
   6061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6062   (exit $ac_status); }
   6063 { (ac_try="$ac_compiler -V >&5"
   6064 case "(($ac_try" in
   6065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6066   *) ac_try_echo=$ac_try;;
   6067 esac
   6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6069   (eval "$ac_compiler -V >&5") 2>&5
   6070   ac_status=$?
   6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6072   (exit $ac_status); }
   6073 rm -f a.out
   6074 
   6075 # If we don't use `.F' as extension, the preprocessor is not run on the
   6076 # input file.  (Note that this only needs to work for GNU compilers.)
   6077 ac_save_ext=$ac_ext
   6078 ac_ext=F
   6079 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6080 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6081 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6082   echo $ECHO_N "(cached) $ECHO_C" >&6
   6083 else
   6084   cat >conftest.$ac_ext <<_ACEOF
   6085       program main
   6086 #ifndef __GNUC__
   6087        choke me
   6088 #endif
   6089 
   6090       end
   6091 _ACEOF
   6092 rm -f conftest.$ac_objext
   6093 if { (ac_try="$ac_compile"
   6094 case "(($ac_try" in
   6095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6096   *) ac_try_echo=$ac_try;;
   6097 esac
   6098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6099   (eval "$ac_compile") 2>conftest.er1
   6100   ac_status=$?
   6101   grep -v '^ *+' conftest.er1 >conftest.err
   6102   rm -f conftest.er1
   6103   cat conftest.err >&5
   6104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6105   (exit $ac_status); } && {
   6106 	 test -z "$ac_f77_werror_flag" ||
   6107 	 test ! -s conftest.err
   6108        } && test -s conftest.$ac_objext; then
   6109   ac_compiler_gnu=yes
   6110 else
   6111   echo "$as_me: failed program was:" >&5
   6112 sed 's/^/| /' conftest.$ac_ext >&5
   6113 
   6114 	ac_compiler_gnu=no
   6115 fi
   6116 
   6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6118 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6119 
   6120 fi
   6121 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6122 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6123 ac_ext=$ac_save_ext
   6124 ac_test_FFLAGS=${FFLAGS+set}
   6125 ac_save_FFLAGS=$FFLAGS
   6126 FFLAGS=
   6127 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6128 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6129 if test "${ac_cv_prog_f77_g+set}" = set; then
   6130   echo $ECHO_N "(cached) $ECHO_C" >&6
   6131 else
   6132   FFLAGS=-g
   6133 cat >conftest.$ac_ext <<_ACEOF
   6134       program main
   6135 
   6136       end
   6137 _ACEOF
   6138 rm -f conftest.$ac_objext
   6139 if { (ac_try="$ac_compile"
   6140 case "(($ac_try" in
   6141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6142   *) ac_try_echo=$ac_try;;
   6143 esac
   6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6145   (eval "$ac_compile") 2>conftest.er1
   6146   ac_status=$?
   6147   grep -v '^ *+' conftest.er1 >conftest.err
   6148   rm -f conftest.er1
   6149   cat conftest.err >&5
   6150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6151   (exit $ac_status); } && {
   6152 	 test -z "$ac_f77_werror_flag" ||
   6153 	 test ! -s conftest.err
   6154        } && test -s conftest.$ac_objext; then
   6155   ac_cv_prog_f77_g=yes
   6156 else
   6157   echo "$as_me: failed program was:" >&5
   6158 sed 's/^/| /' conftest.$ac_ext >&5
   6159 
   6160 	ac_cv_prog_f77_g=no
   6161 fi
   6162 
   6163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6164 
   6165 fi
   6166 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6167 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6168 if test "$ac_test_FFLAGS" = set; then
   6169   FFLAGS=$ac_save_FFLAGS
   6170 elif test $ac_cv_prog_f77_g = yes; then
   6171   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6172     FFLAGS="-g -O2"
   6173   else
   6174     FFLAGS="-g"
   6175   fi
   6176 else
   6177   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6178     FFLAGS="-O2"
   6179   else
   6180     FFLAGS=
   6181   fi
   6182 fi
   6183 
   6184 G77=`test $ac_compiler_gnu = yes && echo yes`
   6185 ac_ext=c
   6186 ac_cpp='$CPP $CPPFLAGS'
   6187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6190 
   6191 
   6192 
   6193 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6194 # find the maximum length of command line arguments
   6195 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6196 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6197 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6198   echo $ECHO_N "(cached) $ECHO_C" >&6
   6199 else
   6200     i=0
   6201   teststring="ABCD"
   6202 
   6203   case $build_os in
   6204   msdosdjgpp*)
   6205     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6206     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6207     # during glob expansion).  Even if it were fixed, the result of this
   6208     # check would be larger than it should be.
   6209     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6210     ;;
   6211 
   6212   gnu*)
   6213     # Under GNU Hurd, this test is not required because there is
   6214     # no limit to the length of command line arguments.
   6215     # Libtool will interpret -1 as no limit whatsoever
   6216     lt_cv_sys_max_cmd_len=-1;
   6217     ;;
   6218 
   6219   cygwin* | mingw*)
   6220     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6221     # about 5 minutes as the teststring grows exponentially.
   6222     # Worse, since 9x/ME are not pre-emptively multitasking,
   6223     # you end up with a "frozen" computer, even though with patience
   6224     # the test eventually succeeds (with a max line length of 256k).
   6225     # Instead, let's just punt: use the minimum linelength reported by
   6226     # all of the supported platforms: 8192 (on NT/2K/XP).
   6227     lt_cv_sys_max_cmd_len=8192;
   6228     ;;
   6229 
   6230   amigaos*)
   6231     # On AmigaOS with pdksh, this test takes hours, literally.
   6232     # So we just punt and use a minimum line length of 8192.
   6233     lt_cv_sys_max_cmd_len=8192;
   6234     ;;
   6235 
   6236   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6237     # This has been around since 386BSD, at least.  Likely further.
   6238     if test -x /sbin/sysctl; then
   6239       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6240     elif test -x /usr/sbin/sysctl; then
   6241       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6242     else
   6243       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6244     fi
   6245     # And add a safety zone
   6246     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6247     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6248     ;;
   6249 
   6250   interix*)
   6251     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6252     lt_cv_sys_max_cmd_len=196608
   6253     ;;
   6254 
   6255   osf*)
   6256     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6257     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6258     # nice to cause kernel panics so lets avoid the loop below.
   6259     # First set a reasonable default.
   6260     lt_cv_sys_max_cmd_len=16384
   6261     #
   6262     if test -x /sbin/sysconfig; then
   6263       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6264         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6265       esac
   6266     fi
   6267     ;;
   6268   sco3.2v5*)
   6269     lt_cv_sys_max_cmd_len=102400
   6270     ;;
   6271   sysv5* | sco5v6* | sysv4.2uw2*)
   6272     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6273     if test -n "$kargmax"; then
   6274       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6275     else
   6276       lt_cv_sys_max_cmd_len=32768
   6277     fi
   6278     ;;
   6279   *)
   6280     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6281     if test -n "$lt_cv_sys_max_cmd_len"; then
   6282       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6283       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6284     else
   6285       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6286       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6287 	       = "XX$teststring") >/dev/null 2>&1 &&
   6288 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6289 	      lt_cv_sys_max_cmd_len=$new_result &&
   6290 	      test $i != 17 # 1/2 MB should be enough
   6291       do
   6292         i=`expr $i + 1`
   6293         teststring=$teststring$teststring
   6294       done
   6295       teststring=
   6296       # Add a significant safety factor because C++ compilers can tack on massive
   6297       # amounts of additional arguments before passing them to the linker.
   6298       # It appears as though 1/2 is a usable value.
   6299       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6300     fi
   6301     ;;
   6302   esac
   6303 
   6304 fi
   6305 
   6306 if test -n $lt_cv_sys_max_cmd_len ; then
   6307   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6308 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6309 else
   6310   { echo "$as_me:$LINENO: result: none" >&5
   6311 echo "${ECHO_T}none" >&6; }
   6312 fi
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6319 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6320 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6321 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6322   echo $ECHO_N "(cached) $ECHO_C" >&6
   6323 else
   6324 
   6325 # These are sane defaults that work on at least a few old systems.
   6326 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6327 
   6328 # Character class describing NM global symbol codes.
   6329 symcode='[BCDEGRST]'
   6330 
   6331 # Regexp to match symbols that can be accessed directly from C.
   6332 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6333 
   6334 # Transform an extracted symbol line into a proper C declaration
   6335 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6336 
   6337 # Transform an extracted symbol line into symbol name and symbol address
   6338 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'"
   6339 
   6340 # Define system-specific variables.
   6341 case $host_os in
   6342 aix*)
   6343   symcode='[BCDT]'
   6344   ;;
   6345 cygwin* | mingw* | pw32*)
   6346   symcode='[ABCDGISTW]'
   6347   ;;
   6348 hpux*) # Its linker distinguishes data from code symbols
   6349   if test "$host_cpu" = ia64; then
   6350     symcode='[ABCDEGRST]'
   6351   fi
   6352   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6353   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'"
   6354   ;;
   6355 linux* | k*bsd*-gnu)
   6356   if test "$host_cpu" = ia64; then
   6357     symcode='[ABCDGIRSTW]'
   6358     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6359     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'"
   6360   fi
   6361   ;;
   6362 irix* | nonstopux*)
   6363   symcode='[BCDEGRST]'
   6364   ;;
   6365 osf*)
   6366   symcode='[BCDEGQRST]'
   6367   ;;
   6368 solaris*)
   6369   symcode='[BDRT]'
   6370   ;;
   6371 sco3.2v5*)
   6372   symcode='[DT]'
   6373   ;;
   6374 sysv4.2uw2*)
   6375   symcode='[DT]'
   6376   ;;
   6377 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6378   symcode='[ABDT]'
   6379   ;;
   6380 sysv4)
   6381   symcode='[DFNSTU]'
   6382   ;;
   6383 esac
   6384 
   6385 # Handle CRLF in mingw tool chain
   6386 opt_cr=
   6387 case $build_os in
   6388 mingw*)
   6389   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6390   ;;
   6391 esac
   6392 
   6393 # If we're using GNU nm, then use its standard symbol codes.
   6394 case `$NM -V 2>&1` in
   6395 *GNU* | *'with BFD'*)
   6396   symcode='[ABCDGIRSTW]' ;;
   6397 esac
   6398 
   6399 # Try without a prefix undercore, then with it.
   6400 for ac_symprfx in "" "_"; do
   6401 
   6402   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6403   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6404 
   6405   # Write the raw and C identifiers.
   6406   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6407 
   6408   # Check to see that the pipe works correctly.
   6409   pipe_works=no
   6410 
   6411   rm -f conftest*
   6412   cat > conftest.$ac_ext <<EOF
   6413 #ifdef __cplusplus
   6414 extern "C" {
   6415 #endif
   6416 char nm_test_var;
   6417 void nm_test_func(){}
   6418 #ifdef __cplusplus
   6419 }
   6420 #endif
   6421 int main(){nm_test_var='a';nm_test_func();return(0);}
   6422 EOF
   6423 
   6424   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6425   (eval $ac_compile) 2>&5
   6426   ac_status=$?
   6427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6428   (exit $ac_status); }; then
   6429     # Now try to grab the symbols.
   6430     nlist=conftest.nm
   6431     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6432   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6433   ac_status=$?
   6434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6435   (exit $ac_status); } && test -s "$nlist"; then
   6436       # Try sorting and uniquifying the output.
   6437       if sort "$nlist" | uniq > "$nlist"T; then
   6438 	mv -f "$nlist"T "$nlist"
   6439       else
   6440 	rm -f "$nlist"T
   6441       fi
   6442 
   6443       # Make sure that we snagged all the symbols we need.
   6444       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6445 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6446 	  cat <<EOF > conftest.$ac_ext
   6447 #ifdef __cplusplus
   6448 extern "C" {
   6449 #endif
   6450 
   6451 EOF
   6452 	  # Now generate the symbol file.
   6453 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6454 
   6455 	  cat <<EOF >> conftest.$ac_ext
   6456 #if defined (__STDC__) && __STDC__
   6457 # define lt_ptr_t void *
   6458 #else
   6459 # define lt_ptr_t char *
   6460 # define const
   6461 #endif
   6462 
   6463 /* The mapping between symbol names and symbols. */
   6464 const struct {
   6465   const char *name;
   6466   lt_ptr_t address;
   6467 }
   6468 lt_preloaded_symbols[] =
   6469 {
   6470 EOF
   6471 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6472 	  cat <<\EOF >> conftest.$ac_ext
   6473   {0, (lt_ptr_t) 0}
   6474 };
   6475 
   6476 #ifdef __cplusplus
   6477 }
   6478 #endif
   6479 EOF
   6480 	  # Now try linking the two files.
   6481 	  mv conftest.$ac_objext conftstm.$ac_objext
   6482 	  lt_save_LIBS="$LIBS"
   6483 	  lt_save_CFLAGS="$CFLAGS"
   6484 	  LIBS="conftstm.$ac_objext"
   6485 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6486 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6487   (eval $ac_link) 2>&5
   6488   ac_status=$?
   6489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6490   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6491 	    pipe_works=yes
   6492 	  fi
   6493 	  LIBS="$lt_save_LIBS"
   6494 	  CFLAGS="$lt_save_CFLAGS"
   6495 	else
   6496 	  echo "cannot find nm_test_func in $nlist" >&5
   6497 	fi
   6498       else
   6499 	echo "cannot find nm_test_var in $nlist" >&5
   6500       fi
   6501     else
   6502       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6503     fi
   6504   else
   6505     echo "$progname: failed program was:" >&5
   6506     cat conftest.$ac_ext >&5
   6507   fi
   6508   rm -rf conftest* conftst*
   6509 
   6510   # Do not use the global_symbol_pipe unless it works.
   6511   if test "$pipe_works" = yes; then
   6512     break
   6513   else
   6514     lt_cv_sys_global_symbol_pipe=
   6515   fi
   6516 done
   6517 
   6518 fi
   6519 
   6520 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6521   lt_cv_sys_global_symbol_to_cdecl=
   6522 fi
   6523 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6524   { echo "$as_me:$LINENO: result: failed" >&5
   6525 echo "${ECHO_T}failed" >&6; }
   6526 else
   6527   { echo "$as_me:$LINENO: result: ok" >&5
   6528 echo "${ECHO_T}ok" >&6; }
   6529 fi
   6530 
   6531 { echo "$as_me:$LINENO: checking for objdir" >&5
   6532 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6533 if test "${lt_cv_objdir+set}" = set; then
   6534   echo $ECHO_N "(cached) $ECHO_C" >&6
   6535 else
   6536   rm -f .libs 2>/dev/null
   6537 mkdir .libs 2>/dev/null
   6538 if test -d .libs; then
   6539   lt_cv_objdir=.libs
   6540 else
   6541   # MS-DOS does not allow filenames that begin with a dot.
   6542   lt_cv_objdir=_libs
   6543 fi
   6544 rmdir .libs 2>/dev/null
   6545 fi
   6546 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6547 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6548 objdir=$lt_cv_objdir
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 case $host_os in
   6555 aix3*)
   6556   # AIX sometimes has problems with the GCC collect2 program.  For some
   6557   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6558   # vanish in a puff of smoke.
   6559   if test "X${COLLECT_NAMES+set}" != Xset; then
   6560     COLLECT_NAMES=
   6561     export COLLECT_NAMES
   6562   fi
   6563   ;;
   6564 esac
   6565 
   6566 # Sed substitution that helps us do robust quoting.  It backslashifies
   6567 # metacharacters that are still active within double-quoted strings.
   6568 Xsed='sed -e 1s/^X//'
   6569 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6570 
   6571 # Same as above, but do not quote variable references.
   6572 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6573 
   6574 # Sed substitution to delay expansion of an escaped shell variable in a
   6575 # double_quote_subst'ed string.
   6576 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6577 
   6578 # Sed substitution to avoid accidental globbing in evaled expressions
   6579 no_glob_subst='s/\*/\\\*/g'
   6580 
   6581 # Constants:
   6582 rm="rm -f"
   6583 
   6584 # Global variables:
   6585 default_ofile=libtool
   6586 can_build_shared=yes
   6587 
   6588 # All known linkers require a `.a' archive for static linking (except MSVC,
   6589 # which needs '.lib').
   6590 libext=a
   6591 ltmain="$ac_aux_dir/ltmain.sh"
   6592 ofile="$default_ofile"
   6593 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6594 
   6595 if test -n "$ac_tool_prefix"; then
   6596   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6597 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6600 if test "${ac_cv_prog_AR+set}" = set; then
   6601   echo $ECHO_N "(cached) $ECHO_C" >&6
   6602 else
   6603   if test -n "$AR"; then
   6604   ac_cv_prog_AR="$AR" # Let the user override the test.
   6605 else
   6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6607 for as_dir in $PATH
   6608 do
   6609   IFS=$as_save_IFS
   6610   test -z "$as_dir" && as_dir=.
   6611   for ac_exec_ext in '' $ac_executable_extensions; do
   6612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6613     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6614     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6615     break 2
   6616   fi
   6617 done
   6618 done
   6619 IFS=$as_save_IFS
   6620 
   6621 fi
   6622 fi
   6623 AR=$ac_cv_prog_AR
   6624 if test -n "$AR"; then
   6625   { echo "$as_me:$LINENO: result: $AR" >&5
   6626 echo "${ECHO_T}$AR" >&6; }
   6627 else
   6628   { echo "$as_me:$LINENO: result: no" >&5
   6629 echo "${ECHO_T}no" >&6; }
   6630 fi
   6631 
   6632 
   6633 fi
   6634 if test -z "$ac_cv_prog_AR"; then
   6635   ac_ct_AR=$AR
   6636   # Extract the first word of "ar", so it can be a program name with args.
   6637 set dummy ar; ac_word=$2
   6638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6640 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6641   echo $ECHO_N "(cached) $ECHO_C" >&6
   6642 else
   6643   if test -n "$ac_ct_AR"; then
   6644   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6645 else
   6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6647 for as_dir in $PATH
   6648 do
   6649   IFS=$as_save_IFS
   6650   test -z "$as_dir" && as_dir=.
   6651   for ac_exec_ext in '' $ac_executable_extensions; do
   6652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6653     ac_cv_prog_ac_ct_AR="ar"
   6654     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6655     break 2
   6656   fi
   6657 done
   6658 done
   6659 IFS=$as_save_IFS
   6660 
   6661 fi
   6662 fi
   6663 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6664 if test -n "$ac_ct_AR"; then
   6665   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6666 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6667 else
   6668   { echo "$as_me:$LINENO: result: no" >&5
   6669 echo "${ECHO_T}no" >&6; }
   6670 fi
   6671 
   6672   if test "x$ac_ct_AR" = x; then
   6673     AR="false"
   6674   else
   6675     case $cross_compiling:$ac_tool_warned in
   6676 yes:)
   6677 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6678 whose name does not start with the host triplet.  If you think this
   6679 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6680 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6681 whose name does not start with the host triplet.  If you think this
   6682 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6683 ac_tool_warned=yes ;;
   6684 esac
   6685     AR=$ac_ct_AR
   6686   fi
   6687 else
   6688   AR="$ac_cv_prog_AR"
   6689 fi
   6690 
   6691 if test -n "$ac_tool_prefix"; then
   6692   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6693 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6696 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6697   echo $ECHO_N "(cached) $ECHO_C" >&6
   6698 else
   6699   if test -n "$RANLIB"; then
   6700   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6701 else
   6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6703 for as_dir in $PATH
   6704 do
   6705   IFS=$as_save_IFS
   6706   test -z "$as_dir" && as_dir=.
   6707   for ac_exec_ext in '' $ac_executable_extensions; do
   6708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6709     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6710     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6711     break 2
   6712   fi
   6713 done
   6714 done
   6715 IFS=$as_save_IFS
   6716 
   6717 fi
   6718 fi
   6719 RANLIB=$ac_cv_prog_RANLIB
   6720 if test -n "$RANLIB"; then
   6721   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6722 echo "${ECHO_T}$RANLIB" >&6; }
   6723 else
   6724   { echo "$as_me:$LINENO: result: no" >&5
   6725 echo "${ECHO_T}no" >&6; }
   6726 fi
   6727 
   6728 
   6729 fi
   6730 if test -z "$ac_cv_prog_RANLIB"; then
   6731   ac_ct_RANLIB=$RANLIB
   6732   # Extract the first word of "ranlib", so it can be a program name with args.
   6733 set dummy ranlib; ac_word=$2
   6734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6736 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6737   echo $ECHO_N "(cached) $ECHO_C" >&6
   6738 else
   6739   if test -n "$ac_ct_RANLIB"; then
   6740   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6741 else
   6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6743 for as_dir in $PATH
   6744 do
   6745   IFS=$as_save_IFS
   6746   test -z "$as_dir" && as_dir=.
   6747   for ac_exec_ext in '' $ac_executable_extensions; do
   6748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6749     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6750     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6751     break 2
   6752   fi
   6753 done
   6754 done
   6755 IFS=$as_save_IFS
   6756 
   6757 fi
   6758 fi
   6759 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6760 if test -n "$ac_ct_RANLIB"; then
   6761   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6762 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6763 else
   6764   { echo "$as_me:$LINENO: result: no" >&5
   6765 echo "${ECHO_T}no" >&6; }
   6766 fi
   6767 
   6768   if test "x$ac_ct_RANLIB" = x; then
   6769     RANLIB=":"
   6770   else
   6771     case $cross_compiling:$ac_tool_warned in
   6772 yes:)
   6773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6774 whose name does not start with the host triplet.  If you think this
   6775 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6777 whose name does not start with the host triplet.  If you think this
   6778 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6779 ac_tool_warned=yes ;;
   6780 esac
   6781     RANLIB=$ac_ct_RANLIB
   6782   fi
   6783 else
   6784   RANLIB="$ac_cv_prog_RANLIB"
   6785 fi
   6786 
   6787 if test -n "$ac_tool_prefix"; then
   6788   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6789 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6792 if test "${ac_cv_prog_STRIP+set}" = set; then
   6793   echo $ECHO_N "(cached) $ECHO_C" >&6
   6794 else
   6795   if test -n "$STRIP"; then
   6796   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6797 else
   6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6799 for as_dir in $PATH
   6800 do
   6801   IFS=$as_save_IFS
   6802   test -z "$as_dir" && as_dir=.
   6803   for ac_exec_ext in '' $ac_executable_extensions; do
   6804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6805     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6806     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6807     break 2
   6808   fi
   6809 done
   6810 done
   6811 IFS=$as_save_IFS
   6812 
   6813 fi
   6814 fi
   6815 STRIP=$ac_cv_prog_STRIP
   6816 if test -n "$STRIP"; then
   6817   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6818 echo "${ECHO_T}$STRIP" >&6; }
   6819 else
   6820   { echo "$as_me:$LINENO: result: no" >&5
   6821 echo "${ECHO_T}no" >&6; }
   6822 fi
   6823 
   6824 
   6825 fi
   6826 if test -z "$ac_cv_prog_STRIP"; then
   6827   ac_ct_STRIP=$STRIP
   6828   # Extract the first word of "strip", so it can be a program name with args.
   6829 set dummy strip; ac_word=$2
   6830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6832 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6833   echo $ECHO_N "(cached) $ECHO_C" >&6
   6834 else
   6835   if test -n "$ac_ct_STRIP"; then
   6836   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6837 else
   6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6839 for as_dir in $PATH
   6840 do
   6841   IFS=$as_save_IFS
   6842   test -z "$as_dir" && as_dir=.
   6843   for ac_exec_ext in '' $ac_executable_extensions; do
   6844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6845     ac_cv_prog_ac_ct_STRIP="strip"
   6846     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6847     break 2
   6848   fi
   6849 done
   6850 done
   6851 IFS=$as_save_IFS
   6852 
   6853 fi
   6854 fi
   6855 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6856 if test -n "$ac_ct_STRIP"; then
   6857   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6858 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6859 else
   6860   { echo "$as_me:$LINENO: result: no" >&5
   6861 echo "${ECHO_T}no" >&6; }
   6862 fi
   6863 
   6864   if test "x$ac_ct_STRIP" = x; then
   6865     STRIP=":"
   6866   else
   6867     case $cross_compiling:$ac_tool_warned in
   6868 yes:)
   6869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6870 whose name does not start with the host triplet.  If you think this
   6871 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6873 whose name does not start with the host triplet.  If you think this
   6874 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6875 ac_tool_warned=yes ;;
   6876 esac
   6877     STRIP=$ac_ct_STRIP
   6878   fi
   6879 else
   6880   STRIP="$ac_cv_prog_STRIP"
   6881 fi
   6882 
   6883 
   6884 old_CC="$CC"
   6885 old_CFLAGS="$CFLAGS"
   6886 
   6887 # Set sane defaults for various variables
   6888 test -z "$AR" && AR=ar
   6889 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6890 test -z "$AS" && AS=as
   6891 test -z "$CC" && CC=cc
   6892 test -z "$LTCC" && LTCC=$CC
   6893 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6894 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6895 test -z "$LD" && LD=ld
   6896 test -z "$LN_S" && LN_S="ln -s"
   6897 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6898 test -z "$NM" && NM=nm
   6899 test -z "$SED" && SED=sed
   6900 test -z "$OBJDUMP" && OBJDUMP=objdump
   6901 test -z "$RANLIB" && RANLIB=:
   6902 test -z "$STRIP" && STRIP=:
   6903 test -z "$ac_objext" && ac_objext=o
   6904 
   6905 # Determine commands to create old-style static archives.
   6906 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6907 old_postinstall_cmds='chmod 644 $oldlib'
   6908 old_postuninstall_cmds=
   6909 
   6910 if test -n "$RANLIB"; then
   6911   case $host_os in
   6912   openbsd*)
   6913     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6914     ;;
   6915   *)
   6916     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6917     ;;
   6918   esac
   6919   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6920 fi
   6921 
   6922 for cc_temp in $compiler""; do
   6923   case $cc_temp in
   6924     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6925     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6926     \-*) ;;
   6927     *) break;;
   6928   esac
   6929 done
   6930 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6931 
   6932 
   6933 # Only perform the check for file, if the check method requires it
   6934 case $deplibs_check_method in
   6935 file_magic*)
   6936   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6937     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6938 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6939 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6940   echo $ECHO_N "(cached) $ECHO_C" >&6
   6941 else
   6942   case $MAGIC_CMD in
   6943 [\\/*] |  ?:[\\/]*)
   6944   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6945   ;;
   6946 *)
   6947   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6948   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6949   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6950   for ac_dir in $ac_dummy; do
   6951     IFS="$lt_save_ifs"
   6952     test -z "$ac_dir" && ac_dir=.
   6953     if test -f $ac_dir/${ac_tool_prefix}file; then
   6954       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6955       if test -n "$file_magic_test_file"; then
   6956 	case $deplibs_check_method in
   6957 	"file_magic "*)
   6958 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6959 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6960 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6961 	    $EGREP "$file_magic_regex" > /dev/null; then
   6962 	    :
   6963 	  else
   6964 	    cat <<EOF 1>&2
   6965 
   6966 *** Warning: the command libtool uses to detect shared libraries,
   6967 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6968 *** The result is that libtool may fail to recognize shared libraries
   6969 *** as such.  This will affect the creation of libtool libraries that
   6970 *** depend on shared libraries, but programs linked with such libtool
   6971 *** libraries will work regardless of this problem.  Nevertheless, you
   6972 *** may want to report the problem to your system manager and/or to
   6973 *** bug-libtool@gnu.org
   6974 
   6975 EOF
   6976 	  fi ;;
   6977 	esac
   6978       fi
   6979       break
   6980     fi
   6981   done
   6982   IFS="$lt_save_ifs"
   6983   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6984   ;;
   6985 esac
   6986 fi
   6987 
   6988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6989 if test -n "$MAGIC_CMD"; then
   6990   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6991 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6992 else
   6993   { echo "$as_me:$LINENO: result: no" >&5
   6994 echo "${ECHO_T}no" >&6; }
   6995 fi
   6996 
   6997 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6998   if test -n "$ac_tool_prefix"; then
   6999     { echo "$as_me:$LINENO: checking for file" >&5
   7000 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7001 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7002   echo $ECHO_N "(cached) $ECHO_C" >&6
   7003 else
   7004   case $MAGIC_CMD in
   7005 [\\/*] |  ?:[\\/]*)
   7006   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7007   ;;
   7008 *)
   7009   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7010   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7011   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7012   for ac_dir in $ac_dummy; do
   7013     IFS="$lt_save_ifs"
   7014     test -z "$ac_dir" && ac_dir=.
   7015     if test -f $ac_dir/file; then
   7016       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7017       if test -n "$file_magic_test_file"; then
   7018 	case $deplibs_check_method in
   7019 	"file_magic "*)
   7020 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7021 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7022 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7023 	    $EGREP "$file_magic_regex" > /dev/null; then
   7024 	    :
   7025 	  else
   7026 	    cat <<EOF 1>&2
   7027 
   7028 *** Warning: the command libtool uses to detect shared libraries,
   7029 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7030 *** The result is that libtool may fail to recognize shared libraries
   7031 *** as such.  This will affect the creation of libtool libraries that
   7032 *** depend on shared libraries, but programs linked with such libtool
   7033 *** libraries will work regardless of this problem.  Nevertheless, you
   7034 *** may want to report the problem to your system manager and/or to
   7035 *** bug-libtool@gnu.org
   7036 
   7037 EOF
   7038 	  fi ;;
   7039 	esac
   7040       fi
   7041       break
   7042     fi
   7043   done
   7044   IFS="$lt_save_ifs"
   7045   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7046   ;;
   7047 esac
   7048 fi
   7049 
   7050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7051 if test -n "$MAGIC_CMD"; then
   7052   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7053 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7054 else
   7055   { echo "$as_me:$LINENO: result: no" >&5
   7056 echo "${ECHO_T}no" >&6; }
   7057 fi
   7058 
   7059   else
   7060     MAGIC_CMD=:
   7061   fi
   7062 fi
   7063 
   7064   fi
   7065   ;;
   7066 esac
   7067 
   7068 
   7069   case $host_os in
   7070     rhapsody* | darwin*)
   7071     if test -n "$ac_tool_prefix"; then
   7072   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7073 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7076 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7077   echo $ECHO_N "(cached) $ECHO_C" >&6
   7078 else
   7079   if test -n "$DSYMUTIL"; then
   7080   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7081 else
   7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7083 for as_dir in $PATH
   7084 do
   7085   IFS=$as_save_IFS
   7086   test -z "$as_dir" && as_dir=.
   7087   for ac_exec_ext in '' $ac_executable_extensions; do
   7088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7089     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7090     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7091     break 2
   7092   fi
   7093 done
   7094 done
   7095 IFS=$as_save_IFS
   7096 
   7097 fi
   7098 fi
   7099 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7100 if test -n "$DSYMUTIL"; then
   7101   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7102 echo "${ECHO_T}$DSYMUTIL" >&6; }
   7103 else
   7104   { echo "$as_me:$LINENO: result: no" >&5
   7105 echo "${ECHO_T}no" >&6; }
   7106 fi
   7107 
   7108 
   7109 fi
   7110 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7111   ac_ct_DSYMUTIL=$DSYMUTIL
   7112   # Extract the first word of "dsymutil", so it can be a program name with args.
   7113 set dummy dsymutil; ac_word=$2
   7114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7116 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7117   echo $ECHO_N "(cached) $ECHO_C" >&6
   7118 else
   7119   if test -n "$ac_ct_DSYMUTIL"; then
   7120   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7121 else
   7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7123 for as_dir in $PATH
   7124 do
   7125   IFS=$as_save_IFS
   7126   test -z "$as_dir" && as_dir=.
   7127   for ac_exec_ext in '' $ac_executable_extensions; do
   7128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7129     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7130     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7131     break 2
   7132   fi
   7133 done
   7134 done
   7135 IFS=$as_save_IFS
   7136 
   7137 fi
   7138 fi
   7139 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7140 if test -n "$ac_ct_DSYMUTIL"; then
   7141   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7142 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
   7143 else
   7144   { echo "$as_me:$LINENO: result: no" >&5
   7145 echo "${ECHO_T}no" >&6; }
   7146 fi
   7147 
   7148   if test "x$ac_ct_DSYMUTIL" = x; then
   7149     DSYMUTIL=":"
   7150   else
   7151     case $cross_compiling:$ac_tool_warned in
   7152 yes:)
   7153 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7154 whose name does not start with the host triplet.  If you think this
   7155 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7156 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7157 whose name does not start with the host triplet.  If you think this
   7158 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7159 ac_tool_warned=yes ;;
   7160 esac
   7161     DSYMUTIL=$ac_ct_DSYMUTIL
   7162   fi
   7163 else
   7164   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7165 fi
   7166 
   7167     if test -n "$ac_tool_prefix"; then
   7168   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7169 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7172 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7173   echo $ECHO_N "(cached) $ECHO_C" >&6
   7174 else
   7175   if test -n "$NMEDIT"; then
   7176   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7177 else
   7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7179 for as_dir in $PATH
   7180 do
   7181   IFS=$as_save_IFS
   7182   test -z "$as_dir" && as_dir=.
   7183   for ac_exec_ext in '' $ac_executable_extensions; do
   7184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7185     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7186     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7187     break 2
   7188   fi
   7189 done
   7190 done
   7191 IFS=$as_save_IFS
   7192 
   7193 fi
   7194 fi
   7195 NMEDIT=$ac_cv_prog_NMEDIT
   7196 if test -n "$NMEDIT"; then
   7197   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7198 echo "${ECHO_T}$NMEDIT" >&6; }
   7199 else
   7200   { echo "$as_me:$LINENO: result: no" >&5
   7201 echo "${ECHO_T}no" >&6; }
   7202 fi
   7203 
   7204 
   7205 fi
   7206 if test -z "$ac_cv_prog_NMEDIT"; then
   7207   ac_ct_NMEDIT=$NMEDIT
   7208   # Extract the first word of "nmedit", so it can be a program name with args.
   7209 set dummy nmedit; ac_word=$2
   7210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7212 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7213   echo $ECHO_N "(cached) $ECHO_C" >&6
   7214 else
   7215   if test -n "$ac_ct_NMEDIT"; then
   7216   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7217 else
   7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7219 for as_dir in $PATH
   7220 do
   7221   IFS=$as_save_IFS
   7222   test -z "$as_dir" && as_dir=.
   7223   for ac_exec_ext in '' $ac_executable_extensions; do
   7224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7225     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7226     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7227     break 2
   7228   fi
   7229 done
   7230 done
   7231 IFS=$as_save_IFS
   7232 
   7233 fi
   7234 fi
   7235 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7236 if test -n "$ac_ct_NMEDIT"; then
   7237   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7238 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
   7239 else
   7240   { echo "$as_me:$LINENO: result: no" >&5
   7241 echo "${ECHO_T}no" >&6; }
   7242 fi
   7243 
   7244   if test "x$ac_ct_NMEDIT" = x; then
   7245     NMEDIT=":"
   7246   else
   7247     case $cross_compiling:$ac_tool_warned in
   7248 yes:)
   7249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7250 whose name does not start with the host triplet.  If you think this
   7251 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7253 whose name does not start with the host triplet.  If you think this
   7254 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7255 ac_tool_warned=yes ;;
   7256 esac
   7257     NMEDIT=$ac_ct_NMEDIT
   7258   fi
   7259 else
   7260   NMEDIT="$ac_cv_prog_NMEDIT"
   7261 fi
   7262 
   7263 
   7264     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7265 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
   7266 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7267   echo $ECHO_N "(cached) $ECHO_C" >&6
   7268 else
   7269   lt_cv_apple_cc_single_mod=no
   7270       if test -z "${LT_MULTI_MODULE}"; then
   7271    # By default we will add the -single_module flag. You can override
   7272    # by either setting the environment variable LT_MULTI_MODULE
   7273    # non-empty at configure time, or by adding -multi_module to the
   7274    # link flags.
   7275    echo "int foo(void){return 1;}" > conftest.c
   7276    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7277      -dynamiclib ${wl}-single_module conftest.c
   7278    if test -f libconftest.dylib; then
   7279      lt_cv_apple_cc_single_mod=yes
   7280      rm -rf libconftest.dylib*
   7281    fi
   7282    rm conftest.c
   7283       fi
   7284 fi
   7285 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7286 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
   7287     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7288 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
   7289 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7290   echo $ECHO_N "(cached) $ECHO_C" >&6
   7291 else
   7292   lt_cv_ld_exported_symbols_list=no
   7293       save_LDFLAGS=$LDFLAGS
   7294       echo "_main" > conftest.sym
   7295       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7296       cat >conftest.$ac_ext <<_ACEOF
   7297 /* confdefs.h.  */
   7298 _ACEOF
   7299 cat confdefs.h >>conftest.$ac_ext
   7300 cat >>conftest.$ac_ext <<_ACEOF
   7301 /* end confdefs.h.  */
   7302 
   7303 int
   7304 main ()
   7305 {
   7306 
   7307   ;
   7308   return 0;
   7309 }
   7310 _ACEOF
   7311 rm -f conftest.$ac_objext conftest$ac_exeext
   7312 if { (ac_try="$ac_link"
   7313 case "(($ac_try" in
   7314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7315   *) ac_try_echo=$ac_try;;
   7316 esac
   7317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7318   (eval "$ac_link") 2>conftest.er1
   7319   ac_status=$?
   7320   grep -v '^ *+' conftest.er1 >conftest.err
   7321   rm -f conftest.er1
   7322   cat conftest.err >&5
   7323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7324   (exit $ac_status); } && {
   7325 	 test -z "$ac_c_werror_flag" ||
   7326 	 test ! -s conftest.err
   7327        } && test -s conftest$ac_exeext &&
   7328        $as_test_x conftest$ac_exeext; then
   7329   lt_cv_ld_exported_symbols_list=yes
   7330 else
   7331   echo "$as_me: failed program was:" >&5
   7332 sed 's/^/| /' conftest.$ac_ext >&5
   7333 
   7334 	lt_cv_ld_exported_symbols_list=no
   7335 fi
   7336 
   7337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7338       conftest$ac_exeext conftest.$ac_ext
   7339    LDFLAGS="$save_LDFLAGS"
   7340 
   7341 fi
   7342 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7343 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
   7344     case $host_os in
   7345     rhapsody* | darwin1.[0123])
   7346       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7347     darwin1.*)
   7348      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7349     darwin*)
   7350       # if running on 10.5 or later, the deployment target defaults
   7351       # to the OS version, if on x86, and 10.4, the deployment
   7352       # target defaults to 10.4. Don't you love it?
   7353       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7354    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7355      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7356    10.[012]*)
   7357      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7358    10.*)
   7359      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7360       esac
   7361     ;;
   7362   esac
   7363     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7364       _lt_dar_single_mod='$single_module'
   7365     fi
   7366     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7367       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7368     else
   7369       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7370     fi
   7371     if test "$DSYMUTIL" != ":"; then
   7372       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7373     else
   7374       _lt_dsymutil=
   7375     fi
   7376     ;;
   7377   esac
   7378 
   7379 
   7380 enable_dlopen=no
   7381 enable_win32_dll=no
   7382 
   7383 # Check whether --enable-libtool-lock was given.
   7384 if test "${enable_libtool_lock+set}" = set; then
   7385   enableval=$enable_libtool_lock;
   7386 fi
   7387 
   7388 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7389 
   7390 
   7391 # Check whether --with-pic was given.
   7392 if test "${with_pic+set}" = set; then
   7393   withval=$with_pic; pic_mode="$withval"
   7394 else
   7395   pic_mode=default
   7396 fi
   7397 
   7398 test -z "$pic_mode" && pic_mode=default
   7399 
   7400 # Use C for the default configuration in the libtool script
   7401 tagname=
   7402 lt_save_CC="$CC"
   7403 ac_ext=c
   7404 ac_cpp='$CPP $CPPFLAGS'
   7405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7408 
   7409 
   7410 # Source file extension for C test sources.
   7411 ac_ext=c
   7412 
   7413 # Object file extension for compiled C test sources.
   7414 objext=o
   7415 objext=$objext
   7416 
   7417 # Code to be used in simple compile tests
   7418 lt_simple_compile_test_code="int some_variable = 0;"
   7419 
   7420 # Code to be used in simple link tests
   7421 lt_simple_link_test_code='int main(){return(0);}'
   7422 
   7423 
   7424 # If no C compiler was specified, use CC.
   7425 LTCC=${LTCC-"$CC"}
   7426 
   7427 # If no C compiler flags were specified, use CFLAGS.
   7428 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7429 
   7430 # Allow CC to be a program name with arguments.
   7431 compiler=$CC
   7432 
   7433 
   7434 # save warnings/boilerplate of simple test code
   7435 ac_outfile=conftest.$ac_objext
   7436 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7437 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7438 _lt_compiler_boilerplate=`cat conftest.err`
   7439 $rm conftest*
   7440 
   7441 ac_outfile=conftest.$ac_objext
   7442 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7443 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7444 _lt_linker_boilerplate=`cat conftest.err`
   7445 $rm -r conftest*
   7446 
   7447 
   7448 
   7449 lt_prog_compiler_no_builtin_flag=
   7450 
   7451 if test "$GCC" = yes; then
   7452   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7453 
   7454 
   7455 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7456 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7457 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7458   echo $ECHO_N "(cached) $ECHO_C" >&6
   7459 else
   7460   lt_cv_prog_compiler_rtti_exceptions=no
   7461   ac_outfile=conftest.$ac_objext
   7462    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7463    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7464    # Insert the option either (1) after the last *FLAGS variable, or
   7465    # (2) before a word containing "conftest.", or (3) at the end.
   7466    # Note that $ac_compile itself does not contain backslashes and begins
   7467    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7468    # The option is referenced via a variable to avoid confusing sed.
   7469    lt_compile=`echo "$ac_compile" | $SED \
   7470    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7471    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7472    -e 's:$: $lt_compiler_flag:'`
   7473    (eval echo "\"\$as_me:7473: $lt_compile\"" >&5)
   7474    (eval "$lt_compile" 2>conftest.err)
   7475    ac_status=$?
   7476    cat conftest.err >&5
   7477    echo "$as_me:7477: \$? = $ac_status" >&5
   7478    if (exit $ac_status) && test -s "$ac_outfile"; then
   7479      # The compiler can only warn and ignore the option if not recognized
   7480      # So say no if there are warnings other than the usual output.
   7481      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7482      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7483      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7484        lt_cv_prog_compiler_rtti_exceptions=yes
   7485      fi
   7486    fi
   7487    $rm conftest*
   7488 
   7489 fi
   7490 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7491 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7492 
   7493 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7494     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7495 else
   7496     :
   7497 fi
   7498 
   7499 fi
   7500 
   7501 lt_prog_compiler_wl=
   7502 lt_prog_compiler_pic=
   7503 lt_prog_compiler_static=
   7504 
   7505 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7506 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7507 
   7508   if test "$GCC" = yes; then
   7509     lt_prog_compiler_wl='-Wl,'
   7510     lt_prog_compiler_static='-static'
   7511 
   7512     case $host_os in
   7513       aix*)
   7514       # All AIX code is PIC.
   7515       if test "$host_cpu" = ia64; then
   7516 	# AIX 5 now supports IA64 processor
   7517 	lt_prog_compiler_static='-Bstatic'
   7518       fi
   7519       ;;
   7520 
   7521     amigaos*)
   7522       # FIXME: we need at least 68020 code to build shared libraries, but
   7523       # adding the `-m68020' flag to GCC prevents building anything better,
   7524       # like `-m68040'.
   7525       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7526       ;;
   7527 
   7528     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7529       # PIC is the default for these OSes.
   7530       ;;
   7531 
   7532     mingw* | cygwin* | pw32* | os2*)
   7533       # This hack is so that the source file can tell whether it is being
   7534       # built for inclusion in a dll (and should export symbols for example).
   7535       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7536       # (--disable-auto-import) libraries
   7537       lt_prog_compiler_pic='-DDLL_EXPORT'
   7538       ;;
   7539 
   7540     darwin* | rhapsody*)
   7541       # PIC is the default on this platform
   7542       # Common symbols not allowed in MH_DYLIB files
   7543       lt_prog_compiler_pic='-fno-common'
   7544       ;;
   7545 
   7546     interix[3-9]*)
   7547       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7548       # Instead, we relocate shared libraries at runtime.
   7549       ;;
   7550 
   7551     msdosdjgpp*)
   7552       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7553       # on systems that don't support them.
   7554       lt_prog_compiler_can_build_shared=no
   7555       enable_shared=no
   7556       ;;
   7557 
   7558     sysv4*MP*)
   7559       if test -d /usr/nec; then
   7560 	lt_prog_compiler_pic=-Kconform_pic
   7561       fi
   7562       ;;
   7563 
   7564     hpux*)
   7565       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7566       # not for PA HP-UX.
   7567       case $host_cpu in
   7568       hppa*64*|ia64*)
   7569 	# +Z the default
   7570 	;;
   7571       *)
   7572 	lt_prog_compiler_pic='-fPIC'
   7573 	;;
   7574       esac
   7575       ;;
   7576 
   7577     *)
   7578       lt_prog_compiler_pic='-fPIC'
   7579       ;;
   7580     esac
   7581   else
   7582     # PORTME Check for flag to pass linker flags through the system compiler.
   7583     case $host_os in
   7584     aix*)
   7585       lt_prog_compiler_wl='-Wl,'
   7586       if test "$host_cpu" = ia64; then
   7587 	# AIX 5 now supports IA64 processor
   7588 	lt_prog_compiler_static='-Bstatic'
   7589       else
   7590 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7591       fi
   7592       ;;
   7593       darwin*)
   7594         # PIC is the default on this platform
   7595         # Common symbols not allowed in MH_DYLIB files
   7596        case $cc_basename in
   7597          xlc*)
   7598          lt_prog_compiler_pic='-qnocommon'
   7599          lt_prog_compiler_wl='-Wl,'
   7600          ;;
   7601        esac
   7602        ;;
   7603 
   7604     mingw* | cygwin* | pw32* | os2*)
   7605       # This hack is so that the source file can tell whether it is being
   7606       # built for inclusion in a dll (and should export symbols for example).
   7607       lt_prog_compiler_pic='-DDLL_EXPORT'
   7608       ;;
   7609 
   7610     hpux9* | hpux10* | hpux11*)
   7611       lt_prog_compiler_wl='-Wl,'
   7612       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7613       # not for PA HP-UX.
   7614       case $host_cpu in
   7615       hppa*64*|ia64*)
   7616 	# +Z the default
   7617 	;;
   7618       *)
   7619 	lt_prog_compiler_pic='+Z'
   7620 	;;
   7621       esac
   7622       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7623       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7624       ;;
   7625 
   7626     irix5* | irix6* | nonstopux*)
   7627       lt_prog_compiler_wl='-Wl,'
   7628       # PIC (with -KPIC) is the default.
   7629       lt_prog_compiler_static='-non_shared'
   7630       ;;
   7631 
   7632     newsos6)
   7633       lt_prog_compiler_pic='-KPIC'
   7634       lt_prog_compiler_static='-Bstatic'
   7635       ;;
   7636 
   7637     linux* | k*bsd*-gnu)
   7638       case $cc_basename in
   7639       icc* | ecc*)
   7640 	lt_prog_compiler_wl='-Wl,'
   7641 	lt_prog_compiler_pic='-KPIC'
   7642 	lt_prog_compiler_static='-static'
   7643         ;;
   7644       pgcc* | pgf77* | pgf90* | pgf95*)
   7645         # Portland Group compilers (*not* the Pentium gcc compiler,
   7646 	# which looks to be a dead project)
   7647 	lt_prog_compiler_wl='-Wl,'
   7648 	lt_prog_compiler_pic='-fpic'
   7649 	lt_prog_compiler_static='-Bstatic'
   7650         ;;
   7651       ccc*)
   7652         lt_prog_compiler_wl='-Wl,'
   7653         # All Alpha code is PIC.
   7654         lt_prog_compiler_static='-non_shared'
   7655         ;;
   7656       *)
   7657         case `$CC -V 2>&1 | sed 5q` in
   7658 	*Sun\ C*)
   7659 	  # Sun C 5.9
   7660 	  lt_prog_compiler_pic='-KPIC'
   7661 	  lt_prog_compiler_static='-Bstatic'
   7662 	  lt_prog_compiler_wl='-Wl,'
   7663 	  ;;
   7664 	*Sun\ F*)
   7665 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7666 	  lt_prog_compiler_pic='-KPIC'
   7667 	  lt_prog_compiler_static='-Bstatic'
   7668 	  lt_prog_compiler_wl=''
   7669 	  ;;
   7670 	esac
   7671 	;;
   7672       esac
   7673       ;;
   7674 
   7675     osf3* | osf4* | osf5*)
   7676       lt_prog_compiler_wl='-Wl,'
   7677       # All OSF/1 code is PIC.
   7678       lt_prog_compiler_static='-non_shared'
   7679       ;;
   7680 
   7681     rdos*)
   7682       lt_prog_compiler_static='-non_shared'
   7683       ;;
   7684 
   7685     solaris*)
   7686       lt_prog_compiler_pic='-KPIC'
   7687       lt_prog_compiler_static='-Bstatic'
   7688       case $cc_basename in
   7689       f77* | f90* | f95*)
   7690 	lt_prog_compiler_wl='-Qoption ld ';;
   7691       *)
   7692 	lt_prog_compiler_wl='-Wl,';;
   7693       esac
   7694       ;;
   7695 
   7696     sunos4*)
   7697       lt_prog_compiler_wl='-Qoption ld '
   7698       lt_prog_compiler_pic='-PIC'
   7699       lt_prog_compiler_static='-Bstatic'
   7700       ;;
   7701 
   7702     sysv4 | sysv4.2uw2* | sysv4.3*)
   7703       lt_prog_compiler_wl='-Wl,'
   7704       lt_prog_compiler_pic='-KPIC'
   7705       lt_prog_compiler_static='-Bstatic'
   7706       ;;
   7707 
   7708     sysv4*MP*)
   7709       if test -d /usr/nec ;then
   7710 	lt_prog_compiler_pic='-Kconform_pic'
   7711 	lt_prog_compiler_static='-Bstatic'
   7712       fi
   7713       ;;
   7714 
   7715     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7716       lt_prog_compiler_wl='-Wl,'
   7717       lt_prog_compiler_pic='-KPIC'
   7718       lt_prog_compiler_static='-Bstatic'
   7719       ;;
   7720 
   7721     unicos*)
   7722       lt_prog_compiler_wl='-Wl,'
   7723       lt_prog_compiler_can_build_shared=no
   7724       ;;
   7725 
   7726     uts4*)
   7727       lt_prog_compiler_pic='-pic'
   7728       lt_prog_compiler_static='-Bstatic'
   7729       ;;
   7730 
   7731     *)
   7732       lt_prog_compiler_can_build_shared=no
   7733       ;;
   7734     esac
   7735   fi
   7736 
   7737 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7738 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7739 
   7740 #
   7741 # Check to make sure the PIC flag actually works.
   7742 #
   7743 if test -n "$lt_prog_compiler_pic"; then
   7744 
   7745 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7746 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7747 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7748   echo $ECHO_N "(cached) $ECHO_C" >&6
   7749 else
   7750   lt_cv_prog_compiler_pic_works=no
   7751   ac_outfile=conftest.$ac_objext
   7752    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7753    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7754    # Insert the option either (1) after the last *FLAGS variable, or
   7755    # (2) before a word containing "conftest.", or (3) at the end.
   7756    # Note that $ac_compile itself does not contain backslashes and begins
   7757    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7758    # The option is referenced via a variable to avoid confusing sed.
   7759    lt_compile=`echo "$ac_compile" | $SED \
   7760    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7761    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7762    -e 's:$: $lt_compiler_flag:'`
   7763    (eval echo "\"\$as_me:7763: $lt_compile\"" >&5)
   7764    (eval "$lt_compile" 2>conftest.err)
   7765    ac_status=$?
   7766    cat conftest.err >&5
   7767    echo "$as_me:7767: \$? = $ac_status" >&5
   7768    if (exit $ac_status) && test -s "$ac_outfile"; then
   7769      # The compiler can only warn and ignore the option if not recognized
   7770      # So say no if there are warnings other than the usual output.
   7771      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7772      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7773      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7774        lt_cv_prog_compiler_pic_works=yes
   7775      fi
   7776    fi
   7777    $rm conftest*
   7778 
   7779 fi
   7780 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7781 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
   7782 
   7783 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7784     case $lt_prog_compiler_pic in
   7785      "" | " "*) ;;
   7786      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7787      esac
   7788 else
   7789     lt_prog_compiler_pic=
   7790      lt_prog_compiler_can_build_shared=no
   7791 fi
   7792 
   7793 fi
   7794 case $host_os in
   7795   # For platforms which do not support PIC, -DPIC is meaningless:
   7796   *djgpp*)
   7797     lt_prog_compiler_pic=
   7798     ;;
   7799   *)
   7800     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7801     ;;
   7802 esac
   7803 
   7804 #
   7805 # Check to make sure the static flag actually works.
   7806 #
   7807 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7808 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7809 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7810 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7811   echo $ECHO_N "(cached) $ECHO_C" >&6
   7812 else
   7813   lt_cv_prog_compiler_static_works=no
   7814    save_LDFLAGS="$LDFLAGS"
   7815    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7816    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7817    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7818      # The linker can only warn and ignore the option if not recognized
   7819      # So say no if there are warnings
   7820      if test -s conftest.err; then
   7821        # Append any errors to the config.log.
   7822        cat conftest.err 1>&5
   7823        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7824        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7825        if diff conftest.exp conftest.er2 >/dev/null; then
   7826          lt_cv_prog_compiler_static_works=yes
   7827        fi
   7828      else
   7829        lt_cv_prog_compiler_static_works=yes
   7830      fi
   7831    fi
   7832    $rm -r conftest*
   7833    LDFLAGS="$save_LDFLAGS"
   7834 
   7835 fi
   7836 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7837 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
   7838 
   7839 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7840     :
   7841 else
   7842     lt_prog_compiler_static=
   7843 fi
   7844 
   7845 
   7846 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7847 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7848 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7849   echo $ECHO_N "(cached) $ECHO_C" >&6
   7850 else
   7851   lt_cv_prog_compiler_c_o=no
   7852    $rm -r conftest 2>/dev/null
   7853    mkdir conftest
   7854    cd conftest
   7855    mkdir out
   7856    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7857 
   7858    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7859    # Insert the option either (1) after the last *FLAGS variable, or
   7860    # (2) before a word containing "conftest.", or (3) at the end.
   7861    # Note that $ac_compile itself does not contain backslashes and begins
   7862    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7863    lt_compile=`echo "$ac_compile" | $SED \
   7864    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7865    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7866    -e 's:$: $lt_compiler_flag:'`
   7867    (eval echo "\"\$as_me:7867: $lt_compile\"" >&5)
   7868    (eval "$lt_compile" 2>out/conftest.err)
   7869    ac_status=$?
   7870    cat out/conftest.err >&5
   7871    echo "$as_me:7871: \$? = $ac_status" >&5
   7872    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7873    then
   7874      # The compiler can only warn and ignore the option if not recognized
   7875      # So say no if there are warnings
   7876      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7877      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7878      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7879        lt_cv_prog_compiler_c_o=yes
   7880      fi
   7881    fi
   7882    chmod u+w . 2>&5
   7883    $rm conftest*
   7884    # SGI C++ compiler will create directory out/ii_files/ for
   7885    # template instantiation
   7886    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7887    $rm out/* && rmdir out
   7888    cd ..
   7889    rmdir conftest
   7890    $rm conftest*
   7891 
   7892 fi
   7893 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7894 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7895 
   7896 
   7897 hard_links="nottested"
   7898 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7899   # do not overwrite the value of need_locks provided by the user
   7900   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7901 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7902   hard_links=yes
   7903   $rm conftest*
   7904   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7905   touch conftest.a
   7906   ln conftest.a conftest.b 2>&5 || hard_links=no
   7907   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7908   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7909 echo "${ECHO_T}$hard_links" >&6; }
   7910   if test "$hard_links" = no; then
   7911     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7912 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7913     need_locks=warn
   7914   fi
   7915 else
   7916   need_locks=no
   7917 fi
   7918 
   7919 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7920 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7921 
   7922   runpath_var=
   7923   allow_undefined_flag=
   7924   enable_shared_with_static_runtimes=no
   7925   archive_cmds=
   7926   archive_expsym_cmds=
   7927   old_archive_From_new_cmds=
   7928   old_archive_from_expsyms_cmds=
   7929   export_dynamic_flag_spec=
   7930   whole_archive_flag_spec=
   7931   thread_safe_flag_spec=
   7932   hardcode_libdir_flag_spec=
   7933   hardcode_libdir_flag_spec_ld=
   7934   hardcode_libdir_separator=
   7935   hardcode_direct=no
   7936   hardcode_minus_L=no
   7937   hardcode_shlibpath_var=unsupported
   7938   link_all_deplibs=unknown
   7939   hardcode_automatic=no
   7940   module_cmds=
   7941   module_expsym_cmds=
   7942   always_export_symbols=no
   7943   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7944   # include_expsyms should be a list of space-separated symbols to be *always*
   7945   # included in the symbol list
   7946   include_expsyms=
   7947   # exclude_expsyms can be an extended regexp of symbols to exclude
   7948   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7949   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7950   # as well as any symbol that contains `d'.
   7951   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   7952   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7953   # platforms (ab)use it in PIC code, but their linkers get confused if
   7954   # the symbol is explicitly referenced.  Since portable code cannot
   7955   # rely on this symbol name, it's probably fine to never include it in
   7956   # preloaded symbol tables.
   7957   # Exclude shared library initialization/finalization symbols.
   7958   extract_expsyms_cmds=
   7959   # Just being paranoid about ensuring that cc_basename is set.
   7960   for cc_temp in $compiler""; do
   7961   case $cc_temp in
   7962     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7963     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7964     \-*) ;;
   7965     *) break;;
   7966   esac
   7967 done
   7968 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7969 
   7970   case $host_os in
   7971   cygwin* | mingw* | pw32*)
   7972     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7973     # When not using gcc, we currently assume that we are using
   7974     # Microsoft Visual C++.
   7975     if test "$GCC" != yes; then
   7976       with_gnu_ld=no
   7977     fi
   7978     ;;
   7979   interix*)
   7980     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7981     with_gnu_ld=yes
   7982     ;;
   7983   openbsd*)
   7984     with_gnu_ld=no
   7985     ;;
   7986   esac
   7987 
   7988   ld_shlibs=yes
   7989   if test "$with_gnu_ld" = yes; then
   7990     # If archive_cmds runs LD, not CC, wlarc should be empty
   7991     wlarc='${wl}'
   7992 
   7993     # Set some defaults for GNU ld with shared library support. These
   7994     # are reset later if shared libraries are not supported. Putting them
   7995     # here allows them to be overridden if necessary.
   7996     runpath_var=LD_RUN_PATH
   7997     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7998     export_dynamic_flag_spec='${wl}--export-dynamic'
   7999     # ancient GNU ld didn't support --whole-archive et. al.
   8000     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8001 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8002       else
   8003   	whole_archive_flag_spec=
   8004     fi
   8005     supports_anon_versioning=no
   8006     case `$LD -v 2>/dev/null` in
   8007       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8008       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8009       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8010       *\ 2.11.*) ;; # other 2.11 versions
   8011       *) supports_anon_versioning=yes ;;
   8012     esac
   8013 
   8014     # See if GNU ld supports shared libraries.
   8015     case $host_os in
   8016     aix[3-9]*)
   8017       # On AIX/PPC, the GNU linker is very broken
   8018       if test "$host_cpu" != ia64; then
   8019 	ld_shlibs=no
   8020 	cat <<EOF 1>&2
   8021 
   8022 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8023 *** to be unable to reliably create shared libraries on AIX.
   8024 *** Therefore, libtool is disabling shared libraries support.  If you
   8025 *** really care for shared libraries, you may want to modify your PATH
   8026 *** so that a non-GNU linker is found, and then restart.
   8027 
   8028 EOF
   8029       fi
   8030       ;;
   8031 
   8032     amigaos*)
   8033       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)'
   8034       hardcode_libdir_flag_spec='-L$libdir'
   8035       hardcode_minus_L=yes
   8036 
   8037       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8038       # that the semantics of dynamic libraries on AmigaOS, at least up
   8039       # to version 4, is to share data among multiple programs linked
   8040       # with the same dynamic library.  Since this doesn't match the
   8041       # behavior of shared libraries on other platforms, we can't use
   8042       # them.
   8043       ld_shlibs=no
   8044       ;;
   8045 
   8046     beos*)
   8047       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8048 	allow_undefined_flag=unsupported
   8049 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8050 	# support --undefined.  This deserves some investigation.  FIXME
   8051 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8052       else
   8053 	ld_shlibs=no
   8054       fi
   8055       ;;
   8056 
   8057     cygwin* | mingw* | pw32*)
   8058       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8059       # as there is no search path for DLLs.
   8060       hardcode_libdir_flag_spec='-L$libdir'
   8061       allow_undefined_flag=unsupported
   8062       always_export_symbols=no
   8063       enable_shared_with_static_runtimes=yes
   8064       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8065 
   8066       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8067         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8068 	# If the export-symbols file already is a .def file (1st line
   8069 	# is EXPORTS), use it as is; otherwise, prepend...
   8070 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8071 	  cp $export_symbols $output_objdir/$soname.def;
   8072 	else
   8073 	  echo EXPORTS > $output_objdir/$soname.def;
   8074 	  cat $export_symbols >> $output_objdir/$soname.def;
   8075 	fi~
   8076 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8077       else
   8078 	ld_shlibs=no
   8079       fi
   8080       ;;
   8081 
   8082     interix[3-9]*)
   8083       hardcode_direct=no
   8084       hardcode_shlibpath_var=no
   8085       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8086       export_dynamic_flag_spec='${wl}-E'
   8087       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8088       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8089       # default) and relocated if they conflict, which is a slow very memory
   8090       # consuming and fragmenting process.  To avoid this, we pick a random,
   8091       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8092       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8093       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8094       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'
   8095       ;;
   8096 
   8097     gnu* | linux* | k*bsd*-gnu)
   8098       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8099 	tmp_addflag=
   8100 	case $cc_basename,$host_cpu in
   8101 	pgcc*)				# Portland Group C compiler
   8102 	  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'
   8103 	  tmp_addflag=' $pic_flag'
   8104 	  ;;
   8105 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8106 	  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'
   8107 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8108 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8109 	  tmp_addflag=' -i_dynamic' ;;
   8110 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8111 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8112 	ifc* | ifort*)			# Intel Fortran compiler
   8113 	  tmp_addflag=' -nofor_main' ;;
   8114 	esac
   8115 	case `$CC -V 2>&1 | sed 5q` in
   8116 	*Sun\ C*)			# Sun C 5.9
   8117 	  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'
   8118 	  tmp_sharedflag='-G' ;;
   8119 	*Sun\ F*)			# Sun Fortran 8.3
   8120 	  tmp_sharedflag='-G' ;;
   8121 	*)
   8122 	  tmp_sharedflag='-shared' ;;
   8123 	esac
   8124 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8125 
   8126 	if test $supports_anon_versioning = yes; then
   8127 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8128   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8129   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8130 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8131 	fi
   8132 	link_all_deplibs=no
   8133       else
   8134 	ld_shlibs=no
   8135       fi
   8136       ;;
   8137 
   8138     netbsd* | netbsdelf*-gnu)
   8139       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8140 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8141 	wlarc=
   8142       else
   8143 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8144 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8145       fi
   8146       ;;
   8147 
   8148     solaris*)
   8149       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8150 	ld_shlibs=no
   8151 	cat <<EOF 1>&2
   8152 
   8153 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8154 *** create shared libraries on Solaris systems.  Therefore, libtool
   8155 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8156 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8157 *** your PATH or compiler configuration so that the native linker is
   8158 *** used, and then restart.
   8159 
   8160 EOF
   8161       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8162 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8163 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8164       else
   8165 	ld_shlibs=no
   8166       fi
   8167       ;;
   8168 
   8169     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8170       case `$LD -v 2>&1` in
   8171         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8172 	ld_shlibs=no
   8173 	cat <<_LT_EOF 1>&2
   8174 
   8175 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8176 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8177 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8178 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8179 *** your PATH or compiler configuration so that the native linker is
   8180 *** used, and then restart.
   8181 
   8182 _LT_EOF
   8183 	;;
   8184 	*)
   8185 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8186 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8187 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8188 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8189 	  else
   8190 	    ld_shlibs=no
   8191 	  fi
   8192 	;;
   8193       esac
   8194       ;;
   8195 
   8196     sunos4*)
   8197       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8198       wlarc=
   8199       hardcode_direct=yes
   8200       hardcode_shlibpath_var=no
   8201       ;;
   8202 
   8203     *)
   8204       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8205 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8206 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8207       else
   8208 	ld_shlibs=no
   8209       fi
   8210       ;;
   8211     esac
   8212 
   8213     if test "$ld_shlibs" = no; then
   8214       runpath_var=
   8215       hardcode_libdir_flag_spec=
   8216       export_dynamic_flag_spec=
   8217       whole_archive_flag_spec=
   8218     fi
   8219   else
   8220     # PORTME fill in a description of your system's linker (not GNU ld)
   8221     case $host_os in
   8222     aix3*)
   8223       allow_undefined_flag=unsupported
   8224       always_export_symbols=yes
   8225       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'
   8226       # Note: this linker hardcodes the directories in LIBPATH if there
   8227       # are no directories specified by -L.
   8228       hardcode_minus_L=yes
   8229       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8230 	# Neither direct hardcoding nor static linking is supported with a
   8231 	# broken collect2.
   8232 	hardcode_direct=unsupported
   8233       fi
   8234       ;;
   8235 
   8236     aix[4-9]*)
   8237       if test "$host_cpu" = ia64; then
   8238 	# On IA64, the linker does run time linking by default, so we don't
   8239 	# have to do anything special.
   8240 	aix_use_runtimelinking=no
   8241 	exp_sym_flag='-Bexport'
   8242 	no_entry_flag=""
   8243       else
   8244 	# If we're using GNU nm, then we don't want the "-C" option.
   8245 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8246 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8247 	  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'
   8248 	else
   8249 	  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'
   8250 	fi
   8251 	aix_use_runtimelinking=no
   8252 
   8253 	# Test if we are trying to use run time linking or normal
   8254 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8255 	# need to do runtime linking.
   8256 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8257 	  for ld_flag in $LDFLAGS; do
   8258   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8259   	    aix_use_runtimelinking=yes
   8260   	    break
   8261   	  fi
   8262 	  done
   8263 	  ;;
   8264 	esac
   8265 
   8266 	exp_sym_flag='-bexport'
   8267 	no_entry_flag='-bnoentry'
   8268       fi
   8269 
   8270       # When large executables or shared objects are built, AIX ld can
   8271       # have problems creating the table of contents.  If linking a library
   8272       # or program results in "error TOC overflow" add -mminimal-toc to
   8273       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8274       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8275 
   8276       archive_cmds=''
   8277       hardcode_direct=yes
   8278       hardcode_libdir_separator=':'
   8279       link_all_deplibs=yes
   8280 
   8281       if test "$GCC" = yes; then
   8282 	case $host_os in aix4.[012]|aix4.[012].*)
   8283 	# We only want to do this on AIX 4.2 and lower, the check
   8284 	# below for broken collect2 doesn't work under 4.3+
   8285 	  collect2name=`${CC} -print-prog-name=collect2`
   8286 	  if test -f "$collect2name" && \
   8287   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8288 	  then
   8289   	  # We have reworked collect2
   8290   	  :
   8291 	  else
   8292   	  # We have old collect2
   8293   	  hardcode_direct=unsupported
   8294   	  # It fails to find uninstalled libraries when the uninstalled
   8295   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8296   	  # to unsupported forces relinking
   8297   	  hardcode_minus_L=yes
   8298   	  hardcode_libdir_flag_spec='-L$libdir'
   8299   	  hardcode_libdir_separator=
   8300 	  fi
   8301 	  ;;
   8302 	esac
   8303 	shared_flag='-shared'
   8304 	if test "$aix_use_runtimelinking" = yes; then
   8305 	  shared_flag="$shared_flag "'${wl}-G'
   8306 	fi
   8307       else
   8308 	# not using gcc
   8309 	if test "$host_cpu" = ia64; then
   8310   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8311   	# chokes on -Wl,-G. The following line is correct:
   8312 	  shared_flag='-G'
   8313 	else
   8314 	  if test "$aix_use_runtimelinking" = yes; then
   8315 	    shared_flag='${wl}-G'
   8316 	  else
   8317 	    shared_flag='${wl}-bM:SRE'
   8318 	  fi
   8319 	fi
   8320       fi
   8321 
   8322       # It seems that -bexpall does not export symbols beginning with
   8323       # underscore (_), so it is better to generate a list of symbols to export.
   8324       always_export_symbols=yes
   8325       if test "$aix_use_runtimelinking" = yes; then
   8326 	# Warning - without using the other runtime loading flags (-brtl),
   8327 	# -berok will link without error, but may produce a broken library.
   8328 	allow_undefined_flag='-berok'
   8329        # Determine the default libpath from the value encoded in an empty executable.
   8330        cat >conftest.$ac_ext <<_ACEOF
   8331 /* confdefs.h.  */
   8332 _ACEOF
   8333 cat confdefs.h >>conftest.$ac_ext
   8334 cat >>conftest.$ac_ext <<_ACEOF
   8335 /* end confdefs.h.  */
   8336 
   8337 int
   8338 main ()
   8339 {
   8340 
   8341   ;
   8342   return 0;
   8343 }
   8344 _ACEOF
   8345 rm -f conftest.$ac_objext conftest$ac_exeext
   8346 if { (ac_try="$ac_link"
   8347 case "(($ac_try" in
   8348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8349   *) ac_try_echo=$ac_try;;
   8350 esac
   8351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8352   (eval "$ac_link") 2>conftest.er1
   8353   ac_status=$?
   8354   grep -v '^ *+' conftest.er1 >conftest.err
   8355   rm -f conftest.er1
   8356   cat conftest.err >&5
   8357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8358   (exit $ac_status); } && {
   8359 	 test -z "$ac_c_werror_flag" ||
   8360 	 test ! -s conftest.err
   8361        } && test -s conftest$ac_exeext &&
   8362        $as_test_x conftest$ac_exeext; then
   8363 
   8364 lt_aix_libpath_sed='
   8365     /Import File Strings/,/^$/ {
   8366 	/^0/ {
   8367 	    s/^0  *\(.*\)$/\1/
   8368 	    p
   8369 	}
   8370     }'
   8371 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8372 # Check for a 64-bit object if we didn't find anything.
   8373 if test -z "$aix_libpath"; then
   8374   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8375 fi
   8376 else
   8377   echo "$as_me: failed program was:" >&5
   8378 sed 's/^/| /' conftest.$ac_ext >&5
   8379 
   8380 
   8381 fi
   8382 
   8383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8384       conftest$ac_exeext conftest.$ac_ext
   8385 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8386 
   8387        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8388 	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"
   8389        else
   8390 	if test "$host_cpu" = ia64; then
   8391 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8392 	  allow_undefined_flag="-z nodefs"
   8393 	  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"
   8394 	else
   8395 	 # Determine the default libpath from the value encoded in an empty executable.
   8396 	 cat >conftest.$ac_ext <<_ACEOF
   8397 /* confdefs.h.  */
   8398 _ACEOF
   8399 cat confdefs.h >>conftest.$ac_ext
   8400 cat >>conftest.$ac_ext <<_ACEOF
   8401 /* end confdefs.h.  */
   8402 
   8403 int
   8404 main ()
   8405 {
   8406 
   8407   ;
   8408   return 0;
   8409 }
   8410 _ACEOF
   8411 rm -f conftest.$ac_objext conftest$ac_exeext
   8412 if { (ac_try="$ac_link"
   8413 case "(($ac_try" in
   8414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8415   *) ac_try_echo=$ac_try;;
   8416 esac
   8417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8418   (eval "$ac_link") 2>conftest.er1
   8419   ac_status=$?
   8420   grep -v '^ *+' conftest.er1 >conftest.err
   8421   rm -f conftest.er1
   8422   cat conftest.err >&5
   8423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8424   (exit $ac_status); } && {
   8425 	 test -z "$ac_c_werror_flag" ||
   8426 	 test ! -s conftest.err
   8427        } && test -s conftest$ac_exeext &&
   8428        $as_test_x conftest$ac_exeext; then
   8429 
   8430 lt_aix_libpath_sed='
   8431     /Import File Strings/,/^$/ {
   8432 	/^0/ {
   8433 	    s/^0  *\(.*\)$/\1/
   8434 	    p
   8435 	}
   8436     }'
   8437 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8438 # Check for a 64-bit object if we didn't find anything.
   8439 if test -z "$aix_libpath"; then
   8440   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8441 fi
   8442 else
   8443   echo "$as_me: failed program was:" >&5
   8444 sed 's/^/| /' conftest.$ac_ext >&5
   8445 
   8446 
   8447 fi
   8448 
   8449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8450       conftest$ac_exeext conftest.$ac_ext
   8451 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8452 
   8453 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8454 	  # Warning - without using the other run time loading flags,
   8455 	  # -berok will link without error, but may produce a broken library.
   8456 	  no_undefined_flag=' ${wl}-bernotok'
   8457 	  allow_undefined_flag=' ${wl}-berok'
   8458 	  # Exported symbols can be pulled into shared objects from archives
   8459 	  whole_archive_flag_spec='$convenience'
   8460 	  archive_cmds_need_lc=yes
   8461 	  # This is similar to how AIX traditionally builds its shared libraries.
   8462 	  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'
   8463 	fi
   8464       fi
   8465       ;;
   8466 
   8467     amigaos*)
   8468       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)'
   8469       hardcode_libdir_flag_spec='-L$libdir'
   8470       hardcode_minus_L=yes
   8471       # see comment about different semantics on the GNU ld section
   8472       ld_shlibs=no
   8473       ;;
   8474 
   8475     bsdi[45]*)
   8476       export_dynamic_flag_spec=-rdynamic
   8477       ;;
   8478 
   8479     cygwin* | mingw* | pw32*)
   8480       # When not using gcc, we currently assume that we are using
   8481       # Microsoft Visual C++.
   8482       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8483       # no search path for DLLs.
   8484       hardcode_libdir_flag_spec=' '
   8485       allow_undefined_flag=unsupported
   8486       # Tell ltmain to make .lib files, not .a files.
   8487       libext=lib
   8488       # Tell ltmain to make .dll files, not .so files.
   8489       shrext_cmds=".dll"
   8490       # FIXME: Setting linknames here is a bad hack.
   8491       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8492       # The linker will automatically build a .lib file if we build a DLL.
   8493       old_archive_From_new_cmds='true'
   8494       # FIXME: Should let the user specify the lib program.
   8495       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8496       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8497       enable_shared_with_static_runtimes=yes
   8498       ;;
   8499 
   8500     darwin* | rhapsody*)
   8501       case $host_os in
   8502         rhapsody* | darwin1.[012])
   8503          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8504          ;;
   8505        *) # Darwin 1.3 on
   8506          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8507            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8508          else
   8509            case ${MACOSX_DEPLOYMENT_TARGET} in
   8510              10.[012])
   8511                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8512                ;;
   8513              10.*)
   8514                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8515                ;;
   8516            esac
   8517          fi
   8518          ;;
   8519       esac
   8520       archive_cmds_need_lc=no
   8521       hardcode_direct=no
   8522       hardcode_automatic=yes
   8523       hardcode_shlibpath_var=unsupported
   8524       whole_archive_flag_spec=''
   8525       link_all_deplibs=yes
   8526     if test "$GCC" = yes ; then
   8527     	output_verbose_link_cmd='echo'
   8528         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8529         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8530         archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   8531         module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   8532     else
   8533       case $cc_basename in
   8534         xlc*)
   8535          output_verbose_link_cmd='echo'
   8536          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8537          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8538           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8539          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}'
   8540           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}'
   8541           ;;
   8542        *)
   8543          ld_shlibs=no
   8544           ;;
   8545       esac
   8546     fi
   8547       ;;
   8548 
   8549     dgux*)
   8550       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8551       hardcode_libdir_flag_spec='-L$libdir'
   8552       hardcode_shlibpath_var=no
   8553       ;;
   8554 
   8555     freebsd1*)
   8556       ld_shlibs=no
   8557       ;;
   8558 
   8559     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8560     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8561     # does not break anything, and helps significantly (at the cost of a little
   8562     # extra space).
   8563     freebsd2.2*)
   8564       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8565       hardcode_libdir_flag_spec='-R$libdir'
   8566       hardcode_direct=yes
   8567       hardcode_shlibpath_var=no
   8568       ;;
   8569 
   8570     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8571     freebsd2*)
   8572       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8573       hardcode_direct=yes
   8574       hardcode_minus_L=yes
   8575       hardcode_shlibpath_var=no
   8576       ;;
   8577 
   8578     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8579     freebsd* | dragonfly*)
   8580       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8581       hardcode_libdir_flag_spec='-R$libdir'
   8582       hardcode_direct=yes
   8583       hardcode_shlibpath_var=no
   8584       ;;
   8585 
   8586     hpux9*)
   8587       if test "$GCC" = yes; then
   8588 	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'
   8589       else
   8590 	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'
   8591       fi
   8592       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8593       hardcode_libdir_separator=:
   8594       hardcode_direct=yes
   8595 
   8596       # hardcode_minus_L: Not really in the search PATH,
   8597       # but as the default location of the library.
   8598       hardcode_minus_L=yes
   8599       export_dynamic_flag_spec='${wl}-E'
   8600       ;;
   8601 
   8602     hpux10*)
   8603       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8604 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8605       else
   8606 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8607       fi
   8608       if test "$with_gnu_ld" = no; then
   8609 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8610 	hardcode_libdir_separator=:
   8611 
   8612 	hardcode_direct=yes
   8613 	export_dynamic_flag_spec='${wl}-E'
   8614 
   8615 	# hardcode_minus_L: Not really in the search PATH,
   8616 	# but as the default location of the library.
   8617 	hardcode_minus_L=yes
   8618       fi
   8619       ;;
   8620 
   8621     hpux11*)
   8622       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8623 	case $host_cpu in
   8624 	hppa*64*)
   8625 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8626 	  ;;
   8627 	ia64*)
   8628 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8629 	  ;;
   8630 	*)
   8631 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8632 	  ;;
   8633 	esac
   8634       else
   8635 	case $host_cpu in
   8636 	hppa*64*)
   8637 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8638 	  ;;
   8639 	ia64*)
   8640 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8641 	  ;;
   8642 	*)
   8643 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8644 	  ;;
   8645 	esac
   8646       fi
   8647       if test "$with_gnu_ld" = no; then
   8648 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8649 	hardcode_libdir_separator=:
   8650 
   8651 	case $host_cpu in
   8652 	hppa*64*|ia64*)
   8653 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8654 	  hardcode_direct=no
   8655 	  hardcode_shlibpath_var=no
   8656 	  ;;
   8657 	*)
   8658 	  hardcode_direct=yes
   8659 	  export_dynamic_flag_spec='${wl}-E'
   8660 
   8661 	  # hardcode_minus_L: Not really in the search PATH,
   8662 	  # but as the default location of the library.
   8663 	  hardcode_minus_L=yes
   8664 	  ;;
   8665 	esac
   8666       fi
   8667       ;;
   8668 
   8669     irix5* | irix6* | nonstopux*)
   8670       if test "$GCC" = yes; then
   8671 	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'
   8672       else
   8673 	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'
   8674 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8675       fi
   8676       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8677       hardcode_libdir_separator=:
   8678       link_all_deplibs=yes
   8679       ;;
   8680 
   8681     netbsd* | netbsdelf*-gnu)
   8682       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8683 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8684       else
   8685 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8686       fi
   8687       hardcode_libdir_flag_spec='-R$libdir'
   8688       hardcode_direct=yes
   8689       hardcode_shlibpath_var=no
   8690       ;;
   8691 
   8692     newsos6)
   8693       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8694       hardcode_direct=yes
   8695       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8696       hardcode_libdir_separator=:
   8697       hardcode_shlibpath_var=no
   8698       ;;
   8699 
   8700     openbsd*)
   8701       if test -f /usr/libexec/ld.so; then
   8702 	hardcode_direct=yes
   8703 	hardcode_shlibpath_var=no
   8704 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8705 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8706 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8707 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8708 	  export_dynamic_flag_spec='${wl}-E'
   8709 	else
   8710 	  case $host_os in
   8711 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8712 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8713 	     hardcode_libdir_flag_spec='-R$libdir'
   8714 	     ;;
   8715 	   *)
   8716 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8717 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8718 	     ;;
   8719 	  esac
   8720         fi
   8721       else
   8722 	ld_shlibs=no
   8723       fi
   8724       ;;
   8725 
   8726     os2*)
   8727       hardcode_libdir_flag_spec='-L$libdir'
   8728       hardcode_minus_L=yes
   8729       allow_undefined_flag=unsupported
   8730       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'
   8731       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8732       ;;
   8733 
   8734     osf3*)
   8735       if test "$GCC" = yes; then
   8736 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8737 	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'
   8738       else
   8739 	allow_undefined_flag=' -expect_unresolved \*'
   8740 	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'
   8741       fi
   8742       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8743       hardcode_libdir_separator=:
   8744       ;;
   8745 
   8746     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8747       if test "$GCC" = yes; then
   8748 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8749 	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'
   8750 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8751       else
   8752 	allow_undefined_flag=' -expect_unresolved \*'
   8753 	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'
   8754 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8755 	$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'
   8756 
   8757 	# Both c and cxx compiler support -rpath directly
   8758 	hardcode_libdir_flag_spec='-rpath $libdir'
   8759       fi
   8760       hardcode_libdir_separator=:
   8761       ;;
   8762 
   8763     solaris*)
   8764       no_undefined_flag=' -z text'
   8765       if test "$GCC" = yes; then
   8766 	wlarc='${wl}'
   8767 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8768 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8769 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8770       else
   8771 	wlarc=''
   8772 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8773 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8774   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8775       fi
   8776       hardcode_libdir_flag_spec='-R$libdir'
   8777       hardcode_shlibpath_var=no
   8778       case $host_os in
   8779       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8780       *)
   8781 	# The compiler driver will combine and reorder linker options,
   8782 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8783 	# but is careful enough not to reorder.
   8784  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8785 	if test "$GCC" = yes; then
   8786 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8787 	else
   8788 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8789 	fi
   8790 	;;
   8791       esac
   8792       link_all_deplibs=yes
   8793       ;;
   8794 
   8795     sunos4*)
   8796       if test "x$host_vendor" = xsequent; then
   8797 	# Use $CC to link under sequent, because it throws in some extra .o
   8798 	# files that make .init and .fini sections work.
   8799 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8800       else
   8801 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8802       fi
   8803       hardcode_libdir_flag_spec='-L$libdir'
   8804       hardcode_direct=yes
   8805       hardcode_minus_L=yes
   8806       hardcode_shlibpath_var=no
   8807       ;;
   8808 
   8809     sysv4)
   8810       case $host_vendor in
   8811 	sni)
   8812 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8813 	  hardcode_direct=yes # is this really true???
   8814 	;;
   8815 	siemens)
   8816 	  ## LD is ld it makes a PLAMLIB
   8817 	  ## CC just makes a GrossModule.
   8818 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8819 	  reload_cmds='$CC -r -o $output$reload_objs'
   8820 	  hardcode_direct=no
   8821         ;;
   8822 	motorola)
   8823 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8824 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8825 	;;
   8826       esac
   8827       runpath_var='LD_RUN_PATH'
   8828       hardcode_shlibpath_var=no
   8829       ;;
   8830 
   8831     sysv4.3*)
   8832       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8833       hardcode_shlibpath_var=no
   8834       export_dynamic_flag_spec='-Bexport'
   8835       ;;
   8836 
   8837     sysv4*MP*)
   8838       if test -d /usr/nec; then
   8839 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8840 	hardcode_shlibpath_var=no
   8841 	runpath_var=LD_RUN_PATH
   8842 	hardcode_runpath_var=yes
   8843 	ld_shlibs=yes
   8844       fi
   8845       ;;
   8846 
   8847     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8848       no_undefined_flag='${wl}-z,text'
   8849       archive_cmds_need_lc=no
   8850       hardcode_shlibpath_var=no
   8851       runpath_var='LD_RUN_PATH'
   8852 
   8853       if test "$GCC" = yes; then
   8854 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8855 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8856       else
   8857 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8858 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8859       fi
   8860       ;;
   8861 
   8862     sysv5* | sco3.2v5* | sco5v6*)
   8863       # Note: We can NOT use -z defs as we might desire, because we do not
   8864       # link with -lc, and that would cause any symbols used from libc to
   8865       # always be unresolved, which means just about no library would
   8866       # ever link correctly.  If we're not using GNU ld we use -z text
   8867       # though, which does catch some bad symbols but isn't as heavy-handed
   8868       # as -z defs.
   8869       no_undefined_flag='${wl}-z,text'
   8870       allow_undefined_flag='${wl}-z,nodefs'
   8871       archive_cmds_need_lc=no
   8872       hardcode_shlibpath_var=no
   8873       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8874       hardcode_libdir_separator=':'
   8875       link_all_deplibs=yes
   8876       export_dynamic_flag_spec='${wl}-Bexport'
   8877       runpath_var='LD_RUN_PATH'
   8878 
   8879       if test "$GCC" = yes; then
   8880 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8881 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8882       else
   8883 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8884 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8885       fi
   8886       ;;
   8887 
   8888     uts4*)
   8889       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8890       hardcode_libdir_flag_spec='-L$libdir'
   8891       hardcode_shlibpath_var=no
   8892       ;;
   8893 
   8894     *)
   8895       ld_shlibs=no
   8896       ;;
   8897     esac
   8898   fi
   8899 
   8900 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8901 echo "${ECHO_T}$ld_shlibs" >&6; }
   8902 test "$ld_shlibs" = no && can_build_shared=no
   8903 
   8904 #
   8905 # Do we need to explicitly link libc?
   8906 #
   8907 case "x$archive_cmds_need_lc" in
   8908 x|xyes)
   8909   # Assume -lc should be added
   8910   archive_cmds_need_lc=yes
   8911 
   8912   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8913     case $archive_cmds in
   8914     *'~'*)
   8915       # FIXME: we may have to deal with multi-command sequences.
   8916       ;;
   8917     '$CC '*)
   8918       # Test whether the compiler implicitly links with -lc since on some
   8919       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8920       # to ld, don't add -lc before -lgcc.
   8921       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8922 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8923       $rm conftest*
   8924       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8925 
   8926       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8927   (eval $ac_compile) 2>&5
   8928   ac_status=$?
   8929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8930   (exit $ac_status); } 2>conftest.err; then
   8931         soname=conftest
   8932         lib=conftest
   8933         libobjs=conftest.$ac_objext
   8934         deplibs=
   8935         wl=$lt_prog_compiler_wl
   8936 	pic_flag=$lt_prog_compiler_pic
   8937         compiler_flags=-v
   8938         linker_flags=-v
   8939         verstring=
   8940         output_objdir=.
   8941         libname=conftest
   8942         lt_save_allow_undefined_flag=$allow_undefined_flag
   8943         allow_undefined_flag=
   8944         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8945   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8946   ac_status=$?
   8947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8948   (exit $ac_status); }
   8949         then
   8950 	  archive_cmds_need_lc=no
   8951         else
   8952 	  archive_cmds_need_lc=yes
   8953         fi
   8954         allow_undefined_flag=$lt_save_allow_undefined_flag
   8955       else
   8956         cat conftest.err 1>&5
   8957       fi
   8958       $rm conftest*
   8959       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8960 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8961       ;;
   8962     esac
   8963   fi
   8964   ;;
   8965 esac
   8966 
   8967 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8968 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8969 library_names_spec=
   8970 libname_spec='lib$name'
   8971 soname_spec=
   8972 shrext_cmds=".so"
   8973 postinstall_cmds=
   8974 postuninstall_cmds=
   8975 finish_cmds=
   8976 finish_eval=
   8977 shlibpath_var=
   8978 shlibpath_overrides_runpath=unknown
   8979 version_type=none
   8980 dynamic_linker="$host_os ld.so"
   8981 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8982 
   8983 if test "$GCC" = yes; then
   8984   case $host_os in
   8985     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   8986     *) lt_awk_arg="/^libraries:/" ;;
   8987   esac
   8988   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8989   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   8990     # if the path contains ";" then we assume it to be the separator
   8991     # otherwise default to the standard path separator (i.e. ":") - it is
   8992     # assumed that no part of a normal pathname contains ";" but that should
   8993     # okay in the real world where ";" in dirpaths is itself problematic.
   8994     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   8995   else
   8996     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8997   fi
   8998   # Ok, now we have the path, separated by spaces, we can step through it
   8999   # and add multilib dir if necessary.
   9000   lt_tmp_lt_search_path_spec=
   9001   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9002   for lt_sys_path in $lt_search_path_spec; do
   9003     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9004       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9005     else
   9006       test -d "$lt_sys_path" && \
   9007 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9008     fi
   9009   done
   9010   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9011 BEGIN {RS=" "; FS="/|\n";} {
   9012   lt_foo="";
   9013   lt_count=0;
   9014   for (lt_i = NF; lt_i > 0; lt_i--) {
   9015     if ($lt_i != "" && $lt_i != ".") {
   9016       if ($lt_i == "..") {
   9017         lt_count++;
   9018       } else {
   9019         if (lt_count == 0) {
   9020           lt_foo="/" $lt_i lt_foo;
   9021         } else {
   9022           lt_count--;
   9023         }
   9024       }
   9025     }
   9026   }
   9027   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9028   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9029 }'`
   9030   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9031 else
   9032   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9033 fi
   9034 need_lib_prefix=unknown
   9035 hardcode_into_libs=no
   9036 
   9037 # when you set need_version to no, make sure it does not cause -set_version
   9038 # flags to be left without arguments
   9039 need_version=unknown
   9040 
   9041 case $host_os in
   9042 aix3*)
   9043   version_type=linux
   9044   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9045   shlibpath_var=LIBPATH
   9046 
   9047   # AIX 3 has no versioning support, so we append a major version to the name.
   9048   soname_spec='${libname}${release}${shared_ext}$major'
   9049   ;;
   9050 
   9051 aix[4-9]*)
   9052   version_type=linux
   9053   need_lib_prefix=no
   9054   need_version=no
   9055   hardcode_into_libs=yes
   9056   if test "$host_cpu" = ia64; then
   9057     # AIX 5 supports IA64
   9058     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9059     shlibpath_var=LD_LIBRARY_PATH
   9060   else
   9061     # With GCC up to 2.95.x, collect2 would create an import file
   9062     # for dependence libraries.  The import file would start with
   9063     # the line `#! .'.  This would cause the generated library to
   9064     # depend on `.', always an invalid library.  This was fixed in
   9065     # development snapshots of GCC prior to 3.0.
   9066     case $host_os in
   9067       aix4 | aix4.[01] | aix4.[01].*)
   9068       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9069 	   echo ' yes '
   9070 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9071 	:
   9072       else
   9073 	can_build_shared=no
   9074       fi
   9075       ;;
   9076     esac
   9077     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9078     # soname into executable. Probably we can add versioning support to
   9079     # collect2, so additional links can be useful in future.
   9080     if test "$aix_use_runtimelinking" = yes; then
   9081       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9082       # instead of lib<name>.a to let people know that these are not
   9083       # typical AIX shared libraries.
   9084       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9085     else
   9086       # We preserve .a as extension for shared libraries through AIX4.2
   9087       # and later when we are not doing run time linking.
   9088       library_names_spec='${libname}${release}.a $libname.a'
   9089       soname_spec='${libname}${release}${shared_ext}$major'
   9090     fi
   9091     shlibpath_var=LIBPATH
   9092   fi
   9093   ;;
   9094 
   9095 amigaos*)
   9096   library_names_spec='$libname.ixlibrary $libname.a'
   9097   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9098   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'
   9099   ;;
   9100 
   9101 beos*)
   9102   library_names_spec='${libname}${shared_ext}'
   9103   dynamic_linker="$host_os ld.so"
   9104   shlibpath_var=LIBRARY_PATH
   9105   ;;
   9106 
   9107 bsdi[45]*)
   9108   version_type=linux
   9109   need_version=no
   9110   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9111   soname_spec='${libname}${release}${shared_ext}$major'
   9112   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9113   shlibpath_var=LD_LIBRARY_PATH
   9114   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9115   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9116   # the default ld.so.conf also contains /usr/contrib/lib and
   9117   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9118   # libtool to hard-code these into programs
   9119   ;;
   9120 
   9121 cygwin* | mingw* | pw32*)
   9122   version_type=windows
   9123   shrext_cmds=".dll"
   9124   need_version=no
   9125   need_lib_prefix=no
   9126 
   9127   case $GCC,$host_os in
   9128   yes,cygwin* | yes,mingw* | yes,pw32*)
   9129     library_names_spec='$libname.dll.a'
   9130     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9131     postinstall_cmds='base_file=`basename \${file}`~
   9132       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9133       dldir=$destdir/`dirname \$dlpath`~
   9134       test -d \$dldir || mkdir -p \$dldir~
   9135       $install_prog $dir/$dlname \$dldir/$dlname~
   9136       chmod a+x \$dldir/$dlname'
   9137     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9138       dlpath=$dir/\$dldll~
   9139        $rm \$dlpath'
   9140     shlibpath_overrides_runpath=yes
   9141 
   9142     case $host_os in
   9143     cygwin*)
   9144       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9145       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9146       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9147       ;;
   9148     mingw*)
   9149       # MinGW DLLs use traditional 'lib' prefix
   9150       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9151       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9152       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9153         # It is most probably a Windows format PATH printed by
   9154         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9155         # path with ; separators, and with drive letters. We can handle the
   9156         # drive letters (cygwin fileutils understands them), so leave them,
   9157         # especially as we might pass files found there to a mingw objdump,
   9158         # which wouldn't understand a cygwinified path. Ahh.
   9159         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9160       else
   9161         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9162       fi
   9163       ;;
   9164     pw32*)
   9165       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9166       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9167       ;;
   9168     esac
   9169     ;;
   9170 
   9171   *)
   9172     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9173     ;;
   9174   esac
   9175   dynamic_linker='Win32 ld.exe'
   9176   # FIXME: first we should search . and the directory the executable is in
   9177   shlibpath_var=PATH
   9178   ;;
   9179 
   9180 darwin* | rhapsody*)
   9181   dynamic_linker="$host_os dyld"
   9182   version_type=darwin
   9183   need_lib_prefix=no
   9184   need_version=no
   9185   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9186   soname_spec='${libname}${release}${major}$shared_ext'
   9187   shlibpath_overrides_runpath=yes
   9188   shlibpath_var=DYLD_LIBRARY_PATH
   9189   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9190 
   9191   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9192   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9193   ;;
   9194 
   9195 dgux*)
   9196   version_type=linux
   9197   need_lib_prefix=no
   9198   need_version=no
   9199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9200   soname_spec='${libname}${release}${shared_ext}$major'
   9201   shlibpath_var=LD_LIBRARY_PATH
   9202   ;;
   9203 
   9204 freebsd1*)
   9205   dynamic_linker=no
   9206   ;;
   9207 
   9208 freebsd* | dragonfly*)
   9209   # DragonFly does not have aout.  When/if they implement a new
   9210   # versioning mechanism, adjust this.
   9211   if test -x /usr/bin/objformat; then
   9212     objformat=`/usr/bin/objformat`
   9213   else
   9214     case $host_os in
   9215     freebsd[123]*) objformat=aout ;;
   9216     *) objformat=elf ;;
   9217     esac
   9218   fi
   9219   version_type=freebsd-$objformat
   9220   case $version_type in
   9221     freebsd-elf*)
   9222       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9223       need_version=no
   9224       need_lib_prefix=no
   9225       ;;
   9226     freebsd-*)
   9227       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9228       need_version=yes
   9229       ;;
   9230   esac
   9231   shlibpath_var=LD_LIBRARY_PATH
   9232   case $host_os in
   9233   freebsd2*)
   9234     shlibpath_overrides_runpath=yes
   9235     ;;
   9236   freebsd3.[01]* | freebsdelf3.[01]*)
   9237     shlibpath_overrides_runpath=yes
   9238     hardcode_into_libs=yes
   9239     ;;
   9240   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9241   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9242     shlibpath_overrides_runpath=no
   9243     hardcode_into_libs=yes
   9244     ;;
   9245   *) # from 4.6 on, and DragonFly
   9246     shlibpath_overrides_runpath=yes
   9247     hardcode_into_libs=yes
   9248     ;;
   9249   esac
   9250   ;;
   9251 
   9252 gnu*)
   9253   version_type=linux
   9254   need_lib_prefix=no
   9255   need_version=no
   9256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9257   soname_spec='${libname}${release}${shared_ext}$major'
   9258   shlibpath_var=LD_LIBRARY_PATH
   9259   hardcode_into_libs=yes
   9260   ;;
   9261 
   9262 hpux9* | hpux10* | hpux11*)
   9263   # Give a soname corresponding to the major version so that dld.sl refuses to
   9264   # link against other versions.
   9265   version_type=sunos
   9266   need_lib_prefix=no
   9267   need_version=no
   9268   case $host_cpu in
   9269   ia64*)
   9270     shrext_cmds='.so'
   9271     hardcode_into_libs=yes
   9272     dynamic_linker="$host_os dld.so"
   9273     shlibpath_var=LD_LIBRARY_PATH
   9274     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9275     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9276     soname_spec='${libname}${release}${shared_ext}$major'
   9277     if test "X$HPUX_IA64_MODE" = X32; then
   9278       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9279     else
   9280       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9281     fi
   9282     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9283     ;;
   9284    hppa*64*)
   9285      shrext_cmds='.sl'
   9286      hardcode_into_libs=yes
   9287      dynamic_linker="$host_os dld.sl"
   9288      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9289      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9290      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9291      soname_spec='${libname}${release}${shared_ext}$major'
   9292      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9293      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9294      ;;
   9295    *)
   9296     shrext_cmds='.sl'
   9297     dynamic_linker="$host_os dld.sl"
   9298     shlibpath_var=SHLIB_PATH
   9299     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9300     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9301     soname_spec='${libname}${release}${shared_ext}$major'
   9302     ;;
   9303   esac
   9304   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9305   postinstall_cmds='chmod 555 $lib'
   9306   ;;
   9307 
   9308 interix[3-9]*)
   9309   version_type=linux
   9310   need_lib_prefix=no
   9311   need_version=no
   9312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9313   soname_spec='${libname}${release}${shared_ext}$major'
   9314   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9315   shlibpath_var=LD_LIBRARY_PATH
   9316   shlibpath_overrides_runpath=no
   9317   hardcode_into_libs=yes
   9318   ;;
   9319 
   9320 irix5* | irix6* | nonstopux*)
   9321   case $host_os in
   9322     nonstopux*) version_type=nonstopux ;;
   9323     *)
   9324 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9325 		version_type=linux
   9326 	else
   9327 		version_type=irix
   9328 	fi ;;
   9329   esac
   9330   need_lib_prefix=no
   9331   need_version=no
   9332   soname_spec='${libname}${release}${shared_ext}$major'
   9333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9334   case $host_os in
   9335   irix5* | nonstopux*)
   9336     libsuff= shlibsuff=
   9337     ;;
   9338   *)
   9339     case $LD in # libtool.m4 will add one of these switches to LD
   9340     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9341       libsuff= shlibsuff= libmagic=32-bit;;
   9342     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9343       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9344     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9345       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9346     *) libsuff= shlibsuff= libmagic=never-match;;
   9347     esac
   9348     ;;
   9349   esac
   9350   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9351   shlibpath_overrides_runpath=no
   9352   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9353   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9354   hardcode_into_libs=yes
   9355   ;;
   9356 
   9357 # No shared lib support for Linux oldld, aout, or coff.
   9358 linux*oldld* | linux*aout* | linux*coff*)
   9359   dynamic_linker=no
   9360   ;;
   9361 
   9362 # This must be Linux ELF.
   9363 linux* | k*bsd*-gnu)
   9364   version_type=linux
   9365   need_lib_prefix=no
   9366   need_version=no
   9367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9368   soname_spec='${libname}${release}${shared_ext}$major'
   9369   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9370   shlibpath_var=LD_LIBRARY_PATH
   9371   shlibpath_overrides_runpath=no
   9372   # This implies no fast_install, which is unacceptable.
   9373   # Some rework will be needed to allow for fast_install
   9374   # before this can be enabled.
   9375   hardcode_into_libs=yes
   9376 
   9377   # Append ld.so.conf contents to the search path
   9378   if test -f /etc/ld.so.conf; then
   9379     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' ' '`
   9380     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9381   fi
   9382 
   9383   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9384   # powerpc, because MkLinux only supported shared libraries with the
   9385   # GNU dynamic linker.  Since this was broken with cross compilers,
   9386   # most powerpc-linux boxes support dynamic linking these days and
   9387   # people can always --disable-shared, the test was removed, and we
   9388   # assume the GNU/Linux dynamic linker is in use.
   9389   dynamic_linker='GNU/Linux ld.so'
   9390   ;;
   9391 
   9392 netbsdelf*-gnu)
   9393   version_type=linux
   9394   need_lib_prefix=no
   9395   need_version=no
   9396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9397   soname_spec='${libname}${release}${shared_ext}$major'
   9398   shlibpath_var=LD_LIBRARY_PATH
   9399   shlibpath_overrides_runpath=no
   9400   hardcode_into_libs=yes
   9401   dynamic_linker='NetBSD ld.elf_so'
   9402   ;;
   9403 
   9404 netbsd*)
   9405   version_type=sunos
   9406   need_lib_prefix=no
   9407   need_version=no
   9408   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9409     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9410     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9411     dynamic_linker='NetBSD (a.out) ld.so'
   9412   else
   9413     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9414     soname_spec='${libname}${release}${shared_ext}$major'
   9415     dynamic_linker='NetBSD ld.elf_so'
   9416   fi
   9417   shlibpath_var=LD_LIBRARY_PATH
   9418   shlibpath_overrides_runpath=yes
   9419   hardcode_into_libs=yes
   9420   ;;
   9421 
   9422 newsos6)
   9423   version_type=linux
   9424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9425   shlibpath_var=LD_LIBRARY_PATH
   9426   shlibpath_overrides_runpath=yes
   9427   ;;
   9428 
   9429 nto-qnx*)
   9430   version_type=linux
   9431   need_lib_prefix=no
   9432   need_version=no
   9433   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9434   soname_spec='${libname}${release}${shared_ext}$major'
   9435   shlibpath_var=LD_LIBRARY_PATH
   9436   shlibpath_overrides_runpath=yes
   9437   ;;
   9438 
   9439 openbsd*)
   9440   version_type=sunos
   9441   sys_lib_dlsearch_path_spec="/usr/lib"
   9442   need_lib_prefix=no
   9443   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9444   case $host_os in
   9445     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9446     *)                         need_version=no  ;;
   9447   esac
   9448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9449   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9450   shlibpath_var=LD_LIBRARY_PATH
   9451   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9452     case $host_os in
   9453       openbsd2.[89] | openbsd2.[89].*)
   9454 	shlibpath_overrides_runpath=no
   9455 	;;
   9456       *)
   9457 	shlibpath_overrides_runpath=yes
   9458 	;;
   9459       esac
   9460   else
   9461     shlibpath_overrides_runpath=yes
   9462   fi
   9463   ;;
   9464 
   9465 os2*)
   9466   libname_spec='$name'
   9467   shrext_cmds=".dll"
   9468   need_lib_prefix=no
   9469   library_names_spec='$libname${shared_ext} $libname.a'
   9470   dynamic_linker='OS/2 ld.exe'
   9471   shlibpath_var=LIBPATH
   9472   ;;
   9473 
   9474 osf3* | osf4* | osf5*)
   9475   version_type=osf
   9476   need_lib_prefix=no
   9477   need_version=no
   9478   soname_spec='${libname}${release}${shared_ext}$major'
   9479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9480   shlibpath_var=LD_LIBRARY_PATH
   9481   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9482   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9483   ;;
   9484 
   9485 rdos*)
   9486   dynamic_linker=no
   9487   ;;
   9488 
   9489 solaris*)
   9490   version_type=linux
   9491   need_lib_prefix=no
   9492   need_version=no
   9493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9494   soname_spec='${libname}${release}${shared_ext}$major'
   9495   shlibpath_var=LD_LIBRARY_PATH
   9496   shlibpath_overrides_runpath=yes
   9497   hardcode_into_libs=yes
   9498   # ldd complains unless libraries are executable
   9499   postinstall_cmds='chmod +x $lib'
   9500   ;;
   9501 
   9502 sunos4*)
   9503   version_type=sunos
   9504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9505   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9506   shlibpath_var=LD_LIBRARY_PATH
   9507   shlibpath_overrides_runpath=yes
   9508   if test "$with_gnu_ld" = yes; then
   9509     need_lib_prefix=no
   9510   fi
   9511   need_version=yes
   9512   ;;
   9513 
   9514 sysv4 | sysv4.3*)
   9515   version_type=linux
   9516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9517   soname_spec='${libname}${release}${shared_ext}$major'
   9518   shlibpath_var=LD_LIBRARY_PATH
   9519   case $host_vendor in
   9520     sni)
   9521       shlibpath_overrides_runpath=no
   9522       need_lib_prefix=no
   9523       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9524       runpath_var=LD_RUN_PATH
   9525       ;;
   9526     siemens)
   9527       need_lib_prefix=no
   9528       ;;
   9529     motorola)
   9530       need_lib_prefix=no
   9531       need_version=no
   9532       shlibpath_overrides_runpath=no
   9533       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9534       ;;
   9535   esac
   9536   ;;
   9537 
   9538 sysv4*MP*)
   9539   if test -d /usr/nec ;then
   9540     version_type=linux
   9541     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9542     soname_spec='$libname${shared_ext}.$major'
   9543     shlibpath_var=LD_LIBRARY_PATH
   9544   fi
   9545   ;;
   9546 
   9547 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9548   version_type=freebsd-elf
   9549   need_lib_prefix=no
   9550   need_version=no
   9551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9552   soname_spec='${libname}${release}${shared_ext}$major'
   9553   shlibpath_var=LD_LIBRARY_PATH
   9554   hardcode_into_libs=yes
   9555   if test "$with_gnu_ld" = yes; then
   9556     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9557     shlibpath_overrides_runpath=no
   9558   else
   9559     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9560     shlibpath_overrides_runpath=yes
   9561     case $host_os in
   9562       sco3.2v5*)
   9563         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9564 	;;
   9565     esac
   9566   fi
   9567   sys_lib_dlsearch_path_spec='/usr/lib'
   9568   ;;
   9569 
   9570 uts4*)
   9571   version_type=linux
   9572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9573   soname_spec='${libname}${release}${shared_ext}$major'
   9574   shlibpath_var=LD_LIBRARY_PATH
   9575   ;;
   9576 
   9577 *)
   9578   dynamic_linker=no
   9579   ;;
   9580 esac
   9581 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9582 echo "${ECHO_T}$dynamic_linker" >&6; }
   9583 test "$dynamic_linker" = no && can_build_shared=no
   9584 
   9585 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9586   echo $ECHO_N "(cached) $ECHO_C" >&6
   9587 else
   9588   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9589 fi
   9590 
   9591 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9592 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9593   echo $ECHO_N "(cached) $ECHO_C" >&6
   9594 else
   9595   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9596 fi
   9597 
   9598 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9599 
   9600 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9601 if test "$GCC" = yes; then
   9602   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9603 fi
   9604 
   9605 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9606 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9607 hardcode_action=
   9608 if test -n "$hardcode_libdir_flag_spec" || \
   9609    test -n "$runpath_var" || \
   9610    test "X$hardcode_automatic" = "Xyes" ; then
   9611 
   9612   # We can hardcode non-existant directories.
   9613   if test "$hardcode_direct" != no &&
   9614      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9615      # have to relink, otherwise we might link with an installed library
   9616      # when we should be linking with a yet-to-be-installed one
   9617      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9618      test "$hardcode_minus_L" != no; then
   9619     # Linking always hardcodes the temporary library directory.
   9620     hardcode_action=relink
   9621   else
   9622     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9623     hardcode_action=immediate
   9624   fi
   9625 else
   9626   # We cannot hardcode anything, or else we can only hardcode existing
   9627   # directories.
   9628   hardcode_action=unsupported
   9629 fi
   9630 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9631 echo "${ECHO_T}$hardcode_action" >&6; }
   9632 
   9633 if test "$hardcode_action" = relink; then
   9634   # Fast installation is not supported
   9635   enable_fast_install=no
   9636 elif test "$shlibpath_overrides_runpath" = yes ||
   9637      test "$enable_shared" = no; then
   9638   # Fast installation is not necessary
   9639   enable_fast_install=needless
   9640 fi
   9641 
   9642 striplib=
   9643 old_striplib=
   9644 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9645 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9646 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9647   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9648   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9649   { echo "$as_me:$LINENO: result: yes" >&5
   9650 echo "${ECHO_T}yes" >&6; }
   9651 else
   9652 # FIXME - insert some real tests, host_os isn't really good enough
   9653   case $host_os in
   9654    darwin*)
   9655        if test -n "$STRIP" ; then
   9656          striplib="$STRIP -x"
   9657          old_striplib="$STRIP -S"
   9658          { echo "$as_me:$LINENO: result: yes" >&5
   9659 echo "${ECHO_T}yes" >&6; }
   9660        else
   9661   { echo "$as_me:$LINENO: result: no" >&5
   9662 echo "${ECHO_T}no" >&6; }
   9663 fi
   9664        ;;
   9665    *)
   9666   { echo "$as_me:$LINENO: result: no" >&5
   9667 echo "${ECHO_T}no" >&6; }
   9668     ;;
   9669   esac
   9670 fi
   9671 
   9672 if test "x$enable_dlopen" != xyes; then
   9673   enable_dlopen=unknown
   9674   enable_dlopen_self=unknown
   9675   enable_dlopen_self_static=unknown
   9676 else
   9677   lt_cv_dlopen=no
   9678   lt_cv_dlopen_libs=
   9679 
   9680   case $host_os in
   9681   beos*)
   9682     lt_cv_dlopen="load_add_on"
   9683     lt_cv_dlopen_libs=
   9684     lt_cv_dlopen_self=yes
   9685     ;;
   9686 
   9687   mingw* | pw32*)
   9688     lt_cv_dlopen="LoadLibrary"
   9689     lt_cv_dlopen_libs=
   9690    ;;
   9691 
   9692   cygwin*)
   9693     lt_cv_dlopen="dlopen"
   9694     lt_cv_dlopen_libs=
   9695    ;;
   9696 
   9697   darwin*)
   9698   # if libdl is installed we need to link against it
   9699     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9700 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9701 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9702   echo $ECHO_N "(cached) $ECHO_C" >&6
   9703 else
   9704   ac_check_lib_save_LIBS=$LIBS
   9705 LIBS="-ldl  $LIBS"
   9706 cat >conftest.$ac_ext <<_ACEOF
   9707 /* confdefs.h.  */
   9708 _ACEOF
   9709 cat confdefs.h >>conftest.$ac_ext
   9710 cat >>conftest.$ac_ext <<_ACEOF
   9711 /* end confdefs.h.  */
   9712 
   9713 /* Override any GCC internal prototype to avoid an error.
   9714    Use char because int might match the return type of a GCC
   9715    builtin and then its argument prototype would still apply.  */
   9716 #ifdef __cplusplus
   9717 extern "C"
   9718 #endif
   9719 char dlopen ();
   9720 int
   9721 main ()
   9722 {
   9723 return dlopen ();
   9724   ;
   9725   return 0;
   9726 }
   9727 _ACEOF
   9728 rm -f conftest.$ac_objext conftest$ac_exeext
   9729 if { (ac_try="$ac_link"
   9730 case "(($ac_try" in
   9731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9732   *) ac_try_echo=$ac_try;;
   9733 esac
   9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9735   (eval "$ac_link") 2>conftest.er1
   9736   ac_status=$?
   9737   grep -v '^ *+' conftest.er1 >conftest.err
   9738   rm -f conftest.er1
   9739   cat conftest.err >&5
   9740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9741   (exit $ac_status); } && {
   9742 	 test -z "$ac_c_werror_flag" ||
   9743 	 test ! -s conftest.err
   9744        } && test -s conftest$ac_exeext &&
   9745        $as_test_x conftest$ac_exeext; then
   9746   ac_cv_lib_dl_dlopen=yes
   9747 else
   9748   echo "$as_me: failed program was:" >&5
   9749 sed 's/^/| /' conftest.$ac_ext >&5
   9750 
   9751 	ac_cv_lib_dl_dlopen=no
   9752 fi
   9753 
   9754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9755       conftest$ac_exeext conftest.$ac_ext
   9756 LIBS=$ac_check_lib_save_LIBS
   9757 fi
   9758 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9759 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9760 if test $ac_cv_lib_dl_dlopen = yes; then
   9761   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9762 else
   9763 
   9764     lt_cv_dlopen="dyld"
   9765     lt_cv_dlopen_libs=
   9766     lt_cv_dlopen_self=yes
   9767 
   9768 fi
   9769 
   9770    ;;
   9771 
   9772   *)
   9773     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9774 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9775 if test "${ac_cv_func_shl_load+set}" = set; then
   9776   echo $ECHO_N "(cached) $ECHO_C" >&6
   9777 else
   9778   cat >conftest.$ac_ext <<_ACEOF
   9779 /* confdefs.h.  */
   9780 _ACEOF
   9781 cat confdefs.h >>conftest.$ac_ext
   9782 cat >>conftest.$ac_ext <<_ACEOF
   9783 /* end confdefs.h.  */
   9784 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9786 #define shl_load innocuous_shl_load
   9787 
   9788 /* System header to define __stub macros and hopefully few prototypes,
   9789     which can conflict with char shl_load (); below.
   9790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9791     <limits.h> exists even on freestanding compilers.  */
   9792 
   9793 #ifdef __STDC__
   9794 # include <limits.h>
   9795 #else
   9796 # include <assert.h>
   9797 #endif
   9798 
   9799 #undef shl_load
   9800 
   9801 /* Override any GCC internal prototype to avoid an error.
   9802    Use char because int might match the return type of a GCC
   9803    builtin and then its argument prototype would still apply.  */
   9804 #ifdef __cplusplus
   9805 extern "C"
   9806 #endif
   9807 char shl_load ();
   9808 /* The GNU C library defines this for functions which it implements
   9809     to always fail with ENOSYS.  Some functions are actually named
   9810     something starting with __ and the normal name is an alias.  */
   9811 #if defined __stub_shl_load || defined __stub___shl_load
   9812 choke me
   9813 #endif
   9814 
   9815 int
   9816 main ()
   9817 {
   9818 return shl_load ();
   9819   ;
   9820   return 0;
   9821 }
   9822 _ACEOF
   9823 rm -f conftest.$ac_objext conftest$ac_exeext
   9824 if { (ac_try="$ac_link"
   9825 case "(($ac_try" in
   9826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9827   *) ac_try_echo=$ac_try;;
   9828 esac
   9829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9830   (eval "$ac_link") 2>conftest.er1
   9831   ac_status=$?
   9832   grep -v '^ *+' conftest.er1 >conftest.err
   9833   rm -f conftest.er1
   9834   cat conftest.err >&5
   9835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9836   (exit $ac_status); } && {
   9837 	 test -z "$ac_c_werror_flag" ||
   9838 	 test ! -s conftest.err
   9839        } && test -s conftest$ac_exeext &&
   9840        $as_test_x conftest$ac_exeext; then
   9841   ac_cv_func_shl_load=yes
   9842 else
   9843   echo "$as_me: failed program was:" >&5
   9844 sed 's/^/| /' conftest.$ac_ext >&5
   9845 
   9846 	ac_cv_func_shl_load=no
   9847 fi
   9848 
   9849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9850       conftest$ac_exeext conftest.$ac_ext
   9851 fi
   9852 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9853 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9854 if test $ac_cv_func_shl_load = yes; then
   9855   lt_cv_dlopen="shl_load"
   9856 else
   9857   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9858 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9859 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9860   echo $ECHO_N "(cached) $ECHO_C" >&6
   9861 else
   9862   ac_check_lib_save_LIBS=$LIBS
   9863 LIBS="-ldld  $LIBS"
   9864 cat >conftest.$ac_ext <<_ACEOF
   9865 /* confdefs.h.  */
   9866 _ACEOF
   9867 cat confdefs.h >>conftest.$ac_ext
   9868 cat >>conftest.$ac_ext <<_ACEOF
   9869 /* end confdefs.h.  */
   9870 
   9871 /* Override any GCC internal prototype to avoid an error.
   9872    Use char because int might match the return type of a GCC
   9873    builtin and then its argument prototype would still apply.  */
   9874 #ifdef __cplusplus
   9875 extern "C"
   9876 #endif
   9877 char shl_load ();
   9878 int
   9879 main ()
   9880 {
   9881 return shl_load ();
   9882   ;
   9883   return 0;
   9884 }
   9885 _ACEOF
   9886 rm -f conftest.$ac_objext conftest$ac_exeext
   9887 if { (ac_try="$ac_link"
   9888 case "(($ac_try" in
   9889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9890   *) ac_try_echo=$ac_try;;
   9891 esac
   9892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9893   (eval "$ac_link") 2>conftest.er1
   9894   ac_status=$?
   9895   grep -v '^ *+' conftest.er1 >conftest.err
   9896   rm -f conftest.er1
   9897   cat conftest.err >&5
   9898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9899   (exit $ac_status); } && {
   9900 	 test -z "$ac_c_werror_flag" ||
   9901 	 test ! -s conftest.err
   9902        } && test -s conftest$ac_exeext &&
   9903        $as_test_x conftest$ac_exeext; then
   9904   ac_cv_lib_dld_shl_load=yes
   9905 else
   9906   echo "$as_me: failed program was:" >&5
   9907 sed 's/^/| /' conftest.$ac_ext >&5
   9908 
   9909 	ac_cv_lib_dld_shl_load=no
   9910 fi
   9911 
   9912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9913       conftest$ac_exeext conftest.$ac_ext
   9914 LIBS=$ac_check_lib_save_LIBS
   9915 fi
   9916 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9917 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9918 if test $ac_cv_lib_dld_shl_load = yes; then
   9919   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   9920 else
   9921   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9922 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9923 if test "${ac_cv_func_dlopen+set}" = set; then
   9924   echo $ECHO_N "(cached) $ECHO_C" >&6
   9925 else
   9926   cat >conftest.$ac_ext <<_ACEOF
   9927 /* confdefs.h.  */
   9928 _ACEOF
   9929 cat confdefs.h >>conftest.$ac_ext
   9930 cat >>conftest.$ac_ext <<_ACEOF
   9931 /* end confdefs.h.  */
   9932 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9934 #define dlopen innocuous_dlopen
   9935 
   9936 /* System header to define __stub macros and hopefully few prototypes,
   9937     which can conflict with char dlopen (); below.
   9938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9939     <limits.h> exists even on freestanding compilers.  */
   9940 
   9941 #ifdef __STDC__
   9942 # include <limits.h>
   9943 #else
   9944 # include <assert.h>
   9945 #endif
   9946 
   9947 #undef dlopen
   9948 
   9949 /* Override any GCC internal prototype to avoid an error.
   9950    Use char because int might match the return type of a GCC
   9951    builtin and then its argument prototype would still apply.  */
   9952 #ifdef __cplusplus
   9953 extern "C"
   9954 #endif
   9955 char dlopen ();
   9956 /* The GNU C library defines this for functions which it implements
   9957     to always fail with ENOSYS.  Some functions are actually named
   9958     something starting with __ and the normal name is an alias.  */
   9959 #if defined __stub_dlopen || defined __stub___dlopen
   9960 choke me
   9961 #endif
   9962 
   9963 int
   9964 main ()
   9965 {
   9966 return dlopen ();
   9967   ;
   9968   return 0;
   9969 }
   9970 _ACEOF
   9971 rm -f conftest.$ac_objext conftest$ac_exeext
   9972 if { (ac_try="$ac_link"
   9973 case "(($ac_try" in
   9974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9975   *) ac_try_echo=$ac_try;;
   9976 esac
   9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9978   (eval "$ac_link") 2>conftest.er1
   9979   ac_status=$?
   9980   grep -v '^ *+' conftest.er1 >conftest.err
   9981   rm -f conftest.er1
   9982   cat conftest.err >&5
   9983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9984   (exit $ac_status); } && {
   9985 	 test -z "$ac_c_werror_flag" ||
   9986 	 test ! -s conftest.err
   9987        } && test -s conftest$ac_exeext &&
   9988        $as_test_x conftest$ac_exeext; then
   9989   ac_cv_func_dlopen=yes
   9990 else
   9991   echo "$as_me: failed program was:" >&5
   9992 sed 's/^/| /' conftest.$ac_ext >&5
   9993 
   9994 	ac_cv_func_dlopen=no
   9995 fi
   9996 
   9997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9998       conftest$ac_exeext conftest.$ac_ext
   9999 fi
   10000 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10001 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   10002 if test $ac_cv_func_dlopen = yes; then
   10003   lt_cv_dlopen="dlopen"
   10004 else
   10005   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10006 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   10007 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10008   echo $ECHO_N "(cached) $ECHO_C" >&6
   10009 else
   10010   ac_check_lib_save_LIBS=$LIBS
   10011 LIBS="-ldl  $LIBS"
   10012 cat >conftest.$ac_ext <<_ACEOF
   10013 /* confdefs.h.  */
   10014 _ACEOF
   10015 cat confdefs.h >>conftest.$ac_ext
   10016 cat >>conftest.$ac_ext <<_ACEOF
   10017 /* end confdefs.h.  */
   10018 
   10019 /* Override any GCC internal prototype to avoid an error.
   10020    Use char because int might match the return type of a GCC
   10021    builtin and then its argument prototype would still apply.  */
   10022 #ifdef __cplusplus
   10023 extern "C"
   10024 #endif
   10025 char dlopen ();
   10026 int
   10027 main ()
   10028 {
   10029 return dlopen ();
   10030   ;
   10031   return 0;
   10032 }
   10033 _ACEOF
   10034 rm -f conftest.$ac_objext conftest$ac_exeext
   10035 if { (ac_try="$ac_link"
   10036 case "(($ac_try" in
   10037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10038   *) ac_try_echo=$ac_try;;
   10039 esac
   10040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10041   (eval "$ac_link") 2>conftest.er1
   10042   ac_status=$?
   10043   grep -v '^ *+' conftest.er1 >conftest.err
   10044   rm -f conftest.er1
   10045   cat conftest.err >&5
   10046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10047   (exit $ac_status); } && {
   10048 	 test -z "$ac_c_werror_flag" ||
   10049 	 test ! -s conftest.err
   10050        } && test -s conftest$ac_exeext &&
   10051        $as_test_x conftest$ac_exeext; then
   10052   ac_cv_lib_dl_dlopen=yes
   10053 else
   10054   echo "$as_me: failed program was:" >&5
   10055 sed 's/^/| /' conftest.$ac_ext >&5
   10056 
   10057 	ac_cv_lib_dl_dlopen=no
   10058 fi
   10059 
   10060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10061       conftest$ac_exeext conftest.$ac_ext
   10062 LIBS=$ac_check_lib_save_LIBS
   10063 fi
   10064 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10065 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10066 if test $ac_cv_lib_dl_dlopen = yes; then
   10067   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10068 else
   10069   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10070 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10071 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10072   echo $ECHO_N "(cached) $ECHO_C" >&6
   10073 else
   10074   ac_check_lib_save_LIBS=$LIBS
   10075 LIBS="-lsvld  $LIBS"
   10076 cat >conftest.$ac_ext <<_ACEOF
   10077 /* confdefs.h.  */
   10078 _ACEOF
   10079 cat confdefs.h >>conftest.$ac_ext
   10080 cat >>conftest.$ac_ext <<_ACEOF
   10081 /* end confdefs.h.  */
   10082 
   10083 /* Override any GCC internal prototype to avoid an error.
   10084    Use char because int might match the return type of a GCC
   10085    builtin and then its argument prototype would still apply.  */
   10086 #ifdef __cplusplus
   10087 extern "C"
   10088 #endif
   10089 char dlopen ();
   10090 int
   10091 main ()
   10092 {
   10093 return dlopen ();
   10094   ;
   10095   return 0;
   10096 }
   10097 _ACEOF
   10098 rm -f conftest.$ac_objext conftest$ac_exeext
   10099 if { (ac_try="$ac_link"
   10100 case "(($ac_try" in
   10101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10102   *) ac_try_echo=$ac_try;;
   10103 esac
   10104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10105   (eval "$ac_link") 2>conftest.er1
   10106   ac_status=$?
   10107   grep -v '^ *+' conftest.er1 >conftest.err
   10108   rm -f conftest.er1
   10109   cat conftest.err >&5
   10110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10111   (exit $ac_status); } && {
   10112 	 test -z "$ac_c_werror_flag" ||
   10113 	 test ! -s conftest.err
   10114        } && test -s conftest$ac_exeext &&
   10115        $as_test_x conftest$ac_exeext; then
   10116   ac_cv_lib_svld_dlopen=yes
   10117 else
   10118   echo "$as_me: failed program was:" >&5
   10119 sed 's/^/| /' conftest.$ac_ext >&5
   10120 
   10121 	ac_cv_lib_svld_dlopen=no
   10122 fi
   10123 
   10124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10125       conftest$ac_exeext conftest.$ac_ext
   10126 LIBS=$ac_check_lib_save_LIBS
   10127 fi
   10128 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10129 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10130 if test $ac_cv_lib_svld_dlopen = yes; then
   10131   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10132 else
   10133   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10134 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10135 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10136   echo $ECHO_N "(cached) $ECHO_C" >&6
   10137 else
   10138   ac_check_lib_save_LIBS=$LIBS
   10139 LIBS="-ldld  $LIBS"
   10140 cat >conftest.$ac_ext <<_ACEOF
   10141 /* confdefs.h.  */
   10142 _ACEOF
   10143 cat confdefs.h >>conftest.$ac_ext
   10144 cat >>conftest.$ac_ext <<_ACEOF
   10145 /* end confdefs.h.  */
   10146 
   10147 /* Override any GCC internal prototype to avoid an error.
   10148    Use char because int might match the return type of a GCC
   10149    builtin and then its argument prototype would still apply.  */
   10150 #ifdef __cplusplus
   10151 extern "C"
   10152 #endif
   10153 char dld_link ();
   10154 int
   10155 main ()
   10156 {
   10157 return dld_link ();
   10158   ;
   10159   return 0;
   10160 }
   10161 _ACEOF
   10162 rm -f conftest.$ac_objext conftest$ac_exeext
   10163 if { (ac_try="$ac_link"
   10164 case "(($ac_try" in
   10165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10166   *) ac_try_echo=$ac_try;;
   10167 esac
   10168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10169   (eval "$ac_link") 2>conftest.er1
   10170   ac_status=$?
   10171   grep -v '^ *+' conftest.er1 >conftest.err
   10172   rm -f conftest.er1
   10173   cat conftest.err >&5
   10174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10175   (exit $ac_status); } && {
   10176 	 test -z "$ac_c_werror_flag" ||
   10177 	 test ! -s conftest.err
   10178        } && test -s conftest$ac_exeext &&
   10179        $as_test_x conftest$ac_exeext; then
   10180   ac_cv_lib_dld_dld_link=yes
   10181 else
   10182   echo "$as_me: failed program was:" >&5
   10183 sed 's/^/| /' conftest.$ac_ext >&5
   10184 
   10185 	ac_cv_lib_dld_dld_link=no
   10186 fi
   10187 
   10188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10189       conftest$ac_exeext conftest.$ac_ext
   10190 LIBS=$ac_check_lib_save_LIBS
   10191 fi
   10192 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10193 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10194 if test $ac_cv_lib_dld_dld_link = yes; then
   10195   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10196 fi
   10197 
   10198 
   10199 fi
   10200 
   10201 
   10202 fi
   10203 
   10204 
   10205 fi
   10206 
   10207 
   10208 fi
   10209 
   10210 
   10211 fi
   10212 
   10213     ;;
   10214   esac
   10215 
   10216   if test "x$lt_cv_dlopen" != xno; then
   10217     enable_dlopen=yes
   10218   else
   10219     enable_dlopen=no
   10220   fi
   10221 
   10222   case $lt_cv_dlopen in
   10223   dlopen)
   10224     save_CPPFLAGS="$CPPFLAGS"
   10225     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10226 
   10227     save_LDFLAGS="$LDFLAGS"
   10228     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10229 
   10230     save_LIBS="$LIBS"
   10231     LIBS="$lt_cv_dlopen_libs $LIBS"
   10232 
   10233     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10234 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10235 if test "${lt_cv_dlopen_self+set}" = set; then
   10236   echo $ECHO_N "(cached) $ECHO_C" >&6
   10237 else
   10238   	  if test "$cross_compiling" = yes; then :
   10239   lt_cv_dlopen_self=cross
   10240 else
   10241   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10242   lt_status=$lt_dlunknown
   10243   cat > conftest.$ac_ext <<EOF
   10244 #line 10244 "configure"
   10245 #include "confdefs.h"
   10246 
   10247 #if HAVE_DLFCN_H
   10248 #include <dlfcn.h>
   10249 #endif
   10250 
   10251 #include <stdio.h>
   10252 
   10253 #ifdef RTLD_GLOBAL
   10254 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10255 #else
   10256 #  ifdef DL_GLOBAL
   10257 #    define LT_DLGLOBAL		DL_GLOBAL
   10258 #  else
   10259 #    define LT_DLGLOBAL		0
   10260 #  endif
   10261 #endif
   10262 
   10263 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10264    find out it does not work in some platform. */
   10265 #ifndef LT_DLLAZY_OR_NOW
   10266 #  ifdef RTLD_LAZY
   10267 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10268 #  else
   10269 #    ifdef DL_LAZY
   10270 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10271 #    else
   10272 #      ifdef RTLD_NOW
   10273 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10274 #      else
   10275 #        ifdef DL_NOW
   10276 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10277 #        else
   10278 #          define LT_DLLAZY_OR_NOW	0
   10279 #        endif
   10280 #      endif
   10281 #    endif
   10282 #  endif
   10283 #endif
   10284 
   10285 #ifdef __cplusplus
   10286 extern "C" void exit (int);
   10287 #endif
   10288 
   10289 void fnord() { int i=42;}
   10290 int main ()
   10291 {
   10292   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10293   int status = $lt_dlunknown;
   10294 
   10295   if (self)
   10296     {
   10297       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10298       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10299       /* dlclose (self); */
   10300     }
   10301   else
   10302     puts (dlerror ());
   10303 
   10304     exit (status);
   10305 }
   10306 EOF
   10307   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10308   (eval $ac_link) 2>&5
   10309   ac_status=$?
   10310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10311   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10312     (./conftest; exit; ) >&5 2>/dev/null
   10313     lt_status=$?
   10314     case x$lt_status in
   10315       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10316       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10317       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10318     esac
   10319   else :
   10320     # compilation failed
   10321     lt_cv_dlopen_self=no
   10322   fi
   10323 fi
   10324 rm -fr conftest*
   10325 
   10326 
   10327 fi
   10328 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10329 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10330 
   10331     if test "x$lt_cv_dlopen_self" = xyes; then
   10332       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10333       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10334 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10335 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10336   echo $ECHO_N "(cached) $ECHO_C" >&6
   10337 else
   10338   	  if test "$cross_compiling" = yes; then :
   10339   lt_cv_dlopen_self_static=cross
   10340 else
   10341   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10342   lt_status=$lt_dlunknown
   10343   cat > conftest.$ac_ext <<EOF
   10344 #line 10344 "configure"
   10345 #include "confdefs.h"
   10346 
   10347 #if HAVE_DLFCN_H
   10348 #include <dlfcn.h>
   10349 #endif
   10350 
   10351 #include <stdio.h>
   10352 
   10353 #ifdef RTLD_GLOBAL
   10354 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10355 #else
   10356 #  ifdef DL_GLOBAL
   10357 #    define LT_DLGLOBAL		DL_GLOBAL
   10358 #  else
   10359 #    define LT_DLGLOBAL		0
   10360 #  endif
   10361 #endif
   10362 
   10363 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10364    find out it does not work in some platform. */
   10365 #ifndef LT_DLLAZY_OR_NOW
   10366 #  ifdef RTLD_LAZY
   10367 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10368 #  else
   10369 #    ifdef DL_LAZY
   10370 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10371 #    else
   10372 #      ifdef RTLD_NOW
   10373 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10374 #      else
   10375 #        ifdef DL_NOW
   10376 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10377 #        else
   10378 #          define LT_DLLAZY_OR_NOW	0
   10379 #        endif
   10380 #      endif
   10381 #    endif
   10382 #  endif
   10383 #endif
   10384 
   10385 #ifdef __cplusplus
   10386 extern "C" void exit (int);
   10387 #endif
   10388 
   10389 void fnord() { int i=42;}
   10390 int main ()
   10391 {
   10392   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10393   int status = $lt_dlunknown;
   10394 
   10395   if (self)
   10396     {
   10397       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10398       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10399       /* dlclose (self); */
   10400     }
   10401   else
   10402     puts (dlerror ());
   10403 
   10404     exit (status);
   10405 }
   10406 EOF
   10407   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10408   (eval $ac_link) 2>&5
   10409   ac_status=$?
   10410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10411   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10412     (./conftest; exit; ) >&5 2>/dev/null
   10413     lt_status=$?
   10414     case x$lt_status in
   10415       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10416       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10417       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10418     esac
   10419   else :
   10420     # compilation failed
   10421     lt_cv_dlopen_self_static=no
   10422   fi
   10423 fi
   10424 rm -fr conftest*
   10425 
   10426 
   10427 fi
   10428 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10429 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10430     fi
   10431 
   10432     CPPFLAGS="$save_CPPFLAGS"
   10433     LDFLAGS="$save_LDFLAGS"
   10434     LIBS="$save_LIBS"
   10435     ;;
   10436   esac
   10437 
   10438   case $lt_cv_dlopen_self in
   10439   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10440   *) enable_dlopen_self=unknown ;;
   10441   esac
   10442 
   10443   case $lt_cv_dlopen_self_static in
   10444   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10445   *) enable_dlopen_self_static=unknown ;;
   10446   esac
   10447 fi
   10448 
   10449 
   10450 # Report which library types will actually be built
   10451 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10452 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10453 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10454 echo "${ECHO_T}$can_build_shared" >&6; }
   10455 
   10456 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10457 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10458 test "$can_build_shared" = "no" && enable_shared=no
   10459 
   10460 # On AIX, shared libraries and static libraries use the same namespace, and
   10461 # are all built from PIC.
   10462 case $host_os in
   10463 aix3*)
   10464   test "$enable_shared" = yes && enable_static=no
   10465   if test -n "$RANLIB"; then
   10466     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10467     postinstall_cmds='$RANLIB $lib'
   10468   fi
   10469   ;;
   10470 
   10471 aix[4-9]*)
   10472   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10473     test "$enable_shared" = yes && enable_static=no
   10474   fi
   10475     ;;
   10476 esac
   10477 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10478 echo "${ECHO_T}$enable_shared" >&6; }
   10479 
   10480 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10481 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10482 # Make sure either enable_shared or enable_static is yes.
   10483 test "$enable_shared" = yes || enable_static=yes
   10484 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10485 echo "${ECHO_T}$enable_static" >&6; }
   10486 
   10487 # The else clause should only fire when bootstrapping the
   10488 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10489 # with your package, and you will get complaints that there are
   10490 # no rules to generate ltmain.sh.
   10491 if test -f "$ltmain"; then
   10492   # See if we are running on zsh, and set the options which allow our commands through
   10493   # without removal of \ escapes.
   10494   if test -n "${ZSH_VERSION+set}" ; then
   10495     setopt NO_GLOB_SUBST
   10496   fi
   10497   # Now quote all the things that may contain metacharacters while being
   10498   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10499   # variables and quote the copies for generation of the libtool script.
   10500   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10501     SED SHELL STRIP \
   10502     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10503     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10504     deplibs_check_method reload_flag reload_cmds need_locks \
   10505     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10506     lt_cv_sys_global_symbol_to_c_name_address \
   10507     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10508     old_postinstall_cmds old_postuninstall_cmds \
   10509     compiler \
   10510     CC \
   10511     LD \
   10512     lt_prog_compiler_wl \
   10513     lt_prog_compiler_pic \
   10514     lt_prog_compiler_static \
   10515     lt_prog_compiler_no_builtin_flag \
   10516     export_dynamic_flag_spec \
   10517     thread_safe_flag_spec \
   10518     whole_archive_flag_spec \
   10519     enable_shared_with_static_runtimes \
   10520     old_archive_cmds \
   10521     old_archive_from_new_cmds \
   10522     predep_objects \
   10523     postdep_objects \
   10524     predeps \
   10525     postdeps \
   10526     compiler_lib_search_path \
   10527     compiler_lib_search_dirs \
   10528     archive_cmds \
   10529     archive_expsym_cmds \
   10530     postinstall_cmds \
   10531     postuninstall_cmds \
   10532     old_archive_from_expsyms_cmds \
   10533     allow_undefined_flag \
   10534     no_undefined_flag \
   10535     export_symbols_cmds \
   10536     hardcode_libdir_flag_spec \
   10537     hardcode_libdir_flag_spec_ld \
   10538     hardcode_libdir_separator \
   10539     hardcode_automatic \
   10540     module_cmds \
   10541     module_expsym_cmds \
   10542     lt_cv_prog_compiler_c_o \
   10543     fix_srcfile_path \
   10544     exclude_expsyms \
   10545     include_expsyms; do
   10546 
   10547     case $var in
   10548     old_archive_cmds | \
   10549     old_archive_from_new_cmds | \
   10550     archive_cmds | \
   10551     archive_expsym_cmds | \
   10552     module_cmds | \
   10553     module_expsym_cmds | \
   10554     old_archive_from_expsyms_cmds | \
   10555     export_symbols_cmds | \
   10556     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10557     postinstall_cmds | postuninstall_cmds | \
   10558     old_postinstall_cmds | old_postuninstall_cmds | \
   10559     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10560       # Double-quote double-evaled strings.
   10561       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10562       ;;
   10563     *)
   10564       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10565       ;;
   10566     esac
   10567   done
   10568 
   10569   case $lt_echo in
   10570   *'\$0 --fallback-echo"')
   10571     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10572     ;;
   10573   esac
   10574 
   10575 cfgfile="${ofile}T"
   10576   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10577   $rm -f "$cfgfile"
   10578   { echo "$as_me:$LINENO: creating $ofile" >&5
   10579 echo "$as_me: creating $ofile" >&6;}
   10580 
   10581   cat <<__EOF__ >> "$cfgfile"
   10582 #! $SHELL
   10583 
   10584 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10585 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10586 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10587 #
   10588 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10589 # Free Software Foundation, Inc.
   10590 #
   10591 # This file is part of GNU Libtool:
   10592 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10593 #
   10594 # This program is free software; you can redistribute it and/or modify
   10595 # it under the terms of the GNU General Public License as published by
   10596 # the Free Software Foundation; either version 2 of the License, or
   10597 # (at your option) any later version.
   10598 #
   10599 # This program is distributed in the hope that it will be useful, but
   10600 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10601 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10602 # General Public License for more details.
   10603 #
   10604 # You should have received a copy of the GNU General Public License
   10605 # along with this program; if not, write to the Free Software
   10606 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10607 #
   10608 # As a special exception to the GNU General Public License, if you
   10609 # distribute this file as part of a program that contains a
   10610 # configuration script generated by Autoconf, you may include it under
   10611 # the same distribution terms that you use for the rest of that program.
   10612 
   10613 # A sed program that does not truncate output.
   10614 SED=$lt_SED
   10615 
   10616 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10617 Xsed="$SED -e 1s/^X//"
   10618 
   10619 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10620 # if CDPATH is set.
   10621 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10622 
   10623 # The names of the tagged configurations supported by this script.
   10624 available_tags=
   10625 
   10626 # ### BEGIN LIBTOOL CONFIG
   10627 
   10628 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10629 
   10630 # Shell to use when invoking shell scripts.
   10631 SHELL=$lt_SHELL
   10632 
   10633 # Whether or not to build shared libraries.
   10634 build_libtool_libs=$enable_shared
   10635 
   10636 # Whether or not to build static libraries.
   10637 build_old_libs=$enable_static
   10638 
   10639 # Whether or not to add -lc for building shared libraries.
   10640 build_libtool_need_lc=$archive_cmds_need_lc
   10641 
   10642 # Whether or not to disallow shared libs when runtime libs are static
   10643 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10644 
   10645 # Whether or not to optimize for fast installation.
   10646 fast_install=$enable_fast_install
   10647 
   10648 # The host system.
   10649 host_alias=$host_alias
   10650 host=$host
   10651 host_os=$host_os
   10652 
   10653 # The build system.
   10654 build_alias=$build_alias
   10655 build=$build
   10656 build_os=$build_os
   10657 
   10658 # An echo program that does not interpret backslashes.
   10659 echo=$lt_echo
   10660 
   10661 # The archiver.
   10662 AR=$lt_AR
   10663 AR_FLAGS=$lt_AR_FLAGS
   10664 
   10665 # A C compiler.
   10666 LTCC=$lt_LTCC
   10667 
   10668 # LTCC compiler flags.
   10669 LTCFLAGS=$lt_LTCFLAGS
   10670 
   10671 # A language-specific compiler.
   10672 CC=$lt_compiler
   10673 
   10674 # Is the compiler the GNU C compiler?
   10675 with_gcc=$GCC
   10676 
   10677 # An ERE matcher.
   10678 EGREP=$lt_EGREP
   10679 
   10680 # The linker used to build libraries.
   10681 LD=$lt_LD
   10682 
   10683 # Whether we need hard or soft links.
   10684 LN_S=$lt_LN_S
   10685 
   10686 # A BSD-compatible nm program.
   10687 NM=$lt_NM
   10688 
   10689 # A symbol stripping program
   10690 STRIP=$lt_STRIP
   10691 
   10692 # Used to examine libraries when file_magic_cmd begins "file"
   10693 MAGIC_CMD=$MAGIC_CMD
   10694 
   10695 # Used on cygwin: DLL creation program.
   10696 DLLTOOL="$DLLTOOL"
   10697 
   10698 # Used on cygwin: object dumper.
   10699 OBJDUMP="$OBJDUMP"
   10700 
   10701 # Used on cygwin: assembler.
   10702 AS="$AS"
   10703 
   10704 # The name of the directory that contains temporary libtool files.
   10705 objdir=$objdir
   10706 
   10707 # How to create reloadable object files.
   10708 reload_flag=$lt_reload_flag
   10709 reload_cmds=$lt_reload_cmds
   10710 
   10711 # How to pass a linker flag through the compiler.
   10712 wl=$lt_lt_prog_compiler_wl
   10713 
   10714 # Object file suffix (normally "o").
   10715 objext="$ac_objext"
   10716 
   10717 # Old archive suffix (normally "a").
   10718 libext="$libext"
   10719 
   10720 # Shared library suffix (normally ".so").
   10721 shrext_cmds='$shrext_cmds'
   10722 
   10723 # Executable file suffix (normally "").
   10724 exeext="$exeext"
   10725 
   10726 # Additional compiler flags for building library objects.
   10727 pic_flag=$lt_lt_prog_compiler_pic
   10728 pic_mode=$pic_mode
   10729 
   10730 # What is the maximum length of a command?
   10731 max_cmd_len=$lt_cv_sys_max_cmd_len
   10732 
   10733 # Does compiler simultaneously support -c and -o options?
   10734 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10735 
   10736 # Must we lock files when doing compilation?
   10737 need_locks=$lt_need_locks
   10738 
   10739 # Do we need the lib prefix for modules?
   10740 need_lib_prefix=$need_lib_prefix
   10741 
   10742 # Do we need a version for libraries?
   10743 need_version=$need_version
   10744 
   10745 # Whether dlopen is supported.
   10746 dlopen_support=$enable_dlopen
   10747 
   10748 # Whether dlopen of programs is supported.
   10749 dlopen_self=$enable_dlopen_self
   10750 
   10751 # Whether dlopen of statically linked programs is supported.
   10752 dlopen_self_static=$enable_dlopen_self_static
   10753 
   10754 # Compiler flag to prevent dynamic linking.
   10755 link_static_flag=$lt_lt_prog_compiler_static
   10756 
   10757 # Compiler flag to turn off builtin functions.
   10758 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10759 
   10760 # Compiler flag to allow reflexive dlopens.
   10761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10762 
   10763 # Compiler flag to generate shared objects directly from archives.
   10764 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10765 
   10766 # Compiler flag to generate thread-safe objects.
   10767 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10768 
   10769 # Library versioning type.
   10770 version_type=$version_type
   10771 
   10772 # Format of library name prefix.
   10773 libname_spec=$lt_libname_spec
   10774 
   10775 # List of archive names.  First name is the real one, the rest are links.
   10776 # The last name is the one that the linker finds with -lNAME.
   10777 library_names_spec=$lt_library_names_spec
   10778 
   10779 # The coded name of the library, if different from the real name.
   10780 soname_spec=$lt_soname_spec
   10781 
   10782 # Commands used to build and install an old-style archive.
   10783 RANLIB=$lt_RANLIB
   10784 old_archive_cmds=$lt_old_archive_cmds
   10785 old_postinstall_cmds=$lt_old_postinstall_cmds
   10786 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10787 
   10788 # Create an old-style archive from a shared archive.
   10789 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10790 
   10791 # Create a temporary old-style archive to link instead of a shared archive.
   10792 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10793 
   10794 # Commands used to build and install a shared archive.
   10795 archive_cmds=$lt_archive_cmds
   10796 archive_expsym_cmds=$lt_archive_expsym_cmds
   10797 postinstall_cmds=$lt_postinstall_cmds
   10798 postuninstall_cmds=$lt_postuninstall_cmds
   10799 
   10800 # Commands used to build a loadable module (assumed same as above if empty)
   10801 module_cmds=$lt_module_cmds
   10802 module_expsym_cmds=$lt_module_expsym_cmds
   10803 
   10804 # Commands to strip libraries.
   10805 old_striplib=$lt_old_striplib
   10806 striplib=$lt_striplib
   10807 
   10808 # Dependencies to place before the objects being linked to create a
   10809 # shared library.
   10810 predep_objects=$lt_predep_objects
   10811 
   10812 # Dependencies to place after the objects being linked to create a
   10813 # shared library.
   10814 postdep_objects=$lt_postdep_objects
   10815 
   10816 # Dependencies to place before the objects being linked to create a
   10817 # shared library.
   10818 predeps=$lt_predeps
   10819 
   10820 # Dependencies to place after the objects being linked to create a
   10821 # shared library.
   10822 postdeps=$lt_postdeps
   10823 
   10824 # The directories searched by this compiler when creating a shared
   10825 # library
   10826 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   10827 
   10828 # The library search path used internally by the compiler when linking
   10829 # a shared library.
   10830 compiler_lib_search_path=$lt_compiler_lib_search_path
   10831 
   10832 # Method to check whether dependent libraries are shared objects.
   10833 deplibs_check_method=$lt_deplibs_check_method
   10834 
   10835 # Command to use when deplibs_check_method == file_magic.
   10836 file_magic_cmd=$lt_file_magic_cmd
   10837 
   10838 # Flag that allows shared libraries with undefined symbols to be built.
   10839 allow_undefined_flag=$lt_allow_undefined_flag
   10840 
   10841 # Flag that forces no undefined symbols.
   10842 no_undefined_flag=$lt_no_undefined_flag
   10843 
   10844 # Commands used to finish a libtool library installation in a directory.
   10845 finish_cmds=$lt_finish_cmds
   10846 
   10847 # Same as above, but a single script fragment to be evaled but not shown.
   10848 finish_eval=$lt_finish_eval
   10849 
   10850 # Take the output of nm and produce a listing of raw symbols and C names.
   10851 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10852 
   10853 # Transform the output of nm in a proper C declaration
   10854 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10855 
   10856 # Transform the output of nm in a C name address pair
   10857 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10858 
   10859 # This is the shared library runtime path variable.
   10860 runpath_var=$runpath_var
   10861 
   10862 # This is the shared library path variable.
   10863 shlibpath_var=$shlibpath_var
   10864 
   10865 # Is shlibpath searched before the hard-coded library search path?
   10866 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10867 
   10868 # How to hardcode a shared library path into an executable.
   10869 hardcode_action=$hardcode_action
   10870 
   10871 # Whether we should hardcode library paths into libraries.
   10872 hardcode_into_libs=$hardcode_into_libs
   10873 
   10874 # Flag to hardcode \$libdir into a binary during linking.
   10875 # This must work even if \$libdir does not exist.
   10876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10877 
   10878 # If ld is used when linking, flag to hardcode \$libdir into
   10879 # a binary during linking. This must work even if \$libdir does
   10880 # not exist.
   10881 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10882 
   10883 # Whether we need a single -rpath flag with a separated argument.
   10884 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10885 
   10886 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10887 # resulting binary.
   10888 hardcode_direct=$hardcode_direct
   10889 
   10890 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10891 # resulting binary.
   10892 hardcode_minus_L=$hardcode_minus_L
   10893 
   10894 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10895 # the resulting binary.
   10896 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10897 
   10898 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10899 # and all subsequent libraries and executables linked against it.
   10900 hardcode_automatic=$hardcode_automatic
   10901 
   10902 # Variables whose values should be saved in libtool wrapper scripts and
   10903 # restored at relink time.
   10904 variables_saved_for_relink="$variables_saved_for_relink"
   10905 
   10906 # Whether libtool must link a program against all its dependency libraries.
   10907 link_all_deplibs=$link_all_deplibs
   10908 
   10909 # Compile-time system search path for libraries
   10910 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10911 
   10912 # Run-time system search path for libraries
   10913 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10914 
   10915 # Fix the shell variable \$srcfile for the compiler.
   10916 fix_srcfile_path=$lt_fix_srcfile_path
   10917 
   10918 # Set to yes if exported symbols are required.
   10919 always_export_symbols=$always_export_symbols
   10920 
   10921 # The commands to list exported symbols.
   10922 export_symbols_cmds=$lt_export_symbols_cmds
   10923 
   10924 # The commands to extract the exported symbol list from a shared archive.
   10925 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10926 
   10927 # Symbols that should not be listed in the preloaded symbols.
   10928 exclude_expsyms=$lt_exclude_expsyms
   10929 
   10930 # Symbols that must always be exported.
   10931 include_expsyms=$lt_include_expsyms
   10932 
   10933 # ### END LIBTOOL CONFIG
   10934 
   10935 __EOF__
   10936 
   10937 
   10938   case $host_os in
   10939   aix3*)
   10940     cat <<\EOF >> "$cfgfile"
   10941 
   10942 # AIX sometimes has problems with the GCC collect2 program.  For some
   10943 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10944 # vanish in a puff of smoke.
   10945 if test "X${COLLECT_NAMES+set}" != Xset; then
   10946   COLLECT_NAMES=
   10947   export COLLECT_NAMES
   10948 fi
   10949 EOF
   10950     ;;
   10951   esac
   10952 
   10953   # We use sed instead of cat because bash on DJGPP gets confused if
   10954   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10955   # text mode, it properly converts lines to CR/LF.  This bash problem
   10956   # is reportedly fixed, but why not run on old versions too?
   10957   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10958 
   10959   mv -f "$cfgfile" "$ofile" || \
   10960     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10961   chmod +x "$ofile"
   10962 
   10963 else
   10964   # If there is no Makefile yet, we rely on a make rule to execute
   10965   # `config.status --recheck' to rerun these tests and create the
   10966   # libtool script then.
   10967   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10968   if test -f "$ltmain_in"; then
   10969     test -f Makefile && make "$ltmain"
   10970   fi
   10971 fi
   10972 
   10973 
   10974 ac_ext=c
   10975 ac_cpp='$CPP $CPPFLAGS'
   10976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10979 
   10980 CC="$lt_save_CC"
   10981 
   10982 
   10983 # Check whether --with-tags was given.
   10984 if test "${with_tags+set}" = set; then
   10985   withval=$with_tags; tagnames="$withval"
   10986 fi
   10987 
   10988 
   10989 if test -f "$ltmain" && test -n "$tagnames"; then
   10990   if test ! -f "${ofile}"; then
   10991     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10992 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10993   fi
   10994 
   10995   if test -z "$LTCC"; then
   10996     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10997     if test -z "$LTCC"; then
   10998       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10999 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11000     else
   11001       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11002 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11003     fi
   11004   fi
   11005   if test -z "$LTCFLAGS"; then
   11006     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11007   fi
   11008 
   11009   # Extract list of available tagged configurations in $ofile.
   11010   # Note that this assumes the entire list is on one line.
   11011   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11012 
   11013   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11014   for tagname in $tagnames; do
   11015     IFS="$lt_save_ifs"
   11016     # Check whether tagname contains only valid characters
   11017     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11018     "") ;;
   11019     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11020 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11021    { (exit 1); exit 1; }; }
   11022 	;;
   11023     esac
   11024 
   11025     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11026     then
   11027       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11028 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11029    { (exit 1); exit 1; }; }
   11030     fi
   11031 
   11032     # Update the list of available tags.
   11033     if test -n "$tagname"; then
   11034       echo appending configuration tag \"$tagname\" to $ofile
   11035 
   11036       case $tagname in
   11037       CXX)
   11038 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11039 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11040 	    (test "X$CXX" != "Xg++"))) ; then
   11041 	  ac_ext=cpp
   11042 ac_cpp='$CXXCPP $CPPFLAGS'
   11043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11046 
   11047 
   11048 
   11049 
   11050 archive_cmds_need_lc_CXX=no
   11051 allow_undefined_flag_CXX=
   11052 always_export_symbols_CXX=no
   11053 archive_expsym_cmds_CXX=
   11054 export_dynamic_flag_spec_CXX=
   11055 hardcode_direct_CXX=no
   11056 hardcode_libdir_flag_spec_CXX=
   11057 hardcode_libdir_flag_spec_ld_CXX=
   11058 hardcode_libdir_separator_CXX=
   11059 hardcode_minus_L_CXX=no
   11060 hardcode_shlibpath_var_CXX=unsupported
   11061 hardcode_automatic_CXX=no
   11062 module_cmds_CXX=
   11063 module_expsym_cmds_CXX=
   11064 link_all_deplibs_CXX=unknown
   11065 old_archive_cmds_CXX=$old_archive_cmds
   11066 no_undefined_flag_CXX=
   11067 whole_archive_flag_spec_CXX=
   11068 enable_shared_with_static_runtimes_CXX=no
   11069 
   11070 # Dependencies to place before and after the object being linked:
   11071 predep_objects_CXX=
   11072 postdep_objects_CXX=
   11073 predeps_CXX=
   11074 postdeps_CXX=
   11075 compiler_lib_search_path_CXX=
   11076 compiler_lib_search_dirs_CXX=
   11077 
   11078 # Source file extension for C++ test sources.
   11079 ac_ext=cpp
   11080 
   11081 # Object file extension for compiled C++ test sources.
   11082 objext=o
   11083 objext_CXX=$objext
   11084 
   11085 # Code to be used in simple compile tests
   11086 lt_simple_compile_test_code="int some_variable = 0;"
   11087 
   11088 # Code to be used in simple link tests
   11089 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11090 
   11091 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11092 
   11093 # If no C compiler was specified, use CC.
   11094 LTCC=${LTCC-"$CC"}
   11095 
   11096 # If no C compiler flags were specified, use CFLAGS.
   11097 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11098 
   11099 # Allow CC to be a program name with arguments.
   11100 compiler=$CC
   11101 
   11102 
   11103 # save warnings/boilerplate of simple test code
   11104 ac_outfile=conftest.$ac_objext
   11105 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11106 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11107 _lt_compiler_boilerplate=`cat conftest.err`
   11108 $rm conftest*
   11109 
   11110 ac_outfile=conftest.$ac_objext
   11111 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11112 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11113 _lt_linker_boilerplate=`cat conftest.err`
   11114 $rm -r conftest*
   11115 
   11116 
   11117 # Allow CC to be a program name with arguments.
   11118 lt_save_CC=$CC
   11119 lt_save_LD=$LD
   11120 lt_save_GCC=$GCC
   11121 GCC=$GXX
   11122 lt_save_with_gnu_ld=$with_gnu_ld
   11123 lt_save_path_LD=$lt_cv_path_LD
   11124 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11125   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11126 else
   11127   $as_unset lt_cv_prog_gnu_ld
   11128 fi
   11129 if test -n "${lt_cv_path_LDCXX+set}"; then
   11130   lt_cv_path_LD=$lt_cv_path_LDCXX
   11131 else
   11132   $as_unset lt_cv_path_LD
   11133 fi
   11134 test -z "${LDCXX+set}" || LD=$LDCXX
   11135 CC=${CXX-"c++"}
   11136 compiler=$CC
   11137 compiler_CXX=$CC
   11138 for cc_temp in $compiler""; do
   11139   case $cc_temp in
   11140     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11141     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11142     \-*) ;;
   11143     *) break;;
   11144   esac
   11145 done
   11146 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11147 
   11148 
   11149 # We don't want -fno-exception wen compiling C++ code, so set the
   11150 # no_builtin_flag separately
   11151 if test "$GXX" = yes; then
   11152   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11153 else
   11154   lt_prog_compiler_no_builtin_flag_CXX=
   11155 fi
   11156 
   11157 if test "$GXX" = yes; then
   11158   # Set up default GNU C++ configuration
   11159 
   11160 
   11161 # Check whether --with-gnu-ld was given.
   11162 if test "${with_gnu_ld+set}" = set; then
   11163   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11164 else
   11165   with_gnu_ld=no
   11166 fi
   11167 
   11168 ac_prog=ld
   11169 if test "$GCC" = yes; then
   11170   # Check if gcc -print-prog-name=ld gives a path.
   11171   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11172 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11173   case $host in
   11174   *-*-mingw*)
   11175     # gcc leaves a trailing carriage return which upsets mingw
   11176     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11177   *)
   11178     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11179   esac
   11180   case $ac_prog in
   11181     # Accept absolute paths.
   11182     [\\/]* | ?:[\\/]*)
   11183       re_direlt='/[^/][^/]*/\.\./'
   11184       # Canonicalize the pathname of ld
   11185       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11186       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11187 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11188       done
   11189       test -z "$LD" && LD="$ac_prog"
   11190       ;;
   11191   "")
   11192     # If it fails, then pretend we aren't using GCC.
   11193     ac_prog=ld
   11194     ;;
   11195   *)
   11196     # If it is relative, then search for the first ld in PATH.
   11197     with_gnu_ld=unknown
   11198     ;;
   11199   esac
   11200 elif test "$with_gnu_ld" = yes; then
   11201   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11202 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11203 else
   11204   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11205 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11206 fi
   11207 if test "${lt_cv_path_LD+set}" = set; then
   11208   echo $ECHO_N "(cached) $ECHO_C" >&6
   11209 else
   11210   if test -z "$LD"; then
   11211   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11212   for ac_dir in $PATH; do
   11213     IFS="$lt_save_ifs"
   11214     test -z "$ac_dir" && ac_dir=.
   11215     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11216       lt_cv_path_LD="$ac_dir/$ac_prog"
   11217       # Check to see if the program is GNU ld.  I'd rather use --version,
   11218       # but apparently some variants of GNU ld only accept -v.
   11219       # Break only if it was the GNU/non-GNU ld that we prefer.
   11220       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11221       *GNU* | *'with BFD'*)
   11222 	test "$with_gnu_ld" != no && break
   11223 	;;
   11224       *)
   11225 	test "$with_gnu_ld" != yes && break
   11226 	;;
   11227       esac
   11228     fi
   11229   done
   11230   IFS="$lt_save_ifs"
   11231 else
   11232   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11233 fi
   11234 fi
   11235 
   11236 LD="$lt_cv_path_LD"
   11237 if test -n "$LD"; then
   11238   { echo "$as_me:$LINENO: result: $LD" >&5
   11239 echo "${ECHO_T}$LD" >&6; }
   11240 else
   11241   { echo "$as_me:$LINENO: result: no" >&5
   11242 echo "${ECHO_T}no" >&6; }
   11243 fi
   11244 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11245 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11246    { (exit 1); exit 1; }; }
   11247 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11248 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11249 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11250   echo $ECHO_N "(cached) $ECHO_C" >&6
   11251 else
   11252   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11253 case `$LD -v 2>&1 </dev/null` in
   11254 *GNU* | *'with BFD'*)
   11255   lt_cv_prog_gnu_ld=yes
   11256   ;;
   11257 *)
   11258   lt_cv_prog_gnu_ld=no
   11259   ;;
   11260 esac
   11261 fi
   11262 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11263 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11264 with_gnu_ld=$lt_cv_prog_gnu_ld
   11265 
   11266 
   11267 
   11268   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11269   # archiving commands below assume that GNU ld is being used.
   11270   if test "$with_gnu_ld" = yes; then
   11271     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11272     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'
   11273 
   11274     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11275     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11276 
   11277     # If archive_cmds runs LD, not CC, wlarc should be empty
   11278     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11279     #     investigate it a little bit more. (MM)
   11280     wlarc='${wl}'
   11281 
   11282     # ancient GNU ld didn't support --whole-archive et. al.
   11283     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11284 	grep 'no-whole-archive' > /dev/null; then
   11285       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11286     else
   11287       whole_archive_flag_spec_CXX=
   11288     fi
   11289   else
   11290     with_gnu_ld=no
   11291     wlarc=
   11292 
   11293     # A generic and very simple default shared library creation
   11294     # command for GNU C++ for the case where it uses the native
   11295     # linker, instead of GNU ld.  If possible, this setting should
   11296     # overridden to take advantage of the native linker features on
   11297     # the platform it is being used on.
   11298     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11299   fi
   11300 
   11301   # Commands to make compiler produce verbose output that lists
   11302   # what "hidden" libraries, object files and flags are used when
   11303   # linking a shared library.
   11304   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11305 
   11306 else
   11307   GXX=no
   11308   with_gnu_ld=no
   11309   wlarc=
   11310 fi
   11311 
   11312 # PORTME: fill in a description of your system's C++ link characteristics
   11313 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11314 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11315 ld_shlibs_CXX=yes
   11316 case $host_os in
   11317   aix3*)
   11318     # FIXME: insert proper C++ library support
   11319     ld_shlibs_CXX=no
   11320     ;;
   11321   aix[4-9]*)
   11322     if test "$host_cpu" = ia64; then
   11323       # On IA64, the linker does run time linking by default, so we don't
   11324       # have to do anything special.
   11325       aix_use_runtimelinking=no
   11326       exp_sym_flag='-Bexport'
   11327       no_entry_flag=""
   11328     else
   11329       aix_use_runtimelinking=no
   11330 
   11331       # Test if we are trying to use run time linking or normal
   11332       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11333       # need to do runtime linking.
   11334       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11335 	for ld_flag in $LDFLAGS; do
   11336 	  case $ld_flag in
   11337 	  *-brtl*)
   11338 	    aix_use_runtimelinking=yes
   11339 	    break
   11340 	    ;;
   11341 	  esac
   11342 	done
   11343 	;;
   11344       esac
   11345 
   11346       exp_sym_flag='-bexport'
   11347       no_entry_flag='-bnoentry'
   11348     fi
   11349 
   11350     # When large executables or shared objects are built, AIX ld can
   11351     # have problems creating the table of contents.  If linking a library
   11352     # or program results in "error TOC overflow" add -mminimal-toc to
   11353     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11354     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11355 
   11356     archive_cmds_CXX=''
   11357     hardcode_direct_CXX=yes
   11358     hardcode_libdir_separator_CXX=':'
   11359     link_all_deplibs_CXX=yes
   11360 
   11361     if test "$GXX" = yes; then
   11362       case $host_os in aix4.[012]|aix4.[012].*)
   11363       # We only want to do this on AIX 4.2 and lower, the check
   11364       # below for broken collect2 doesn't work under 4.3+
   11365 	collect2name=`${CC} -print-prog-name=collect2`
   11366 	if test -f "$collect2name" && \
   11367 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11368 	then
   11369 	  # We have reworked collect2
   11370 	  :
   11371 	else
   11372 	  # We have old collect2
   11373 	  hardcode_direct_CXX=unsupported
   11374 	  # It fails to find uninstalled libraries when the uninstalled
   11375 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11376 	  # to unsupported forces relinking
   11377 	  hardcode_minus_L_CXX=yes
   11378 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11379 	  hardcode_libdir_separator_CXX=
   11380 	fi
   11381 	;;
   11382       esac
   11383       shared_flag='-shared'
   11384       if test "$aix_use_runtimelinking" = yes; then
   11385 	shared_flag="$shared_flag "'${wl}-G'
   11386       fi
   11387     else
   11388       # not using gcc
   11389       if test "$host_cpu" = ia64; then
   11390 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11391 	# chokes on -Wl,-G. The following line is correct:
   11392 	shared_flag='-G'
   11393       else
   11394 	if test "$aix_use_runtimelinking" = yes; then
   11395 	  shared_flag='${wl}-G'
   11396 	else
   11397 	  shared_flag='${wl}-bM:SRE'
   11398 	fi
   11399       fi
   11400     fi
   11401 
   11402     # It seems that -bexpall does not export symbols beginning with
   11403     # underscore (_), so it is better to generate a list of symbols to export.
   11404     always_export_symbols_CXX=yes
   11405     if test "$aix_use_runtimelinking" = yes; then
   11406       # Warning - without using the other runtime loading flags (-brtl),
   11407       # -berok will link without error, but may produce a broken library.
   11408       allow_undefined_flag_CXX='-berok'
   11409       # Determine the default libpath from the value encoded in an empty executable.
   11410       cat >conftest.$ac_ext <<_ACEOF
   11411 /* confdefs.h.  */
   11412 _ACEOF
   11413 cat confdefs.h >>conftest.$ac_ext
   11414 cat >>conftest.$ac_ext <<_ACEOF
   11415 /* end confdefs.h.  */
   11416 
   11417 int
   11418 main ()
   11419 {
   11420 
   11421   ;
   11422   return 0;
   11423 }
   11424 _ACEOF
   11425 rm -f conftest.$ac_objext conftest$ac_exeext
   11426 if { (ac_try="$ac_link"
   11427 case "(($ac_try" in
   11428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11429   *) ac_try_echo=$ac_try;;
   11430 esac
   11431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11432   (eval "$ac_link") 2>conftest.er1
   11433   ac_status=$?
   11434   grep -v '^ *+' conftest.er1 >conftest.err
   11435   rm -f conftest.er1
   11436   cat conftest.err >&5
   11437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11438   (exit $ac_status); } && {
   11439 	 test -z "$ac_cxx_werror_flag" ||
   11440 	 test ! -s conftest.err
   11441        } && test -s conftest$ac_exeext &&
   11442        $as_test_x conftest$ac_exeext; then
   11443 
   11444 lt_aix_libpath_sed='
   11445     /Import File Strings/,/^$/ {
   11446 	/^0/ {
   11447 	    s/^0  *\(.*\)$/\1/
   11448 	    p
   11449 	}
   11450     }'
   11451 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11452 # Check for a 64-bit object if we didn't find anything.
   11453 if test -z "$aix_libpath"; then
   11454   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11455 fi
   11456 else
   11457   echo "$as_me: failed program was:" >&5
   11458 sed 's/^/| /' conftest.$ac_ext >&5
   11459 
   11460 
   11461 fi
   11462 
   11463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11464       conftest$ac_exeext conftest.$ac_ext
   11465 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11466 
   11467       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11468 
   11469       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"
   11470      else
   11471       if test "$host_cpu" = ia64; then
   11472 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11473 	allow_undefined_flag_CXX="-z nodefs"
   11474 	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"
   11475       else
   11476 	# Determine the default libpath from the value encoded in an empty executable.
   11477 	cat >conftest.$ac_ext <<_ACEOF
   11478 /* confdefs.h.  */
   11479 _ACEOF
   11480 cat confdefs.h >>conftest.$ac_ext
   11481 cat >>conftest.$ac_ext <<_ACEOF
   11482 /* end confdefs.h.  */
   11483 
   11484 int
   11485 main ()
   11486 {
   11487 
   11488   ;
   11489   return 0;
   11490 }
   11491 _ACEOF
   11492 rm -f conftest.$ac_objext conftest$ac_exeext
   11493 if { (ac_try="$ac_link"
   11494 case "(($ac_try" in
   11495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11496   *) ac_try_echo=$ac_try;;
   11497 esac
   11498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11499   (eval "$ac_link") 2>conftest.er1
   11500   ac_status=$?
   11501   grep -v '^ *+' conftest.er1 >conftest.err
   11502   rm -f conftest.er1
   11503   cat conftest.err >&5
   11504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11505   (exit $ac_status); } && {
   11506 	 test -z "$ac_cxx_werror_flag" ||
   11507 	 test ! -s conftest.err
   11508        } && test -s conftest$ac_exeext &&
   11509        $as_test_x conftest$ac_exeext; then
   11510 
   11511 lt_aix_libpath_sed='
   11512     /Import File Strings/,/^$/ {
   11513 	/^0/ {
   11514 	    s/^0  *\(.*\)$/\1/
   11515 	    p
   11516 	}
   11517     }'
   11518 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11519 # Check for a 64-bit object if we didn't find anything.
   11520 if test -z "$aix_libpath"; then
   11521   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11522 fi
   11523 else
   11524   echo "$as_me: failed program was:" >&5
   11525 sed 's/^/| /' conftest.$ac_ext >&5
   11526 
   11527 
   11528 fi
   11529 
   11530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11531       conftest$ac_exeext conftest.$ac_ext
   11532 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11533 
   11534 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11535 	# Warning - without using the other run time loading flags,
   11536 	# -berok will link without error, but may produce a broken library.
   11537 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11538 	allow_undefined_flag_CXX=' ${wl}-berok'
   11539 	# Exported symbols can be pulled into shared objects from archives
   11540 	whole_archive_flag_spec_CXX='$convenience'
   11541 	archive_cmds_need_lc_CXX=yes
   11542 	# This is similar to how AIX traditionally builds its shared libraries.
   11543 	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'
   11544       fi
   11545     fi
   11546     ;;
   11547 
   11548   beos*)
   11549     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11550       allow_undefined_flag_CXX=unsupported
   11551       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11552       # support --undefined.  This deserves some investigation.  FIXME
   11553       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11554     else
   11555       ld_shlibs_CXX=no
   11556     fi
   11557     ;;
   11558 
   11559   chorus*)
   11560     case $cc_basename in
   11561       *)
   11562 	# FIXME: insert proper C++ library support
   11563 	ld_shlibs_CXX=no
   11564 	;;
   11565     esac
   11566     ;;
   11567 
   11568   cygwin* | mingw* | pw32*)
   11569     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11570     # as there is no search path for DLLs.
   11571     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11572     allow_undefined_flag_CXX=unsupported
   11573     always_export_symbols_CXX=no
   11574     enable_shared_with_static_runtimes_CXX=yes
   11575 
   11576     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11577       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'
   11578       # If the export-symbols file already is a .def file (1st line
   11579       # is EXPORTS), use it as is; otherwise, prepend...
   11580       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11581 	cp $export_symbols $output_objdir/$soname.def;
   11582       else
   11583 	echo EXPORTS > $output_objdir/$soname.def;
   11584 	cat $export_symbols >> $output_objdir/$soname.def;
   11585       fi~
   11586       $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'
   11587     else
   11588       ld_shlibs_CXX=no
   11589     fi
   11590   ;;
   11591       darwin* | rhapsody*)
   11592       archive_cmds_need_lc_CXX=no
   11593       hardcode_direct_CXX=no
   11594       hardcode_automatic_CXX=yes
   11595       hardcode_shlibpath_var_CXX=unsupported
   11596       whole_archive_flag_spec_CXX=''
   11597       link_all_deplibs_CXX=yes
   11598       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11599       if test "$GXX" = yes ; then
   11600       output_verbose_link_cmd='echo'
   11601       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11602       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11603       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11604       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11605       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11606         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${_lt_dsymutil}"
   11607         archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
   11608       fi
   11609       else
   11610       case $cc_basename in
   11611         xlc*)
   11612          output_verbose_link_cmd='echo'
   11613           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'
   11614           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11615           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11616           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}'
   11617           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}'
   11618           ;;
   11619        *)
   11620          ld_shlibs_CXX=no
   11621           ;;
   11622       esac
   11623       fi
   11624         ;;
   11625 
   11626   dgux*)
   11627     case $cc_basename in
   11628       ec++*)
   11629 	# FIXME: insert proper C++ library support
   11630 	ld_shlibs_CXX=no
   11631 	;;
   11632       ghcx*)
   11633 	# Green Hills C++ Compiler
   11634 	# FIXME: insert proper C++ library support
   11635 	ld_shlibs_CXX=no
   11636 	;;
   11637       *)
   11638 	# FIXME: insert proper C++ library support
   11639 	ld_shlibs_CXX=no
   11640 	;;
   11641     esac
   11642     ;;
   11643   freebsd[12]*)
   11644     # C++ shared libraries reported to be fairly broken before switch to ELF
   11645     ld_shlibs_CXX=no
   11646     ;;
   11647   freebsd-elf*)
   11648     archive_cmds_need_lc_CXX=no
   11649     ;;
   11650   freebsd* | dragonfly*)
   11651     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11652     # conventions
   11653     ld_shlibs_CXX=yes
   11654     ;;
   11655   gnu*)
   11656     ;;
   11657   hpux9*)
   11658     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11659     hardcode_libdir_separator_CXX=:
   11660     export_dynamic_flag_spec_CXX='${wl}-E'
   11661     hardcode_direct_CXX=yes
   11662     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11663 				# but as the default
   11664 				# location of the library.
   11665 
   11666     case $cc_basename in
   11667     CC*)
   11668       # FIXME: insert proper C++ library support
   11669       ld_shlibs_CXX=no
   11670       ;;
   11671     aCC*)
   11672       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'
   11673       # Commands to make compiler produce verbose output that lists
   11674       # what "hidden" libraries, object files and flags are used when
   11675       # linking a shared library.
   11676       #
   11677       # There doesn't appear to be a way to prevent this compiler from
   11678       # explicitly linking system object files so we need to strip them
   11679       # from the output so that they don't get included in the library
   11680       # dependencies.
   11681       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'
   11682       ;;
   11683     *)
   11684       if test "$GXX" = yes; then
   11685         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'
   11686       else
   11687         # FIXME: insert proper C++ library support
   11688         ld_shlibs_CXX=no
   11689       fi
   11690       ;;
   11691     esac
   11692     ;;
   11693   hpux10*|hpux11*)
   11694     if test $with_gnu_ld = no; then
   11695       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11696       hardcode_libdir_separator_CXX=:
   11697 
   11698       case $host_cpu in
   11699       hppa*64*|ia64*) ;;
   11700       *)
   11701 	export_dynamic_flag_spec_CXX='${wl}-E'
   11702         ;;
   11703       esac
   11704     fi
   11705     case $host_cpu in
   11706     hppa*64*|ia64*)
   11707       hardcode_direct_CXX=no
   11708       hardcode_shlibpath_var_CXX=no
   11709       ;;
   11710     *)
   11711       hardcode_direct_CXX=yes
   11712       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11713 					      # but as the default
   11714 					      # location of the library.
   11715       ;;
   11716     esac
   11717 
   11718     case $cc_basename in
   11719       CC*)
   11720 	# FIXME: insert proper C++ library support
   11721 	ld_shlibs_CXX=no
   11722 	;;
   11723       aCC*)
   11724 	case $host_cpu in
   11725 	hppa*64*)
   11726 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11727 	  ;;
   11728 	ia64*)
   11729 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11730 	  ;;
   11731 	*)
   11732 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11733 	  ;;
   11734 	esac
   11735 	# Commands to make compiler produce verbose output that lists
   11736 	# what "hidden" libraries, object files and flags are used when
   11737 	# linking a shared library.
   11738 	#
   11739 	# There doesn't appear to be a way to prevent this compiler from
   11740 	# explicitly linking system object files so we need to strip them
   11741 	# from the output so that they don't get included in the library
   11742 	# dependencies.
   11743 	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'
   11744 	;;
   11745       *)
   11746 	if test "$GXX" = yes; then
   11747 	  if test $with_gnu_ld = no; then
   11748 	    case $host_cpu in
   11749 	    hppa*64*)
   11750 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11751 	      ;;
   11752 	    ia64*)
   11753 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11754 	      ;;
   11755 	    *)
   11756 	      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'
   11757 	      ;;
   11758 	    esac
   11759 	  fi
   11760 	else
   11761 	  # FIXME: insert proper C++ library support
   11762 	  ld_shlibs_CXX=no
   11763 	fi
   11764 	;;
   11765     esac
   11766     ;;
   11767   interix[3-9]*)
   11768     hardcode_direct_CXX=no
   11769     hardcode_shlibpath_var_CXX=no
   11770     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11771     export_dynamic_flag_spec_CXX='${wl}-E'
   11772     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11773     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11774     # default) and relocated if they conflict, which is a slow very memory
   11775     # consuming and fragmenting process.  To avoid this, we pick a random,
   11776     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11777     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11778     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'
   11779     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'
   11780     ;;
   11781   irix5* | irix6*)
   11782     case $cc_basename in
   11783       CC*)
   11784 	# SGI C++
   11785 	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'
   11786 
   11787 	# Archives containing C++ object files must be created using
   11788 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11789 	# necessary to make sure instantiated templates are included
   11790 	# in the archive.
   11791 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11792 	;;
   11793       *)
   11794 	if test "$GXX" = yes; then
   11795 	  if test "$with_gnu_ld" = no; then
   11796 	    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'
   11797 	  else
   11798 	    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'
   11799 	  fi
   11800 	fi
   11801 	link_all_deplibs_CXX=yes
   11802 	;;
   11803     esac
   11804     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11805     hardcode_libdir_separator_CXX=:
   11806     ;;
   11807   linux* | k*bsd*-gnu)
   11808     case $cc_basename in
   11809       KCC*)
   11810 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11811 
   11812 	# KCC will only create a shared library if the output file
   11813 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11814 	# to its proper name (with version) after linking.
   11815 	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'
   11816 	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'
   11817 	# Commands to make compiler produce verbose output that lists
   11818 	# what "hidden" libraries, object files and flags are used when
   11819 	# linking a shared library.
   11820 	#
   11821 	# There doesn't appear to be a way to prevent this compiler from
   11822 	# explicitly linking system object files so we need to strip them
   11823 	# from the output so that they don't get included in the library
   11824 	# dependencies.
   11825 	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'
   11826 
   11827 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11828 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11829 
   11830 	# Archives containing C++ object files must be created using
   11831 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11832 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11833 	;;
   11834       icpc*)
   11835 	# Intel C++
   11836 	with_gnu_ld=yes
   11837 	# version 8.0 and above of icpc choke on multiply defined symbols
   11838 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11839 	# earlier do not add the objects themselves.
   11840 	case `$CC -V 2>&1` in
   11841 	*"Version 7."*)
   11842   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11843   	  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'
   11844 	  ;;
   11845 	*)  # Version 8.0 or newer
   11846 	  tmp_idyn=
   11847 	  case $host_cpu in
   11848 	    ia64*) tmp_idyn=' -i_dynamic';;
   11849 	  esac
   11850   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11851 	  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'
   11852 	  ;;
   11853 	esac
   11854 	archive_cmds_need_lc_CXX=no
   11855 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11856 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11857 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11858 	;;
   11859       pgCC* | pgcpp*)
   11860         # Portland Group C++ compiler
   11861 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11862   	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'
   11863 
   11864 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11865 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11866 	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'
   11867         ;;
   11868       cxx*)
   11869 	# Compaq C++
   11870 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11871 	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'
   11872 
   11873 	runpath_var=LD_RUN_PATH
   11874 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11875 	hardcode_libdir_separator_CXX=:
   11876 
   11877 	# Commands to make compiler produce verbose output that lists
   11878 	# what "hidden" libraries, object files and flags are used when
   11879 	# linking a shared library.
   11880 	#
   11881 	# There doesn't appear to be a way to prevent this compiler from
   11882 	# explicitly linking system object files so we need to strip them
   11883 	# from the output so that they don't get included in the library
   11884 	# dependencies.
   11885 	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'
   11886 	;;
   11887       *)
   11888 	case `$CC -V 2>&1 | sed 5q` in
   11889 	*Sun\ C*)
   11890 	  # Sun C++ 5.9
   11891 	  no_undefined_flag_CXX=' -zdefs'
   11892 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11893 	  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'
   11894 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11895 	  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'
   11896 
   11897 	  # Not sure whether something based on
   11898 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11899 	  # would be better.
   11900 	  output_verbose_link_cmd='echo'
   11901 
   11902 	  # Archives containing C++ object files must be created using
   11903 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11904 	  # necessary to make sure instantiated templates are included
   11905 	  # in the archive.
   11906 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11907 	  ;;
   11908 	esac
   11909 	;;
   11910     esac
   11911     ;;
   11912   lynxos*)
   11913     # FIXME: insert proper C++ library support
   11914     ld_shlibs_CXX=no
   11915     ;;
   11916   m88k*)
   11917     # FIXME: insert proper C++ library support
   11918     ld_shlibs_CXX=no
   11919     ;;
   11920   mvs*)
   11921     case $cc_basename in
   11922       cxx*)
   11923 	# FIXME: insert proper C++ library support
   11924 	ld_shlibs_CXX=no
   11925 	;;
   11926       *)
   11927 	# FIXME: insert proper C++ library support
   11928 	ld_shlibs_CXX=no
   11929 	;;
   11930     esac
   11931     ;;
   11932   netbsd* | netbsdelf*-gnu)
   11933     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11934       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11935       wlarc=
   11936       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11937       hardcode_direct_CXX=yes
   11938       hardcode_shlibpath_var_CXX=no
   11939     fi
   11940     # Workaround some broken pre-1.5 toolchains
   11941     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11942     ;;
   11943   openbsd2*)
   11944     # C++ shared libraries are fairly broken
   11945     ld_shlibs_CXX=no
   11946     ;;
   11947   openbsd*)
   11948     if test -f /usr/libexec/ld.so; then
   11949       hardcode_direct_CXX=yes
   11950       hardcode_shlibpath_var_CXX=no
   11951       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11952       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11953       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11954 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11955 	export_dynamic_flag_spec_CXX='${wl}-E'
   11956 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11957       fi
   11958       output_verbose_link_cmd='echo'
   11959     else
   11960       ld_shlibs_CXX=no
   11961     fi
   11962     ;;
   11963   osf3*)
   11964     case $cc_basename in
   11965       KCC*)
   11966 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11967 
   11968 	# KCC will only create a shared library if the output file
   11969 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11970 	# to its proper name (with version) after linking.
   11971 	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'
   11972 
   11973 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11974 	hardcode_libdir_separator_CXX=:
   11975 
   11976 	# Archives containing C++ object files must be created using
   11977 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11978 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11979 
   11980 	;;
   11981       RCC*)
   11982 	# Rational C++ 2.4.1
   11983 	# FIXME: insert proper C++ library support
   11984 	ld_shlibs_CXX=no
   11985 	;;
   11986       cxx*)
   11987 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11988 	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'
   11989 
   11990 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11991 	hardcode_libdir_separator_CXX=:
   11992 
   11993 	# Commands to make compiler produce verbose output that lists
   11994 	# what "hidden" libraries, object files and flags are used when
   11995 	# linking a shared library.
   11996 	#
   11997 	# There doesn't appear to be a way to prevent this compiler from
   11998 	# explicitly linking system object files so we need to strip them
   11999 	# from the output so that they don't get included in the library
   12000 	# dependencies.
   12001 	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'
   12002 	;;
   12003       *)
   12004 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12005 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12006 	  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'
   12007 
   12008 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12009 	  hardcode_libdir_separator_CXX=:
   12010 
   12011 	  # Commands to make compiler produce verbose output that lists
   12012 	  # what "hidden" libraries, object files and flags are used when
   12013 	  # linking a shared library.
   12014 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12015 
   12016 	else
   12017 	  # FIXME: insert proper C++ library support
   12018 	  ld_shlibs_CXX=no
   12019 	fi
   12020 	;;
   12021     esac
   12022     ;;
   12023   osf4* | osf5*)
   12024     case $cc_basename in
   12025       KCC*)
   12026 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12027 
   12028 	# KCC will only create a shared library if the output file
   12029 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12030 	# to its proper name (with version) after linking.
   12031 	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'
   12032 
   12033 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12034 	hardcode_libdir_separator_CXX=:
   12035 
   12036 	# Archives containing C++ object files must be created using
   12037 	# the KAI C++ compiler.
   12038 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12039 	;;
   12040       RCC*)
   12041 	# Rational C++ 2.4.1
   12042 	# FIXME: insert proper C++ library support
   12043 	ld_shlibs_CXX=no
   12044 	;;
   12045       cxx*)
   12046 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12047 	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'
   12048 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12049 	  echo "-hidden">> $lib.exp~
   12050 	  $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~
   12051 	  $rm $lib.exp'
   12052 
   12053 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12054 	hardcode_libdir_separator_CXX=:
   12055 
   12056 	# Commands to make compiler produce verbose output that lists
   12057 	# what "hidden" libraries, object files and flags are used when
   12058 	# linking a shared library.
   12059 	#
   12060 	# There doesn't appear to be a way to prevent this compiler from
   12061 	# explicitly linking system object files so we need to strip them
   12062 	# from the output so that they don't get included in the library
   12063 	# dependencies.
   12064 	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'
   12065 	;;
   12066       *)
   12067 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12068 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12069 	 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'
   12070 
   12071 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12072 	  hardcode_libdir_separator_CXX=:
   12073 
   12074 	  # Commands to make compiler produce verbose output that lists
   12075 	  # what "hidden" libraries, object files and flags are used when
   12076 	  # linking a shared library.
   12077 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12078 
   12079 	else
   12080 	  # FIXME: insert proper C++ library support
   12081 	  ld_shlibs_CXX=no
   12082 	fi
   12083 	;;
   12084     esac
   12085     ;;
   12086   psos*)
   12087     # FIXME: insert proper C++ library support
   12088     ld_shlibs_CXX=no
   12089     ;;
   12090   sunos4*)
   12091     case $cc_basename in
   12092       CC*)
   12093 	# Sun C++ 4.x
   12094 	# FIXME: insert proper C++ library support
   12095 	ld_shlibs_CXX=no
   12096 	;;
   12097       lcc*)
   12098 	# Lucid
   12099 	# FIXME: insert proper C++ library support
   12100 	ld_shlibs_CXX=no
   12101 	;;
   12102       *)
   12103 	# FIXME: insert proper C++ library support
   12104 	ld_shlibs_CXX=no
   12105 	;;
   12106     esac
   12107     ;;
   12108   solaris*)
   12109     case $cc_basename in
   12110       CC*)
   12111 	# Sun C++ 4.2, 5.x and Centerline C++
   12112         archive_cmds_need_lc_CXX=yes
   12113 	no_undefined_flag_CXX=' -zdefs'
   12114 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12115 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12116 	$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'
   12117 
   12118 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12119 	hardcode_shlibpath_var_CXX=no
   12120 	case $host_os in
   12121 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12122 	  *)
   12123 	    # The compiler driver will combine and reorder linker options,
   12124 	    # but understands `-z linker_flag'.
   12125 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12126 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12127 	    ;;
   12128 	esac
   12129 	link_all_deplibs_CXX=yes
   12130 
   12131 	output_verbose_link_cmd='echo'
   12132 
   12133 	# Archives containing C++ object files must be created using
   12134 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12135 	# necessary to make sure instantiated templates are included
   12136 	# in the archive.
   12137 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12138 	;;
   12139       gcx*)
   12140 	# Green Hills C++ Compiler
   12141 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12142 
   12143 	# The C++ compiler must be used to create the archive.
   12144 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12145 	;;
   12146       *)
   12147 	# GNU C++ compiler with Solaris linker
   12148 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12149 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12150 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12151 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12152 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12153 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12154 
   12155 	    # Commands to make compiler produce verbose output that lists
   12156 	    # what "hidden" libraries, object files and flags are used when
   12157 	    # linking a shared library.
   12158 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12159 	  else
   12160 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12161 	    # platform.
   12162 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12163 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12164 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12165 
   12166 	    # Commands to make compiler produce verbose output that lists
   12167 	    # what "hidden" libraries, object files and flags are used when
   12168 	    # linking a shared library.
   12169 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12170 	  fi
   12171 
   12172 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12173 	  case $host_os in
   12174 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12175 	  *)
   12176 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12177 	    ;;
   12178 	  esac
   12179 	fi
   12180 	;;
   12181     esac
   12182     ;;
   12183   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12184     no_undefined_flag_CXX='${wl}-z,text'
   12185     archive_cmds_need_lc_CXX=no
   12186     hardcode_shlibpath_var_CXX=no
   12187     runpath_var='LD_RUN_PATH'
   12188 
   12189     case $cc_basename in
   12190       CC*)
   12191 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12192 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12193 	;;
   12194       *)
   12195 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12196 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12197 	;;
   12198     esac
   12199     ;;
   12200   sysv5* | sco3.2v5* | sco5v6*)
   12201     # Note: We can NOT use -z defs as we might desire, because we do not
   12202     # link with -lc, and that would cause any symbols used from libc to
   12203     # always be unresolved, which means just about no library would
   12204     # ever link correctly.  If we're not using GNU ld we use -z text
   12205     # though, which does catch some bad symbols but isn't as heavy-handed
   12206     # as -z defs.
   12207     # For security reasons, it is highly recommended that you always
   12208     # use absolute paths for naming shared libraries, and exclude the
   12209     # DT_RUNPATH tag from executables and libraries.  But doing so
   12210     # requires that you compile everything twice, which is a pain.
   12211     # So that behaviour is only enabled if SCOABSPATH is set to a
   12212     # non-empty value in the environment.  Most likely only useful for
   12213     # creating official distributions of packages.
   12214     # This is a hack until libtool officially supports absolute path
   12215     # names for shared libraries.
   12216     no_undefined_flag_CXX='${wl}-z,text'
   12217     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12218     archive_cmds_need_lc_CXX=no
   12219     hardcode_shlibpath_var_CXX=no
   12220     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12221     hardcode_libdir_separator_CXX=':'
   12222     link_all_deplibs_CXX=yes
   12223     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12224     runpath_var='LD_RUN_PATH'
   12225 
   12226     case $cc_basename in
   12227       CC*)
   12228 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12229 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12230 	;;
   12231       *)
   12232 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12233 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12234 	;;
   12235     esac
   12236     ;;
   12237   tandem*)
   12238     case $cc_basename in
   12239       NCC*)
   12240 	# NonStop-UX NCC 3.20
   12241 	# FIXME: insert proper C++ library support
   12242 	ld_shlibs_CXX=no
   12243 	;;
   12244       *)
   12245 	# FIXME: insert proper C++ library support
   12246 	ld_shlibs_CXX=no
   12247 	;;
   12248     esac
   12249     ;;
   12250   vxworks*)
   12251     # FIXME: insert proper C++ library support
   12252     ld_shlibs_CXX=no
   12253     ;;
   12254   *)
   12255     # FIXME: insert proper C++ library support
   12256     ld_shlibs_CXX=no
   12257     ;;
   12258 esac
   12259 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12260 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12261 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12262 
   12263 GCC_CXX="$GXX"
   12264 LD_CXX="$LD"
   12265 
   12266 cat > conftest.$ac_ext <<EOF
   12267 class Foo
   12268 {
   12269 public:
   12270   Foo (void) { a = 0; }
   12271 private:
   12272   int a;
   12273 };
   12274 EOF
   12275 
   12276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12277   (eval $ac_compile) 2>&5
   12278   ac_status=$?
   12279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12280   (exit $ac_status); }; then
   12281   # Parse the compiler output and extract the necessary
   12282   # objects, libraries and library flags.
   12283 
   12284   # Sentinel used to keep track of whether or not we are before
   12285   # the conftest object file.
   12286   pre_test_object_deps_done=no
   12287 
   12288   # The `*' in the case matches for architectures that use `case' in
   12289   # $output_verbose_cmd can trigger glob expansion during the loop
   12290   # eval without this substitution.
   12291   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12292 
   12293   for p in `eval $output_verbose_link_cmd`; do
   12294     case $p in
   12295 
   12296     -L* | -R* | -l*)
   12297        # Some compilers place space between "-{L,R}" and the path.
   12298        # Remove the space.
   12299        if test $p = "-L" \
   12300 	  || test $p = "-R"; then
   12301 	 prev=$p
   12302 	 continue
   12303        else
   12304 	 prev=
   12305        fi
   12306 
   12307        if test "$pre_test_object_deps_done" = no; then
   12308 	 case $p in
   12309 	 -L* | -R*)
   12310 	   # Internal compiler library paths should come after those
   12311 	   # provided the user.  The postdeps already come after the
   12312 	   # user supplied libs so there is no need to process them.
   12313 	   if test -z "$compiler_lib_search_path_CXX"; then
   12314 	     compiler_lib_search_path_CXX="${prev}${p}"
   12315 	   else
   12316 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12317 	   fi
   12318 	   ;;
   12319 	 # The "-l" case would never come before the object being
   12320 	 # linked, so don't bother handling this case.
   12321 	 esac
   12322        else
   12323 	 if test -z "$postdeps_CXX"; then
   12324 	   postdeps_CXX="${prev}${p}"
   12325 	 else
   12326 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12327 	 fi
   12328        fi
   12329        ;;
   12330 
   12331     *.$objext)
   12332        # This assumes that the test object file only shows up
   12333        # once in the compiler output.
   12334        if test "$p" = "conftest.$objext"; then
   12335 	 pre_test_object_deps_done=yes
   12336 	 continue
   12337        fi
   12338 
   12339        if test "$pre_test_object_deps_done" = no; then
   12340 	 if test -z "$predep_objects_CXX"; then
   12341 	   predep_objects_CXX="$p"
   12342 	 else
   12343 	   predep_objects_CXX="$predep_objects_CXX $p"
   12344 	 fi
   12345        else
   12346 	 if test -z "$postdep_objects_CXX"; then
   12347 	   postdep_objects_CXX="$p"
   12348 	 else
   12349 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12350 	 fi
   12351        fi
   12352        ;;
   12353 
   12354     *) ;; # Ignore the rest.
   12355 
   12356     esac
   12357   done
   12358 
   12359   # Clean up.
   12360   rm -f a.out a.exe
   12361 else
   12362   echo "libtool.m4: error: problem compiling CXX test program"
   12363 fi
   12364 
   12365 $rm -f confest.$objext
   12366 
   12367 compiler_lib_search_dirs_CXX=
   12368 if test -n "$compiler_lib_search_path_CXX"; then
   12369   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12370 fi
   12371 
   12372 # PORTME: override above test on systems where it is broken
   12373 case $host_os in
   12374 interix[3-9]*)
   12375   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12376   # hack all around it, let's just trust "g++" to DTRT.
   12377   predep_objects_CXX=
   12378   postdep_objects_CXX=
   12379   postdeps_CXX=
   12380   ;;
   12381 
   12382 linux*)
   12383   case `$CC -V 2>&1 | sed 5q` in
   12384   *Sun\ C*)
   12385     # Sun C++ 5.9
   12386     #
   12387     # The more standards-conforming stlport4 library is
   12388     # incompatible with the Cstd library. Avoid specifying
   12389     # it if it's in CXXFLAGS. Ignore libCrun as
   12390     # -library=stlport4 depends on it.
   12391     case " $CXX $CXXFLAGS " in
   12392     *" -library=stlport4 "*)
   12393       solaris_use_stlport4=yes
   12394       ;;
   12395     esac
   12396     if test "$solaris_use_stlport4" != yes; then
   12397       postdeps_CXX='-library=Cstd -library=Crun'
   12398     fi
   12399     ;;
   12400   esac
   12401   ;;
   12402 
   12403 solaris*)
   12404   case $cc_basename in
   12405   CC*)
   12406     # The more standards-conforming stlport4 library is
   12407     # incompatible with the Cstd library. Avoid specifying
   12408     # it if it's in CXXFLAGS. Ignore libCrun as
   12409     # -library=stlport4 depends on it.
   12410     case " $CXX $CXXFLAGS " in
   12411     *" -library=stlport4 "*)
   12412       solaris_use_stlport4=yes
   12413       ;;
   12414     esac
   12415 
   12416     # Adding this requires a known-good setup of shared libraries for
   12417     # Sun compiler versions before 5.6, else PIC objects from an old
   12418     # archive will be linked into the output, leading to subtle bugs.
   12419     if test "$solaris_use_stlport4" != yes; then
   12420       postdeps_CXX='-library=Cstd -library=Crun'
   12421     fi
   12422     ;;
   12423   esac
   12424   ;;
   12425 esac
   12426 
   12427 case " $postdeps_CXX " in
   12428 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12429 esac
   12430 
   12431 lt_prog_compiler_wl_CXX=
   12432 lt_prog_compiler_pic_CXX=
   12433 lt_prog_compiler_static_CXX=
   12434 
   12435 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12436 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12437 
   12438   # C++ specific cases for pic, static, wl, etc.
   12439   if test "$GXX" = yes; then
   12440     lt_prog_compiler_wl_CXX='-Wl,'
   12441     lt_prog_compiler_static_CXX='-static'
   12442 
   12443     case $host_os in
   12444     aix*)
   12445       # All AIX code is PIC.
   12446       if test "$host_cpu" = ia64; then
   12447 	# AIX 5 now supports IA64 processor
   12448 	lt_prog_compiler_static_CXX='-Bstatic'
   12449       fi
   12450       ;;
   12451     amigaos*)
   12452       # FIXME: we need at least 68020 code to build shared libraries, but
   12453       # adding the `-m68020' flag to GCC prevents building anything better,
   12454       # like `-m68040'.
   12455       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12456       ;;
   12457     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12458       # PIC is the default for these OSes.
   12459       ;;
   12460     mingw* | cygwin* | os2* | pw32*)
   12461       # This hack is so that the source file can tell whether it is being
   12462       # built for inclusion in a dll (and should export symbols for example).
   12463       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12464       # (--disable-auto-import) libraries
   12465       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12466       ;;
   12467     darwin* | rhapsody*)
   12468       # PIC is the default on this platform
   12469       # Common symbols not allowed in MH_DYLIB files
   12470       lt_prog_compiler_pic_CXX='-fno-common'
   12471       ;;
   12472     *djgpp*)
   12473       # DJGPP does not support shared libraries at all
   12474       lt_prog_compiler_pic_CXX=
   12475       ;;
   12476     interix[3-9]*)
   12477       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12478       # Instead, we relocate shared libraries at runtime.
   12479       ;;
   12480     sysv4*MP*)
   12481       if test -d /usr/nec; then
   12482 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12483       fi
   12484       ;;
   12485     hpux*)
   12486       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12487       # not for PA HP-UX.
   12488       case $host_cpu in
   12489       hppa*64*|ia64*)
   12490 	;;
   12491       *)
   12492 	lt_prog_compiler_pic_CXX='-fPIC'
   12493 	;;
   12494       esac
   12495       ;;
   12496     *)
   12497       lt_prog_compiler_pic_CXX='-fPIC'
   12498       ;;
   12499     esac
   12500   else
   12501     case $host_os in
   12502       aix[4-9]*)
   12503 	# All AIX code is PIC.
   12504 	if test "$host_cpu" = ia64; then
   12505 	  # AIX 5 now supports IA64 processor
   12506 	  lt_prog_compiler_static_CXX='-Bstatic'
   12507 	else
   12508 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12509 	fi
   12510 	;;
   12511       chorus*)
   12512 	case $cc_basename in
   12513 	cxch68*)
   12514 	  # Green Hills C++ Compiler
   12515 	  # _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"
   12516 	  ;;
   12517 	esac
   12518 	;;
   12519        darwin*)
   12520          # PIC is the default on this platform
   12521          # Common symbols not allowed in MH_DYLIB files
   12522          case $cc_basename in
   12523            xlc*)
   12524            lt_prog_compiler_pic_CXX='-qnocommon'
   12525            lt_prog_compiler_wl_CXX='-Wl,'
   12526            ;;
   12527          esac
   12528        ;;
   12529       dgux*)
   12530 	case $cc_basename in
   12531 	  ec++*)
   12532 	    lt_prog_compiler_pic_CXX='-KPIC'
   12533 	    ;;
   12534 	  ghcx*)
   12535 	    # Green Hills C++ Compiler
   12536 	    lt_prog_compiler_pic_CXX='-pic'
   12537 	    ;;
   12538 	  *)
   12539 	    ;;
   12540 	esac
   12541 	;;
   12542       freebsd* | dragonfly*)
   12543 	# FreeBSD uses GNU C++
   12544 	;;
   12545       hpux9* | hpux10* | hpux11*)
   12546 	case $cc_basename in
   12547 	  CC*)
   12548 	    lt_prog_compiler_wl_CXX='-Wl,'
   12549 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12550 	    if test "$host_cpu" != ia64; then
   12551 	      lt_prog_compiler_pic_CXX='+Z'
   12552 	    fi
   12553 	    ;;
   12554 	  aCC*)
   12555 	    lt_prog_compiler_wl_CXX='-Wl,'
   12556 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12557 	    case $host_cpu in
   12558 	    hppa*64*|ia64*)
   12559 	      # +Z the default
   12560 	      ;;
   12561 	    *)
   12562 	      lt_prog_compiler_pic_CXX='+Z'
   12563 	      ;;
   12564 	    esac
   12565 	    ;;
   12566 	  *)
   12567 	    ;;
   12568 	esac
   12569 	;;
   12570       interix*)
   12571 	# This is c89, which is MS Visual C++ (no shared libs)
   12572 	# Anyone wants to do a port?
   12573 	;;
   12574       irix5* | irix6* | nonstopux*)
   12575 	case $cc_basename in
   12576 	  CC*)
   12577 	    lt_prog_compiler_wl_CXX='-Wl,'
   12578 	    lt_prog_compiler_static_CXX='-non_shared'
   12579 	    # CC pic flag -KPIC is the default.
   12580 	    ;;
   12581 	  *)
   12582 	    ;;
   12583 	esac
   12584 	;;
   12585       linux* | k*bsd*-gnu)
   12586 	case $cc_basename in
   12587 	  KCC*)
   12588 	    # KAI C++ Compiler
   12589 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12590 	    lt_prog_compiler_pic_CXX='-fPIC'
   12591 	    ;;
   12592 	  icpc* | ecpc*)
   12593 	    # Intel C++
   12594 	    lt_prog_compiler_wl_CXX='-Wl,'
   12595 	    lt_prog_compiler_pic_CXX='-KPIC'
   12596 	    lt_prog_compiler_static_CXX='-static'
   12597 	    ;;
   12598 	  pgCC* | pgcpp*)
   12599 	    # Portland Group C++ compiler.
   12600 	    lt_prog_compiler_wl_CXX='-Wl,'
   12601 	    lt_prog_compiler_pic_CXX='-fpic'
   12602 	    lt_prog_compiler_static_CXX='-Bstatic'
   12603 	    ;;
   12604 	  cxx*)
   12605 	    # Compaq C++
   12606 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12607 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12608 	    lt_prog_compiler_pic_CXX=
   12609 	    lt_prog_compiler_static_CXX='-non_shared'
   12610 	    ;;
   12611 	  *)
   12612 	    case `$CC -V 2>&1 | sed 5q` in
   12613 	    *Sun\ C*)
   12614 	      # Sun C++ 5.9
   12615 	      lt_prog_compiler_pic_CXX='-KPIC'
   12616 	      lt_prog_compiler_static_CXX='-Bstatic'
   12617 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12618 	      ;;
   12619 	    esac
   12620 	    ;;
   12621 	esac
   12622 	;;
   12623       lynxos*)
   12624 	;;
   12625       m88k*)
   12626 	;;
   12627       mvs*)
   12628 	case $cc_basename in
   12629 	  cxx*)
   12630 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12631 	    ;;
   12632 	  *)
   12633 	    ;;
   12634 	esac
   12635 	;;
   12636       netbsd* | netbsdelf*-gnu)
   12637 	;;
   12638       osf3* | osf4* | osf5*)
   12639 	case $cc_basename in
   12640 	  KCC*)
   12641 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12642 	    ;;
   12643 	  RCC*)
   12644 	    # Rational C++ 2.4.1
   12645 	    lt_prog_compiler_pic_CXX='-pic'
   12646 	    ;;
   12647 	  cxx*)
   12648 	    # Digital/Compaq C++
   12649 	    lt_prog_compiler_wl_CXX='-Wl,'
   12650 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12651 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12652 	    lt_prog_compiler_pic_CXX=
   12653 	    lt_prog_compiler_static_CXX='-non_shared'
   12654 	    ;;
   12655 	  *)
   12656 	    ;;
   12657 	esac
   12658 	;;
   12659       psos*)
   12660 	;;
   12661       solaris*)
   12662 	case $cc_basename in
   12663 	  CC*)
   12664 	    # Sun C++ 4.2, 5.x and Centerline C++
   12665 	    lt_prog_compiler_pic_CXX='-KPIC'
   12666 	    lt_prog_compiler_static_CXX='-Bstatic'
   12667 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12668 	    ;;
   12669 	  gcx*)
   12670 	    # Green Hills C++ Compiler
   12671 	    lt_prog_compiler_pic_CXX='-PIC'
   12672 	    ;;
   12673 	  *)
   12674 	    ;;
   12675 	esac
   12676 	;;
   12677       sunos4*)
   12678 	case $cc_basename in
   12679 	  CC*)
   12680 	    # Sun C++ 4.x
   12681 	    lt_prog_compiler_pic_CXX='-pic'
   12682 	    lt_prog_compiler_static_CXX='-Bstatic'
   12683 	    ;;
   12684 	  lcc*)
   12685 	    # Lucid
   12686 	    lt_prog_compiler_pic_CXX='-pic'
   12687 	    ;;
   12688 	  *)
   12689 	    ;;
   12690 	esac
   12691 	;;
   12692       tandem*)
   12693 	case $cc_basename in
   12694 	  NCC*)
   12695 	    # NonStop-UX NCC 3.20
   12696 	    lt_prog_compiler_pic_CXX='-KPIC'
   12697 	    ;;
   12698 	  *)
   12699 	    ;;
   12700 	esac
   12701 	;;
   12702       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12703 	case $cc_basename in
   12704 	  CC*)
   12705 	    lt_prog_compiler_wl_CXX='-Wl,'
   12706 	    lt_prog_compiler_pic_CXX='-KPIC'
   12707 	    lt_prog_compiler_static_CXX='-Bstatic'
   12708 	    ;;
   12709 	esac
   12710 	;;
   12711       vxworks*)
   12712 	;;
   12713       *)
   12714 	lt_prog_compiler_can_build_shared_CXX=no
   12715 	;;
   12716     esac
   12717   fi
   12718 
   12719 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12720 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12721 
   12722 #
   12723 # Check to make sure the PIC flag actually works.
   12724 #
   12725 if test -n "$lt_prog_compiler_pic_CXX"; then
   12726 
   12727 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12728 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12729 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12730   echo $ECHO_N "(cached) $ECHO_C" >&6
   12731 else
   12732   lt_cv_prog_compiler_pic_works_CXX=no
   12733   ac_outfile=conftest.$ac_objext
   12734    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12735    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12736    # Insert the option either (1) after the last *FLAGS variable, or
   12737    # (2) before a word containing "conftest.", or (3) at the end.
   12738    # Note that $ac_compile itself does not contain backslashes and begins
   12739    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12740    # The option is referenced via a variable to avoid confusing sed.
   12741    lt_compile=`echo "$ac_compile" | $SED \
   12742    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12743    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12744    -e 's:$: $lt_compiler_flag:'`
   12745    (eval echo "\"\$as_me:12745: $lt_compile\"" >&5)
   12746    (eval "$lt_compile" 2>conftest.err)
   12747    ac_status=$?
   12748    cat conftest.err >&5
   12749    echo "$as_me:12749: \$? = $ac_status" >&5
   12750    if (exit $ac_status) && test -s "$ac_outfile"; then
   12751      # The compiler can only warn and ignore the option if not recognized
   12752      # So say no if there are warnings other than the usual output.
   12753      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12754      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12755      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12756        lt_cv_prog_compiler_pic_works_CXX=yes
   12757      fi
   12758    fi
   12759    $rm conftest*
   12760 
   12761 fi
   12762 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12763 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12764 
   12765 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12766     case $lt_prog_compiler_pic_CXX in
   12767      "" | " "*) ;;
   12768      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12769      esac
   12770 else
   12771     lt_prog_compiler_pic_CXX=
   12772      lt_prog_compiler_can_build_shared_CXX=no
   12773 fi
   12774 
   12775 fi
   12776 case $host_os in
   12777   # For platforms which do not support PIC, -DPIC is meaningless:
   12778   *djgpp*)
   12779     lt_prog_compiler_pic_CXX=
   12780     ;;
   12781   *)
   12782     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12783     ;;
   12784 esac
   12785 
   12786 #
   12787 # Check to make sure the static flag actually works.
   12788 #
   12789 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12790 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12791 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12792 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12793   echo $ECHO_N "(cached) $ECHO_C" >&6
   12794 else
   12795   lt_cv_prog_compiler_static_works_CXX=no
   12796    save_LDFLAGS="$LDFLAGS"
   12797    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12798    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12799    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12800      # The linker can only warn and ignore the option if not recognized
   12801      # So say no if there are warnings
   12802      if test -s conftest.err; then
   12803        # Append any errors to the config.log.
   12804        cat conftest.err 1>&5
   12805        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12806        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12807        if diff conftest.exp conftest.er2 >/dev/null; then
   12808          lt_cv_prog_compiler_static_works_CXX=yes
   12809        fi
   12810      else
   12811        lt_cv_prog_compiler_static_works_CXX=yes
   12812      fi
   12813    fi
   12814    $rm -r conftest*
   12815    LDFLAGS="$save_LDFLAGS"
   12816 
   12817 fi
   12818 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   12819 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
   12820 
   12821 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   12822     :
   12823 else
   12824     lt_prog_compiler_static_CXX=
   12825 fi
   12826 
   12827 
   12828 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12829 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12830 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12831   echo $ECHO_N "(cached) $ECHO_C" >&6
   12832 else
   12833   lt_cv_prog_compiler_c_o_CXX=no
   12834    $rm -r conftest 2>/dev/null
   12835    mkdir conftest
   12836    cd conftest
   12837    mkdir out
   12838    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12839 
   12840    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12841    # Insert the option either (1) after the last *FLAGS variable, or
   12842    # (2) before a word containing "conftest.", or (3) at the end.
   12843    # Note that $ac_compile itself does not contain backslashes and begins
   12844    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12845    lt_compile=`echo "$ac_compile" | $SED \
   12846    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12847    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12848    -e 's:$: $lt_compiler_flag:'`
   12849    (eval echo "\"\$as_me:12849: $lt_compile\"" >&5)
   12850    (eval "$lt_compile" 2>out/conftest.err)
   12851    ac_status=$?
   12852    cat out/conftest.err >&5
   12853    echo "$as_me:12853: \$? = $ac_status" >&5
   12854    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12855    then
   12856      # The compiler can only warn and ignore the option if not recognized
   12857      # So say no if there are warnings
   12858      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12859      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12860      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12861        lt_cv_prog_compiler_c_o_CXX=yes
   12862      fi
   12863    fi
   12864    chmod u+w . 2>&5
   12865    $rm conftest*
   12866    # SGI C++ compiler will create directory out/ii_files/ for
   12867    # template instantiation
   12868    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12869    $rm out/* && rmdir out
   12870    cd ..
   12871    rmdir conftest
   12872    $rm conftest*
   12873 
   12874 fi
   12875 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12876 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12877 
   12878 
   12879 hard_links="nottested"
   12880 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12881   # do not overwrite the value of need_locks provided by the user
   12882   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12883 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12884   hard_links=yes
   12885   $rm conftest*
   12886   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12887   touch conftest.a
   12888   ln conftest.a conftest.b 2>&5 || hard_links=no
   12889   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12890   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12891 echo "${ECHO_T}$hard_links" >&6; }
   12892   if test "$hard_links" = no; then
   12893     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12894 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12895     need_locks=warn
   12896   fi
   12897 else
   12898   need_locks=no
   12899 fi
   12900 
   12901 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12902 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12903 
   12904   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12905   case $host_os in
   12906   aix[4-9]*)
   12907     # If we're using GNU nm, then we don't want the "-C" option.
   12908     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12909     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12910       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'
   12911     else
   12912       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'
   12913     fi
   12914     ;;
   12915   pw32*)
   12916     export_symbols_cmds_CXX="$ltdll_cmds"
   12917   ;;
   12918   cygwin* | mingw*)
   12919     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'
   12920   ;;
   12921   linux* | k*bsd*-gnu)
   12922     link_all_deplibs_CXX=no
   12923   ;;
   12924   *)
   12925     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12926   ;;
   12927   esac
   12928   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   12929 
   12930 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12931 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12932 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12933 
   12934 #
   12935 # Do we need to explicitly link libc?
   12936 #
   12937 case "x$archive_cmds_need_lc_CXX" in
   12938 x|xyes)
   12939   # Assume -lc should be added
   12940   archive_cmds_need_lc_CXX=yes
   12941 
   12942   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12943     case $archive_cmds_CXX in
   12944     *'~'*)
   12945       # FIXME: we may have to deal with multi-command sequences.
   12946       ;;
   12947     '$CC '*)
   12948       # Test whether the compiler implicitly links with -lc since on some
   12949       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12950       # to ld, don't add -lc before -lgcc.
   12951       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12952 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12953       $rm conftest*
   12954       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12955 
   12956       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12957   (eval $ac_compile) 2>&5
   12958   ac_status=$?
   12959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12960   (exit $ac_status); } 2>conftest.err; then
   12961         soname=conftest
   12962         lib=conftest
   12963         libobjs=conftest.$ac_objext
   12964         deplibs=
   12965         wl=$lt_prog_compiler_wl_CXX
   12966 	pic_flag=$lt_prog_compiler_pic_CXX
   12967         compiler_flags=-v
   12968         linker_flags=-v
   12969         verstring=
   12970         output_objdir=.
   12971         libname=conftest
   12972         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12973         allow_undefined_flag_CXX=
   12974         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12975   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12976   ac_status=$?
   12977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12978   (exit $ac_status); }
   12979         then
   12980 	  archive_cmds_need_lc_CXX=no
   12981         else
   12982 	  archive_cmds_need_lc_CXX=yes
   12983         fi
   12984         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12985       else
   12986         cat conftest.err 1>&5
   12987       fi
   12988       $rm conftest*
   12989       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12990 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12991       ;;
   12992     esac
   12993   fi
   12994   ;;
   12995 esac
   12996 
   12997 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12998 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12999 library_names_spec=
   13000 libname_spec='lib$name'
   13001 soname_spec=
   13002 shrext_cmds=".so"
   13003 postinstall_cmds=
   13004 postuninstall_cmds=
   13005 finish_cmds=
   13006 finish_eval=
   13007 shlibpath_var=
   13008 shlibpath_overrides_runpath=unknown
   13009 version_type=none
   13010 dynamic_linker="$host_os ld.so"
   13011 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13012 
   13013 need_lib_prefix=unknown
   13014 hardcode_into_libs=no
   13015 
   13016 # when you set need_version to no, make sure it does not cause -set_version
   13017 # flags to be left without arguments
   13018 need_version=unknown
   13019 
   13020 case $host_os in
   13021 aix3*)
   13022   version_type=linux
   13023   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13024   shlibpath_var=LIBPATH
   13025 
   13026   # AIX 3 has no versioning support, so we append a major version to the name.
   13027   soname_spec='${libname}${release}${shared_ext}$major'
   13028   ;;
   13029 
   13030 aix[4-9]*)
   13031   version_type=linux
   13032   need_lib_prefix=no
   13033   need_version=no
   13034   hardcode_into_libs=yes
   13035   if test "$host_cpu" = ia64; then
   13036     # AIX 5 supports IA64
   13037     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13038     shlibpath_var=LD_LIBRARY_PATH
   13039   else
   13040     # With GCC up to 2.95.x, collect2 would create an import file
   13041     # for dependence libraries.  The import file would start with
   13042     # the line `#! .'.  This would cause the generated library to
   13043     # depend on `.', always an invalid library.  This was fixed in
   13044     # development snapshots of GCC prior to 3.0.
   13045     case $host_os in
   13046       aix4 | aix4.[01] | aix4.[01].*)
   13047       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13048 	   echo ' yes '
   13049 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13050 	:
   13051       else
   13052 	can_build_shared=no
   13053       fi
   13054       ;;
   13055     esac
   13056     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13057     # soname into executable. Probably we can add versioning support to
   13058     # collect2, so additional links can be useful in future.
   13059     if test "$aix_use_runtimelinking" = yes; then
   13060       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13061       # instead of lib<name>.a to let people know that these are not
   13062       # typical AIX shared libraries.
   13063       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13064     else
   13065       # We preserve .a as extension for shared libraries through AIX4.2
   13066       # and later when we are not doing run time linking.
   13067       library_names_spec='${libname}${release}.a $libname.a'
   13068       soname_spec='${libname}${release}${shared_ext}$major'
   13069     fi
   13070     shlibpath_var=LIBPATH
   13071   fi
   13072   ;;
   13073 
   13074 amigaos*)
   13075   library_names_spec='$libname.ixlibrary $libname.a'
   13076   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13077   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'
   13078   ;;
   13079 
   13080 beos*)
   13081   library_names_spec='${libname}${shared_ext}'
   13082   dynamic_linker="$host_os ld.so"
   13083   shlibpath_var=LIBRARY_PATH
   13084   ;;
   13085 
   13086 bsdi[45]*)
   13087   version_type=linux
   13088   need_version=no
   13089   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13090   soname_spec='${libname}${release}${shared_ext}$major'
   13091   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13092   shlibpath_var=LD_LIBRARY_PATH
   13093   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13094   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13095   # the default ld.so.conf also contains /usr/contrib/lib and
   13096   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13097   # libtool to hard-code these into programs
   13098   ;;
   13099 
   13100 cygwin* | mingw* | pw32*)
   13101   version_type=windows
   13102   shrext_cmds=".dll"
   13103   need_version=no
   13104   need_lib_prefix=no
   13105 
   13106   case $GCC,$host_os in
   13107   yes,cygwin* | yes,mingw* | yes,pw32*)
   13108     library_names_spec='$libname.dll.a'
   13109     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13110     postinstall_cmds='base_file=`basename \${file}`~
   13111       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13112       dldir=$destdir/`dirname \$dlpath`~
   13113       test -d \$dldir || mkdir -p \$dldir~
   13114       $install_prog $dir/$dlname \$dldir/$dlname~
   13115       chmod a+x \$dldir/$dlname'
   13116     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13117       dlpath=$dir/\$dldll~
   13118        $rm \$dlpath'
   13119     shlibpath_overrides_runpath=yes
   13120 
   13121     case $host_os in
   13122     cygwin*)
   13123       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13124       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13125       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13126       ;;
   13127     mingw*)
   13128       # MinGW DLLs use traditional 'lib' prefix
   13129       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13130       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13131       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13132         # It is most probably a Windows format PATH printed by
   13133         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13134         # path with ; separators, and with drive letters. We can handle the
   13135         # drive letters (cygwin fileutils understands them), so leave them,
   13136         # especially as we might pass files found there to a mingw objdump,
   13137         # which wouldn't understand a cygwinified path. Ahh.
   13138         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13139       else
   13140         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13141       fi
   13142       ;;
   13143     pw32*)
   13144       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13145       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13146       ;;
   13147     esac
   13148     ;;
   13149 
   13150   *)
   13151     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13152     ;;
   13153   esac
   13154   dynamic_linker='Win32 ld.exe'
   13155   # FIXME: first we should search . and the directory the executable is in
   13156   shlibpath_var=PATH
   13157   ;;
   13158 
   13159 darwin* | rhapsody*)
   13160   dynamic_linker="$host_os dyld"
   13161   version_type=darwin
   13162   need_lib_prefix=no
   13163   need_version=no
   13164   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13165   soname_spec='${libname}${release}${major}$shared_ext'
   13166   shlibpath_overrides_runpath=yes
   13167   shlibpath_var=DYLD_LIBRARY_PATH
   13168   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13169 
   13170   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13171   ;;
   13172 
   13173 dgux*)
   13174   version_type=linux
   13175   need_lib_prefix=no
   13176   need_version=no
   13177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13178   soname_spec='${libname}${release}${shared_ext}$major'
   13179   shlibpath_var=LD_LIBRARY_PATH
   13180   ;;
   13181 
   13182 freebsd1*)
   13183   dynamic_linker=no
   13184   ;;
   13185 
   13186 freebsd* | dragonfly*)
   13187   # DragonFly does not have aout.  When/if they implement a new
   13188   # versioning mechanism, adjust this.
   13189   if test -x /usr/bin/objformat; then
   13190     objformat=`/usr/bin/objformat`
   13191   else
   13192     case $host_os in
   13193     freebsd[123]*) objformat=aout ;;
   13194     *) objformat=elf ;;
   13195     esac
   13196   fi
   13197   version_type=freebsd-$objformat
   13198   case $version_type in
   13199     freebsd-elf*)
   13200       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13201       need_version=no
   13202       need_lib_prefix=no
   13203       ;;
   13204     freebsd-*)
   13205       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13206       need_version=yes
   13207       ;;
   13208   esac
   13209   shlibpath_var=LD_LIBRARY_PATH
   13210   case $host_os in
   13211   freebsd2*)
   13212     shlibpath_overrides_runpath=yes
   13213     ;;
   13214   freebsd3.[01]* | freebsdelf3.[01]*)
   13215     shlibpath_overrides_runpath=yes
   13216     hardcode_into_libs=yes
   13217     ;;
   13218   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13219   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13220     shlibpath_overrides_runpath=no
   13221     hardcode_into_libs=yes
   13222     ;;
   13223   *) # from 4.6 on, and DragonFly
   13224     shlibpath_overrides_runpath=yes
   13225     hardcode_into_libs=yes
   13226     ;;
   13227   esac
   13228   ;;
   13229 
   13230 gnu*)
   13231   version_type=linux
   13232   need_lib_prefix=no
   13233   need_version=no
   13234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13235   soname_spec='${libname}${release}${shared_ext}$major'
   13236   shlibpath_var=LD_LIBRARY_PATH
   13237   hardcode_into_libs=yes
   13238   ;;
   13239 
   13240 hpux9* | hpux10* | hpux11*)
   13241   # Give a soname corresponding to the major version so that dld.sl refuses to
   13242   # link against other versions.
   13243   version_type=sunos
   13244   need_lib_prefix=no
   13245   need_version=no
   13246   case $host_cpu in
   13247   ia64*)
   13248     shrext_cmds='.so'
   13249     hardcode_into_libs=yes
   13250     dynamic_linker="$host_os dld.so"
   13251     shlibpath_var=LD_LIBRARY_PATH
   13252     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13253     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13254     soname_spec='${libname}${release}${shared_ext}$major'
   13255     if test "X$HPUX_IA64_MODE" = X32; then
   13256       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13257     else
   13258       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13259     fi
   13260     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13261     ;;
   13262    hppa*64*)
   13263      shrext_cmds='.sl'
   13264      hardcode_into_libs=yes
   13265      dynamic_linker="$host_os dld.sl"
   13266      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13267      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13268      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13269      soname_spec='${libname}${release}${shared_ext}$major'
   13270      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13271      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13272      ;;
   13273    *)
   13274     shrext_cmds='.sl'
   13275     dynamic_linker="$host_os dld.sl"
   13276     shlibpath_var=SHLIB_PATH
   13277     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13278     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13279     soname_spec='${libname}${release}${shared_ext}$major'
   13280     ;;
   13281   esac
   13282   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13283   postinstall_cmds='chmod 555 $lib'
   13284   ;;
   13285 
   13286 interix[3-9]*)
   13287   version_type=linux
   13288   need_lib_prefix=no
   13289   need_version=no
   13290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13291   soname_spec='${libname}${release}${shared_ext}$major'
   13292   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13293   shlibpath_var=LD_LIBRARY_PATH
   13294   shlibpath_overrides_runpath=no
   13295   hardcode_into_libs=yes
   13296   ;;
   13297 
   13298 irix5* | irix6* | nonstopux*)
   13299   case $host_os in
   13300     nonstopux*) version_type=nonstopux ;;
   13301     *)
   13302 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13303 		version_type=linux
   13304 	else
   13305 		version_type=irix
   13306 	fi ;;
   13307   esac
   13308   need_lib_prefix=no
   13309   need_version=no
   13310   soname_spec='${libname}${release}${shared_ext}$major'
   13311   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13312   case $host_os in
   13313   irix5* | nonstopux*)
   13314     libsuff= shlibsuff=
   13315     ;;
   13316   *)
   13317     case $LD in # libtool.m4 will add one of these switches to LD
   13318     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13319       libsuff= shlibsuff= libmagic=32-bit;;
   13320     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13321       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13322     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13323       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13324     *) libsuff= shlibsuff= libmagic=never-match;;
   13325     esac
   13326     ;;
   13327   esac
   13328   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13329   shlibpath_overrides_runpath=no
   13330   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13331   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13332   hardcode_into_libs=yes
   13333   ;;
   13334 
   13335 # No shared lib support for Linux oldld, aout, or coff.
   13336 linux*oldld* | linux*aout* | linux*coff*)
   13337   dynamic_linker=no
   13338   ;;
   13339 
   13340 # This must be Linux ELF.
   13341 linux* | k*bsd*-gnu)
   13342   version_type=linux
   13343   need_lib_prefix=no
   13344   need_version=no
   13345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13346   soname_spec='${libname}${release}${shared_ext}$major'
   13347   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13348   shlibpath_var=LD_LIBRARY_PATH
   13349   shlibpath_overrides_runpath=no
   13350   # This implies no fast_install, which is unacceptable.
   13351   # Some rework will be needed to allow for fast_install
   13352   # before this can be enabled.
   13353   hardcode_into_libs=yes
   13354 
   13355   # Append ld.so.conf contents to the search path
   13356   if test -f /etc/ld.so.conf; then
   13357     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' ' '`
   13358     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13359   fi
   13360 
   13361   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13362   # powerpc, because MkLinux only supported shared libraries with the
   13363   # GNU dynamic linker.  Since this was broken with cross compilers,
   13364   # most powerpc-linux boxes support dynamic linking these days and
   13365   # people can always --disable-shared, the test was removed, and we
   13366   # assume the GNU/Linux dynamic linker is in use.
   13367   dynamic_linker='GNU/Linux ld.so'
   13368   ;;
   13369 
   13370 netbsdelf*-gnu)
   13371   version_type=linux
   13372   need_lib_prefix=no
   13373   need_version=no
   13374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13375   soname_spec='${libname}${release}${shared_ext}$major'
   13376   shlibpath_var=LD_LIBRARY_PATH
   13377   shlibpath_overrides_runpath=no
   13378   hardcode_into_libs=yes
   13379   dynamic_linker='NetBSD ld.elf_so'
   13380   ;;
   13381 
   13382 netbsd*)
   13383   version_type=sunos
   13384   need_lib_prefix=no
   13385   need_version=no
   13386   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13387     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13388     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13389     dynamic_linker='NetBSD (a.out) ld.so'
   13390   else
   13391     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13392     soname_spec='${libname}${release}${shared_ext}$major'
   13393     dynamic_linker='NetBSD ld.elf_so'
   13394   fi
   13395   shlibpath_var=LD_LIBRARY_PATH
   13396   shlibpath_overrides_runpath=yes
   13397   hardcode_into_libs=yes
   13398   ;;
   13399 
   13400 newsos6)
   13401   version_type=linux
   13402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13403   shlibpath_var=LD_LIBRARY_PATH
   13404   shlibpath_overrides_runpath=yes
   13405   ;;
   13406 
   13407 nto-qnx*)
   13408   version_type=linux
   13409   need_lib_prefix=no
   13410   need_version=no
   13411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13412   soname_spec='${libname}${release}${shared_ext}$major'
   13413   shlibpath_var=LD_LIBRARY_PATH
   13414   shlibpath_overrides_runpath=yes
   13415   ;;
   13416 
   13417 openbsd*)
   13418   version_type=sunos
   13419   sys_lib_dlsearch_path_spec="/usr/lib"
   13420   need_lib_prefix=no
   13421   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13422   case $host_os in
   13423     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13424     *)                         need_version=no  ;;
   13425   esac
   13426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13427   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13428   shlibpath_var=LD_LIBRARY_PATH
   13429   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13430     case $host_os in
   13431       openbsd2.[89] | openbsd2.[89].*)
   13432 	shlibpath_overrides_runpath=no
   13433 	;;
   13434       *)
   13435 	shlibpath_overrides_runpath=yes
   13436 	;;
   13437       esac
   13438   else
   13439     shlibpath_overrides_runpath=yes
   13440   fi
   13441   ;;
   13442 
   13443 os2*)
   13444   libname_spec='$name'
   13445   shrext_cmds=".dll"
   13446   need_lib_prefix=no
   13447   library_names_spec='$libname${shared_ext} $libname.a'
   13448   dynamic_linker='OS/2 ld.exe'
   13449   shlibpath_var=LIBPATH
   13450   ;;
   13451 
   13452 osf3* | osf4* | osf5*)
   13453   version_type=osf
   13454   need_lib_prefix=no
   13455   need_version=no
   13456   soname_spec='${libname}${release}${shared_ext}$major'
   13457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13458   shlibpath_var=LD_LIBRARY_PATH
   13459   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13460   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13461   ;;
   13462 
   13463 rdos*)
   13464   dynamic_linker=no
   13465   ;;
   13466 
   13467 solaris*)
   13468   version_type=linux
   13469   need_lib_prefix=no
   13470   need_version=no
   13471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13472   soname_spec='${libname}${release}${shared_ext}$major'
   13473   shlibpath_var=LD_LIBRARY_PATH
   13474   shlibpath_overrides_runpath=yes
   13475   hardcode_into_libs=yes
   13476   # ldd complains unless libraries are executable
   13477   postinstall_cmds='chmod +x $lib'
   13478   ;;
   13479 
   13480 sunos4*)
   13481   version_type=sunos
   13482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13483   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13484   shlibpath_var=LD_LIBRARY_PATH
   13485   shlibpath_overrides_runpath=yes
   13486   if test "$with_gnu_ld" = yes; then
   13487     need_lib_prefix=no
   13488   fi
   13489   need_version=yes
   13490   ;;
   13491 
   13492 sysv4 | sysv4.3*)
   13493   version_type=linux
   13494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13495   soname_spec='${libname}${release}${shared_ext}$major'
   13496   shlibpath_var=LD_LIBRARY_PATH
   13497   case $host_vendor in
   13498     sni)
   13499       shlibpath_overrides_runpath=no
   13500       need_lib_prefix=no
   13501       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13502       runpath_var=LD_RUN_PATH
   13503       ;;
   13504     siemens)
   13505       need_lib_prefix=no
   13506       ;;
   13507     motorola)
   13508       need_lib_prefix=no
   13509       need_version=no
   13510       shlibpath_overrides_runpath=no
   13511       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13512       ;;
   13513   esac
   13514   ;;
   13515 
   13516 sysv4*MP*)
   13517   if test -d /usr/nec ;then
   13518     version_type=linux
   13519     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13520     soname_spec='$libname${shared_ext}.$major'
   13521     shlibpath_var=LD_LIBRARY_PATH
   13522   fi
   13523   ;;
   13524 
   13525 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13526   version_type=freebsd-elf
   13527   need_lib_prefix=no
   13528   need_version=no
   13529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13530   soname_spec='${libname}${release}${shared_ext}$major'
   13531   shlibpath_var=LD_LIBRARY_PATH
   13532   hardcode_into_libs=yes
   13533   if test "$with_gnu_ld" = yes; then
   13534     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13535     shlibpath_overrides_runpath=no
   13536   else
   13537     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13538     shlibpath_overrides_runpath=yes
   13539     case $host_os in
   13540       sco3.2v5*)
   13541         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13542 	;;
   13543     esac
   13544   fi
   13545   sys_lib_dlsearch_path_spec='/usr/lib'
   13546   ;;
   13547 
   13548 uts4*)
   13549   version_type=linux
   13550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13551   soname_spec='${libname}${release}${shared_ext}$major'
   13552   shlibpath_var=LD_LIBRARY_PATH
   13553   ;;
   13554 
   13555 *)
   13556   dynamic_linker=no
   13557   ;;
   13558 esac
   13559 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13560 echo "${ECHO_T}$dynamic_linker" >&6; }
   13561 test "$dynamic_linker" = no && can_build_shared=no
   13562 
   13563 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13564   echo $ECHO_N "(cached) $ECHO_C" >&6
   13565 else
   13566   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13567 fi
   13568 
   13569 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13570 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13571   echo $ECHO_N "(cached) $ECHO_C" >&6
   13572 else
   13573   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13574 fi
   13575 
   13576 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13577 
   13578 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13579 if test "$GCC" = yes; then
   13580   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13581 fi
   13582 
   13583 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13584 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13585 hardcode_action_CXX=
   13586 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13587    test -n "$runpath_var_CXX" || \
   13588    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13589 
   13590   # We can hardcode non-existant directories.
   13591   if test "$hardcode_direct_CXX" != no &&
   13592      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13593      # have to relink, otherwise we might link with an installed library
   13594      # when we should be linking with a yet-to-be-installed one
   13595      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13596      test "$hardcode_minus_L_CXX" != no; then
   13597     # Linking always hardcodes the temporary library directory.
   13598     hardcode_action_CXX=relink
   13599   else
   13600     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13601     hardcode_action_CXX=immediate
   13602   fi
   13603 else
   13604   # We cannot hardcode anything, or else we can only hardcode existing
   13605   # directories.
   13606   hardcode_action_CXX=unsupported
   13607 fi
   13608 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13609 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13610 
   13611 if test "$hardcode_action_CXX" = relink; then
   13612   # Fast installation is not supported
   13613   enable_fast_install=no
   13614 elif test "$shlibpath_overrides_runpath" = yes ||
   13615      test "$enable_shared" = no; then
   13616   # Fast installation is not necessary
   13617   enable_fast_install=needless
   13618 fi
   13619 
   13620 
   13621 # The else clause should only fire when bootstrapping the
   13622 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13623 # with your package, and you will get complaints that there are
   13624 # no rules to generate ltmain.sh.
   13625 if test -f "$ltmain"; then
   13626   # See if we are running on zsh, and set the options which allow our commands through
   13627   # without removal of \ escapes.
   13628   if test -n "${ZSH_VERSION+set}" ; then
   13629     setopt NO_GLOB_SUBST
   13630   fi
   13631   # Now quote all the things that may contain metacharacters while being
   13632   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13633   # variables and quote the copies for generation of the libtool script.
   13634   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13635     SED SHELL STRIP \
   13636     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13637     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13638     deplibs_check_method reload_flag reload_cmds need_locks \
   13639     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13640     lt_cv_sys_global_symbol_to_c_name_address \
   13641     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13642     old_postinstall_cmds old_postuninstall_cmds \
   13643     compiler_CXX \
   13644     CC_CXX \
   13645     LD_CXX \
   13646     lt_prog_compiler_wl_CXX \
   13647     lt_prog_compiler_pic_CXX \
   13648     lt_prog_compiler_static_CXX \
   13649     lt_prog_compiler_no_builtin_flag_CXX \
   13650     export_dynamic_flag_spec_CXX \
   13651     thread_safe_flag_spec_CXX \
   13652     whole_archive_flag_spec_CXX \
   13653     enable_shared_with_static_runtimes_CXX \
   13654     old_archive_cmds_CXX \
   13655     old_archive_from_new_cmds_CXX \
   13656     predep_objects_CXX \
   13657     postdep_objects_CXX \
   13658     predeps_CXX \
   13659     postdeps_CXX \
   13660     compiler_lib_search_path_CXX \
   13661     compiler_lib_search_dirs_CXX \
   13662     archive_cmds_CXX \
   13663     archive_expsym_cmds_CXX \
   13664     postinstall_cmds_CXX \
   13665     postuninstall_cmds_CXX \
   13666     old_archive_from_expsyms_cmds_CXX \
   13667     allow_undefined_flag_CXX \
   13668     no_undefined_flag_CXX \
   13669     export_symbols_cmds_CXX \
   13670     hardcode_libdir_flag_spec_CXX \
   13671     hardcode_libdir_flag_spec_ld_CXX \
   13672     hardcode_libdir_separator_CXX \
   13673     hardcode_automatic_CXX \
   13674     module_cmds_CXX \
   13675     module_expsym_cmds_CXX \
   13676     lt_cv_prog_compiler_c_o_CXX \
   13677     fix_srcfile_path_CXX \
   13678     exclude_expsyms_CXX \
   13679     include_expsyms_CXX; do
   13680 
   13681     case $var in
   13682     old_archive_cmds_CXX | \
   13683     old_archive_from_new_cmds_CXX | \
   13684     archive_cmds_CXX | \
   13685     archive_expsym_cmds_CXX | \
   13686     module_cmds_CXX | \
   13687     module_expsym_cmds_CXX | \
   13688     old_archive_from_expsyms_cmds_CXX | \
   13689     export_symbols_cmds_CXX | \
   13690     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13691     postinstall_cmds | postuninstall_cmds | \
   13692     old_postinstall_cmds | old_postuninstall_cmds | \
   13693     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13694       # Double-quote double-evaled strings.
   13695       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13696       ;;
   13697     *)
   13698       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13699       ;;
   13700     esac
   13701   done
   13702 
   13703   case $lt_echo in
   13704   *'\$0 --fallback-echo"')
   13705     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13706     ;;
   13707   esac
   13708 
   13709 cfgfile="$ofile"
   13710 
   13711   cat <<__EOF__ >> "$cfgfile"
   13712 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13713 
   13714 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13715 
   13716 # Shell to use when invoking shell scripts.
   13717 SHELL=$lt_SHELL
   13718 
   13719 # Whether or not to build shared libraries.
   13720 build_libtool_libs=$enable_shared
   13721 
   13722 # Whether or not to build static libraries.
   13723 build_old_libs=$enable_static
   13724 
   13725 # Whether or not to add -lc for building shared libraries.
   13726 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13727 
   13728 # Whether or not to disallow shared libs when runtime libs are static
   13729 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13730 
   13731 # Whether or not to optimize for fast installation.
   13732 fast_install=$enable_fast_install
   13733 
   13734 # The host system.
   13735 host_alias=$host_alias
   13736 host=$host
   13737 host_os=$host_os
   13738 
   13739 # The build system.
   13740 build_alias=$build_alias
   13741 build=$build
   13742 build_os=$build_os
   13743 
   13744 # An echo program that does not interpret backslashes.
   13745 echo=$lt_echo
   13746 
   13747 # The archiver.
   13748 AR=$lt_AR
   13749 AR_FLAGS=$lt_AR_FLAGS
   13750 
   13751 # A C compiler.
   13752 LTCC=$lt_LTCC
   13753 
   13754 # LTCC compiler flags.
   13755 LTCFLAGS=$lt_LTCFLAGS
   13756 
   13757 # A language-specific compiler.
   13758 CC=$lt_compiler_CXX
   13759 
   13760 # Is the compiler the GNU C compiler?
   13761 with_gcc=$GCC_CXX
   13762 
   13763 # An ERE matcher.
   13764 EGREP=$lt_EGREP
   13765 
   13766 # The linker used to build libraries.
   13767 LD=$lt_LD_CXX
   13768 
   13769 # Whether we need hard or soft links.
   13770 LN_S=$lt_LN_S
   13771 
   13772 # A BSD-compatible nm program.
   13773 NM=$lt_NM
   13774 
   13775 # A symbol stripping program
   13776 STRIP=$lt_STRIP
   13777 
   13778 # Used to examine libraries when file_magic_cmd begins "file"
   13779 MAGIC_CMD=$MAGIC_CMD
   13780 
   13781 # Used on cygwin: DLL creation program.
   13782 DLLTOOL="$DLLTOOL"
   13783 
   13784 # Used on cygwin: object dumper.
   13785 OBJDUMP="$OBJDUMP"
   13786 
   13787 # Used on cygwin: assembler.
   13788 AS="$AS"
   13789 
   13790 # The name of the directory that contains temporary libtool files.
   13791 objdir=$objdir
   13792 
   13793 # How to create reloadable object files.
   13794 reload_flag=$lt_reload_flag
   13795 reload_cmds=$lt_reload_cmds
   13796 
   13797 # How to pass a linker flag through the compiler.
   13798 wl=$lt_lt_prog_compiler_wl_CXX
   13799 
   13800 # Object file suffix (normally "o").
   13801 objext="$ac_objext"
   13802 
   13803 # Old archive suffix (normally "a").
   13804 libext="$libext"
   13805 
   13806 # Shared library suffix (normally ".so").
   13807 shrext_cmds='$shrext_cmds'
   13808 
   13809 # Executable file suffix (normally "").
   13810 exeext="$exeext"
   13811 
   13812 # Additional compiler flags for building library objects.
   13813 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13814 pic_mode=$pic_mode
   13815 
   13816 # What is the maximum length of a command?
   13817 max_cmd_len=$lt_cv_sys_max_cmd_len
   13818 
   13819 # Does compiler simultaneously support -c and -o options?
   13820 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13821 
   13822 # Must we lock files when doing compilation?
   13823 need_locks=$lt_need_locks
   13824 
   13825 # Do we need the lib prefix for modules?
   13826 need_lib_prefix=$need_lib_prefix
   13827 
   13828 # Do we need a version for libraries?
   13829 need_version=$need_version
   13830 
   13831 # Whether dlopen is supported.
   13832 dlopen_support=$enable_dlopen
   13833 
   13834 # Whether dlopen of programs is supported.
   13835 dlopen_self=$enable_dlopen_self
   13836 
   13837 # Whether dlopen of statically linked programs is supported.
   13838 dlopen_self_static=$enable_dlopen_self_static
   13839 
   13840 # Compiler flag to prevent dynamic linking.
   13841 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13842 
   13843 # Compiler flag to turn off builtin functions.
   13844 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13845 
   13846 # Compiler flag to allow reflexive dlopens.
   13847 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13848 
   13849 # Compiler flag to generate shared objects directly from archives.
   13850 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13851 
   13852 # Compiler flag to generate thread-safe objects.
   13853 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13854 
   13855 # Library versioning type.
   13856 version_type=$version_type
   13857 
   13858 # Format of library name prefix.
   13859 libname_spec=$lt_libname_spec
   13860 
   13861 # List of archive names.  First name is the real one, the rest are links.
   13862 # The last name is the one that the linker finds with -lNAME.
   13863 library_names_spec=$lt_library_names_spec
   13864 
   13865 # The coded name of the library, if different from the real name.
   13866 soname_spec=$lt_soname_spec
   13867 
   13868 # Commands used to build and install an old-style archive.
   13869 RANLIB=$lt_RANLIB
   13870 old_archive_cmds=$lt_old_archive_cmds_CXX
   13871 old_postinstall_cmds=$lt_old_postinstall_cmds
   13872 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13873 
   13874 # Create an old-style archive from a shared archive.
   13875 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13876 
   13877 # Create a temporary old-style archive to link instead of a shared archive.
   13878 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13879 
   13880 # Commands used to build and install a shared archive.
   13881 archive_cmds=$lt_archive_cmds_CXX
   13882 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13883 postinstall_cmds=$lt_postinstall_cmds
   13884 postuninstall_cmds=$lt_postuninstall_cmds
   13885 
   13886 # Commands used to build a loadable module (assumed same as above if empty)
   13887 module_cmds=$lt_module_cmds_CXX
   13888 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13889 
   13890 # Commands to strip libraries.
   13891 old_striplib=$lt_old_striplib
   13892 striplib=$lt_striplib
   13893 
   13894 # Dependencies to place before the objects being linked to create a
   13895 # shared library.
   13896 predep_objects=$lt_predep_objects_CXX
   13897 
   13898 # Dependencies to place after the objects being linked to create a
   13899 # shared library.
   13900 postdep_objects=$lt_postdep_objects_CXX
   13901 
   13902 # Dependencies to place before the objects being linked to create a
   13903 # shared library.
   13904 predeps=$lt_predeps_CXX
   13905 
   13906 # Dependencies to place after the objects being linked to create a
   13907 # shared library.
   13908 postdeps=$lt_postdeps_CXX
   13909 
   13910 # The directories searched by this compiler when creating a shared
   13911 # library
   13912 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   13913 
   13914 # The library search path used internally by the compiler when linking
   13915 # a shared library.
   13916 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13917 
   13918 # Method to check whether dependent libraries are shared objects.
   13919 deplibs_check_method=$lt_deplibs_check_method
   13920 
   13921 # Command to use when deplibs_check_method == file_magic.
   13922 file_magic_cmd=$lt_file_magic_cmd
   13923 
   13924 # Flag that allows shared libraries with undefined symbols to be built.
   13925 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13926 
   13927 # Flag that forces no undefined symbols.
   13928 no_undefined_flag=$lt_no_undefined_flag_CXX
   13929 
   13930 # Commands used to finish a libtool library installation in a directory.
   13931 finish_cmds=$lt_finish_cmds
   13932 
   13933 # Same as above, but a single script fragment to be evaled but not shown.
   13934 finish_eval=$lt_finish_eval
   13935 
   13936 # Take the output of nm and produce a listing of raw symbols and C names.
   13937 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13938 
   13939 # Transform the output of nm in a proper C declaration
   13940 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13941 
   13942 # Transform the output of nm in a C name address pair
   13943 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13944 
   13945 # This is the shared library runtime path variable.
   13946 runpath_var=$runpath_var
   13947 
   13948 # This is the shared library path variable.
   13949 shlibpath_var=$shlibpath_var
   13950 
   13951 # Is shlibpath searched before the hard-coded library search path?
   13952 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13953 
   13954 # How to hardcode a shared library path into an executable.
   13955 hardcode_action=$hardcode_action_CXX
   13956 
   13957 # Whether we should hardcode library paths into libraries.
   13958 hardcode_into_libs=$hardcode_into_libs
   13959 
   13960 # Flag to hardcode \$libdir into a binary during linking.
   13961 # This must work even if \$libdir does not exist.
   13962 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13963 
   13964 # If ld is used when linking, flag to hardcode \$libdir into
   13965 # a binary during linking. This must work even if \$libdir does
   13966 # not exist.
   13967 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13968 
   13969 # Whether we need a single -rpath flag with a separated argument.
   13970 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13971 
   13972 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13973 # resulting binary.
   13974 hardcode_direct=$hardcode_direct_CXX
   13975 
   13976 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13977 # resulting binary.
   13978 hardcode_minus_L=$hardcode_minus_L_CXX
   13979 
   13980 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13981 # the resulting binary.
   13982 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13983 
   13984 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13985 # and all subsequent libraries and executables linked against it.
   13986 hardcode_automatic=$hardcode_automatic_CXX
   13987 
   13988 # Variables whose values should be saved in libtool wrapper scripts and
   13989 # restored at relink time.
   13990 variables_saved_for_relink="$variables_saved_for_relink"
   13991 
   13992 # Whether libtool must link a program against all its dependency libraries.
   13993 link_all_deplibs=$link_all_deplibs_CXX
   13994 
   13995 # Compile-time system search path for libraries
   13996 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13997 
   13998 # Run-time system search path for libraries
   13999 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14000 
   14001 # Fix the shell variable \$srcfile for the compiler.
   14002 fix_srcfile_path=$lt_fix_srcfile_path
   14003 
   14004 # Set to yes if exported symbols are required.
   14005 always_export_symbols=$always_export_symbols_CXX
   14006 
   14007 # The commands to list exported symbols.
   14008 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14009 
   14010 # The commands to extract the exported symbol list from a shared archive.
   14011 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14012 
   14013 # Symbols that should not be listed in the preloaded symbols.
   14014 exclude_expsyms=$lt_exclude_expsyms_CXX
   14015 
   14016 # Symbols that must always be exported.
   14017 include_expsyms=$lt_include_expsyms_CXX
   14018 
   14019 # ### END LIBTOOL TAG CONFIG: $tagname
   14020 
   14021 __EOF__
   14022 
   14023 
   14024 else
   14025   # If there is no Makefile yet, we rely on a make rule to execute
   14026   # `config.status --recheck' to rerun these tests and create the
   14027   # libtool script then.
   14028   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14029   if test -f "$ltmain_in"; then
   14030     test -f Makefile && make "$ltmain"
   14031   fi
   14032 fi
   14033 
   14034 
   14035 ac_ext=c
   14036 ac_cpp='$CPP $CPPFLAGS'
   14037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14040 
   14041 CC=$lt_save_CC
   14042 LDCXX=$LD
   14043 LD=$lt_save_LD
   14044 GCC=$lt_save_GCC
   14045 with_gnu_ldcxx=$with_gnu_ld
   14046 with_gnu_ld=$lt_save_with_gnu_ld
   14047 lt_cv_path_LDCXX=$lt_cv_path_LD
   14048 lt_cv_path_LD=$lt_save_path_LD
   14049 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14050 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14051 
   14052 	else
   14053 	  tagname=""
   14054 	fi
   14055 	;;
   14056 
   14057       F77)
   14058 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14059 
   14060 ac_ext=f
   14061 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14062 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14063 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14064 
   14065 
   14066 archive_cmds_need_lc_F77=no
   14067 allow_undefined_flag_F77=
   14068 always_export_symbols_F77=no
   14069 archive_expsym_cmds_F77=
   14070 export_dynamic_flag_spec_F77=
   14071 hardcode_direct_F77=no
   14072 hardcode_libdir_flag_spec_F77=
   14073 hardcode_libdir_flag_spec_ld_F77=
   14074 hardcode_libdir_separator_F77=
   14075 hardcode_minus_L_F77=no
   14076 hardcode_automatic_F77=no
   14077 module_cmds_F77=
   14078 module_expsym_cmds_F77=
   14079 link_all_deplibs_F77=unknown
   14080 old_archive_cmds_F77=$old_archive_cmds
   14081 no_undefined_flag_F77=
   14082 whole_archive_flag_spec_F77=
   14083 enable_shared_with_static_runtimes_F77=no
   14084 
   14085 # Source file extension for f77 test sources.
   14086 ac_ext=f
   14087 
   14088 # Object file extension for compiled f77 test sources.
   14089 objext=o
   14090 objext_F77=$objext
   14091 
   14092 # Code to be used in simple compile tests
   14093 lt_simple_compile_test_code="\
   14094       subroutine t
   14095       return
   14096       end
   14097 "
   14098 
   14099 # Code to be used in simple link tests
   14100 lt_simple_link_test_code="\
   14101       program t
   14102       end
   14103 "
   14104 
   14105 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14106 
   14107 # If no C compiler was specified, use CC.
   14108 LTCC=${LTCC-"$CC"}
   14109 
   14110 # If no C compiler flags were specified, use CFLAGS.
   14111 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14112 
   14113 # Allow CC to be a program name with arguments.
   14114 compiler=$CC
   14115 
   14116 
   14117 # save warnings/boilerplate of simple test code
   14118 ac_outfile=conftest.$ac_objext
   14119 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14120 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14121 _lt_compiler_boilerplate=`cat conftest.err`
   14122 $rm conftest*
   14123 
   14124 ac_outfile=conftest.$ac_objext
   14125 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14126 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14127 _lt_linker_boilerplate=`cat conftest.err`
   14128 $rm -r conftest*
   14129 
   14130 
   14131 # Allow CC to be a program name with arguments.
   14132 lt_save_CC="$CC"
   14133 CC=${F77-"f77"}
   14134 compiler=$CC
   14135 compiler_F77=$CC
   14136 for cc_temp in $compiler""; do
   14137   case $cc_temp in
   14138     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14139     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14140     \-*) ;;
   14141     *) break;;
   14142   esac
   14143 done
   14144 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14145 
   14146 
   14147 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14148 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14149 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14150 echo "${ECHO_T}$can_build_shared" >&6; }
   14151 
   14152 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14153 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14154 test "$can_build_shared" = "no" && enable_shared=no
   14155 
   14156 # On AIX, shared libraries and static libraries use the same namespace, and
   14157 # are all built from PIC.
   14158 case $host_os in
   14159 aix3*)
   14160   test "$enable_shared" = yes && enable_static=no
   14161   if test -n "$RANLIB"; then
   14162     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14163     postinstall_cmds='$RANLIB $lib'
   14164   fi
   14165   ;;
   14166 aix[4-9]*)
   14167   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14168     test "$enable_shared" = yes && enable_static=no
   14169   fi
   14170   ;;
   14171 esac
   14172 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14173 echo "${ECHO_T}$enable_shared" >&6; }
   14174 
   14175 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14176 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14177 # Make sure either enable_shared or enable_static is yes.
   14178 test "$enable_shared" = yes || enable_static=yes
   14179 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14180 echo "${ECHO_T}$enable_static" >&6; }
   14181 
   14182 GCC_F77="$G77"
   14183 LD_F77="$LD"
   14184 
   14185 lt_prog_compiler_wl_F77=
   14186 lt_prog_compiler_pic_F77=
   14187 lt_prog_compiler_static_F77=
   14188 
   14189 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14190 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14191 
   14192   if test "$GCC" = yes; then
   14193     lt_prog_compiler_wl_F77='-Wl,'
   14194     lt_prog_compiler_static_F77='-static'
   14195 
   14196     case $host_os in
   14197       aix*)
   14198       # All AIX code is PIC.
   14199       if test "$host_cpu" = ia64; then
   14200 	# AIX 5 now supports IA64 processor
   14201 	lt_prog_compiler_static_F77='-Bstatic'
   14202       fi
   14203       ;;
   14204 
   14205     amigaos*)
   14206       # FIXME: we need at least 68020 code to build shared libraries, but
   14207       # adding the `-m68020' flag to GCC prevents building anything better,
   14208       # like `-m68040'.
   14209       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14210       ;;
   14211 
   14212     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14213       # PIC is the default for these OSes.
   14214       ;;
   14215 
   14216     mingw* | cygwin* | pw32* | os2*)
   14217       # This hack is so that the source file can tell whether it is being
   14218       # built for inclusion in a dll (and should export symbols for example).
   14219       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14220       # (--disable-auto-import) libraries
   14221       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14222       ;;
   14223 
   14224     darwin* | rhapsody*)
   14225       # PIC is the default on this platform
   14226       # Common symbols not allowed in MH_DYLIB files
   14227       lt_prog_compiler_pic_F77='-fno-common'
   14228       ;;
   14229 
   14230     interix[3-9]*)
   14231       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14232       # Instead, we relocate shared libraries at runtime.
   14233       ;;
   14234 
   14235     msdosdjgpp*)
   14236       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14237       # on systems that don't support them.
   14238       lt_prog_compiler_can_build_shared_F77=no
   14239       enable_shared=no
   14240       ;;
   14241 
   14242     sysv4*MP*)
   14243       if test -d /usr/nec; then
   14244 	lt_prog_compiler_pic_F77=-Kconform_pic
   14245       fi
   14246       ;;
   14247 
   14248     hpux*)
   14249       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14250       # not for PA HP-UX.
   14251       case $host_cpu in
   14252       hppa*64*|ia64*)
   14253 	# +Z the default
   14254 	;;
   14255       *)
   14256 	lt_prog_compiler_pic_F77='-fPIC'
   14257 	;;
   14258       esac
   14259       ;;
   14260 
   14261     *)
   14262       lt_prog_compiler_pic_F77='-fPIC'
   14263       ;;
   14264     esac
   14265   else
   14266     # PORTME Check for flag to pass linker flags through the system compiler.
   14267     case $host_os in
   14268     aix*)
   14269       lt_prog_compiler_wl_F77='-Wl,'
   14270       if test "$host_cpu" = ia64; then
   14271 	# AIX 5 now supports IA64 processor
   14272 	lt_prog_compiler_static_F77='-Bstatic'
   14273       else
   14274 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14275       fi
   14276       ;;
   14277       darwin*)
   14278         # PIC is the default on this platform
   14279         # Common symbols not allowed in MH_DYLIB files
   14280        case $cc_basename in
   14281          xlc*)
   14282          lt_prog_compiler_pic_F77='-qnocommon'
   14283          lt_prog_compiler_wl_F77='-Wl,'
   14284          ;;
   14285        esac
   14286        ;;
   14287 
   14288     mingw* | cygwin* | pw32* | os2*)
   14289       # This hack is so that the source file can tell whether it is being
   14290       # built for inclusion in a dll (and should export symbols for example).
   14291       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14292       ;;
   14293 
   14294     hpux9* | hpux10* | hpux11*)
   14295       lt_prog_compiler_wl_F77='-Wl,'
   14296       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14297       # not for PA HP-UX.
   14298       case $host_cpu in
   14299       hppa*64*|ia64*)
   14300 	# +Z the default
   14301 	;;
   14302       *)
   14303 	lt_prog_compiler_pic_F77='+Z'
   14304 	;;
   14305       esac
   14306       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14307       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14308       ;;
   14309 
   14310     irix5* | irix6* | nonstopux*)
   14311       lt_prog_compiler_wl_F77='-Wl,'
   14312       # PIC (with -KPIC) is the default.
   14313       lt_prog_compiler_static_F77='-non_shared'
   14314       ;;
   14315 
   14316     newsos6)
   14317       lt_prog_compiler_pic_F77='-KPIC'
   14318       lt_prog_compiler_static_F77='-Bstatic'
   14319       ;;
   14320 
   14321     linux* | k*bsd*-gnu)
   14322       case $cc_basename in
   14323       icc* | ecc*)
   14324 	lt_prog_compiler_wl_F77='-Wl,'
   14325 	lt_prog_compiler_pic_F77='-KPIC'
   14326 	lt_prog_compiler_static_F77='-static'
   14327         ;;
   14328       pgcc* | pgf77* | pgf90* | pgf95*)
   14329         # Portland Group compilers (*not* the Pentium gcc compiler,
   14330 	# which looks to be a dead project)
   14331 	lt_prog_compiler_wl_F77='-Wl,'
   14332 	lt_prog_compiler_pic_F77='-fpic'
   14333 	lt_prog_compiler_static_F77='-Bstatic'
   14334         ;;
   14335       ccc*)
   14336         lt_prog_compiler_wl_F77='-Wl,'
   14337         # All Alpha code is PIC.
   14338         lt_prog_compiler_static_F77='-non_shared'
   14339         ;;
   14340       *)
   14341         case `$CC -V 2>&1 | sed 5q` in
   14342 	*Sun\ C*)
   14343 	  # Sun C 5.9
   14344 	  lt_prog_compiler_pic_F77='-KPIC'
   14345 	  lt_prog_compiler_static_F77='-Bstatic'
   14346 	  lt_prog_compiler_wl_F77='-Wl,'
   14347 	  ;;
   14348 	*Sun\ F*)
   14349 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14350 	  lt_prog_compiler_pic_F77='-KPIC'
   14351 	  lt_prog_compiler_static_F77='-Bstatic'
   14352 	  lt_prog_compiler_wl_F77=''
   14353 	  ;;
   14354 	esac
   14355 	;;
   14356       esac
   14357       ;;
   14358 
   14359     osf3* | osf4* | osf5*)
   14360       lt_prog_compiler_wl_F77='-Wl,'
   14361       # All OSF/1 code is PIC.
   14362       lt_prog_compiler_static_F77='-non_shared'
   14363       ;;
   14364 
   14365     rdos*)
   14366       lt_prog_compiler_static_F77='-non_shared'
   14367       ;;
   14368 
   14369     solaris*)
   14370       lt_prog_compiler_pic_F77='-KPIC'
   14371       lt_prog_compiler_static_F77='-Bstatic'
   14372       case $cc_basename in
   14373       f77* | f90* | f95*)
   14374 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14375       *)
   14376 	lt_prog_compiler_wl_F77='-Wl,';;
   14377       esac
   14378       ;;
   14379 
   14380     sunos4*)
   14381       lt_prog_compiler_wl_F77='-Qoption ld '
   14382       lt_prog_compiler_pic_F77='-PIC'
   14383       lt_prog_compiler_static_F77='-Bstatic'
   14384       ;;
   14385 
   14386     sysv4 | sysv4.2uw2* | sysv4.3*)
   14387       lt_prog_compiler_wl_F77='-Wl,'
   14388       lt_prog_compiler_pic_F77='-KPIC'
   14389       lt_prog_compiler_static_F77='-Bstatic'
   14390       ;;
   14391 
   14392     sysv4*MP*)
   14393       if test -d /usr/nec ;then
   14394 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14395 	lt_prog_compiler_static_F77='-Bstatic'
   14396       fi
   14397       ;;
   14398 
   14399     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14400       lt_prog_compiler_wl_F77='-Wl,'
   14401       lt_prog_compiler_pic_F77='-KPIC'
   14402       lt_prog_compiler_static_F77='-Bstatic'
   14403       ;;
   14404 
   14405     unicos*)
   14406       lt_prog_compiler_wl_F77='-Wl,'
   14407       lt_prog_compiler_can_build_shared_F77=no
   14408       ;;
   14409 
   14410     uts4*)
   14411       lt_prog_compiler_pic_F77='-pic'
   14412       lt_prog_compiler_static_F77='-Bstatic'
   14413       ;;
   14414 
   14415     *)
   14416       lt_prog_compiler_can_build_shared_F77=no
   14417       ;;
   14418     esac
   14419   fi
   14420 
   14421 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14422 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14423 
   14424 #
   14425 # Check to make sure the PIC flag actually works.
   14426 #
   14427 if test -n "$lt_prog_compiler_pic_F77"; then
   14428 
   14429 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14430 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14431 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14432   echo $ECHO_N "(cached) $ECHO_C" >&6
   14433 else
   14434   lt_cv_prog_compiler_pic_works_F77=no
   14435   ac_outfile=conftest.$ac_objext
   14436    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14437    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14438    # Insert the option either (1) after the last *FLAGS variable, or
   14439    # (2) before a word containing "conftest.", or (3) at the end.
   14440    # Note that $ac_compile itself does not contain backslashes and begins
   14441    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14442    # The option is referenced via a variable to avoid confusing sed.
   14443    lt_compile=`echo "$ac_compile" | $SED \
   14444    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14445    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14446    -e 's:$: $lt_compiler_flag:'`
   14447    (eval echo "\"\$as_me:14447: $lt_compile\"" >&5)
   14448    (eval "$lt_compile" 2>conftest.err)
   14449    ac_status=$?
   14450    cat conftest.err >&5
   14451    echo "$as_me:14451: \$? = $ac_status" >&5
   14452    if (exit $ac_status) && test -s "$ac_outfile"; then
   14453      # The compiler can only warn and ignore the option if not recognized
   14454      # So say no if there are warnings other than the usual output.
   14455      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14456      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14457      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14458        lt_cv_prog_compiler_pic_works_F77=yes
   14459      fi
   14460    fi
   14461    $rm conftest*
   14462 
   14463 fi
   14464 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14465 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14466 
   14467 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14468     case $lt_prog_compiler_pic_F77 in
   14469      "" | " "*) ;;
   14470      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14471      esac
   14472 else
   14473     lt_prog_compiler_pic_F77=
   14474      lt_prog_compiler_can_build_shared_F77=no
   14475 fi
   14476 
   14477 fi
   14478 case $host_os in
   14479   # For platforms which do not support PIC, -DPIC is meaningless:
   14480   *djgpp*)
   14481     lt_prog_compiler_pic_F77=
   14482     ;;
   14483   *)
   14484     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14485     ;;
   14486 esac
   14487 
   14488 #
   14489 # Check to make sure the static flag actually works.
   14490 #
   14491 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14492 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14493 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14494 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14495   echo $ECHO_N "(cached) $ECHO_C" >&6
   14496 else
   14497   lt_cv_prog_compiler_static_works_F77=no
   14498    save_LDFLAGS="$LDFLAGS"
   14499    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14500    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14501    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14502      # The linker can only warn and ignore the option if not recognized
   14503      # So say no if there are warnings
   14504      if test -s conftest.err; then
   14505        # Append any errors to the config.log.
   14506        cat conftest.err 1>&5
   14507        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14508        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14509        if diff conftest.exp conftest.er2 >/dev/null; then
   14510          lt_cv_prog_compiler_static_works_F77=yes
   14511        fi
   14512      else
   14513        lt_cv_prog_compiler_static_works_F77=yes
   14514      fi
   14515    fi
   14516    $rm -r conftest*
   14517    LDFLAGS="$save_LDFLAGS"
   14518 
   14519 fi
   14520 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14521 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
   14522 
   14523 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14524     :
   14525 else
   14526     lt_prog_compiler_static_F77=
   14527 fi
   14528 
   14529 
   14530 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14531 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14532 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14533   echo $ECHO_N "(cached) $ECHO_C" >&6
   14534 else
   14535   lt_cv_prog_compiler_c_o_F77=no
   14536    $rm -r conftest 2>/dev/null
   14537    mkdir conftest
   14538    cd conftest
   14539    mkdir out
   14540    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14541 
   14542    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14543    # Insert the option either (1) after the last *FLAGS variable, or
   14544    # (2) before a word containing "conftest.", or (3) at the end.
   14545    # Note that $ac_compile itself does not contain backslashes and begins
   14546    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14547    lt_compile=`echo "$ac_compile" | $SED \
   14548    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14549    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14550    -e 's:$: $lt_compiler_flag:'`
   14551    (eval echo "\"\$as_me:14551: $lt_compile\"" >&5)
   14552    (eval "$lt_compile" 2>out/conftest.err)
   14553    ac_status=$?
   14554    cat out/conftest.err >&5
   14555    echo "$as_me:14555: \$? = $ac_status" >&5
   14556    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14557    then
   14558      # The compiler can only warn and ignore the option if not recognized
   14559      # So say no if there are warnings
   14560      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14561      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14562      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14563        lt_cv_prog_compiler_c_o_F77=yes
   14564      fi
   14565    fi
   14566    chmod u+w . 2>&5
   14567    $rm conftest*
   14568    # SGI C++ compiler will create directory out/ii_files/ for
   14569    # template instantiation
   14570    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14571    $rm out/* && rmdir out
   14572    cd ..
   14573    rmdir conftest
   14574    $rm conftest*
   14575 
   14576 fi
   14577 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14578 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14579 
   14580 
   14581 hard_links="nottested"
   14582 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14583   # do not overwrite the value of need_locks provided by the user
   14584   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14585 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14586   hard_links=yes
   14587   $rm conftest*
   14588   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14589   touch conftest.a
   14590   ln conftest.a conftest.b 2>&5 || hard_links=no
   14591   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14592   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14593 echo "${ECHO_T}$hard_links" >&6; }
   14594   if test "$hard_links" = no; then
   14595     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14596 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14597     need_locks=warn
   14598   fi
   14599 else
   14600   need_locks=no
   14601 fi
   14602 
   14603 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14604 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14605 
   14606   runpath_var=
   14607   allow_undefined_flag_F77=
   14608   enable_shared_with_static_runtimes_F77=no
   14609   archive_cmds_F77=
   14610   archive_expsym_cmds_F77=
   14611   old_archive_From_new_cmds_F77=
   14612   old_archive_from_expsyms_cmds_F77=
   14613   export_dynamic_flag_spec_F77=
   14614   whole_archive_flag_spec_F77=
   14615   thread_safe_flag_spec_F77=
   14616   hardcode_libdir_flag_spec_F77=
   14617   hardcode_libdir_flag_spec_ld_F77=
   14618   hardcode_libdir_separator_F77=
   14619   hardcode_direct_F77=no
   14620   hardcode_minus_L_F77=no
   14621   hardcode_shlibpath_var_F77=unsupported
   14622   link_all_deplibs_F77=unknown
   14623   hardcode_automatic_F77=no
   14624   module_cmds_F77=
   14625   module_expsym_cmds_F77=
   14626   always_export_symbols_F77=no
   14627   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14628   # include_expsyms should be a list of space-separated symbols to be *always*
   14629   # included in the symbol list
   14630   include_expsyms_F77=
   14631   # exclude_expsyms can be an extended regexp of symbols to exclude
   14632   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14633   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14634   # as well as any symbol that contains `d'.
   14635   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14636   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14637   # platforms (ab)use it in PIC code, but their linkers get confused if
   14638   # the symbol is explicitly referenced.  Since portable code cannot
   14639   # rely on this symbol name, it's probably fine to never include it in
   14640   # preloaded symbol tables.
   14641   # Exclude shared library initialization/finalization symbols.
   14642   extract_expsyms_cmds=
   14643   # Just being paranoid about ensuring that cc_basename is set.
   14644   for cc_temp in $compiler""; do
   14645   case $cc_temp in
   14646     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14647     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14648     \-*) ;;
   14649     *) break;;
   14650   esac
   14651 done
   14652 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14653 
   14654   case $host_os in
   14655   cygwin* | mingw* | pw32*)
   14656     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14657     # When not using gcc, we currently assume that we are using
   14658     # Microsoft Visual C++.
   14659     if test "$GCC" != yes; then
   14660       with_gnu_ld=no
   14661     fi
   14662     ;;
   14663   interix*)
   14664     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14665     with_gnu_ld=yes
   14666     ;;
   14667   openbsd*)
   14668     with_gnu_ld=no
   14669     ;;
   14670   esac
   14671 
   14672   ld_shlibs_F77=yes
   14673   if test "$with_gnu_ld" = yes; then
   14674     # If archive_cmds runs LD, not CC, wlarc should be empty
   14675     wlarc='${wl}'
   14676 
   14677     # Set some defaults for GNU ld with shared library support. These
   14678     # are reset later if shared libraries are not supported. Putting them
   14679     # here allows them to be overridden if necessary.
   14680     runpath_var=LD_RUN_PATH
   14681     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14682     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14683     # ancient GNU ld didn't support --whole-archive et. al.
   14684     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14685 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14686       else
   14687   	whole_archive_flag_spec_F77=
   14688     fi
   14689     supports_anon_versioning=no
   14690     case `$LD -v 2>/dev/null` in
   14691       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14692       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14693       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14694       *\ 2.11.*) ;; # other 2.11 versions
   14695       *) supports_anon_versioning=yes ;;
   14696     esac
   14697 
   14698     # See if GNU ld supports shared libraries.
   14699     case $host_os in
   14700     aix[3-9]*)
   14701       # On AIX/PPC, the GNU linker is very broken
   14702       if test "$host_cpu" != ia64; then
   14703 	ld_shlibs_F77=no
   14704 	cat <<EOF 1>&2
   14705 
   14706 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14707 *** to be unable to reliably create shared libraries on AIX.
   14708 *** Therefore, libtool is disabling shared libraries support.  If you
   14709 *** really care for shared libraries, you may want to modify your PATH
   14710 *** so that a non-GNU linker is found, and then restart.
   14711 
   14712 EOF
   14713       fi
   14714       ;;
   14715 
   14716     amigaos*)
   14717       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)'
   14718       hardcode_libdir_flag_spec_F77='-L$libdir'
   14719       hardcode_minus_L_F77=yes
   14720 
   14721       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14722       # that the semantics of dynamic libraries on AmigaOS, at least up
   14723       # to version 4, is to share data among multiple programs linked
   14724       # with the same dynamic library.  Since this doesn't match the
   14725       # behavior of shared libraries on other platforms, we can't use
   14726       # them.
   14727       ld_shlibs_F77=no
   14728       ;;
   14729 
   14730     beos*)
   14731       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14732 	allow_undefined_flag_F77=unsupported
   14733 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14734 	# support --undefined.  This deserves some investigation.  FIXME
   14735 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14736       else
   14737 	ld_shlibs_F77=no
   14738       fi
   14739       ;;
   14740 
   14741     cygwin* | mingw* | pw32*)
   14742       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14743       # as there is no search path for DLLs.
   14744       hardcode_libdir_flag_spec_F77='-L$libdir'
   14745       allow_undefined_flag_F77=unsupported
   14746       always_export_symbols_F77=no
   14747       enable_shared_with_static_runtimes_F77=yes
   14748       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14749 
   14750       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14751         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14752 	# If the export-symbols file already is a .def file (1st line
   14753 	# is EXPORTS), use it as is; otherwise, prepend...
   14754 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14755 	  cp $export_symbols $output_objdir/$soname.def;
   14756 	else
   14757 	  echo EXPORTS > $output_objdir/$soname.def;
   14758 	  cat $export_symbols >> $output_objdir/$soname.def;
   14759 	fi~
   14760 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14761       else
   14762 	ld_shlibs_F77=no
   14763       fi
   14764       ;;
   14765 
   14766     interix[3-9]*)
   14767       hardcode_direct_F77=no
   14768       hardcode_shlibpath_var_F77=no
   14769       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14770       export_dynamic_flag_spec_F77='${wl}-E'
   14771       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14772       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14773       # default) and relocated if they conflict, which is a slow very memory
   14774       # consuming and fragmenting process.  To avoid this, we pick a random,
   14775       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14776       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14777       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'
   14778       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'
   14779       ;;
   14780 
   14781     gnu* | linux* | k*bsd*-gnu)
   14782       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14783 	tmp_addflag=
   14784 	case $cc_basename,$host_cpu in
   14785 	pgcc*)				# Portland Group C compiler
   14786 	  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'
   14787 	  tmp_addflag=' $pic_flag'
   14788 	  ;;
   14789 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14790 	  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'
   14791 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14792 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14793 	  tmp_addflag=' -i_dynamic' ;;
   14794 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14795 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14796 	ifc* | ifort*)			# Intel Fortran compiler
   14797 	  tmp_addflag=' -nofor_main' ;;
   14798 	esac
   14799 	case `$CC -V 2>&1 | sed 5q` in
   14800 	*Sun\ C*)			# Sun C 5.9
   14801 	  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'
   14802 	  tmp_sharedflag='-G' ;;
   14803 	*Sun\ F*)			# Sun Fortran 8.3
   14804 	  tmp_sharedflag='-G' ;;
   14805 	*)
   14806 	  tmp_sharedflag='-shared' ;;
   14807 	esac
   14808 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14809 
   14810 	if test $supports_anon_versioning = yes; then
   14811 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14812   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14813   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14814 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14815 	fi
   14816 	link_all_deplibs_F77=no
   14817       else
   14818 	ld_shlibs_F77=no
   14819       fi
   14820       ;;
   14821 
   14822     netbsd* | netbsdelf*-gnu)
   14823       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14824 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14825 	wlarc=
   14826       else
   14827 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14828 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14829       fi
   14830       ;;
   14831 
   14832     solaris*)
   14833       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14834 	ld_shlibs_F77=no
   14835 	cat <<EOF 1>&2
   14836 
   14837 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14838 *** create shared libraries on Solaris systems.  Therefore, libtool
   14839 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14840 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14841 *** your PATH or compiler configuration so that the native linker is
   14842 *** used, and then restart.
   14843 
   14844 EOF
   14845       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14846 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14847 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14848       else
   14849 	ld_shlibs_F77=no
   14850       fi
   14851       ;;
   14852 
   14853     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14854       case `$LD -v 2>&1` in
   14855         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14856 	ld_shlibs_F77=no
   14857 	cat <<_LT_EOF 1>&2
   14858 
   14859 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14860 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14861 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14862 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14863 *** your PATH or compiler configuration so that the native linker is
   14864 *** used, and then restart.
   14865 
   14866 _LT_EOF
   14867 	;;
   14868 	*)
   14869 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14870 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14871 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14872 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14873 	  else
   14874 	    ld_shlibs_F77=no
   14875 	  fi
   14876 	;;
   14877       esac
   14878       ;;
   14879 
   14880     sunos4*)
   14881       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14882       wlarc=
   14883       hardcode_direct_F77=yes
   14884       hardcode_shlibpath_var_F77=no
   14885       ;;
   14886 
   14887     *)
   14888       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14889 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14890 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14891       else
   14892 	ld_shlibs_F77=no
   14893       fi
   14894       ;;
   14895     esac
   14896 
   14897     if test "$ld_shlibs_F77" = no; then
   14898       runpath_var=
   14899       hardcode_libdir_flag_spec_F77=
   14900       export_dynamic_flag_spec_F77=
   14901       whole_archive_flag_spec_F77=
   14902     fi
   14903   else
   14904     # PORTME fill in a description of your system's linker (not GNU ld)
   14905     case $host_os in
   14906     aix3*)
   14907       allow_undefined_flag_F77=unsupported
   14908       always_export_symbols_F77=yes
   14909       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'
   14910       # Note: this linker hardcodes the directories in LIBPATH if there
   14911       # are no directories specified by -L.
   14912       hardcode_minus_L_F77=yes
   14913       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14914 	# Neither direct hardcoding nor static linking is supported with a
   14915 	# broken collect2.
   14916 	hardcode_direct_F77=unsupported
   14917       fi
   14918       ;;
   14919 
   14920     aix[4-9]*)
   14921       if test "$host_cpu" = ia64; then
   14922 	# On IA64, the linker does run time linking by default, so we don't
   14923 	# have to do anything special.
   14924 	aix_use_runtimelinking=no
   14925 	exp_sym_flag='-Bexport'
   14926 	no_entry_flag=""
   14927       else
   14928 	# If we're using GNU nm, then we don't want the "-C" option.
   14929 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14930 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14931 	  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'
   14932 	else
   14933 	  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'
   14934 	fi
   14935 	aix_use_runtimelinking=no
   14936 
   14937 	# Test if we are trying to use run time linking or normal
   14938 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14939 	# need to do runtime linking.
   14940 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   14941 	  for ld_flag in $LDFLAGS; do
   14942   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14943   	    aix_use_runtimelinking=yes
   14944   	    break
   14945   	  fi
   14946 	  done
   14947 	  ;;
   14948 	esac
   14949 
   14950 	exp_sym_flag='-bexport'
   14951 	no_entry_flag='-bnoentry'
   14952       fi
   14953 
   14954       # When large executables or shared objects are built, AIX ld can
   14955       # have problems creating the table of contents.  If linking a library
   14956       # or program results in "error TOC overflow" add -mminimal-toc to
   14957       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14958       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14959 
   14960       archive_cmds_F77=''
   14961       hardcode_direct_F77=yes
   14962       hardcode_libdir_separator_F77=':'
   14963       link_all_deplibs_F77=yes
   14964 
   14965       if test "$GCC" = yes; then
   14966 	case $host_os in aix4.[012]|aix4.[012].*)
   14967 	# We only want to do this on AIX 4.2 and lower, the check
   14968 	# below for broken collect2 doesn't work under 4.3+
   14969 	  collect2name=`${CC} -print-prog-name=collect2`
   14970 	  if test -f "$collect2name" && \
   14971   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14972 	  then
   14973   	  # We have reworked collect2
   14974   	  :
   14975 	  else
   14976   	  # We have old collect2
   14977   	  hardcode_direct_F77=unsupported
   14978   	  # It fails to find uninstalled libraries when the uninstalled
   14979   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14980   	  # to unsupported forces relinking
   14981   	  hardcode_minus_L_F77=yes
   14982   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14983   	  hardcode_libdir_separator_F77=
   14984 	  fi
   14985 	  ;;
   14986 	esac
   14987 	shared_flag='-shared'
   14988 	if test "$aix_use_runtimelinking" = yes; then
   14989 	  shared_flag="$shared_flag "'${wl}-G'
   14990 	fi
   14991       else
   14992 	# not using gcc
   14993 	if test "$host_cpu" = ia64; then
   14994   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14995   	# chokes on -Wl,-G. The following line is correct:
   14996 	  shared_flag='-G'
   14997 	else
   14998 	  if test "$aix_use_runtimelinking" = yes; then
   14999 	    shared_flag='${wl}-G'
   15000 	  else
   15001 	    shared_flag='${wl}-bM:SRE'
   15002 	  fi
   15003 	fi
   15004       fi
   15005 
   15006       # It seems that -bexpall does not export symbols beginning with
   15007       # underscore (_), so it is better to generate a list of symbols to export.
   15008       always_export_symbols_F77=yes
   15009       if test "$aix_use_runtimelinking" = yes; then
   15010 	# Warning - without using the other runtime loading flags (-brtl),
   15011 	# -berok will link without error, but may produce a broken library.
   15012 	allow_undefined_flag_F77='-berok'
   15013        # Determine the default libpath from the value encoded in an empty executable.
   15014        cat >conftest.$ac_ext <<_ACEOF
   15015       program main
   15016 
   15017       end
   15018 _ACEOF
   15019 rm -f conftest.$ac_objext conftest$ac_exeext
   15020 if { (ac_try="$ac_link"
   15021 case "(($ac_try" in
   15022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15023   *) ac_try_echo=$ac_try;;
   15024 esac
   15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15026   (eval "$ac_link") 2>conftest.er1
   15027   ac_status=$?
   15028   grep -v '^ *+' conftest.er1 >conftest.err
   15029   rm -f conftest.er1
   15030   cat conftest.err >&5
   15031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15032   (exit $ac_status); } && {
   15033 	 test -z "$ac_f77_werror_flag" ||
   15034 	 test ! -s conftest.err
   15035        } && test -s conftest$ac_exeext &&
   15036        $as_test_x conftest$ac_exeext; then
   15037 
   15038 lt_aix_libpath_sed='
   15039     /Import File Strings/,/^$/ {
   15040 	/^0/ {
   15041 	    s/^0  *\(.*\)$/\1/
   15042 	    p
   15043 	}
   15044     }'
   15045 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15046 # Check for a 64-bit object if we didn't find anything.
   15047 if test -z "$aix_libpath"; then
   15048   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15049 fi
   15050 else
   15051   echo "$as_me: failed program was:" >&5
   15052 sed 's/^/| /' conftest.$ac_ext >&5
   15053 
   15054 
   15055 fi
   15056 
   15057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15058       conftest$ac_exeext conftest.$ac_ext
   15059 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15060 
   15061        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15062 	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"
   15063        else
   15064 	if test "$host_cpu" = ia64; then
   15065 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15066 	  allow_undefined_flag_F77="-z nodefs"
   15067 	  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"
   15068 	else
   15069 	 # Determine the default libpath from the value encoded in an empty executable.
   15070 	 cat >conftest.$ac_ext <<_ACEOF
   15071       program main
   15072 
   15073       end
   15074 _ACEOF
   15075 rm -f conftest.$ac_objext conftest$ac_exeext
   15076 if { (ac_try="$ac_link"
   15077 case "(($ac_try" in
   15078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15079   *) ac_try_echo=$ac_try;;
   15080 esac
   15081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15082   (eval "$ac_link") 2>conftest.er1
   15083   ac_status=$?
   15084   grep -v '^ *+' conftest.er1 >conftest.err
   15085   rm -f conftest.er1
   15086   cat conftest.err >&5
   15087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15088   (exit $ac_status); } && {
   15089 	 test -z "$ac_f77_werror_flag" ||
   15090 	 test ! -s conftest.err
   15091        } && test -s conftest$ac_exeext &&
   15092        $as_test_x conftest$ac_exeext; then
   15093 
   15094 lt_aix_libpath_sed='
   15095     /Import File Strings/,/^$/ {
   15096 	/^0/ {
   15097 	    s/^0  *\(.*\)$/\1/
   15098 	    p
   15099 	}
   15100     }'
   15101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15102 # Check for a 64-bit object if we didn't find anything.
   15103 if test -z "$aix_libpath"; then
   15104   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15105 fi
   15106 else
   15107   echo "$as_me: failed program was:" >&5
   15108 sed 's/^/| /' conftest.$ac_ext >&5
   15109 
   15110 
   15111 fi
   15112 
   15113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15114       conftest$ac_exeext conftest.$ac_ext
   15115 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15116 
   15117 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15118 	  # Warning - without using the other run time loading flags,
   15119 	  # -berok will link without error, but may produce a broken library.
   15120 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15121 	  allow_undefined_flag_F77=' ${wl}-berok'
   15122 	  # Exported symbols can be pulled into shared objects from archives
   15123 	  whole_archive_flag_spec_F77='$convenience'
   15124 	  archive_cmds_need_lc_F77=yes
   15125 	  # This is similar to how AIX traditionally builds its shared libraries.
   15126 	  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'
   15127 	fi
   15128       fi
   15129       ;;
   15130 
   15131     amigaos*)
   15132       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)'
   15133       hardcode_libdir_flag_spec_F77='-L$libdir'
   15134       hardcode_minus_L_F77=yes
   15135       # see comment about different semantics on the GNU ld section
   15136       ld_shlibs_F77=no
   15137       ;;
   15138 
   15139     bsdi[45]*)
   15140       export_dynamic_flag_spec_F77=-rdynamic
   15141       ;;
   15142 
   15143     cygwin* | mingw* | pw32*)
   15144       # When not using gcc, we currently assume that we are using
   15145       # Microsoft Visual C++.
   15146       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15147       # no search path for DLLs.
   15148       hardcode_libdir_flag_spec_F77=' '
   15149       allow_undefined_flag_F77=unsupported
   15150       # Tell ltmain to make .lib files, not .a files.
   15151       libext=lib
   15152       # Tell ltmain to make .dll files, not .so files.
   15153       shrext_cmds=".dll"
   15154       # FIXME: Setting linknames here is a bad hack.
   15155       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15156       # The linker will automatically build a .lib file if we build a DLL.
   15157       old_archive_From_new_cmds_F77='true'
   15158       # FIXME: Should let the user specify the lib program.
   15159       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15160       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15161       enable_shared_with_static_runtimes_F77=yes
   15162       ;;
   15163 
   15164     darwin* | rhapsody*)
   15165       case $host_os in
   15166         rhapsody* | darwin1.[012])
   15167          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15168          ;;
   15169        *) # Darwin 1.3 on
   15170          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15171            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15172          else
   15173            case ${MACOSX_DEPLOYMENT_TARGET} in
   15174              10.[012])
   15175                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15176                ;;
   15177              10.*)
   15178                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15179                ;;
   15180            esac
   15181          fi
   15182          ;;
   15183       esac
   15184       archive_cmds_need_lc_F77=no
   15185       hardcode_direct_F77=no
   15186       hardcode_automatic_F77=yes
   15187       hardcode_shlibpath_var_F77=unsupported
   15188       whole_archive_flag_spec_F77=''
   15189       link_all_deplibs_F77=yes
   15190     if test "$GCC" = yes ; then
   15191     	output_verbose_link_cmd='echo'
   15192         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15193         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15194         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15195         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15196     else
   15197       case $cc_basename in
   15198         xlc*)
   15199          output_verbose_link_cmd='echo'
   15200          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15201          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15202           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15203          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}'
   15204           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}'
   15205           ;;
   15206        *)
   15207          ld_shlibs_F77=no
   15208           ;;
   15209       esac
   15210     fi
   15211       ;;
   15212 
   15213     dgux*)
   15214       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15215       hardcode_libdir_flag_spec_F77='-L$libdir'
   15216       hardcode_shlibpath_var_F77=no
   15217       ;;
   15218 
   15219     freebsd1*)
   15220       ld_shlibs_F77=no
   15221       ;;
   15222 
   15223     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15224     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15225     # does not break anything, and helps significantly (at the cost of a little
   15226     # extra space).
   15227     freebsd2.2*)
   15228       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15229       hardcode_libdir_flag_spec_F77='-R$libdir'
   15230       hardcode_direct_F77=yes
   15231       hardcode_shlibpath_var_F77=no
   15232       ;;
   15233 
   15234     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15235     freebsd2*)
   15236       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15237       hardcode_direct_F77=yes
   15238       hardcode_minus_L_F77=yes
   15239       hardcode_shlibpath_var_F77=no
   15240       ;;
   15241 
   15242     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15243     freebsd* | dragonfly*)
   15244       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15245       hardcode_libdir_flag_spec_F77='-R$libdir'
   15246       hardcode_direct_F77=yes
   15247       hardcode_shlibpath_var_F77=no
   15248       ;;
   15249 
   15250     hpux9*)
   15251       if test "$GCC" = yes; then
   15252 	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'
   15253       else
   15254 	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'
   15255       fi
   15256       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15257       hardcode_libdir_separator_F77=:
   15258       hardcode_direct_F77=yes
   15259 
   15260       # hardcode_minus_L: Not really in the search PATH,
   15261       # but as the default location of the library.
   15262       hardcode_minus_L_F77=yes
   15263       export_dynamic_flag_spec_F77='${wl}-E'
   15264       ;;
   15265 
   15266     hpux10*)
   15267       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15268 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15269       else
   15270 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15271       fi
   15272       if test "$with_gnu_ld" = no; then
   15273 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15274 	hardcode_libdir_separator_F77=:
   15275 
   15276 	hardcode_direct_F77=yes
   15277 	export_dynamic_flag_spec_F77='${wl}-E'
   15278 
   15279 	# hardcode_minus_L: Not really in the search PATH,
   15280 	# but as the default location of the library.
   15281 	hardcode_minus_L_F77=yes
   15282       fi
   15283       ;;
   15284 
   15285     hpux11*)
   15286       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15287 	case $host_cpu in
   15288 	hppa*64*)
   15289 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15290 	  ;;
   15291 	ia64*)
   15292 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15293 	  ;;
   15294 	*)
   15295 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15296 	  ;;
   15297 	esac
   15298       else
   15299 	case $host_cpu in
   15300 	hppa*64*)
   15301 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15302 	  ;;
   15303 	ia64*)
   15304 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15305 	  ;;
   15306 	*)
   15307 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15308 	  ;;
   15309 	esac
   15310       fi
   15311       if test "$with_gnu_ld" = no; then
   15312 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15313 	hardcode_libdir_separator_F77=:
   15314 
   15315 	case $host_cpu in
   15316 	hppa*64*|ia64*)
   15317 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15318 	  hardcode_direct_F77=no
   15319 	  hardcode_shlibpath_var_F77=no
   15320 	  ;;
   15321 	*)
   15322 	  hardcode_direct_F77=yes
   15323 	  export_dynamic_flag_spec_F77='${wl}-E'
   15324 
   15325 	  # hardcode_minus_L: Not really in the search PATH,
   15326 	  # but as the default location of the library.
   15327 	  hardcode_minus_L_F77=yes
   15328 	  ;;
   15329 	esac
   15330       fi
   15331       ;;
   15332 
   15333     irix5* | irix6* | nonstopux*)
   15334       if test "$GCC" = yes; then
   15335 	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'
   15336       else
   15337 	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'
   15338 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15339       fi
   15340       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15341       hardcode_libdir_separator_F77=:
   15342       link_all_deplibs_F77=yes
   15343       ;;
   15344 
   15345     netbsd* | netbsdelf*-gnu)
   15346       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15347 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15348       else
   15349 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15350       fi
   15351       hardcode_libdir_flag_spec_F77='-R$libdir'
   15352       hardcode_direct_F77=yes
   15353       hardcode_shlibpath_var_F77=no
   15354       ;;
   15355 
   15356     newsos6)
   15357       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15358       hardcode_direct_F77=yes
   15359       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15360       hardcode_libdir_separator_F77=:
   15361       hardcode_shlibpath_var_F77=no
   15362       ;;
   15363 
   15364     openbsd*)
   15365       if test -f /usr/libexec/ld.so; then
   15366 	hardcode_direct_F77=yes
   15367 	hardcode_shlibpath_var_F77=no
   15368 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15369 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15370 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15371 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15372 	  export_dynamic_flag_spec_F77='${wl}-E'
   15373 	else
   15374 	  case $host_os in
   15375 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15376 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15377 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15378 	     ;;
   15379 	   *)
   15380 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15381 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15382 	     ;;
   15383 	  esac
   15384         fi
   15385       else
   15386 	ld_shlibs_F77=no
   15387       fi
   15388       ;;
   15389 
   15390     os2*)
   15391       hardcode_libdir_flag_spec_F77='-L$libdir'
   15392       hardcode_minus_L_F77=yes
   15393       allow_undefined_flag_F77=unsupported
   15394       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'
   15395       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15396       ;;
   15397 
   15398     osf3*)
   15399       if test "$GCC" = yes; then
   15400 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15401 	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'
   15402       else
   15403 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15404 	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'
   15405       fi
   15406       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15407       hardcode_libdir_separator_F77=:
   15408       ;;
   15409 
   15410     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15411       if test "$GCC" = yes; then
   15412 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15413 	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'
   15414 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15415       else
   15416 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15417 	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'
   15418 	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~
   15419 	$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'
   15420 
   15421 	# Both c and cxx compiler support -rpath directly
   15422 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15423       fi
   15424       hardcode_libdir_separator_F77=:
   15425       ;;
   15426 
   15427     solaris*)
   15428       no_undefined_flag_F77=' -z text'
   15429       if test "$GCC" = yes; then
   15430 	wlarc='${wl}'
   15431 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15432 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15433 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15434       else
   15435 	wlarc=''
   15436 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15437 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15438   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15439       fi
   15440       hardcode_libdir_flag_spec_F77='-R$libdir'
   15441       hardcode_shlibpath_var_F77=no
   15442       case $host_os in
   15443       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15444       *)
   15445 	# The compiler driver will combine and reorder linker options,
   15446 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15447 	# but is careful enough not to reorder.
   15448  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15449 	if test "$GCC" = yes; then
   15450 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15451 	else
   15452 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15453 	fi
   15454 	;;
   15455       esac
   15456       link_all_deplibs_F77=yes
   15457       ;;
   15458 
   15459     sunos4*)
   15460       if test "x$host_vendor" = xsequent; then
   15461 	# Use $CC to link under sequent, because it throws in some extra .o
   15462 	# files that make .init and .fini sections work.
   15463 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15464       else
   15465 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15466       fi
   15467       hardcode_libdir_flag_spec_F77='-L$libdir'
   15468       hardcode_direct_F77=yes
   15469       hardcode_minus_L_F77=yes
   15470       hardcode_shlibpath_var_F77=no
   15471       ;;
   15472 
   15473     sysv4)
   15474       case $host_vendor in
   15475 	sni)
   15476 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15477 	  hardcode_direct_F77=yes # is this really true???
   15478 	;;
   15479 	siemens)
   15480 	  ## LD is ld it makes a PLAMLIB
   15481 	  ## CC just makes a GrossModule.
   15482 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15483 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15484 	  hardcode_direct_F77=no
   15485         ;;
   15486 	motorola)
   15487 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15488 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15489 	;;
   15490       esac
   15491       runpath_var='LD_RUN_PATH'
   15492       hardcode_shlibpath_var_F77=no
   15493       ;;
   15494 
   15495     sysv4.3*)
   15496       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15497       hardcode_shlibpath_var_F77=no
   15498       export_dynamic_flag_spec_F77='-Bexport'
   15499       ;;
   15500 
   15501     sysv4*MP*)
   15502       if test -d /usr/nec; then
   15503 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15504 	hardcode_shlibpath_var_F77=no
   15505 	runpath_var=LD_RUN_PATH
   15506 	hardcode_runpath_var=yes
   15507 	ld_shlibs_F77=yes
   15508       fi
   15509       ;;
   15510 
   15511     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15512       no_undefined_flag_F77='${wl}-z,text'
   15513       archive_cmds_need_lc_F77=no
   15514       hardcode_shlibpath_var_F77=no
   15515       runpath_var='LD_RUN_PATH'
   15516 
   15517       if test "$GCC" = yes; then
   15518 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15519 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15520       else
   15521 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15522 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15523       fi
   15524       ;;
   15525 
   15526     sysv5* | sco3.2v5* | sco5v6*)
   15527       # Note: We can NOT use -z defs as we might desire, because we do not
   15528       # link with -lc, and that would cause any symbols used from libc to
   15529       # always be unresolved, which means just about no library would
   15530       # ever link correctly.  If we're not using GNU ld we use -z text
   15531       # though, which does catch some bad symbols but isn't as heavy-handed
   15532       # as -z defs.
   15533       no_undefined_flag_F77='${wl}-z,text'
   15534       allow_undefined_flag_F77='${wl}-z,nodefs'
   15535       archive_cmds_need_lc_F77=no
   15536       hardcode_shlibpath_var_F77=no
   15537       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15538       hardcode_libdir_separator_F77=':'
   15539       link_all_deplibs_F77=yes
   15540       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15541       runpath_var='LD_RUN_PATH'
   15542 
   15543       if test "$GCC" = yes; then
   15544 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15545 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15546       else
   15547 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15548 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15549       fi
   15550       ;;
   15551 
   15552     uts4*)
   15553       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15554       hardcode_libdir_flag_spec_F77='-L$libdir'
   15555       hardcode_shlibpath_var_F77=no
   15556       ;;
   15557 
   15558     *)
   15559       ld_shlibs_F77=no
   15560       ;;
   15561     esac
   15562   fi
   15563 
   15564 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15565 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15566 test "$ld_shlibs_F77" = no && can_build_shared=no
   15567 
   15568 #
   15569 # Do we need to explicitly link libc?
   15570 #
   15571 case "x$archive_cmds_need_lc_F77" in
   15572 x|xyes)
   15573   # Assume -lc should be added
   15574   archive_cmds_need_lc_F77=yes
   15575 
   15576   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15577     case $archive_cmds_F77 in
   15578     *'~'*)
   15579       # FIXME: we may have to deal with multi-command sequences.
   15580       ;;
   15581     '$CC '*)
   15582       # Test whether the compiler implicitly links with -lc since on some
   15583       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15584       # to ld, don't add -lc before -lgcc.
   15585       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15586 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15587       $rm conftest*
   15588       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15589 
   15590       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15591   (eval $ac_compile) 2>&5
   15592   ac_status=$?
   15593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15594   (exit $ac_status); } 2>conftest.err; then
   15595         soname=conftest
   15596         lib=conftest
   15597         libobjs=conftest.$ac_objext
   15598         deplibs=
   15599         wl=$lt_prog_compiler_wl_F77
   15600 	pic_flag=$lt_prog_compiler_pic_F77
   15601         compiler_flags=-v
   15602         linker_flags=-v
   15603         verstring=
   15604         output_objdir=.
   15605         libname=conftest
   15606         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15607         allow_undefined_flag_F77=
   15608         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15609   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15610   ac_status=$?
   15611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15612   (exit $ac_status); }
   15613         then
   15614 	  archive_cmds_need_lc_F77=no
   15615         else
   15616 	  archive_cmds_need_lc_F77=yes
   15617         fi
   15618         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15619       else
   15620         cat conftest.err 1>&5
   15621       fi
   15622       $rm conftest*
   15623       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15624 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15625       ;;
   15626     esac
   15627   fi
   15628   ;;
   15629 esac
   15630 
   15631 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15632 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15633 library_names_spec=
   15634 libname_spec='lib$name'
   15635 soname_spec=
   15636 shrext_cmds=".so"
   15637 postinstall_cmds=
   15638 postuninstall_cmds=
   15639 finish_cmds=
   15640 finish_eval=
   15641 shlibpath_var=
   15642 shlibpath_overrides_runpath=unknown
   15643 version_type=none
   15644 dynamic_linker="$host_os ld.so"
   15645 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15646 
   15647 need_lib_prefix=unknown
   15648 hardcode_into_libs=no
   15649 
   15650 # when you set need_version to no, make sure it does not cause -set_version
   15651 # flags to be left without arguments
   15652 need_version=unknown
   15653 
   15654 case $host_os in
   15655 aix3*)
   15656   version_type=linux
   15657   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15658   shlibpath_var=LIBPATH
   15659 
   15660   # AIX 3 has no versioning support, so we append a major version to the name.
   15661   soname_spec='${libname}${release}${shared_ext}$major'
   15662   ;;
   15663 
   15664 aix[4-9]*)
   15665   version_type=linux
   15666   need_lib_prefix=no
   15667   need_version=no
   15668   hardcode_into_libs=yes
   15669   if test "$host_cpu" = ia64; then
   15670     # AIX 5 supports IA64
   15671     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15672     shlibpath_var=LD_LIBRARY_PATH
   15673   else
   15674     # With GCC up to 2.95.x, collect2 would create an import file
   15675     # for dependence libraries.  The import file would start with
   15676     # the line `#! .'.  This would cause the generated library to
   15677     # depend on `.', always an invalid library.  This was fixed in
   15678     # development snapshots of GCC prior to 3.0.
   15679     case $host_os in
   15680       aix4 | aix4.[01] | aix4.[01].*)
   15681       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15682 	   echo ' yes '
   15683 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15684 	:
   15685       else
   15686 	can_build_shared=no
   15687       fi
   15688       ;;
   15689     esac
   15690     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15691     # soname into executable. Probably we can add versioning support to
   15692     # collect2, so additional links can be useful in future.
   15693     if test "$aix_use_runtimelinking" = yes; then
   15694       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15695       # instead of lib<name>.a to let people know that these are not
   15696       # typical AIX shared libraries.
   15697       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15698     else
   15699       # We preserve .a as extension for shared libraries through AIX4.2
   15700       # and later when we are not doing run time linking.
   15701       library_names_spec='${libname}${release}.a $libname.a'
   15702       soname_spec='${libname}${release}${shared_ext}$major'
   15703     fi
   15704     shlibpath_var=LIBPATH
   15705   fi
   15706   ;;
   15707 
   15708 amigaos*)
   15709   library_names_spec='$libname.ixlibrary $libname.a'
   15710   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15711   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'
   15712   ;;
   15713 
   15714 beos*)
   15715   library_names_spec='${libname}${shared_ext}'
   15716   dynamic_linker="$host_os ld.so"
   15717   shlibpath_var=LIBRARY_PATH
   15718   ;;
   15719 
   15720 bsdi[45]*)
   15721   version_type=linux
   15722   need_version=no
   15723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15724   soname_spec='${libname}${release}${shared_ext}$major'
   15725   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15726   shlibpath_var=LD_LIBRARY_PATH
   15727   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15728   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15729   # the default ld.so.conf also contains /usr/contrib/lib and
   15730   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15731   # libtool to hard-code these into programs
   15732   ;;
   15733 
   15734 cygwin* | mingw* | pw32*)
   15735   version_type=windows
   15736   shrext_cmds=".dll"
   15737   need_version=no
   15738   need_lib_prefix=no
   15739 
   15740   case $GCC,$host_os in
   15741   yes,cygwin* | yes,mingw* | yes,pw32*)
   15742     library_names_spec='$libname.dll.a'
   15743     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15744     postinstall_cmds='base_file=`basename \${file}`~
   15745       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15746       dldir=$destdir/`dirname \$dlpath`~
   15747       test -d \$dldir || mkdir -p \$dldir~
   15748       $install_prog $dir/$dlname \$dldir/$dlname~
   15749       chmod a+x \$dldir/$dlname'
   15750     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15751       dlpath=$dir/\$dldll~
   15752        $rm \$dlpath'
   15753     shlibpath_overrides_runpath=yes
   15754 
   15755     case $host_os in
   15756     cygwin*)
   15757       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15758       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15759       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15760       ;;
   15761     mingw*)
   15762       # MinGW DLLs use traditional 'lib' prefix
   15763       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15764       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15765       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15766         # It is most probably a Windows format PATH printed by
   15767         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15768         # path with ; separators, and with drive letters. We can handle the
   15769         # drive letters (cygwin fileutils understands them), so leave them,
   15770         # especially as we might pass files found there to a mingw objdump,
   15771         # which wouldn't understand a cygwinified path. Ahh.
   15772         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15773       else
   15774         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15775       fi
   15776       ;;
   15777     pw32*)
   15778       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15779       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15780       ;;
   15781     esac
   15782     ;;
   15783 
   15784   *)
   15785     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15786     ;;
   15787   esac
   15788   dynamic_linker='Win32 ld.exe'
   15789   # FIXME: first we should search . and the directory the executable is in
   15790   shlibpath_var=PATH
   15791   ;;
   15792 
   15793 darwin* | rhapsody*)
   15794   dynamic_linker="$host_os dyld"
   15795   version_type=darwin
   15796   need_lib_prefix=no
   15797   need_version=no
   15798   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15799   soname_spec='${libname}${release}${major}$shared_ext'
   15800   shlibpath_overrides_runpath=yes
   15801   shlibpath_var=DYLD_LIBRARY_PATH
   15802   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15803 
   15804   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15805   ;;
   15806 
   15807 dgux*)
   15808   version_type=linux
   15809   need_lib_prefix=no
   15810   need_version=no
   15811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15812   soname_spec='${libname}${release}${shared_ext}$major'
   15813   shlibpath_var=LD_LIBRARY_PATH
   15814   ;;
   15815 
   15816 freebsd1*)
   15817   dynamic_linker=no
   15818   ;;
   15819 
   15820 freebsd* | dragonfly*)
   15821   # DragonFly does not have aout.  When/if they implement a new
   15822   # versioning mechanism, adjust this.
   15823   if test -x /usr/bin/objformat; then
   15824     objformat=`/usr/bin/objformat`
   15825   else
   15826     case $host_os in
   15827     freebsd[123]*) objformat=aout ;;
   15828     *) objformat=elf ;;
   15829     esac
   15830   fi
   15831   version_type=freebsd-$objformat
   15832   case $version_type in
   15833     freebsd-elf*)
   15834       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15835       need_version=no
   15836       need_lib_prefix=no
   15837       ;;
   15838     freebsd-*)
   15839       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15840       need_version=yes
   15841       ;;
   15842   esac
   15843   shlibpath_var=LD_LIBRARY_PATH
   15844   case $host_os in
   15845   freebsd2*)
   15846     shlibpath_overrides_runpath=yes
   15847     ;;
   15848   freebsd3.[01]* | freebsdelf3.[01]*)
   15849     shlibpath_overrides_runpath=yes
   15850     hardcode_into_libs=yes
   15851     ;;
   15852   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15853   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15854     shlibpath_overrides_runpath=no
   15855     hardcode_into_libs=yes
   15856     ;;
   15857   *) # from 4.6 on, and DragonFly
   15858     shlibpath_overrides_runpath=yes
   15859     hardcode_into_libs=yes
   15860     ;;
   15861   esac
   15862   ;;
   15863 
   15864 gnu*)
   15865   version_type=linux
   15866   need_lib_prefix=no
   15867   need_version=no
   15868   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15869   soname_spec='${libname}${release}${shared_ext}$major'
   15870   shlibpath_var=LD_LIBRARY_PATH
   15871   hardcode_into_libs=yes
   15872   ;;
   15873 
   15874 hpux9* | hpux10* | hpux11*)
   15875   # Give a soname corresponding to the major version so that dld.sl refuses to
   15876   # link against other versions.
   15877   version_type=sunos
   15878   need_lib_prefix=no
   15879   need_version=no
   15880   case $host_cpu in
   15881   ia64*)
   15882     shrext_cmds='.so'
   15883     hardcode_into_libs=yes
   15884     dynamic_linker="$host_os dld.so"
   15885     shlibpath_var=LD_LIBRARY_PATH
   15886     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15887     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15888     soname_spec='${libname}${release}${shared_ext}$major'
   15889     if test "X$HPUX_IA64_MODE" = X32; then
   15890       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15891     else
   15892       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15893     fi
   15894     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15895     ;;
   15896    hppa*64*)
   15897      shrext_cmds='.sl'
   15898      hardcode_into_libs=yes
   15899      dynamic_linker="$host_os dld.sl"
   15900      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15901      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15902      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15903      soname_spec='${libname}${release}${shared_ext}$major'
   15904      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15905      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15906      ;;
   15907    *)
   15908     shrext_cmds='.sl'
   15909     dynamic_linker="$host_os dld.sl"
   15910     shlibpath_var=SHLIB_PATH
   15911     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15912     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15913     soname_spec='${libname}${release}${shared_ext}$major'
   15914     ;;
   15915   esac
   15916   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15917   postinstall_cmds='chmod 555 $lib'
   15918   ;;
   15919 
   15920 interix[3-9]*)
   15921   version_type=linux
   15922   need_lib_prefix=no
   15923   need_version=no
   15924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15925   soname_spec='${libname}${release}${shared_ext}$major'
   15926   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15927   shlibpath_var=LD_LIBRARY_PATH
   15928   shlibpath_overrides_runpath=no
   15929   hardcode_into_libs=yes
   15930   ;;
   15931 
   15932 irix5* | irix6* | nonstopux*)
   15933   case $host_os in
   15934     nonstopux*) version_type=nonstopux ;;
   15935     *)
   15936 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15937 		version_type=linux
   15938 	else
   15939 		version_type=irix
   15940 	fi ;;
   15941   esac
   15942   need_lib_prefix=no
   15943   need_version=no
   15944   soname_spec='${libname}${release}${shared_ext}$major'
   15945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15946   case $host_os in
   15947   irix5* | nonstopux*)
   15948     libsuff= shlibsuff=
   15949     ;;
   15950   *)
   15951     case $LD in # libtool.m4 will add one of these switches to LD
   15952     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15953       libsuff= shlibsuff= libmagic=32-bit;;
   15954     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15955       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15956     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15957       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15958     *) libsuff= shlibsuff= libmagic=never-match;;
   15959     esac
   15960     ;;
   15961   esac
   15962   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15963   shlibpath_overrides_runpath=no
   15964   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15965   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15966   hardcode_into_libs=yes
   15967   ;;
   15968 
   15969 # No shared lib support for Linux oldld, aout, or coff.
   15970 linux*oldld* | linux*aout* | linux*coff*)
   15971   dynamic_linker=no
   15972   ;;
   15973 
   15974 # This must be Linux ELF.
   15975 linux* | k*bsd*-gnu)
   15976   version_type=linux
   15977   need_lib_prefix=no
   15978   need_version=no
   15979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15980   soname_spec='${libname}${release}${shared_ext}$major'
   15981   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15982   shlibpath_var=LD_LIBRARY_PATH
   15983   shlibpath_overrides_runpath=no
   15984   # This implies no fast_install, which is unacceptable.
   15985   # Some rework will be needed to allow for fast_install
   15986   # before this can be enabled.
   15987   hardcode_into_libs=yes
   15988 
   15989   # Append ld.so.conf contents to the search path
   15990   if test -f /etc/ld.so.conf; then
   15991     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' ' '`
   15992     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15993   fi
   15994 
   15995   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15996   # powerpc, because MkLinux only supported shared libraries with the
   15997   # GNU dynamic linker.  Since this was broken with cross compilers,
   15998   # most powerpc-linux boxes support dynamic linking these days and
   15999   # people can always --disable-shared, the test was removed, and we
   16000   # assume the GNU/Linux dynamic linker is in use.
   16001   dynamic_linker='GNU/Linux ld.so'
   16002   ;;
   16003 
   16004 netbsdelf*-gnu)
   16005   version_type=linux
   16006   need_lib_prefix=no
   16007   need_version=no
   16008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16009   soname_spec='${libname}${release}${shared_ext}$major'
   16010   shlibpath_var=LD_LIBRARY_PATH
   16011   shlibpath_overrides_runpath=no
   16012   hardcode_into_libs=yes
   16013   dynamic_linker='NetBSD ld.elf_so'
   16014   ;;
   16015 
   16016 netbsd*)
   16017   version_type=sunos
   16018   need_lib_prefix=no
   16019   need_version=no
   16020   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16021     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16022     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16023     dynamic_linker='NetBSD (a.out) ld.so'
   16024   else
   16025     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16026     soname_spec='${libname}${release}${shared_ext}$major'
   16027     dynamic_linker='NetBSD ld.elf_so'
   16028   fi
   16029   shlibpath_var=LD_LIBRARY_PATH
   16030   shlibpath_overrides_runpath=yes
   16031   hardcode_into_libs=yes
   16032   ;;
   16033 
   16034 newsos6)
   16035   version_type=linux
   16036   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16037   shlibpath_var=LD_LIBRARY_PATH
   16038   shlibpath_overrides_runpath=yes
   16039   ;;
   16040 
   16041 nto-qnx*)
   16042   version_type=linux
   16043   need_lib_prefix=no
   16044   need_version=no
   16045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16046   soname_spec='${libname}${release}${shared_ext}$major'
   16047   shlibpath_var=LD_LIBRARY_PATH
   16048   shlibpath_overrides_runpath=yes
   16049   ;;
   16050 
   16051 openbsd*)
   16052   version_type=sunos
   16053   sys_lib_dlsearch_path_spec="/usr/lib"
   16054   need_lib_prefix=no
   16055   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16056   case $host_os in
   16057     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16058     *)                         need_version=no  ;;
   16059   esac
   16060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16061   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16062   shlibpath_var=LD_LIBRARY_PATH
   16063   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16064     case $host_os in
   16065       openbsd2.[89] | openbsd2.[89].*)
   16066 	shlibpath_overrides_runpath=no
   16067 	;;
   16068       *)
   16069 	shlibpath_overrides_runpath=yes
   16070 	;;
   16071       esac
   16072   else
   16073     shlibpath_overrides_runpath=yes
   16074   fi
   16075   ;;
   16076 
   16077 os2*)
   16078   libname_spec='$name'
   16079   shrext_cmds=".dll"
   16080   need_lib_prefix=no
   16081   library_names_spec='$libname${shared_ext} $libname.a'
   16082   dynamic_linker='OS/2 ld.exe'
   16083   shlibpath_var=LIBPATH
   16084   ;;
   16085 
   16086 osf3* | osf4* | osf5*)
   16087   version_type=osf
   16088   need_lib_prefix=no
   16089   need_version=no
   16090   soname_spec='${libname}${release}${shared_ext}$major'
   16091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16092   shlibpath_var=LD_LIBRARY_PATH
   16093   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16094   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16095   ;;
   16096 
   16097 rdos*)
   16098   dynamic_linker=no
   16099   ;;
   16100 
   16101 solaris*)
   16102   version_type=linux
   16103   need_lib_prefix=no
   16104   need_version=no
   16105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16106   soname_spec='${libname}${release}${shared_ext}$major'
   16107   shlibpath_var=LD_LIBRARY_PATH
   16108   shlibpath_overrides_runpath=yes
   16109   hardcode_into_libs=yes
   16110   # ldd complains unless libraries are executable
   16111   postinstall_cmds='chmod +x $lib'
   16112   ;;
   16113 
   16114 sunos4*)
   16115   version_type=sunos
   16116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16117   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16118   shlibpath_var=LD_LIBRARY_PATH
   16119   shlibpath_overrides_runpath=yes
   16120   if test "$with_gnu_ld" = yes; then
   16121     need_lib_prefix=no
   16122   fi
   16123   need_version=yes
   16124   ;;
   16125 
   16126 sysv4 | sysv4.3*)
   16127   version_type=linux
   16128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16129   soname_spec='${libname}${release}${shared_ext}$major'
   16130   shlibpath_var=LD_LIBRARY_PATH
   16131   case $host_vendor in
   16132     sni)
   16133       shlibpath_overrides_runpath=no
   16134       need_lib_prefix=no
   16135       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16136       runpath_var=LD_RUN_PATH
   16137       ;;
   16138     siemens)
   16139       need_lib_prefix=no
   16140       ;;
   16141     motorola)
   16142       need_lib_prefix=no
   16143       need_version=no
   16144       shlibpath_overrides_runpath=no
   16145       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16146       ;;
   16147   esac
   16148   ;;
   16149 
   16150 sysv4*MP*)
   16151   if test -d /usr/nec ;then
   16152     version_type=linux
   16153     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16154     soname_spec='$libname${shared_ext}.$major'
   16155     shlibpath_var=LD_LIBRARY_PATH
   16156   fi
   16157   ;;
   16158 
   16159 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16160   version_type=freebsd-elf
   16161   need_lib_prefix=no
   16162   need_version=no
   16163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16164   soname_spec='${libname}${release}${shared_ext}$major'
   16165   shlibpath_var=LD_LIBRARY_PATH
   16166   hardcode_into_libs=yes
   16167   if test "$with_gnu_ld" = yes; then
   16168     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16169     shlibpath_overrides_runpath=no
   16170   else
   16171     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16172     shlibpath_overrides_runpath=yes
   16173     case $host_os in
   16174       sco3.2v5*)
   16175         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16176 	;;
   16177     esac
   16178   fi
   16179   sys_lib_dlsearch_path_spec='/usr/lib'
   16180   ;;
   16181 
   16182 uts4*)
   16183   version_type=linux
   16184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16185   soname_spec='${libname}${release}${shared_ext}$major'
   16186   shlibpath_var=LD_LIBRARY_PATH
   16187   ;;
   16188 
   16189 *)
   16190   dynamic_linker=no
   16191   ;;
   16192 esac
   16193 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16194 echo "${ECHO_T}$dynamic_linker" >&6; }
   16195 test "$dynamic_linker" = no && can_build_shared=no
   16196 
   16197 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16198   echo $ECHO_N "(cached) $ECHO_C" >&6
   16199 else
   16200   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16201 fi
   16202 
   16203 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16204 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16205   echo $ECHO_N "(cached) $ECHO_C" >&6
   16206 else
   16207   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16208 fi
   16209 
   16210 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16211 
   16212 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16213 if test "$GCC" = yes; then
   16214   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16215 fi
   16216 
   16217 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16218 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16219 hardcode_action_F77=
   16220 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16221    test -n "$runpath_var_F77" || \
   16222    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16223 
   16224   # We can hardcode non-existant directories.
   16225   if test "$hardcode_direct_F77" != no &&
   16226      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16227      # have to relink, otherwise we might link with an installed library
   16228      # when we should be linking with a yet-to-be-installed one
   16229      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16230      test "$hardcode_minus_L_F77" != no; then
   16231     # Linking always hardcodes the temporary library directory.
   16232     hardcode_action_F77=relink
   16233   else
   16234     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16235     hardcode_action_F77=immediate
   16236   fi
   16237 else
   16238   # We cannot hardcode anything, or else we can only hardcode existing
   16239   # directories.
   16240   hardcode_action_F77=unsupported
   16241 fi
   16242 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16243 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16244 
   16245 if test "$hardcode_action_F77" = relink; then
   16246   # Fast installation is not supported
   16247   enable_fast_install=no
   16248 elif test "$shlibpath_overrides_runpath" = yes ||
   16249      test "$enable_shared" = no; then
   16250   # Fast installation is not necessary
   16251   enable_fast_install=needless
   16252 fi
   16253 
   16254 
   16255 # The else clause should only fire when bootstrapping the
   16256 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16257 # with your package, and you will get complaints that there are
   16258 # no rules to generate ltmain.sh.
   16259 if test -f "$ltmain"; then
   16260   # See if we are running on zsh, and set the options which allow our commands through
   16261   # without removal of \ escapes.
   16262   if test -n "${ZSH_VERSION+set}" ; then
   16263     setopt NO_GLOB_SUBST
   16264   fi
   16265   # Now quote all the things that may contain metacharacters while being
   16266   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16267   # variables and quote the copies for generation of the libtool script.
   16268   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16269     SED SHELL STRIP \
   16270     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16271     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16272     deplibs_check_method reload_flag reload_cmds need_locks \
   16273     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16274     lt_cv_sys_global_symbol_to_c_name_address \
   16275     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16276     old_postinstall_cmds old_postuninstall_cmds \
   16277     compiler_F77 \
   16278     CC_F77 \
   16279     LD_F77 \
   16280     lt_prog_compiler_wl_F77 \
   16281     lt_prog_compiler_pic_F77 \
   16282     lt_prog_compiler_static_F77 \
   16283     lt_prog_compiler_no_builtin_flag_F77 \
   16284     export_dynamic_flag_spec_F77 \
   16285     thread_safe_flag_spec_F77 \
   16286     whole_archive_flag_spec_F77 \
   16287     enable_shared_with_static_runtimes_F77 \
   16288     old_archive_cmds_F77 \
   16289     old_archive_from_new_cmds_F77 \
   16290     predep_objects_F77 \
   16291     postdep_objects_F77 \
   16292     predeps_F77 \
   16293     postdeps_F77 \
   16294     compiler_lib_search_path_F77 \
   16295     compiler_lib_search_dirs_F77 \
   16296     archive_cmds_F77 \
   16297     archive_expsym_cmds_F77 \
   16298     postinstall_cmds_F77 \
   16299     postuninstall_cmds_F77 \
   16300     old_archive_from_expsyms_cmds_F77 \
   16301     allow_undefined_flag_F77 \
   16302     no_undefined_flag_F77 \
   16303     export_symbols_cmds_F77 \
   16304     hardcode_libdir_flag_spec_F77 \
   16305     hardcode_libdir_flag_spec_ld_F77 \
   16306     hardcode_libdir_separator_F77 \
   16307     hardcode_automatic_F77 \
   16308     module_cmds_F77 \
   16309     module_expsym_cmds_F77 \
   16310     lt_cv_prog_compiler_c_o_F77 \
   16311     fix_srcfile_path_F77 \
   16312     exclude_expsyms_F77 \
   16313     include_expsyms_F77; do
   16314 
   16315     case $var in
   16316     old_archive_cmds_F77 | \
   16317     old_archive_from_new_cmds_F77 | \
   16318     archive_cmds_F77 | \
   16319     archive_expsym_cmds_F77 | \
   16320     module_cmds_F77 | \
   16321     module_expsym_cmds_F77 | \
   16322     old_archive_from_expsyms_cmds_F77 | \
   16323     export_symbols_cmds_F77 | \
   16324     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16325     postinstall_cmds | postuninstall_cmds | \
   16326     old_postinstall_cmds | old_postuninstall_cmds | \
   16327     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16328       # Double-quote double-evaled strings.
   16329       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16330       ;;
   16331     *)
   16332       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16333       ;;
   16334     esac
   16335   done
   16336 
   16337   case $lt_echo in
   16338   *'\$0 --fallback-echo"')
   16339     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16340     ;;
   16341   esac
   16342 
   16343 cfgfile="$ofile"
   16344 
   16345   cat <<__EOF__ >> "$cfgfile"
   16346 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16347 
   16348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16349 
   16350 # Shell to use when invoking shell scripts.
   16351 SHELL=$lt_SHELL
   16352 
   16353 # Whether or not to build shared libraries.
   16354 build_libtool_libs=$enable_shared
   16355 
   16356 # Whether or not to build static libraries.
   16357 build_old_libs=$enable_static
   16358 
   16359 # Whether or not to add -lc for building shared libraries.
   16360 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16361 
   16362 # Whether or not to disallow shared libs when runtime libs are static
   16363 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16364 
   16365 # Whether or not to optimize for fast installation.
   16366 fast_install=$enable_fast_install
   16367 
   16368 # The host system.
   16369 host_alias=$host_alias
   16370 host=$host
   16371 host_os=$host_os
   16372 
   16373 # The build system.
   16374 build_alias=$build_alias
   16375 build=$build
   16376 build_os=$build_os
   16377 
   16378 # An echo program that does not interpret backslashes.
   16379 echo=$lt_echo
   16380 
   16381 # The archiver.
   16382 AR=$lt_AR
   16383 AR_FLAGS=$lt_AR_FLAGS
   16384 
   16385 # A C compiler.
   16386 LTCC=$lt_LTCC
   16387 
   16388 # LTCC compiler flags.
   16389 LTCFLAGS=$lt_LTCFLAGS
   16390 
   16391 # A language-specific compiler.
   16392 CC=$lt_compiler_F77
   16393 
   16394 # Is the compiler the GNU C compiler?
   16395 with_gcc=$GCC_F77
   16396 
   16397 # An ERE matcher.
   16398 EGREP=$lt_EGREP
   16399 
   16400 # The linker used to build libraries.
   16401 LD=$lt_LD_F77
   16402 
   16403 # Whether we need hard or soft links.
   16404 LN_S=$lt_LN_S
   16405 
   16406 # A BSD-compatible nm program.
   16407 NM=$lt_NM
   16408 
   16409 # A symbol stripping program
   16410 STRIP=$lt_STRIP
   16411 
   16412 # Used to examine libraries when file_magic_cmd begins "file"
   16413 MAGIC_CMD=$MAGIC_CMD
   16414 
   16415 # Used on cygwin: DLL creation program.
   16416 DLLTOOL="$DLLTOOL"
   16417 
   16418 # Used on cygwin: object dumper.
   16419 OBJDUMP="$OBJDUMP"
   16420 
   16421 # Used on cygwin: assembler.
   16422 AS="$AS"
   16423 
   16424 # The name of the directory that contains temporary libtool files.
   16425 objdir=$objdir
   16426 
   16427 # How to create reloadable object files.
   16428 reload_flag=$lt_reload_flag
   16429 reload_cmds=$lt_reload_cmds
   16430 
   16431 # How to pass a linker flag through the compiler.
   16432 wl=$lt_lt_prog_compiler_wl_F77
   16433 
   16434 # Object file suffix (normally "o").
   16435 objext="$ac_objext"
   16436 
   16437 # Old archive suffix (normally "a").
   16438 libext="$libext"
   16439 
   16440 # Shared library suffix (normally ".so").
   16441 shrext_cmds='$shrext_cmds'
   16442 
   16443 # Executable file suffix (normally "").
   16444 exeext="$exeext"
   16445 
   16446 # Additional compiler flags for building library objects.
   16447 pic_flag=$lt_lt_prog_compiler_pic_F77
   16448 pic_mode=$pic_mode
   16449 
   16450 # What is the maximum length of a command?
   16451 max_cmd_len=$lt_cv_sys_max_cmd_len
   16452 
   16453 # Does compiler simultaneously support -c and -o options?
   16454 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16455 
   16456 # Must we lock files when doing compilation?
   16457 need_locks=$lt_need_locks
   16458 
   16459 # Do we need the lib prefix for modules?
   16460 need_lib_prefix=$need_lib_prefix
   16461 
   16462 # Do we need a version for libraries?
   16463 need_version=$need_version
   16464 
   16465 # Whether dlopen is supported.
   16466 dlopen_support=$enable_dlopen
   16467 
   16468 # Whether dlopen of programs is supported.
   16469 dlopen_self=$enable_dlopen_self
   16470 
   16471 # Whether dlopen of statically linked programs is supported.
   16472 dlopen_self_static=$enable_dlopen_self_static
   16473 
   16474 # Compiler flag to prevent dynamic linking.
   16475 link_static_flag=$lt_lt_prog_compiler_static_F77
   16476 
   16477 # Compiler flag to turn off builtin functions.
   16478 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16479 
   16480 # Compiler flag to allow reflexive dlopens.
   16481 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16482 
   16483 # Compiler flag to generate shared objects directly from archives.
   16484 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16485 
   16486 # Compiler flag to generate thread-safe objects.
   16487 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16488 
   16489 # Library versioning type.
   16490 version_type=$version_type
   16491 
   16492 # Format of library name prefix.
   16493 libname_spec=$lt_libname_spec
   16494 
   16495 # List of archive names.  First name is the real one, the rest are links.
   16496 # The last name is the one that the linker finds with -lNAME.
   16497 library_names_spec=$lt_library_names_spec
   16498 
   16499 # The coded name of the library, if different from the real name.
   16500 soname_spec=$lt_soname_spec
   16501 
   16502 # Commands used to build and install an old-style archive.
   16503 RANLIB=$lt_RANLIB
   16504 old_archive_cmds=$lt_old_archive_cmds_F77
   16505 old_postinstall_cmds=$lt_old_postinstall_cmds
   16506 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16507 
   16508 # Create an old-style archive from a shared archive.
   16509 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16510 
   16511 # Create a temporary old-style archive to link instead of a shared archive.
   16512 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16513 
   16514 # Commands used to build and install a shared archive.
   16515 archive_cmds=$lt_archive_cmds_F77
   16516 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16517 postinstall_cmds=$lt_postinstall_cmds
   16518 postuninstall_cmds=$lt_postuninstall_cmds
   16519 
   16520 # Commands used to build a loadable module (assumed same as above if empty)
   16521 module_cmds=$lt_module_cmds_F77
   16522 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16523 
   16524 # Commands to strip libraries.
   16525 old_striplib=$lt_old_striplib
   16526 striplib=$lt_striplib
   16527 
   16528 # Dependencies to place before the objects being linked to create a
   16529 # shared library.
   16530 predep_objects=$lt_predep_objects_F77
   16531 
   16532 # Dependencies to place after the objects being linked to create a
   16533 # shared library.
   16534 postdep_objects=$lt_postdep_objects_F77
   16535 
   16536 # Dependencies to place before the objects being linked to create a
   16537 # shared library.
   16538 predeps=$lt_predeps_F77
   16539 
   16540 # Dependencies to place after the objects being linked to create a
   16541 # shared library.
   16542 postdeps=$lt_postdeps_F77
   16543 
   16544 # The directories searched by this compiler when creating a shared
   16545 # library
   16546 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16547 
   16548 # The library search path used internally by the compiler when linking
   16549 # a shared library.
   16550 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16551 
   16552 # Method to check whether dependent libraries are shared objects.
   16553 deplibs_check_method=$lt_deplibs_check_method
   16554 
   16555 # Command to use when deplibs_check_method == file_magic.
   16556 file_magic_cmd=$lt_file_magic_cmd
   16557 
   16558 # Flag that allows shared libraries with undefined symbols to be built.
   16559 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16560 
   16561 # Flag that forces no undefined symbols.
   16562 no_undefined_flag=$lt_no_undefined_flag_F77
   16563 
   16564 # Commands used to finish a libtool library installation in a directory.
   16565 finish_cmds=$lt_finish_cmds
   16566 
   16567 # Same as above, but a single script fragment to be evaled but not shown.
   16568 finish_eval=$lt_finish_eval
   16569 
   16570 # Take the output of nm and produce a listing of raw symbols and C names.
   16571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16572 
   16573 # Transform the output of nm in a proper C declaration
   16574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16575 
   16576 # Transform the output of nm in a C name address pair
   16577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16578 
   16579 # This is the shared library runtime path variable.
   16580 runpath_var=$runpath_var
   16581 
   16582 # This is the shared library path variable.
   16583 shlibpath_var=$shlibpath_var
   16584 
   16585 # Is shlibpath searched before the hard-coded library search path?
   16586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16587 
   16588 # How to hardcode a shared library path into an executable.
   16589 hardcode_action=$hardcode_action_F77
   16590 
   16591 # Whether we should hardcode library paths into libraries.
   16592 hardcode_into_libs=$hardcode_into_libs
   16593 
   16594 # Flag to hardcode \$libdir into a binary during linking.
   16595 # This must work even if \$libdir does not exist.
   16596 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16597 
   16598 # If ld is used when linking, flag to hardcode \$libdir into
   16599 # a binary during linking. This must work even if \$libdir does
   16600 # not exist.
   16601 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16602 
   16603 # Whether we need a single -rpath flag with a separated argument.
   16604 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16605 
   16606 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16607 # resulting binary.
   16608 hardcode_direct=$hardcode_direct_F77
   16609 
   16610 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16611 # resulting binary.
   16612 hardcode_minus_L=$hardcode_minus_L_F77
   16613 
   16614 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16615 # the resulting binary.
   16616 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16617 
   16618 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16619 # and all subsequent libraries and executables linked against it.
   16620 hardcode_automatic=$hardcode_automatic_F77
   16621 
   16622 # Variables whose values should be saved in libtool wrapper scripts and
   16623 # restored at relink time.
   16624 variables_saved_for_relink="$variables_saved_for_relink"
   16625 
   16626 # Whether libtool must link a program against all its dependency libraries.
   16627 link_all_deplibs=$link_all_deplibs_F77
   16628 
   16629 # Compile-time system search path for libraries
   16630 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16631 
   16632 # Run-time system search path for libraries
   16633 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16634 
   16635 # Fix the shell variable \$srcfile for the compiler.
   16636 fix_srcfile_path=$lt_fix_srcfile_path
   16637 
   16638 # Set to yes if exported symbols are required.
   16639 always_export_symbols=$always_export_symbols_F77
   16640 
   16641 # The commands to list exported symbols.
   16642 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16643 
   16644 # The commands to extract the exported symbol list from a shared archive.
   16645 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16646 
   16647 # Symbols that should not be listed in the preloaded symbols.
   16648 exclude_expsyms=$lt_exclude_expsyms_F77
   16649 
   16650 # Symbols that must always be exported.
   16651 include_expsyms=$lt_include_expsyms_F77
   16652 
   16653 # ### END LIBTOOL TAG CONFIG: $tagname
   16654 
   16655 __EOF__
   16656 
   16657 
   16658 else
   16659   # If there is no Makefile yet, we rely on a make rule to execute
   16660   # `config.status --recheck' to rerun these tests and create the
   16661   # libtool script then.
   16662   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16663   if test -f "$ltmain_in"; then
   16664     test -f Makefile && make "$ltmain"
   16665   fi
   16666 fi
   16667 
   16668 
   16669 ac_ext=c
   16670 ac_cpp='$CPP $CPPFLAGS'
   16671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16674 
   16675 CC="$lt_save_CC"
   16676 
   16677 	else
   16678 	  tagname=""
   16679 	fi
   16680 	;;
   16681 
   16682       GCJ)
   16683 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16684 
   16685 
   16686 # Source file extension for Java test sources.
   16687 ac_ext=java
   16688 
   16689 # Object file extension for compiled Java test sources.
   16690 objext=o
   16691 objext_GCJ=$objext
   16692 
   16693 # Code to be used in simple compile tests
   16694 lt_simple_compile_test_code="class foo {}"
   16695 
   16696 # Code to be used in simple link tests
   16697 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16698 
   16699 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16700 
   16701 # If no C compiler was specified, use CC.
   16702 LTCC=${LTCC-"$CC"}
   16703 
   16704 # If no C compiler flags were specified, use CFLAGS.
   16705 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16706 
   16707 # Allow CC to be a program name with arguments.
   16708 compiler=$CC
   16709 
   16710 
   16711 # save warnings/boilerplate of simple test code
   16712 ac_outfile=conftest.$ac_objext
   16713 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16714 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16715 _lt_compiler_boilerplate=`cat conftest.err`
   16716 $rm conftest*
   16717 
   16718 ac_outfile=conftest.$ac_objext
   16719 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16720 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16721 _lt_linker_boilerplate=`cat conftest.err`
   16722 $rm -r conftest*
   16723 
   16724 
   16725 # Allow CC to be a program name with arguments.
   16726 lt_save_CC="$CC"
   16727 CC=${GCJ-"gcj"}
   16728 compiler=$CC
   16729 compiler_GCJ=$CC
   16730 for cc_temp in $compiler""; do
   16731   case $cc_temp in
   16732     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16733     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16734     \-*) ;;
   16735     *) break;;
   16736   esac
   16737 done
   16738 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16739 
   16740 
   16741 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16742 archive_cmds_need_lc_GCJ=no
   16743 
   16744 old_archive_cmds_GCJ=$old_archive_cmds
   16745 
   16746 
   16747 lt_prog_compiler_no_builtin_flag_GCJ=
   16748 
   16749 if test "$GCC" = yes; then
   16750   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16751 
   16752 
   16753 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16754 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16755 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16756   echo $ECHO_N "(cached) $ECHO_C" >&6
   16757 else
   16758   lt_cv_prog_compiler_rtti_exceptions=no
   16759   ac_outfile=conftest.$ac_objext
   16760    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16761    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16762    # Insert the option either (1) after the last *FLAGS variable, or
   16763    # (2) before a word containing "conftest.", or (3) at the end.
   16764    # Note that $ac_compile itself does not contain backslashes and begins
   16765    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16766    # The option is referenced via a variable to avoid confusing sed.
   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>conftest.err)
   16773    ac_status=$?
   16774    cat conftest.err >&5
   16775    echo "$as_me:16775: \$? = $ac_status" >&5
   16776    if (exit $ac_status) && test -s "$ac_outfile"; then
   16777      # The compiler can only warn and ignore the option if not recognized
   16778      # So say no if there are warnings other than the usual output.
   16779      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16780      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16781      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16782        lt_cv_prog_compiler_rtti_exceptions=yes
   16783      fi
   16784    fi
   16785    $rm conftest*
   16786 
   16787 fi
   16788 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16789 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16790 
   16791 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16792     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16793 else
   16794     :
   16795 fi
   16796 
   16797 fi
   16798 
   16799 lt_prog_compiler_wl_GCJ=
   16800 lt_prog_compiler_pic_GCJ=
   16801 lt_prog_compiler_static_GCJ=
   16802 
   16803 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16804 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16805 
   16806   if test "$GCC" = yes; then
   16807     lt_prog_compiler_wl_GCJ='-Wl,'
   16808     lt_prog_compiler_static_GCJ='-static'
   16809 
   16810     case $host_os in
   16811       aix*)
   16812       # All AIX code is PIC.
   16813       if test "$host_cpu" = ia64; then
   16814 	# AIX 5 now supports IA64 processor
   16815 	lt_prog_compiler_static_GCJ='-Bstatic'
   16816       fi
   16817       ;;
   16818 
   16819     amigaos*)
   16820       # FIXME: we need at least 68020 code to build shared libraries, but
   16821       # adding the `-m68020' flag to GCC prevents building anything better,
   16822       # like `-m68040'.
   16823       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16824       ;;
   16825 
   16826     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16827       # PIC is the default for these OSes.
   16828       ;;
   16829 
   16830     mingw* | cygwin* | pw32* | os2*)
   16831       # This hack is so that the source file can tell whether it is being
   16832       # built for inclusion in a dll (and should export symbols for example).
   16833       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16834       # (--disable-auto-import) libraries
   16835 
   16836       ;;
   16837 
   16838     darwin* | rhapsody*)
   16839       # PIC is the default on this platform
   16840       # Common symbols not allowed in MH_DYLIB files
   16841       lt_prog_compiler_pic_GCJ='-fno-common'
   16842       ;;
   16843 
   16844     interix[3-9]*)
   16845       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16846       # Instead, we relocate shared libraries at runtime.
   16847       ;;
   16848 
   16849     msdosdjgpp*)
   16850       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16851       # on systems that don't support them.
   16852       lt_prog_compiler_can_build_shared_GCJ=no
   16853       enable_shared=no
   16854       ;;
   16855 
   16856     sysv4*MP*)
   16857       if test -d /usr/nec; then
   16858 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16859       fi
   16860       ;;
   16861 
   16862     hpux*)
   16863       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16864       # not for PA HP-UX.
   16865       case $host_cpu in
   16866       hppa*64*|ia64*)
   16867 	# +Z the default
   16868 	;;
   16869       *)
   16870 	lt_prog_compiler_pic_GCJ='-fPIC'
   16871 	;;
   16872       esac
   16873       ;;
   16874 
   16875     *)
   16876       lt_prog_compiler_pic_GCJ='-fPIC'
   16877       ;;
   16878     esac
   16879   else
   16880     # PORTME Check for flag to pass linker flags through the system compiler.
   16881     case $host_os in
   16882     aix*)
   16883       lt_prog_compiler_wl_GCJ='-Wl,'
   16884       if test "$host_cpu" = ia64; then
   16885 	# AIX 5 now supports IA64 processor
   16886 	lt_prog_compiler_static_GCJ='-Bstatic'
   16887       else
   16888 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16889       fi
   16890       ;;
   16891       darwin*)
   16892         # PIC is the default on this platform
   16893         # Common symbols not allowed in MH_DYLIB files
   16894        case $cc_basename in
   16895          xlc*)
   16896          lt_prog_compiler_pic_GCJ='-qnocommon'
   16897          lt_prog_compiler_wl_GCJ='-Wl,'
   16898          ;;
   16899        esac
   16900        ;;
   16901 
   16902     mingw* | cygwin* | pw32* | os2*)
   16903       # This hack is so that the source file can tell whether it is being
   16904       # built for inclusion in a dll (and should export symbols for example).
   16905 
   16906       ;;
   16907 
   16908     hpux9* | hpux10* | hpux11*)
   16909       lt_prog_compiler_wl_GCJ='-Wl,'
   16910       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16911       # not for PA HP-UX.
   16912       case $host_cpu in
   16913       hppa*64*|ia64*)
   16914 	# +Z the default
   16915 	;;
   16916       *)
   16917 	lt_prog_compiler_pic_GCJ='+Z'
   16918 	;;
   16919       esac
   16920       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16921       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16922       ;;
   16923 
   16924     irix5* | irix6* | nonstopux*)
   16925       lt_prog_compiler_wl_GCJ='-Wl,'
   16926       # PIC (with -KPIC) is the default.
   16927       lt_prog_compiler_static_GCJ='-non_shared'
   16928       ;;
   16929 
   16930     newsos6)
   16931       lt_prog_compiler_pic_GCJ='-KPIC'
   16932       lt_prog_compiler_static_GCJ='-Bstatic'
   16933       ;;
   16934 
   16935     linux* | k*bsd*-gnu)
   16936       case $cc_basename in
   16937       icc* | ecc*)
   16938 	lt_prog_compiler_wl_GCJ='-Wl,'
   16939 	lt_prog_compiler_pic_GCJ='-KPIC'
   16940 	lt_prog_compiler_static_GCJ='-static'
   16941         ;;
   16942       pgcc* | pgf77* | pgf90* | pgf95*)
   16943         # Portland Group compilers (*not* the Pentium gcc compiler,
   16944 	# which looks to be a dead project)
   16945 	lt_prog_compiler_wl_GCJ='-Wl,'
   16946 	lt_prog_compiler_pic_GCJ='-fpic'
   16947 	lt_prog_compiler_static_GCJ='-Bstatic'
   16948         ;;
   16949       ccc*)
   16950         lt_prog_compiler_wl_GCJ='-Wl,'
   16951         # All Alpha code is PIC.
   16952         lt_prog_compiler_static_GCJ='-non_shared'
   16953         ;;
   16954       *)
   16955         case `$CC -V 2>&1 | sed 5q` in
   16956 	*Sun\ C*)
   16957 	  # Sun C 5.9
   16958 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16959 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16960 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16961 	  ;;
   16962 	*Sun\ F*)
   16963 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16964 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16965 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16966 	  lt_prog_compiler_wl_GCJ=''
   16967 	  ;;
   16968 	esac
   16969 	;;
   16970       esac
   16971       ;;
   16972 
   16973     osf3* | osf4* | osf5*)
   16974       lt_prog_compiler_wl_GCJ='-Wl,'
   16975       # All OSF/1 code is PIC.
   16976       lt_prog_compiler_static_GCJ='-non_shared'
   16977       ;;
   16978 
   16979     rdos*)
   16980       lt_prog_compiler_static_GCJ='-non_shared'
   16981       ;;
   16982 
   16983     solaris*)
   16984       lt_prog_compiler_pic_GCJ='-KPIC'
   16985       lt_prog_compiler_static_GCJ='-Bstatic'
   16986       case $cc_basename in
   16987       f77* | f90* | f95*)
   16988 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16989       *)
   16990 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16991       esac
   16992       ;;
   16993 
   16994     sunos4*)
   16995       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16996       lt_prog_compiler_pic_GCJ='-PIC'
   16997       lt_prog_compiler_static_GCJ='-Bstatic'
   16998       ;;
   16999 
   17000     sysv4 | sysv4.2uw2* | sysv4.3*)
   17001       lt_prog_compiler_wl_GCJ='-Wl,'
   17002       lt_prog_compiler_pic_GCJ='-KPIC'
   17003       lt_prog_compiler_static_GCJ='-Bstatic'
   17004       ;;
   17005 
   17006     sysv4*MP*)
   17007       if test -d /usr/nec ;then
   17008 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17009 	lt_prog_compiler_static_GCJ='-Bstatic'
   17010       fi
   17011       ;;
   17012 
   17013     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17014       lt_prog_compiler_wl_GCJ='-Wl,'
   17015       lt_prog_compiler_pic_GCJ='-KPIC'
   17016       lt_prog_compiler_static_GCJ='-Bstatic'
   17017       ;;
   17018 
   17019     unicos*)
   17020       lt_prog_compiler_wl_GCJ='-Wl,'
   17021       lt_prog_compiler_can_build_shared_GCJ=no
   17022       ;;
   17023 
   17024     uts4*)
   17025       lt_prog_compiler_pic_GCJ='-pic'
   17026       lt_prog_compiler_static_GCJ='-Bstatic'
   17027       ;;
   17028 
   17029     *)
   17030       lt_prog_compiler_can_build_shared_GCJ=no
   17031       ;;
   17032     esac
   17033   fi
   17034 
   17035 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17036 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   17037 
   17038 #
   17039 # Check to make sure the PIC flag actually works.
   17040 #
   17041 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17042 
   17043 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17044 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   17045 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17046   echo $ECHO_N "(cached) $ECHO_C" >&6
   17047 else
   17048   lt_cv_prog_compiler_pic_works_GCJ=no
   17049   ac_outfile=conftest.$ac_objext
   17050    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17051    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17052    # Insert the option either (1) after the last *FLAGS variable, or
   17053    # (2) before a word containing "conftest.", or (3) at the end.
   17054    # Note that $ac_compile itself does not contain backslashes and begins
   17055    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17056    # The option is referenced via a variable to avoid confusing sed.
   17057    lt_compile=`echo "$ac_compile" | $SED \
   17058    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17059    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17060    -e 's:$: $lt_compiler_flag:'`
   17061    (eval echo "\"\$as_me:17061: $lt_compile\"" >&5)
   17062    (eval "$lt_compile" 2>conftest.err)
   17063    ac_status=$?
   17064    cat conftest.err >&5
   17065    echo "$as_me:17065: \$? = $ac_status" >&5
   17066    if (exit $ac_status) && test -s "$ac_outfile"; then
   17067      # The compiler can only warn and ignore the option if not recognized
   17068      # So say no if there are warnings other than the usual output.
   17069      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17070      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17071      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17072        lt_cv_prog_compiler_pic_works_GCJ=yes
   17073      fi
   17074    fi
   17075    $rm conftest*
   17076 
   17077 fi
   17078 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17079 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17080 
   17081 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17082     case $lt_prog_compiler_pic_GCJ in
   17083      "" | " "*) ;;
   17084      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17085      esac
   17086 else
   17087     lt_prog_compiler_pic_GCJ=
   17088      lt_prog_compiler_can_build_shared_GCJ=no
   17089 fi
   17090 
   17091 fi
   17092 case $host_os in
   17093   # For platforms which do not support PIC, -DPIC is meaningless:
   17094   *djgpp*)
   17095     lt_prog_compiler_pic_GCJ=
   17096     ;;
   17097   *)
   17098     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17099     ;;
   17100 esac
   17101 
   17102 #
   17103 # Check to make sure the static flag actually works.
   17104 #
   17105 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17106 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17107 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17108 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17109   echo $ECHO_N "(cached) $ECHO_C" >&6
   17110 else
   17111   lt_cv_prog_compiler_static_works_GCJ=no
   17112    save_LDFLAGS="$LDFLAGS"
   17113    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17114    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17115    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17116      # The linker can only warn and ignore the option if not recognized
   17117      # So say no if there are warnings
   17118      if test -s conftest.err; then
   17119        # Append any errors to the config.log.
   17120        cat conftest.err 1>&5
   17121        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17122        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17123        if diff conftest.exp conftest.er2 >/dev/null; then
   17124          lt_cv_prog_compiler_static_works_GCJ=yes
   17125        fi
   17126      else
   17127        lt_cv_prog_compiler_static_works_GCJ=yes
   17128      fi
   17129    fi
   17130    $rm -r conftest*
   17131    LDFLAGS="$save_LDFLAGS"
   17132 
   17133 fi
   17134 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17135 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17136 
   17137 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17138     :
   17139 else
   17140     lt_prog_compiler_static_GCJ=
   17141 fi
   17142 
   17143 
   17144 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17145 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17146 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17147   echo $ECHO_N "(cached) $ECHO_C" >&6
   17148 else
   17149   lt_cv_prog_compiler_c_o_GCJ=no
   17150    $rm -r conftest 2>/dev/null
   17151    mkdir conftest
   17152    cd conftest
   17153    mkdir out
   17154    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17155 
   17156    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17157    # Insert the option either (1) after the last *FLAGS variable, or
   17158    # (2) before a word containing "conftest.", or (3) at the end.
   17159    # Note that $ac_compile itself does not contain backslashes and begins
   17160    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17161    lt_compile=`echo "$ac_compile" | $SED \
   17162    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17163    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17164    -e 's:$: $lt_compiler_flag:'`
   17165    (eval echo "\"\$as_me:17165: $lt_compile\"" >&5)
   17166    (eval "$lt_compile" 2>out/conftest.err)
   17167    ac_status=$?
   17168    cat out/conftest.err >&5
   17169    echo "$as_me:17169: \$? = $ac_status" >&5
   17170    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17171    then
   17172      # The compiler can only warn and ignore the option if not recognized
   17173      # So say no if there are warnings
   17174      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17175      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17176      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17177        lt_cv_prog_compiler_c_o_GCJ=yes
   17178      fi
   17179    fi
   17180    chmod u+w . 2>&5
   17181    $rm conftest*
   17182    # SGI C++ compiler will create directory out/ii_files/ for
   17183    # template instantiation
   17184    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17185    $rm out/* && rmdir out
   17186    cd ..
   17187    rmdir conftest
   17188    $rm conftest*
   17189 
   17190 fi
   17191 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17192 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17193 
   17194 
   17195 hard_links="nottested"
   17196 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17197   # do not overwrite the value of need_locks provided by the user
   17198   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17199 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17200   hard_links=yes
   17201   $rm conftest*
   17202   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17203   touch conftest.a
   17204   ln conftest.a conftest.b 2>&5 || hard_links=no
   17205   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17206   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17207 echo "${ECHO_T}$hard_links" >&6; }
   17208   if test "$hard_links" = no; then
   17209     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17210 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17211     need_locks=warn
   17212   fi
   17213 else
   17214   need_locks=no
   17215 fi
   17216 
   17217 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17218 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17219 
   17220   runpath_var=
   17221   allow_undefined_flag_GCJ=
   17222   enable_shared_with_static_runtimes_GCJ=no
   17223   archive_cmds_GCJ=
   17224   archive_expsym_cmds_GCJ=
   17225   old_archive_From_new_cmds_GCJ=
   17226   old_archive_from_expsyms_cmds_GCJ=
   17227   export_dynamic_flag_spec_GCJ=
   17228   whole_archive_flag_spec_GCJ=
   17229   thread_safe_flag_spec_GCJ=
   17230   hardcode_libdir_flag_spec_GCJ=
   17231   hardcode_libdir_flag_spec_ld_GCJ=
   17232   hardcode_libdir_separator_GCJ=
   17233   hardcode_direct_GCJ=no
   17234   hardcode_minus_L_GCJ=no
   17235   hardcode_shlibpath_var_GCJ=unsupported
   17236   link_all_deplibs_GCJ=unknown
   17237   hardcode_automatic_GCJ=no
   17238   module_cmds_GCJ=
   17239   module_expsym_cmds_GCJ=
   17240   always_export_symbols_GCJ=no
   17241   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17242   # include_expsyms should be a list of space-separated symbols to be *always*
   17243   # included in the symbol list
   17244   include_expsyms_GCJ=
   17245   # exclude_expsyms can be an extended regexp of symbols to exclude
   17246   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17247   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17248   # as well as any symbol that contains `d'.
   17249   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17250   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17251   # platforms (ab)use it in PIC code, but their linkers get confused if
   17252   # the symbol is explicitly referenced.  Since portable code cannot
   17253   # rely on this symbol name, it's probably fine to never include it in
   17254   # preloaded symbol tables.
   17255   # Exclude shared library initialization/finalization symbols.
   17256   extract_expsyms_cmds=
   17257   # Just being paranoid about ensuring that cc_basename is set.
   17258   for cc_temp in $compiler""; do
   17259   case $cc_temp in
   17260     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17261     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17262     \-*) ;;
   17263     *) break;;
   17264   esac
   17265 done
   17266 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17267 
   17268   case $host_os in
   17269   cygwin* | mingw* | pw32*)
   17270     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17271     # When not using gcc, we currently assume that we are using
   17272     # Microsoft Visual C++.
   17273     if test "$GCC" != yes; then
   17274       with_gnu_ld=no
   17275     fi
   17276     ;;
   17277   interix*)
   17278     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17279     with_gnu_ld=yes
   17280     ;;
   17281   openbsd*)
   17282     with_gnu_ld=no
   17283     ;;
   17284   esac
   17285 
   17286   ld_shlibs_GCJ=yes
   17287   if test "$with_gnu_ld" = yes; then
   17288     # If archive_cmds runs LD, not CC, wlarc should be empty
   17289     wlarc='${wl}'
   17290 
   17291     # Set some defaults for GNU ld with shared library support. These
   17292     # are reset later if shared libraries are not supported. Putting them
   17293     # here allows them to be overridden if necessary.
   17294     runpath_var=LD_RUN_PATH
   17295     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17296     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17297     # ancient GNU ld didn't support --whole-archive et. al.
   17298     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17299 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17300       else
   17301   	whole_archive_flag_spec_GCJ=
   17302     fi
   17303     supports_anon_versioning=no
   17304     case `$LD -v 2>/dev/null` in
   17305       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17306       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17307       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17308       *\ 2.11.*) ;; # other 2.11 versions
   17309       *) supports_anon_versioning=yes ;;
   17310     esac
   17311 
   17312     # See if GNU ld supports shared libraries.
   17313     case $host_os in
   17314     aix[3-9]*)
   17315       # On AIX/PPC, the GNU linker is very broken
   17316       if test "$host_cpu" != ia64; then
   17317 	ld_shlibs_GCJ=no
   17318 	cat <<EOF 1>&2
   17319 
   17320 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17321 *** to be unable to reliably create shared libraries on AIX.
   17322 *** Therefore, libtool is disabling shared libraries support.  If you
   17323 *** really care for shared libraries, you may want to modify your PATH
   17324 *** so that a non-GNU linker is found, and then restart.
   17325 
   17326 EOF
   17327       fi
   17328       ;;
   17329 
   17330     amigaos*)
   17331       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)'
   17332       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17333       hardcode_minus_L_GCJ=yes
   17334 
   17335       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17336       # that the semantics of dynamic libraries on AmigaOS, at least up
   17337       # to version 4, is to share data among multiple programs linked
   17338       # with the same dynamic library.  Since this doesn't match the
   17339       # behavior of shared libraries on other platforms, we can't use
   17340       # them.
   17341       ld_shlibs_GCJ=no
   17342       ;;
   17343 
   17344     beos*)
   17345       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17346 	allow_undefined_flag_GCJ=unsupported
   17347 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17348 	# support --undefined.  This deserves some investigation.  FIXME
   17349 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17350       else
   17351 	ld_shlibs_GCJ=no
   17352       fi
   17353       ;;
   17354 
   17355     cygwin* | mingw* | pw32*)
   17356       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17357       # as there is no search path for DLLs.
   17358       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17359       allow_undefined_flag_GCJ=unsupported
   17360       always_export_symbols_GCJ=no
   17361       enable_shared_with_static_runtimes_GCJ=yes
   17362       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17363 
   17364       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17365         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17366 	# If the export-symbols file already is a .def file (1st line
   17367 	# is EXPORTS), use it as is; otherwise, prepend...
   17368 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17369 	  cp $export_symbols $output_objdir/$soname.def;
   17370 	else
   17371 	  echo EXPORTS > $output_objdir/$soname.def;
   17372 	  cat $export_symbols >> $output_objdir/$soname.def;
   17373 	fi~
   17374 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17375       else
   17376 	ld_shlibs_GCJ=no
   17377       fi
   17378       ;;
   17379 
   17380     interix[3-9]*)
   17381       hardcode_direct_GCJ=no
   17382       hardcode_shlibpath_var_GCJ=no
   17383       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17384       export_dynamic_flag_spec_GCJ='${wl}-E'
   17385       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17386       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17387       # default) and relocated if they conflict, which is a slow very memory
   17388       # consuming and fragmenting process.  To avoid this, we pick a random,
   17389       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17390       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17391       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'
   17392       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'
   17393       ;;
   17394 
   17395     gnu* | linux* | k*bsd*-gnu)
   17396       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17397 	tmp_addflag=
   17398 	case $cc_basename,$host_cpu in
   17399 	pgcc*)				# Portland Group C compiler
   17400 	  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'
   17401 	  tmp_addflag=' $pic_flag'
   17402 	  ;;
   17403 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17404 	  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'
   17405 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17406 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17407 	  tmp_addflag=' -i_dynamic' ;;
   17408 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17409 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17410 	ifc* | ifort*)			# Intel Fortran compiler
   17411 	  tmp_addflag=' -nofor_main' ;;
   17412 	esac
   17413 	case `$CC -V 2>&1 | sed 5q` in
   17414 	*Sun\ C*)			# Sun C 5.9
   17415 	  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'
   17416 	  tmp_sharedflag='-G' ;;
   17417 	*Sun\ F*)			# Sun Fortran 8.3
   17418 	  tmp_sharedflag='-G' ;;
   17419 	*)
   17420 	  tmp_sharedflag='-shared' ;;
   17421 	esac
   17422 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17423 
   17424 	if test $supports_anon_versioning = yes; then
   17425 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17426   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17427   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17428 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17429 	fi
   17430 	link_all_deplibs_GCJ=no
   17431       else
   17432 	ld_shlibs_GCJ=no
   17433       fi
   17434       ;;
   17435 
   17436     netbsd* | netbsdelf*-gnu)
   17437       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17438 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17439 	wlarc=
   17440       else
   17441 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17442 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17443       fi
   17444       ;;
   17445 
   17446     solaris*)
   17447       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17448 	ld_shlibs_GCJ=no
   17449 	cat <<EOF 1>&2
   17450 
   17451 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17452 *** create shared libraries on Solaris systems.  Therefore, libtool
   17453 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17454 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17455 *** your PATH or compiler configuration so that the native linker is
   17456 *** used, and then restart.
   17457 
   17458 EOF
   17459       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17460 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17461 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17462       else
   17463 	ld_shlibs_GCJ=no
   17464       fi
   17465       ;;
   17466 
   17467     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17468       case `$LD -v 2>&1` in
   17469         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17470 	ld_shlibs_GCJ=no
   17471 	cat <<_LT_EOF 1>&2
   17472 
   17473 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17474 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17475 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17476 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17477 *** your PATH or compiler configuration so that the native linker is
   17478 *** used, and then restart.
   17479 
   17480 _LT_EOF
   17481 	;;
   17482 	*)
   17483 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17484 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17485 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17486 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17487 	  else
   17488 	    ld_shlibs_GCJ=no
   17489 	  fi
   17490 	;;
   17491       esac
   17492       ;;
   17493 
   17494     sunos4*)
   17495       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17496       wlarc=
   17497       hardcode_direct_GCJ=yes
   17498       hardcode_shlibpath_var_GCJ=no
   17499       ;;
   17500 
   17501     *)
   17502       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17503 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17504 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17505       else
   17506 	ld_shlibs_GCJ=no
   17507       fi
   17508       ;;
   17509     esac
   17510 
   17511     if test "$ld_shlibs_GCJ" = no; then
   17512       runpath_var=
   17513       hardcode_libdir_flag_spec_GCJ=
   17514       export_dynamic_flag_spec_GCJ=
   17515       whole_archive_flag_spec_GCJ=
   17516     fi
   17517   else
   17518     # PORTME fill in a description of your system's linker (not GNU ld)
   17519     case $host_os in
   17520     aix3*)
   17521       allow_undefined_flag_GCJ=unsupported
   17522       always_export_symbols_GCJ=yes
   17523       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'
   17524       # Note: this linker hardcodes the directories in LIBPATH if there
   17525       # are no directories specified by -L.
   17526       hardcode_minus_L_GCJ=yes
   17527       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17528 	# Neither direct hardcoding nor static linking is supported with a
   17529 	# broken collect2.
   17530 	hardcode_direct_GCJ=unsupported
   17531       fi
   17532       ;;
   17533 
   17534     aix[4-9]*)
   17535       if test "$host_cpu" = ia64; then
   17536 	# On IA64, the linker does run time linking by default, so we don't
   17537 	# have to do anything special.
   17538 	aix_use_runtimelinking=no
   17539 	exp_sym_flag='-Bexport'
   17540 	no_entry_flag=""
   17541       else
   17542 	# If we're using GNU nm, then we don't want the "-C" option.
   17543 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17544 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17545 	  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'
   17546 	else
   17547 	  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'
   17548 	fi
   17549 	aix_use_runtimelinking=no
   17550 
   17551 	# Test if we are trying to use run time linking or normal
   17552 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17553 	# need to do runtime linking.
   17554 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17555 	  for ld_flag in $LDFLAGS; do
   17556   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17557   	    aix_use_runtimelinking=yes
   17558   	    break
   17559   	  fi
   17560 	  done
   17561 	  ;;
   17562 	esac
   17563 
   17564 	exp_sym_flag='-bexport'
   17565 	no_entry_flag='-bnoentry'
   17566       fi
   17567 
   17568       # When large executables or shared objects are built, AIX ld can
   17569       # have problems creating the table of contents.  If linking a library
   17570       # or program results in "error TOC overflow" add -mminimal-toc to
   17571       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17572       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17573 
   17574       archive_cmds_GCJ=''
   17575       hardcode_direct_GCJ=yes
   17576       hardcode_libdir_separator_GCJ=':'
   17577       link_all_deplibs_GCJ=yes
   17578 
   17579       if test "$GCC" = yes; then
   17580 	case $host_os in aix4.[012]|aix4.[012].*)
   17581 	# We only want to do this on AIX 4.2 and lower, the check
   17582 	# below for broken collect2 doesn't work under 4.3+
   17583 	  collect2name=`${CC} -print-prog-name=collect2`
   17584 	  if test -f "$collect2name" && \
   17585   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17586 	  then
   17587   	  # We have reworked collect2
   17588   	  :
   17589 	  else
   17590   	  # We have old collect2
   17591   	  hardcode_direct_GCJ=unsupported
   17592   	  # It fails to find uninstalled libraries when the uninstalled
   17593   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17594   	  # to unsupported forces relinking
   17595   	  hardcode_minus_L_GCJ=yes
   17596   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17597   	  hardcode_libdir_separator_GCJ=
   17598 	  fi
   17599 	  ;;
   17600 	esac
   17601 	shared_flag='-shared'
   17602 	if test "$aix_use_runtimelinking" = yes; then
   17603 	  shared_flag="$shared_flag "'${wl}-G'
   17604 	fi
   17605       else
   17606 	# not using gcc
   17607 	if test "$host_cpu" = ia64; then
   17608   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17609   	# chokes on -Wl,-G. The following line is correct:
   17610 	  shared_flag='-G'
   17611 	else
   17612 	  if test "$aix_use_runtimelinking" = yes; then
   17613 	    shared_flag='${wl}-G'
   17614 	  else
   17615 	    shared_flag='${wl}-bM:SRE'
   17616 	  fi
   17617 	fi
   17618       fi
   17619 
   17620       # It seems that -bexpall does not export symbols beginning with
   17621       # underscore (_), so it is better to generate a list of symbols to export.
   17622       always_export_symbols_GCJ=yes
   17623       if test "$aix_use_runtimelinking" = yes; then
   17624 	# Warning - without using the other runtime loading flags (-brtl),
   17625 	# -berok will link without error, but may produce a broken library.
   17626 	allow_undefined_flag_GCJ='-berok'
   17627        # Determine the default libpath from the value encoded in an empty executable.
   17628        cat >conftest.$ac_ext <<_ACEOF
   17629 /* confdefs.h.  */
   17630 _ACEOF
   17631 cat confdefs.h >>conftest.$ac_ext
   17632 cat >>conftest.$ac_ext <<_ACEOF
   17633 /* end confdefs.h.  */
   17634 
   17635 int
   17636 main ()
   17637 {
   17638 
   17639   ;
   17640   return 0;
   17641 }
   17642 _ACEOF
   17643 rm -f conftest.$ac_objext conftest$ac_exeext
   17644 if { (ac_try="$ac_link"
   17645 case "(($ac_try" in
   17646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17647   *) ac_try_echo=$ac_try;;
   17648 esac
   17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17650   (eval "$ac_link") 2>conftest.er1
   17651   ac_status=$?
   17652   grep -v '^ *+' conftest.er1 >conftest.err
   17653   rm -f conftest.er1
   17654   cat conftest.err >&5
   17655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17656   (exit $ac_status); } && {
   17657 	 test -z "$ac_c_werror_flag" ||
   17658 	 test ! -s conftest.err
   17659        } && test -s conftest$ac_exeext &&
   17660        $as_test_x conftest$ac_exeext; then
   17661 
   17662 lt_aix_libpath_sed='
   17663     /Import File Strings/,/^$/ {
   17664 	/^0/ {
   17665 	    s/^0  *\(.*\)$/\1/
   17666 	    p
   17667 	}
   17668     }'
   17669 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17670 # Check for a 64-bit object if we didn't find anything.
   17671 if test -z "$aix_libpath"; then
   17672   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17673 fi
   17674 else
   17675   echo "$as_me: failed program was:" >&5
   17676 sed 's/^/| /' conftest.$ac_ext >&5
   17677 
   17678 
   17679 fi
   17680 
   17681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17682       conftest$ac_exeext conftest.$ac_ext
   17683 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17684 
   17685        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17686 	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"
   17687        else
   17688 	if test "$host_cpu" = ia64; then
   17689 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17690 	  allow_undefined_flag_GCJ="-z nodefs"
   17691 	  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"
   17692 	else
   17693 	 # Determine the default libpath from the value encoded in an empty executable.
   17694 	 cat >conftest.$ac_ext <<_ACEOF
   17695 /* confdefs.h.  */
   17696 _ACEOF
   17697 cat confdefs.h >>conftest.$ac_ext
   17698 cat >>conftest.$ac_ext <<_ACEOF
   17699 /* end confdefs.h.  */
   17700 
   17701 int
   17702 main ()
   17703 {
   17704 
   17705   ;
   17706   return 0;
   17707 }
   17708 _ACEOF
   17709 rm -f conftest.$ac_objext conftest$ac_exeext
   17710 if { (ac_try="$ac_link"
   17711 case "(($ac_try" in
   17712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17713   *) ac_try_echo=$ac_try;;
   17714 esac
   17715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17716   (eval "$ac_link") 2>conftest.er1
   17717   ac_status=$?
   17718   grep -v '^ *+' conftest.er1 >conftest.err
   17719   rm -f conftest.er1
   17720   cat conftest.err >&5
   17721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17722   (exit $ac_status); } && {
   17723 	 test -z "$ac_c_werror_flag" ||
   17724 	 test ! -s conftest.err
   17725        } && test -s conftest$ac_exeext &&
   17726        $as_test_x conftest$ac_exeext; then
   17727 
   17728 lt_aix_libpath_sed='
   17729     /Import File Strings/,/^$/ {
   17730 	/^0/ {
   17731 	    s/^0  *\(.*\)$/\1/
   17732 	    p
   17733 	}
   17734     }'
   17735 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17736 # Check for a 64-bit object if we didn't find anything.
   17737 if test -z "$aix_libpath"; then
   17738   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17739 fi
   17740 else
   17741   echo "$as_me: failed program was:" >&5
   17742 sed 's/^/| /' conftest.$ac_ext >&5
   17743 
   17744 
   17745 fi
   17746 
   17747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17748       conftest$ac_exeext conftest.$ac_ext
   17749 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17750 
   17751 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17752 	  # Warning - without using the other run time loading flags,
   17753 	  # -berok will link without error, but may produce a broken library.
   17754 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17755 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17756 	  # Exported symbols can be pulled into shared objects from archives
   17757 	  whole_archive_flag_spec_GCJ='$convenience'
   17758 	  archive_cmds_need_lc_GCJ=yes
   17759 	  # This is similar to how AIX traditionally builds its shared libraries.
   17760 	  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'
   17761 	fi
   17762       fi
   17763       ;;
   17764 
   17765     amigaos*)
   17766       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)'
   17767       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17768       hardcode_minus_L_GCJ=yes
   17769       # see comment about different semantics on the GNU ld section
   17770       ld_shlibs_GCJ=no
   17771       ;;
   17772 
   17773     bsdi[45]*)
   17774       export_dynamic_flag_spec_GCJ=-rdynamic
   17775       ;;
   17776 
   17777     cygwin* | mingw* | pw32*)
   17778       # When not using gcc, we currently assume that we are using
   17779       # Microsoft Visual C++.
   17780       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17781       # no search path for DLLs.
   17782       hardcode_libdir_flag_spec_GCJ=' '
   17783       allow_undefined_flag_GCJ=unsupported
   17784       # Tell ltmain to make .lib files, not .a files.
   17785       libext=lib
   17786       # Tell ltmain to make .dll files, not .so files.
   17787       shrext_cmds=".dll"
   17788       # FIXME: Setting linknames here is a bad hack.
   17789       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17790       # The linker will automatically build a .lib file if we build a DLL.
   17791       old_archive_From_new_cmds_GCJ='true'
   17792       # FIXME: Should let the user specify the lib program.
   17793       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17794       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17795       enable_shared_with_static_runtimes_GCJ=yes
   17796       ;;
   17797 
   17798     darwin* | rhapsody*)
   17799       case $host_os in
   17800         rhapsody* | darwin1.[012])
   17801          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17802          ;;
   17803        *) # Darwin 1.3 on
   17804          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17805            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17806          else
   17807            case ${MACOSX_DEPLOYMENT_TARGET} in
   17808              10.[012])
   17809                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17810                ;;
   17811              10.*)
   17812                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17813                ;;
   17814            esac
   17815          fi
   17816          ;;
   17817       esac
   17818       archive_cmds_need_lc_GCJ=no
   17819       hardcode_direct_GCJ=no
   17820       hardcode_automatic_GCJ=yes
   17821       hardcode_shlibpath_var_GCJ=unsupported
   17822       whole_archive_flag_spec_GCJ=''
   17823       link_all_deplibs_GCJ=yes
   17824     if test "$GCC" = yes ; then
   17825     	output_verbose_link_cmd='echo'
   17826         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   17827         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   17828         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   17829         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   17830     else
   17831       case $cc_basename in
   17832         xlc*)
   17833          output_verbose_link_cmd='echo'
   17834          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17835          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17836           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17837          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}'
   17838           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}'
   17839           ;;
   17840        *)
   17841          ld_shlibs_GCJ=no
   17842           ;;
   17843       esac
   17844     fi
   17845       ;;
   17846 
   17847     dgux*)
   17848       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17849       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17850       hardcode_shlibpath_var_GCJ=no
   17851       ;;
   17852 
   17853     freebsd1*)
   17854       ld_shlibs_GCJ=no
   17855       ;;
   17856 
   17857     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17858     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17859     # does not break anything, and helps significantly (at the cost of a little
   17860     # extra space).
   17861     freebsd2.2*)
   17862       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17863       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17864       hardcode_direct_GCJ=yes
   17865       hardcode_shlibpath_var_GCJ=no
   17866       ;;
   17867 
   17868     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17869     freebsd2*)
   17870       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17871       hardcode_direct_GCJ=yes
   17872       hardcode_minus_L_GCJ=yes
   17873       hardcode_shlibpath_var_GCJ=no
   17874       ;;
   17875 
   17876     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17877     freebsd* | dragonfly*)
   17878       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17879       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17880       hardcode_direct_GCJ=yes
   17881       hardcode_shlibpath_var_GCJ=no
   17882       ;;
   17883 
   17884     hpux9*)
   17885       if test "$GCC" = yes; then
   17886 	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'
   17887       else
   17888 	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'
   17889       fi
   17890       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17891       hardcode_libdir_separator_GCJ=:
   17892       hardcode_direct_GCJ=yes
   17893 
   17894       # hardcode_minus_L: Not really in the search PATH,
   17895       # but as the default location of the library.
   17896       hardcode_minus_L_GCJ=yes
   17897       export_dynamic_flag_spec_GCJ='${wl}-E'
   17898       ;;
   17899 
   17900     hpux10*)
   17901       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17902 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17903       else
   17904 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17905       fi
   17906       if test "$with_gnu_ld" = no; then
   17907 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17908 	hardcode_libdir_separator_GCJ=:
   17909 
   17910 	hardcode_direct_GCJ=yes
   17911 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17912 
   17913 	# hardcode_minus_L: Not really in the search PATH,
   17914 	# but as the default location of the library.
   17915 	hardcode_minus_L_GCJ=yes
   17916       fi
   17917       ;;
   17918 
   17919     hpux11*)
   17920       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17921 	case $host_cpu in
   17922 	hppa*64*)
   17923 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17924 	  ;;
   17925 	ia64*)
   17926 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17927 	  ;;
   17928 	*)
   17929 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17930 	  ;;
   17931 	esac
   17932       else
   17933 	case $host_cpu in
   17934 	hppa*64*)
   17935 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17936 	  ;;
   17937 	ia64*)
   17938 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17939 	  ;;
   17940 	*)
   17941 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17942 	  ;;
   17943 	esac
   17944       fi
   17945       if test "$with_gnu_ld" = no; then
   17946 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17947 	hardcode_libdir_separator_GCJ=:
   17948 
   17949 	case $host_cpu in
   17950 	hppa*64*|ia64*)
   17951 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17952 	  hardcode_direct_GCJ=no
   17953 	  hardcode_shlibpath_var_GCJ=no
   17954 	  ;;
   17955 	*)
   17956 	  hardcode_direct_GCJ=yes
   17957 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17958 
   17959 	  # hardcode_minus_L: Not really in the search PATH,
   17960 	  # but as the default location of the library.
   17961 	  hardcode_minus_L_GCJ=yes
   17962 	  ;;
   17963 	esac
   17964       fi
   17965       ;;
   17966 
   17967     irix5* | irix6* | nonstopux*)
   17968       if test "$GCC" = yes; then
   17969 	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'
   17970       else
   17971 	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'
   17972 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17973       fi
   17974       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17975       hardcode_libdir_separator_GCJ=:
   17976       link_all_deplibs_GCJ=yes
   17977       ;;
   17978 
   17979     netbsd* | netbsdelf*-gnu)
   17980       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17981 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17982       else
   17983 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17984       fi
   17985       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17986       hardcode_direct_GCJ=yes
   17987       hardcode_shlibpath_var_GCJ=no
   17988       ;;
   17989 
   17990     newsos6)
   17991       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17992       hardcode_direct_GCJ=yes
   17993       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17994       hardcode_libdir_separator_GCJ=:
   17995       hardcode_shlibpath_var_GCJ=no
   17996       ;;
   17997 
   17998     openbsd*)
   17999       if test -f /usr/libexec/ld.so; then
   18000 	hardcode_direct_GCJ=yes
   18001 	hardcode_shlibpath_var_GCJ=no
   18002 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18003 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18004 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18005 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18006 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18007 	else
   18008 	  case $host_os in
   18009 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18010 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18011 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18012 	     ;;
   18013 	   *)
   18014 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18015 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18016 	     ;;
   18017 	  esac
   18018         fi
   18019       else
   18020 	ld_shlibs_GCJ=no
   18021       fi
   18022       ;;
   18023 
   18024     os2*)
   18025       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18026       hardcode_minus_L_GCJ=yes
   18027       allow_undefined_flag_GCJ=unsupported
   18028       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'
   18029       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18030       ;;
   18031 
   18032     osf3*)
   18033       if test "$GCC" = yes; then
   18034 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18035 	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'
   18036       else
   18037 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18038 	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'
   18039       fi
   18040       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18041       hardcode_libdir_separator_GCJ=:
   18042       ;;
   18043 
   18044     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18045       if test "$GCC" = yes; then
   18046 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18047 	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'
   18048 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18049       else
   18050 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18051 	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'
   18052 	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~
   18053 	$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'
   18054 
   18055 	# Both c and cxx compiler support -rpath directly
   18056 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18057       fi
   18058       hardcode_libdir_separator_GCJ=:
   18059       ;;
   18060 
   18061     solaris*)
   18062       no_undefined_flag_GCJ=' -z text'
   18063       if test "$GCC" = yes; then
   18064 	wlarc='${wl}'
   18065 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18066 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18067 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18068       else
   18069 	wlarc=''
   18070 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18071 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18072   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18073       fi
   18074       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18075       hardcode_shlibpath_var_GCJ=no
   18076       case $host_os in
   18077       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18078       *)
   18079 	# The compiler driver will combine and reorder linker options,
   18080 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18081 	# but is careful enough not to reorder.
   18082  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18083 	if test "$GCC" = yes; then
   18084 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18085 	else
   18086 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18087 	fi
   18088 	;;
   18089       esac
   18090       link_all_deplibs_GCJ=yes
   18091       ;;
   18092 
   18093     sunos4*)
   18094       if test "x$host_vendor" = xsequent; then
   18095 	# Use $CC to link under sequent, because it throws in some extra .o
   18096 	# files that make .init and .fini sections work.
   18097 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18098       else
   18099 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18100       fi
   18101       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18102       hardcode_direct_GCJ=yes
   18103       hardcode_minus_L_GCJ=yes
   18104       hardcode_shlibpath_var_GCJ=no
   18105       ;;
   18106 
   18107     sysv4)
   18108       case $host_vendor in
   18109 	sni)
   18110 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18111 	  hardcode_direct_GCJ=yes # is this really true???
   18112 	;;
   18113 	siemens)
   18114 	  ## LD is ld it makes a PLAMLIB
   18115 	  ## CC just makes a GrossModule.
   18116 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18117 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18118 	  hardcode_direct_GCJ=no
   18119         ;;
   18120 	motorola)
   18121 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18122 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18123 	;;
   18124       esac
   18125       runpath_var='LD_RUN_PATH'
   18126       hardcode_shlibpath_var_GCJ=no
   18127       ;;
   18128 
   18129     sysv4.3*)
   18130       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18131       hardcode_shlibpath_var_GCJ=no
   18132       export_dynamic_flag_spec_GCJ='-Bexport'
   18133       ;;
   18134 
   18135     sysv4*MP*)
   18136       if test -d /usr/nec; then
   18137 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18138 	hardcode_shlibpath_var_GCJ=no
   18139 	runpath_var=LD_RUN_PATH
   18140 	hardcode_runpath_var=yes
   18141 	ld_shlibs_GCJ=yes
   18142       fi
   18143       ;;
   18144 
   18145     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18146       no_undefined_flag_GCJ='${wl}-z,text'
   18147       archive_cmds_need_lc_GCJ=no
   18148       hardcode_shlibpath_var_GCJ=no
   18149       runpath_var='LD_RUN_PATH'
   18150 
   18151       if test "$GCC" = yes; then
   18152 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18153 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18154       else
   18155 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18156 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18157       fi
   18158       ;;
   18159 
   18160     sysv5* | sco3.2v5* | sco5v6*)
   18161       # Note: We can NOT use -z defs as we might desire, because we do not
   18162       # link with -lc, and that would cause any symbols used from libc to
   18163       # always be unresolved, which means just about no library would
   18164       # ever link correctly.  If we're not using GNU ld we use -z text
   18165       # though, which does catch some bad symbols but isn't as heavy-handed
   18166       # as -z defs.
   18167       no_undefined_flag_GCJ='${wl}-z,text'
   18168       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18169       archive_cmds_need_lc_GCJ=no
   18170       hardcode_shlibpath_var_GCJ=no
   18171       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18172       hardcode_libdir_separator_GCJ=':'
   18173       link_all_deplibs_GCJ=yes
   18174       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18175       runpath_var='LD_RUN_PATH'
   18176 
   18177       if test "$GCC" = yes; then
   18178 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18179 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18180       else
   18181 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18182 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18183       fi
   18184       ;;
   18185 
   18186     uts4*)
   18187       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18188       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18189       hardcode_shlibpath_var_GCJ=no
   18190       ;;
   18191 
   18192     *)
   18193       ld_shlibs_GCJ=no
   18194       ;;
   18195     esac
   18196   fi
   18197 
   18198 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18199 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18200 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18201 
   18202 #
   18203 # Do we need to explicitly link libc?
   18204 #
   18205 case "x$archive_cmds_need_lc_GCJ" in
   18206 x|xyes)
   18207   # Assume -lc should be added
   18208   archive_cmds_need_lc_GCJ=yes
   18209 
   18210   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18211     case $archive_cmds_GCJ in
   18212     *'~'*)
   18213       # FIXME: we may have to deal with multi-command sequences.
   18214       ;;
   18215     '$CC '*)
   18216       # Test whether the compiler implicitly links with -lc since on some
   18217       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18218       # to ld, don't add -lc before -lgcc.
   18219       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18220 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18221       $rm conftest*
   18222       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18223 
   18224       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18225   (eval $ac_compile) 2>&5
   18226   ac_status=$?
   18227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18228   (exit $ac_status); } 2>conftest.err; then
   18229         soname=conftest
   18230         lib=conftest
   18231         libobjs=conftest.$ac_objext
   18232         deplibs=
   18233         wl=$lt_prog_compiler_wl_GCJ
   18234 	pic_flag=$lt_prog_compiler_pic_GCJ
   18235         compiler_flags=-v
   18236         linker_flags=-v
   18237         verstring=
   18238         output_objdir=.
   18239         libname=conftest
   18240         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18241         allow_undefined_flag_GCJ=
   18242         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18243   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18244   ac_status=$?
   18245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18246   (exit $ac_status); }
   18247         then
   18248 	  archive_cmds_need_lc_GCJ=no
   18249         else
   18250 	  archive_cmds_need_lc_GCJ=yes
   18251         fi
   18252         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18253       else
   18254         cat conftest.err 1>&5
   18255       fi
   18256       $rm conftest*
   18257       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18258 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18259       ;;
   18260     esac
   18261   fi
   18262   ;;
   18263 esac
   18264 
   18265 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18266 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18267 library_names_spec=
   18268 libname_spec='lib$name'
   18269 soname_spec=
   18270 shrext_cmds=".so"
   18271 postinstall_cmds=
   18272 postuninstall_cmds=
   18273 finish_cmds=
   18274 finish_eval=
   18275 shlibpath_var=
   18276 shlibpath_overrides_runpath=unknown
   18277 version_type=none
   18278 dynamic_linker="$host_os ld.so"
   18279 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18280 
   18281 need_lib_prefix=unknown
   18282 hardcode_into_libs=no
   18283 
   18284 # when you set need_version to no, make sure it does not cause -set_version
   18285 # flags to be left without arguments
   18286 need_version=unknown
   18287 
   18288 case $host_os in
   18289 aix3*)
   18290   version_type=linux
   18291   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18292   shlibpath_var=LIBPATH
   18293 
   18294   # AIX 3 has no versioning support, so we append a major version to the name.
   18295   soname_spec='${libname}${release}${shared_ext}$major'
   18296   ;;
   18297 
   18298 aix[4-9]*)
   18299   version_type=linux
   18300   need_lib_prefix=no
   18301   need_version=no
   18302   hardcode_into_libs=yes
   18303   if test "$host_cpu" = ia64; then
   18304     # AIX 5 supports IA64
   18305     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18306     shlibpath_var=LD_LIBRARY_PATH
   18307   else
   18308     # With GCC up to 2.95.x, collect2 would create an import file
   18309     # for dependence libraries.  The import file would start with
   18310     # the line `#! .'.  This would cause the generated library to
   18311     # depend on `.', always an invalid library.  This was fixed in
   18312     # development snapshots of GCC prior to 3.0.
   18313     case $host_os in
   18314       aix4 | aix4.[01] | aix4.[01].*)
   18315       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18316 	   echo ' yes '
   18317 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18318 	:
   18319       else
   18320 	can_build_shared=no
   18321       fi
   18322       ;;
   18323     esac
   18324     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18325     # soname into executable. Probably we can add versioning support to
   18326     # collect2, so additional links can be useful in future.
   18327     if test "$aix_use_runtimelinking" = yes; then
   18328       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18329       # instead of lib<name>.a to let people know that these are not
   18330       # typical AIX shared libraries.
   18331       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18332     else
   18333       # We preserve .a as extension for shared libraries through AIX4.2
   18334       # and later when we are not doing run time linking.
   18335       library_names_spec='${libname}${release}.a $libname.a'
   18336       soname_spec='${libname}${release}${shared_ext}$major'
   18337     fi
   18338     shlibpath_var=LIBPATH
   18339   fi
   18340   ;;
   18341 
   18342 amigaos*)
   18343   library_names_spec='$libname.ixlibrary $libname.a'
   18344   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18345   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'
   18346   ;;
   18347 
   18348 beos*)
   18349   library_names_spec='${libname}${shared_ext}'
   18350   dynamic_linker="$host_os ld.so"
   18351   shlibpath_var=LIBRARY_PATH
   18352   ;;
   18353 
   18354 bsdi[45]*)
   18355   version_type=linux
   18356   need_version=no
   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   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18360   shlibpath_var=LD_LIBRARY_PATH
   18361   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18362   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18363   # the default ld.so.conf also contains /usr/contrib/lib and
   18364   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18365   # libtool to hard-code these into programs
   18366   ;;
   18367 
   18368 cygwin* | mingw* | pw32*)
   18369   version_type=windows
   18370   shrext_cmds=".dll"
   18371   need_version=no
   18372   need_lib_prefix=no
   18373 
   18374   case $GCC,$host_os in
   18375   yes,cygwin* | yes,mingw* | yes,pw32*)
   18376     library_names_spec='$libname.dll.a'
   18377     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18378     postinstall_cmds='base_file=`basename \${file}`~
   18379       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18380       dldir=$destdir/`dirname \$dlpath`~
   18381       test -d \$dldir || mkdir -p \$dldir~
   18382       $install_prog $dir/$dlname \$dldir/$dlname~
   18383       chmod a+x \$dldir/$dlname'
   18384     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18385       dlpath=$dir/\$dldll~
   18386        $rm \$dlpath'
   18387     shlibpath_overrides_runpath=yes
   18388 
   18389     case $host_os in
   18390     cygwin*)
   18391       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18392       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18393       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18394       ;;
   18395     mingw*)
   18396       # MinGW DLLs use traditional 'lib' prefix
   18397       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18398       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18399       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18400         # It is most probably a Windows format PATH printed by
   18401         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18402         # path with ; separators, and with drive letters. We can handle the
   18403         # drive letters (cygwin fileutils understands them), so leave them,
   18404         # especially as we might pass files found there to a mingw objdump,
   18405         # which wouldn't understand a cygwinified path. Ahh.
   18406         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18407       else
   18408         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18409       fi
   18410       ;;
   18411     pw32*)
   18412       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18413       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18414       ;;
   18415     esac
   18416     ;;
   18417 
   18418   *)
   18419     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18420     ;;
   18421   esac
   18422   dynamic_linker='Win32 ld.exe'
   18423   # FIXME: first we should search . and the directory the executable is in
   18424   shlibpath_var=PATH
   18425   ;;
   18426 
   18427 darwin* | rhapsody*)
   18428   dynamic_linker="$host_os dyld"
   18429   version_type=darwin
   18430   need_lib_prefix=no
   18431   need_version=no
   18432   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18433   soname_spec='${libname}${release}${major}$shared_ext'
   18434   shlibpath_overrides_runpath=yes
   18435   shlibpath_var=DYLD_LIBRARY_PATH
   18436   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18437 
   18438   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18439   ;;
   18440 
   18441 dgux*)
   18442   version_type=linux
   18443   need_lib_prefix=no
   18444   need_version=no
   18445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18446   soname_spec='${libname}${release}${shared_ext}$major'
   18447   shlibpath_var=LD_LIBRARY_PATH
   18448   ;;
   18449 
   18450 freebsd1*)
   18451   dynamic_linker=no
   18452   ;;
   18453 
   18454 freebsd* | dragonfly*)
   18455   # DragonFly does not have aout.  When/if they implement a new
   18456   # versioning mechanism, adjust this.
   18457   if test -x /usr/bin/objformat; then
   18458     objformat=`/usr/bin/objformat`
   18459   else
   18460     case $host_os in
   18461     freebsd[123]*) objformat=aout ;;
   18462     *) objformat=elf ;;
   18463     esac
   18464   fi
   18465   version_type=freebsd-$objformat
   18466   case $version_type in
   18467     freebsd-elf*)
   18468       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18469       need_version=no
   18470       need_lib_prefix=no
   18471       ;;
   18472     freebsd-*)
   18473       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18474       need_version=yes
   18475       ;;
   18476   esac
   18477   shlibpath_var=LD_LIBRARY_PATH
   18478   case $host_os in
   18479   freebsd2*)
   18480     shlibpath_overrides_runpath=yes
   18481     ;;
   18482   freebsd3.[01]* | freebsdelf3.[01]*)
   18483     shlibpath_overrides_runpath=yes
   18484     hardcode_into_libs=yes
   18485     ;;
   18486   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18487   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18488     shlibpath_overrides_runpath=no
   18489     hardcode_into_libs=yes
   18490     ;;
   18491   *) # from 4.6 on, and DragonFly
   18492     shlibpath_overrides_runpath=yes
   18493     hardcode_into_libs=yes
   18494     ;;
   18495   esac
   18496   ;;
   18497 
   18498 gnu*)
   18499   version_type=linux
   18500   need_lib_prefix=no
   18501   need_version=no
   18502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18503   soname_spec='${libname}${release}${shared_ext}$major'
   18504   shlibpath_var=LD_LIBRARY_PATH
   18505   hardcode_into_libs=yes
   18506   ;;
   18507 
   18508 hpux9* | hpux10* | hpux11*)
   18509   # Give a soname corresponding to the major version so that dld.sl refuses to
   18510   # link against other versions.
   18511   version_type=sunos
   18512   need_lib_prefix=no
   18513   need_version=no
   18514   case $host_cpu in
   18515   ia64*)
   18516     shrext_cmds='.so'
   18517     hardcode_into_libs=yes
   18518     dynamic_linker="$host_os dld.so"
   18519     shlibpath_var=LD_LIBRARY_PATH
   18520     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18521     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18522     soname_spec='${libname}${release}${shared_ext}$major'
   18523     if test "X$HPUX_IA64_MODE" = X32; then
   18524       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18525     else
   18526       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18527     fi
   18528     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18529     ;;
   18530    hppa*64*)
   18531      shrext_cmds='.sl'
   18532      hardcode_into_libs=yes
   18533      dynamic_linker="$host_os dld.sl"
   18534      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18535      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18536      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18537      soname_spec='${libname}${release}${shared_ext}$major'
   18538      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18539      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18540      ;;
   18541    *)
   18542     shrext_cmds='.sl'
   18543     dynamic_linker="$host_os dld.sl"
   18544     shlibpath_var=SHLIB_PATH
   18545     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18546     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18547     soname_spec='${libname}${release}${shared_ext}$major'
   18548     ;;
   18549   esac
   18550   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18551   postinstall_cmds='chmod 555 $lib'
   18552   ;;
   18553 
   18554 interix[3-9]*)
   18555   version_type=linux
   18556   need_lib_prefix=no
   18557   need_version=no
   18558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18559   soname_spec='${libname}${release}${shared_ext}$major'
   18560   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18561   shlibpath_var=LD_LIBRARY_PATH
   18562   shlibpath_overrides_runpath=no
   18563   hardcode_into_libs=yes
   18564   ;;
   18565 
   18566 irix5* | irix6* | nonstopux*)
   18567   case $host_os in
   18568     nonstopux*) version_type=nonstopux ;;
   18569     *)
   18570 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18571 		version_type=linux
   18572 	else
   18573 		version_type=irix
   18574 	fi ;;
   18575   esac
   18576   need_lib_prefix=no
   18577   need_version=no
   18578   soname_spec='${libname}${release}${shared_ext}$major'
   18579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18580   case $host_os in
   18581   irix5* | nonstopux*)
   18582     libsuff= shlibsuff=
   18583     ;;
   18584   *)
   18585     case $LD in # libtool.m4 will add one of these switches to LD
   18586     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18587       libsuff= shlibsuff= libmagic=32-bit;;
   18588     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18589       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18590     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18591       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18592     *) libsuff= shlibsuff= libmagic=never-match;;
   18593     esac
   18594     ;;
   18595   esac
   18596   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18597   shlibpath_overrides_runpath=no
   18598   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18599   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18600   hardcode_into_libs=yes
   18601   ;;
   18602 
   18603 # No shared lib support for Linux oldld, aout, or coff.
   18604 linux*oldld* | linux*aout* | linux*coff*)
   18605   dynamic_linker=no
   18606   ;;
   18607 
   18608 # This must be Linux ELF.
   18609 linux* | k*bsd*-gnu)
   18610   version_type=linux
   18611   need_lib_prefix=no
   18612   need_version=no
   18613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18614   soname_spec='${libname}${release}${shared_ext}$major'
   18615   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18616   shlibpath_var=LD_LIBRARY_PATH
   18617   shlibpath_overrides_runpath=no
   18618   # This implies no fast_install, which is unacceptable.
   18619   # Some rework will be needed to allow for fast_install
   18620   # before this can be enabled.
   18621   hardcode_into_libs=yes
   18622 
   18623   # Append ld.so.conf contents to the search path
   18624   if test -f /etc/ld.so.conf; then
   18625     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' ' '`
   18626     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18627   fi
   18628 
   18629   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18630   # powerpc, because MkLinux only supported shared libraries with the
   18631   # GNU dynamic linker.  Since this was broken with cross compilers,
   18632   # most powerpc-linux boxes support dynamic linking these days and
   18633   # people can always --disable-shared, the test was removed, and we
   18634   # assume the GNU/Linux dynamic linker is in use.
   18635   dynamic_linker='GNU/Linux ld.so'
   18636   ;;
   18637 
   18638 netbsdelf*-gnu)
   18639   version_type=linux
   18640   need_lib_prefix=no
   18641   need_version=no
   18642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18643   soname_spec='${libname}${release}${shared_ext}$major'
   18644   shlibpath_var=LD_LIBRARY_PATH
   18645   shlibpath_overrides_runpath=no
   18646   hardcode_into_libs=yes
   18647   dynamic_linker='NetBSD ld.elf_so'
   18648   ;;
   18649 
   18650 netbsd*)
   18651   version_type=sunos
   18652   need_lib_prefix=no
   18653   need_version=no
   18654   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18655     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18656     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18657     dynamic_linker='NetBSD (a.out) ld.so'
   18658   else
   18659     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18660     soname_spec='${libname}${release}${shared_ext}$major'
   18661     dynamic_linker='NetBSD ld.elf_so'
   18662   fi
   18663   shlibpath_var=LD_LIBRARY_PATH
   18664   shlibpath_overrides_runpath=yes
   18665   hardcode_into_libs=yes
   18666   ;;
   18667 
   18668 newsos6)
   18669   version_type=linux
   18670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18671   shlibpath_var=LD_LIBRARY_PATH
   18672   shlibpath_overrides_runpath=yes
   18673   ;;
   18674 
   18675 nto-qnx*)
   18676   version_type=linux
   18677   need_lib_prefix=no
   18678   need_version=no
   18679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18680   soname_spec='${libname}${release}${shared_ext}$major'
   18681   shlibpath_var=LD_LIBRARY_PATH
   18682   shlibpath_overrides_runpath=yes
   18683   ;;
   18684 
   18685 openbsd*)
   18686   version_type=sunos
   18687   sys_lib_dlsearch_path_spec="/usr/lib"
   18688   need_lib_prefix=no
   18689   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18690   case $host_os in
   18691     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18692     *)                         need_version=no  ;;
   18693   esac
   18694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18695   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18696   shlibpath_var=LD_LIBRARY_PATH
   18697   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18698     case $host_os in
   18699       openbsd2.[89] | openbsd2.[89].*)
   18700 	shlibpath_overrides_runpath=no
   18701 	;;
   18702       *)
   18703 	shlibpath_overrides_runpath=yes
   18704 	;;
   18705       esac
   18706   else
   18707     shlibpath_overrides_runpath=yes
   18708   fi
   18709   ;;
   18710 
   18711 os2*)
   18712   libname_spec='$name'
   18713   shrext_cmds=".dll"
   18714   need_lib_prefix=no
   18715   library_names_spec='$libname${shared_ext} $libname.a'
   18716   dynamic_linker='OS/2 ld.exe'
   18717   shlibpath_var=LIBPATH
   18718   ;;
   18719 
   18720 osf3* | osf4* | osf5*)
   18721   version_type=osf
   18722   need_lib_prefix=no
   18723   need_version=no
   18724   soname_spec='${libname}${release}${shared_ext}$major'
   18725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18726   shlibpath_var=LD_LIBRARY_PATH
   18727   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18728   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18729   ;;
   18730 
   18731 rdos*)
   18732   dynamic_linker=no
   18733   ;;
   18734 
   18735 solaris*)
   18736   version_type=linux
   18737   need_lib_prefix=no
   18738   need_version=no
   18739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18740   soname_spec='${libname}${release}${shared_ext}$major'
   18741   shlibpath_var=LD_LIBRARY_PATH
   18742   shlibpath_overrides_runpath=yes
   18743   hardcode_into_libs=yes
   18744   # ldd complains unless libraries are executable
   18745   postinstall_cmds='chmod +x $lib'
   18746   ;;
   18747 
   18748 sunos4*)
   18749   version_type=sunos
   18750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18751   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18752   shlibpath_var=LD_LIBRARY_PATH
   18753   shlibpath_overrides_runpath=yes
   18754   if test "$with_gnu_ld" = yes; then
   18755     need_lib_prefix=no
   18756   fi
   18757   need_version=yes
   18758   ;;
   18759 
   18760 sysv4 | sysv4.3*)
   18761   version_type=linux
   18762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18763   soname_spec='${libname}${release}${shared_ext}$major'
   18764   shlibpath_var=LD_LIBRARY_PATH
   18765   case $host_vendor in
   18766     sni)
   18767       shlibpath_overrides_runpath=no
   18768       need_lib_prefix=no
   18769       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18770       runpath_var=LD_RUN_PATH
   18771       ;;
   18772     siemens)
   18773       need_lib_prefix=no
   18774       ;;
   18775     motorola)
   18776       need_lib_prefix=no
   18777       need_version=no
   18778       shlibpath_overrides_runpath=no
   18779       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18780       ;;
   18781   esac
   18782   ;;
   18783 
   18784 sysv4*MP*)
   18785   if test -d /usr/nec ;then
   18786     version_type=linux
   18787     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18788     soname_spec='$libname${shared_ext}.$major'
   18789     shlibpath_var=LD_LIBRARY_PATH
   18790   fi
   18791   ;;
   18792 
   18793 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18794   version_type=freebsd-elf
   18795   need_lib_prefix=no
   18796   need_version=no
   18797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18798   soname_spec='${libname}${release}${shared_ext}$major'
   18799   shlibpath_var=LD_LIBRARY_PATH
   18800   hardcode_into_libs=yes
   18801   if test "$with_gnu_ld" = yes; then
   18802     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18803     shlibpath_overrides_runpath=no
   18804   else
   18805     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18806     shlibpath_overrides_runpath=yes
   18807     case $host_os in
   18808       sco3.2v5*)
   18809         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18810 	;;
   18811     esac
   18812   fi
   18813   sys_lib_dlsearch_path_spec='/usr/lib'
   18814   ;;
   18815 
   18816 uts4*)
   18817   version_type=linux
   18818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18819   soname_spec='${libname}${release}${shared_ext}$major'
   18820   shlibpath_var=LD_LIBRARY_PATH
   18821   ;;
   18822 
   18823 *)
   18824   dynamic_linker=no
   18825   ;;
   18826 esac
   18827 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18828 echo "${ECHO_T}$dynamic_linker" >&6; }
   18829 test "$dynamic_linker" = no && can_build_shared=no
   18830 
   18831 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   18832   echo $ECHO_N "(cached) $ECHO_C" >&6
   18833 else
   18834   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   18835 fi
   18836 
   18837 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   18838 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   18839   echo $ECHO_N "(cached) $ECHO_C" >&6
   18840 else
   18841   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   18842 fi
   18843 
   18844 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   18845 
   18846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18847 if test "$GCC" = yes; then
   18848   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18849 fi
   18850 
   18851 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18852 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18853 hardcode_action_GCJ=
   18854 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18855    test -n "$runpath_var_GCJ" || \
   18856    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18857 
   18858   # We can hardcode non-existant directories.
   18859   if test "$hardcode_direct_GCJ" != no &&
   18860      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18861      # have to relink, otherwise we might link with an installed library
   18862      # when we should be linking with a yet-to-be-installed one
   18863      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18864      test "$hardcode_minus_L_GCJ" != no; then
   18865     # Linking always hardcodes the temporary library directory.
   18866     hardcode_action_GCJ=relink
   18867   else
   18868     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18869     hardcode_action_GCJ=immediate
   18870   fi
   18871 else
   18872   # We cannot hardcode anything, or else we can only hardcode existing
   18873   # directories.
   18874   hardcode_action_GCJ=unsupported
   18875 fi
   18876 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18877 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18878 
   18879 if test "$hardcode_action_GCJ" = relink; then
   18880   # Fast installation is not supported
   18881   enable_fast_install=no
   18882 elif test "$shlibpath_overrides_runpath" = yes ||
   18883      test "$enable_shared" = no; then
   18884   # Fast installation is not necessary
   18885   enable_fast_install=needless
   18886 fi
   18887 
   18888 
   18889 # The else clause should only fire when bootstrapping the
   18890 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18891 # with your package, and you will get complaints that there are
   18892 # no rules to generate ltmain.sh.
   18893 if test -f "$ltmain"; then
   18894   # See if we are running on zsh, and set the options which allow our commands through
   18895   # without removal of \ escapes.
   18896   if test -n "${ZSH_VERSION+set}" ; then
   18897     setopt NO_GLOB_SUBST
   18898   fi
   18899   # Now quote all the things that may contain metacharacters while being
   18900   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18901   # variables and quote the copies for generation of the libtool script.
   18902   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18903     SED SHELL STRIP \
   18904     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18905     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18906     deplibs_check_method reload_flag reload_cmds need_locks \
   18907     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18908     lt_cv_sys_global_symbol_to_c_name_address \
   18909     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18910     old_postinstall_cmds old_postuninstall_cmds \
   18911     compiler_GCJ \
   18912     CC_GCJ \
   18913     LD_GCJ \
   18914     lt_prog_compiler_wl_GCJ \
   18915     lt_prog_compiler_pic_GCJ \
   18916     lt_prog_compiler_static_GCJ \
   18917     lt_prog_compiler_no_builtin_flag_GCJ \
   18918     export_dynamic_flag_spec_GCJ \
   18919     thread_safe_flag_spec_GCJ \
   18920     whole_archive_flag_spec_GCJ \
   18921     enable_shared_with_static_runtimes_GCJ \
   18922     old_archive_cmds_GCJ \
   18923     old_archive_from_new_cmds_GCJ \
   18924     predep_objects_GCJ \
   18925     postdep_objects_GCJ \
   18926     predeps_GCJ \
   18927     postdeps_GCJ \
   18928     compiler_lib_search_path_GCJ \
   18929     compiler_lib_search_dirs_GCJ \
   18930     archive_cmds_GCJ \
   18931     archive_expsym_cmds_GCJ \
   18932     postinstall_cmds_GCJ \
   18933     postuninstall_cmds_GCJ \
   18934     old_archive_from_expsyms_cmds_GCJ \
   18935     allow_undefined_flag_GCJ \
   18936     no_undefined_flag_GCJ \
   18937     export_symbols_cmds_GCJ \
   18938     hardcode_libdir_flag_spec_GCJ \
   18939     hardcode_libdir_flag_spec_ld_GCJ \
   18940     hardcode_libdir_separator_GCJ \
   18941     hardcode_automatic_GCJ \
   18942     module_cmds_GCJ \
   18943     module_expsym_cmds_GCJ \
   18944     lt_cv_prog_compiler_c_o_GCJ \
   18945     fix_srcfile_path_GCJ \
   18946     exclude_expsyms_GCJ \
   18947     include_expsyms_GCJ; do
   18948 
   18949     case $var in
   18950     old_archive_cmds_GCJ | \
   18951     old_archive_from_new_cmds_GCJ | \
   18952     archive_cmds_GCJ | \
   18953     archive_expsym_cmds_GCJ | \
   18954     module_cmds_GCJ | \
   18955     module_expsym_cmds_GCJ | \
   18956     old_archive_from_expsyms_cmds_GCJ | \
   18957     export_symbols_cmds_GCJ | \
   18958     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18959     postinstall_cmds | postuninstall_cmds | \
   18960     old_postinstall_cmds | old_postuninstall_cmds | \
   18961     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18962       # Double-quote double-evaled strings.
   18963       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18964       ;;
   18965     *)
   18966       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18967       ;;
   18968     esac
   18969   done
   18970 
   18971   case $lt_echo in
   18972   *'\$0 --fallback-echo"')
   18973     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18974     ;;
   18975   esac
   18976 
   18977 cfgfile="$ofile"
   18978 
   18979   cat <<__EOF__ >> "$cfgfile"
   18980 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18981 
   18982 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18983 
   18984 # Shell to use when invoking shell scripts.
   18985 SHELL=$lt_SHELL
   18986 
   18987 # Whether or not to build shared libraries.
   18988 build_libtool_libs=$enable_shared
   18989 
   18990 # Whether or not to build static libraries.
   18991 build_old_libs=$enable_static
   18992 
   18993 # Whether or not to add -lc for building shared libraries.
   18994 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18995 
   18996 # Whether or not to disallow shared libs when runtime libs are static
   18997 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18998 
   18999 # Whether or not to optimize for fast installation.
   19000 fast_install=$enable_fast_install
   19001 
   19002 # The host system.
   19003 host_alias=$host_alias
   19004 host=$host
   19005 host_os=$host_os
   19006 
   19007 # The build system.
   19008 build_alias=$build_alias
   19009 build=$build
   19010 build_os=$build_os
   19011 
   19012 # An echo program that does not interpret backslashes.
   19013 echo=$lt_echo
   19014 
   19015 # The archiver.
   19016 AR=$lt_AR
   19017 AR_FLAGS=$lt_AR_FLAGS
   19018 
   19019 # A C compiler.
   19020 LTCC=$lt_LTCC
   19021 
   19022 # LTCC compiler flags.
   19023 LTCFLAGS=$lt_LTCFLAGS
   19024 
   19025 # A language-specific compiler.
   19026 CC=$lt_compiler_GCJ
   19027 
   19028 # Is the compiler the GNU C compiler?
   19029 with_gcc=$GCC_GCJ
   19030 
   19031 # An ERE matcher.
   19032 EGREP=$lt_EGREP
   19033 
   19034 # The linker used to build libraries.
   19035 LD=$lt_LD_GCJ
   19036 
   19037 # Whether we need hard or soft links.
   19038 LN_S=$lt_LN_S
   19039 
   19040 # A BSD-compatible nm program.
   19041 NM=$lt_NM
   19042 
   19043 # A symbol stripping program
   19044 STRIP=$lt_STRIP
   19045 
   19046 # Used to examine libraries when file_magic_cmd begins "file"
   19047 MAGIC_CMD=$MAGIC_CMD
   19048 
   19049 # Used on cygwin: DLL creation program.
   19050 DLLTOOL="$DLLTOOL"
   19051 
   19052 # Used on cygwin: object dumper.
   19053 OBJDUMP="$OBJDUMP"
   19054 
   19055 # Used on cygwin: assembler.
   19056 AS="$AS"
   19057 
   19058 # The name of the directory that contains temporary libtool files.
   19059 objdir=$objdir
   19060 
   19061 # How to create reloadable object files.
   19062 reload_flag=$lt_reload_flag
   19063 reload_cmds=$lt_reload_cmds
   19064 
   19065 # How to pass a linker flag through the compiler.
   19066 wl=$lt_lt_prog_compiler_wl_GCJ
   19067 
   19068 # Object file suffix (normally "o").
   19069 objext="$ac_objext"
   19070 
   19071 # Old archive suffix (normally "a").
   19072 libext="$libext"
   19073 
   19074 # Shared library suffix (normally ".so").
   19075 shrext_cmds='$shrext_cmds'
   19076 
   19077 # Executable file suffix (normally "").
   19078 exeext="$exeext"
   19079 
   19080 # Additional compiler flags for building library objects.
   19081 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19082 pic_mode=$pic_mode
   19083 
   19084 # What is the maximum length of a command?
   19085 max_cmd_len=$lt_cv_sys_max_cmd_len
   19086 
   19087 # Does compiler simultaneously support -c and -o options?
   19088 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19089 
   19090 # Must we lock files when doing compilation?
   19091 need_locks=$lt_need_locks
   19092 
   19093 # Do we need the lib prefix for modules?
   19094 need_lib_prefix=$need_lib_prefix
   19095 
   19096 # Do we need a version for libraries?
   19097 need_version=$need_version
   19098 
   19099 # Whether dlopen is supported.
   19100 dlopen_support=$enable_dlopen
   19101 
   19102 # Whether dlopen of programs is supported.
   19103 dlopen_self=$enable_dlopen_self
   19104 
   19105 # Whether dlopen of statically linked programs is supported.
   19106 dlopen_self_static=$enable_dlopen_self_static
   19107 
   19108 # Compiler flag to prevent dynamic linking.
   19109 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19110 
   19111 # Compiler flag to turn off builtin functions.
   19112 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19113 
   19114 # Compiler flag to allow reflexive dlopens.
   19115 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19116 
   19117 # Compiler flag to generate shared objects directly from archives.
   19118 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19119 
   19120 # Compiler flag to generate thread-safe objects.
   19121 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19122 
   19123 # Library versioning type.
   19124 version_type=$version_type
   19125 
   19126 # Format of library name prefix.
   19127 libname_spec=$lt_libname_spec
   19128 
   19129 # List of archive names.  First name is the real one, the rest are links.
   19130 # The last name is the one that the linker finds with -lNAME.
   19131 library_names_spec=$lt_library_names_spec
   19132 
   19133 # The coded name of the library, if different from the real name.
   19134 soname_spec=$lt_soname_spec
   19135 
   19136 # Commands used to build and install an old-style archive.
   19137 RANLIB=$lt_RANLIB
   19138 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19139 old_postinstall_cmds=$lt_old_postinstall_cmds
   19140 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19141 
   19142 # Create an old-style archive from a shared archive.
   19143 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19144 
   19145 # Create a temporary old-style archive to link instead of a shared archive.
   19146 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19147 
   19148 # Commands used to build and install a shared archive.
   19149 archive_cmds=$lt_archive_cmds_GCJ
   19150 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19151 postinstall_cmds=$lt_postinstall_cmds
   19152 postuninstall_cmds=$lt_postuninstall_cmds
   19153 
   19154 # Commands used to build a loadable module (assumed same as above if empty)
   19155 module_cmds=$lt_module_cmds_GCJ
   19156 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19157 
   19158 # Commands to strip libraries.
   19159 old_striplib=$lt_old_striplib
   19160 striplib=$lt_striplib
   19161 
   19162 # Dependencies to place before the objects being linked to create a
   19163 # shared library.
   19164 predep_objects=$lt_predep_objects_GCJ
   19165 
   19166 # Dependencies to place after the objects being linked to create a
   19167 # shared library.
   19168 postdep_objects=$lt_postdep_objects_GCJ
   19169 
   19170 # Dependencies to place before the objects being linked to create a
   19171 # shared library.
   19172 predeps=$lt_predeps_GCJ
   19173 
   19174 # Dependencies to place after the objects being linked to create a
   19175 # shared library.
   19176 postdeps=$lt_postdeps_GCJ
   19177 
   19178 # The directories searched by this compiler when creating a shared
   19179 # library
   19180 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19181 
   19182 # The library search path used internally by the compiler when linking
   19183 # a shared library.
   19184 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19185 
   19186 # Method to check whether dependent libraries are shared objects.
   19187 deplibs_check_method=$lt_deplibs_check_method
   19188 
   19189 # Command to use when deplibs_check_method == file_magic.
   19190 file_magic_cmd=$lt_file_magic_cmd
   19191 
   19192 # Flag that allows shared libraries with undefined symbols to be built.
   19193 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19194 
   19195 # Flag that forces no undefined symbols.
   19196 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19197 
   19198 # Commands used to finish a libtool library installation in a directory.
   19199 finish_cmds=$lt_finish_cmds
   19200 
   19201 # Same as above, but a single script fragment to be evaled but not shown.
   19202 finish_eval=$lt_finish_eval
   19203 
   19204 # Take the output of nm and produce a listing of raw symbols and C names.
   19205 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19206 
   19207 # Transform the output of nm in a proper C declaration
   19208 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19209 
   19210 # Transform the output of nm in a C name address pair
   19211 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19212 
   19213 # This is the shared library runtime path variable.
   19214 runpath_var=$runpath_var
   19215 
   19216 # This is the shared library path variable.
   19217 shlibpath_var=$shlibpath_var
   19218 
   19219 # Is shlibpath searched before the hard-coded library search path?
   19220 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19221 
   19222 # How to hardcode a shared library path into an executable.
   19223 hardcode_action=$hardcode_action_GCJ
   19224 
   19225 # Whether we should hardcode library paths into libraries.
   19226 hardcode_into_libs=$hardcode_into_libs
   19227 
   19228 # Flag to hardcode \$libdir into a binary during linking.
   19229 # This must work even if \$libdir does not exist.
   19230 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19231 
   19232 # If ld is used when linking, flag to hardcode \$libdir into
   19233 # a binary during linking. This must work even if \$libdir does
   19234 # not exist.
   19235 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19236 
   19237 # Whether we need a single -rpath flag with a separated argument.
   19238 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19239 
   19240 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19241 # resulting binary.
   19242 hardcode_direct=$hardcode_direct_GCJ
   19243 
   19244 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19245 # resulting binary.
   19246 hardcode_minus_L=$hardcode_minus_L_GCJ
   19247 
   19248 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19249 # the resulting binary.
   19250 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19251 
   19252 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19253 # and all subsequent libraries and executables linked against it.
   19254 hardcode_automatic=$hardcode_automatic_GCJ
   19255 
   19256 # Variables whose values should be saved in libtool wrapper scripts and
   19257 # restored at relink time.
   19258 variables_saved_for_relink="$variables_saved_for_relink"
   19259 
   19260 # Whether libtool must link a program against all its dependency libraries.
   19261 link_all_deplibs=$link_all_deplibs_GCJ
   19262 
   19263 # Compile-time system search path for libraries
   19264 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19265 
   19266 # Run-time system search path for libraries
   19267 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19268 
   19269 # Fix the shell variable \$srcfile for the compiler.
   19270 fix_srcfile_path=$lt_fix_srcfile_path
   19271 
   19272 # Set to yes if exported symbols are required.
   19273 always_export_symbols=$always_export_symbols_GCJ
   19274 
   19275 # The commands to list exported symbols.
   19276 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19277 
   19278 # The commands to extract the exported symbol list from a shared archive.
   19279 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19280 
   19281 # Symbols that should not be listed in the preloaded symbols.
   19282 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19283 
   19284 # Symbols that must always be exported.
   19285 include_expsyms=$lt_include_expsyms_GCJ
   19286 
   19287 # ### END LIBTOOL TAG CONFIG: $tagname
   19288 
   19289 __EOF__
   19290 
   19291 
   19292 else
   19293   # If there is no Makefile yet, we rely on a make rule to execute
   19294   # `config.status --recheck' to rerun these tests and create the
   19295   # libtool script then.
   19296   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19297   if test -f "$ltmain_in"; then
   19298     test -f Makefile && make "$ltmain"
   19299   fi
   19300 fi
   19301 
   19302 
   19303 ac_ext=c
   19304 ac_cpp='$CPP $CPPFLAGS'
   19305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19308 
   19309 CC="$lt_save_CC"
   19310 
   19311 	else
   19312 	  tagname=""
   19313 	fi
   19314 	;;
   19315 
   19316       RC)
   19317 
   19318 
   19319 # Source file extension for RC test sources.
   19320 ac_ext=rc
   19321 
   19322 # Object file extension for compiled RC test sources.
   19323 objext=o
   19324 objext_RC=$objext
   19325 
   19326 # Code to be used in simple compile tests
   19327 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19328 
   19329 # Code to be used in simple link tests
   19330 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19331 
   19332 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19333 
   19334 # If no C compiler was specified, use CC.
   19335 LTCC=${LTCC-"$CC"}
   19336 
   19337 # If no C compiler flags were specified, use CFLAGS.
   19338 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19339 
   19340 # Allow CC to be a program name with arguments.
   19341 compiler=$CC
   19342 
   19343 
   19344 # save warnings/boilerplate of simple test code
   19345 ac_outfile=conftest.$ac_objext
   19346 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19347 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19348 _lt_compiler_boilerplate=`cat conftest.err`
   19349 $rm conftest*
   19350 
   19351 ac_outfile=conftest.$ac_objext
   19352 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19353 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19354 _lt_linker_boilerplate=`cat conftest.err`
   19355 $rm -r conftest*
   19356 
   19357 
   19358 # Allow CC to be a program name with arguments.
   19359 lt_save_CC="$CC"
   19360 CC=${RC-"windres"}
   19361 compiler=$CC
   19362 compiler_RC=$CC
   19363 for cc_temp in $compiler""; do
   19364   case $cc_temp in
   19365     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19366     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19367     \-*) ;;
   19368     *) break;;
   19369   esac
   19370 done
   19371 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19372 
   19373 lt_cv_prog_compiler_c_o_RC=yes
   19374 
   19375 # The else clause should only fire when bootstrapping the
   19376 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19377 # with your package, and you will get complaints that there are
   19378 # no rules to generate ltmain.sh.
   19379 if test -f "$ltmain"; then
   19380   # See if we are running on zsh, and set the options which allow our commands through
   19381   # without removal of \ escapes.
   19382   if test -n "${ZSH_VERSION+set}" ; then
   19383     setopt NO_GLOB_SUBST
   19384   fi
   19385   # Now quote all the things that may contain metacharacters while being
   19386   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19387   # variables and quote the copies for generation of the libtool script.
   19388   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19389     SED SHELL STRIP \
   19390     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19391     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19392     deplibs_check_method reload_flag reload_cmds need_locks \
   19393     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19394     lt_cv_sys_global_symbol_to_c_name_address \
   19395     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19396     old_postinstall_cmds old_postuninstall_cmds \
   19397     compiler_RC \
   19398     CC_RC \
   19399     LD_RC \
   19400     lt_prog_compiler_wl_RC \
   19401     lt_prog_compiler_pic_RC \
   19402     lt_prog_compiler_static_RC \
   19403     lt_prog_compiler_no_builtin_flag_RC \
   19404     export_dynamic_flag_spec_RC \
   19405     thread_safe_flag_spec_RC \
   19406     whole_archive_flag_spec_RC \
   19407     enable_shared_with_static_runtimes_RC \
   19408     old_archive_cmds_RC \
   19409     old_archive_from_new_cmds_RC \
   19410     predep_objects_RC \
   19411     postdep_objects_RC \
   19412     predeps_RC \
   19413     postdeps_RC \
   19414     compiler_lib_search_path_RC \
   19415     compiler_lib_search_dirs_RC \
   19416     archive_cmds_RC \
   19417     archive_expsym_cmds_RC \
   19418     postinstall_cmds_RC \
   19419     postuninstall_cmds_RC \
   19420     old_archive_from_expsyms_cmds_RC \
   19421     allow_undefined_flag_RC \
   19422     no_undefined_flag_RC \
   19423     export_symbols_cmds_RC \
   19424     hardcode_libdir_flag_spec_RC \
   19425     hardcode_libdir_flag_spec_ld_RC \
   19426     hardcode_libdir_separator_RC \
   19427     hardcode_automatic_RC \
   19428     module_cmds_RC \
   19429     module_expsym_cmds_RC \
   19430     lt_cv_prog_compiler_c_o_RC \
   19431     fix_srcfile_path_RC \
   19432     exclude_expsyms_RC \
   19433     include_expsyms_RC; do
   19434 
   19435     case $var in
   19436     old_archive_cmds_RC | \
   19437     old_archive_from_new_cmds_RC | \
   19438     archive_cmds_RC | \
   19439     archive_expsym_cmds_RC | \
   19440     module_cmds_RC | \
   19441     module_expsym_cmds_RC | \
   19442     old_archive_from_expsyms_cmds_RC | \
   19443     export_symbols_cmds_RC | \
   19444     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19445     postinstall_cmds | postuninstall_cmds | \
   19446     old_postinstall_cmds | old_postuninstall_cmds | \
   19447     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19448       # Double-quote double-evaled strings.
   19449       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19450       ;;
   19451     *)
   19452       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19453       ;;
   19454     esac
   19455   done
   19456 
   19457   case $lt_echo in
   19458   *'\$0 --fallback-echo"')
   19459     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19460     ;;
   19461   esac
   19462 
   19463 cfgfile="$ofile"
   19464 
   19465   cat <<__EOF__ >> "$cfgfile"
   19466 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19467 
   19468 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19469 
   19470 # Shell to use when invoking shell scripts.
   19471 SHELL=$lt_SHELL
   19472 
   19473 # Whether or not to build shared libraries.
   19474 build_libtool_libs=$enable_shared
   19475 
   19476 # Whether or not to build static libraries.
   19477 build_old_libs=$enable_static
   19478 
   19479 # Whether or not to add -lc for building shared libraries.
   19480 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19481 
   19482 # Whether or not to disallow shared libs when runtime libs are static
   19483 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19484 
   19485 # Whether or not to optimize for fast installation.
   19486 fast_install=$enable_fast_install
   19487 
   19488 # The host system.
   19489 host_alias=$host_alias
   19490 host=$host
   19491 host_os=$host_os
   19492 
   19493 # The build system.
   19494 build_alias=$build_alias
   19495 build=$build
   19496 build_os=$build_os
   19497 
   19498 # An echo program that does not interpret backslashes.
   19499 echo=$lt_echo
   19500 
   19501 # The archiver.
   19502 AR=$lt_AR
   19503 AR_FLAGS=$lt_AR_FLAGS
   19504 
   19505 # A C compiler.
   19506 LTCC=$lt_LTCC
   19507 
   19508 # LTCC compiler flags.
   19509 LTCFLAGS=$lt_LTCFLAGS
   19510 
   19511 # A language-specific compiler.
   19512 CC=$lt_compiler_RC
   19513 
   19514 # Is the compiler the GNU C compiler?
   19515 with_gcc=$GCC_RC
   19516 
   19517 # An ERE matcher.
   19518 EGREP=$lt_EGREP
   19519 
   19520 # The linker used to build libraries.
   19521 LD=$lt_LD_RC
   19522 
   19523 # Whether we need hard or soft links.
   19524 LN_S=$lt_LN_S
   19525 
   19526 # A BSD-compatible nm program.
   19527 NM=$lt_NM
   19528 
   19529 # A symbol stripping program
   19530 STRIP=$lt_STRIP
   19531 
   19532 # Used to examine libraries when file_magic_cmd begins "file"
   19533 MAGIC_CMD=$MAGIC_CMD
   19534 
   19535 # Used on cygwin: DLL creation program.
   19536 DLLTOOL="$DLLTOOL"
   19537 
   19538 # Used on cygwin: object dumper.
   19539 OBJDUMP="$OBJDUMP"
   19540 
   19541 # Used on cygwin: assembler.
   19542 AS="$AS"
   19543 
   19544 # The name of the directory that contains temporary libtool files.
   19545 objdir=$objdir
   19546 
   19547 # How to create reloadable object files.
   19548 reload_flag=$lt_reload_flag
   19549 reload_cmds=$lt_reload_cmds
   19550 
   19551 # How to pass a linker flag through the compiler.
   19552 wl=$lt_lt_prog_compiler_wl_RC
   19553 
   19554 # Object file suffix (normally "o").
   19555 objext="$ac_objext"
   19556 
   19557 # Old archive suffix (normally "a").
   19558 libext="$libext"
   19559 
   19560 # Shared library suffix (normally ".so").
   19561 shrext_cmds='$shrext_cmds'
   19562 
   19563 # Executable file suffix (normally "").
   19564 exeext="$exeext"
   19565 
   19566 # Additional compiler flags for building library objects.
   19567 pic_flag=$lt_lt_prog_compiler_pic_RC
   19568 pic_mode=$pic_mode
   19569 
   19570 # What is the maximum length of a command?
   19571 max_cmd_len=$lt_cv_sys_max_cmd_len
   19572 
   19573 # Does compiler simultaneously support -c and -o options?
   19574 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19575 
   19576 # Must we lock files when doing compilation?
   19577 need_locks=$lt_need_locks
   19578 
   19579 # Do we need the lib prefix for modules?
   19580 need_lib_prefix=$need_lib_prefix
   19581 
   19582 # Do we need a version for libraries?
   19583 need_version=$need_version
   19584 
   19585 # Whether dlopen is supported.
   19586 dlopen_support=$enable_dlopen
   19587 
   19588 # Whether dlopen of programs is supported.
   19589 dlopen_self=$enable_dlopen_self
   19590 
   19591 # Whether dlopen of statically linked programs is supported.
   19592 dlopen_self_static=$enable_dlopen_self_static
   19593 
   19594 # Compiler flag to prevent dynamic linking.
   19595 link_static_flag=$lt_lt_prog_compiler_static_RC
   19596 
   19597 # Compiler flag to turn off builtin functions.
   19598 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19599 
   19600 # Compiler flag to allow reflexive dlopens.
   19601 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19602 
   19603 # Compiler flag to generate shared objects directly from archives.
   19604 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19605 
   19606 # Compiler flag to generate thread-safe objects.
   19607 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19608 
   19609 # Library versioning type.
   19610 version_type=$version_type
   19611 
   19612 # Format of library name prefix.
   19613 libname_spec=$lt_libname_spec
   19614 
   19615 # List of archive names.  First name is the real one, the rest are links.
   19616 # The last name is the one that the linker finds with -lNAME.
   19617 library_names_spec=$lt_library_names_spec
   19618 
   19619 # The coded name of the library, if different from the real name.
   19620 soname_spec=$lt_soname_spec
   19621 
   19622 # Commands used to build and install an old-style archive.
   19623 RANLIB=$lt_RANLIB
   19624 old_archive_cmds=$lt_old_archive_cmds_RC
   19625 old_postinstall_cmds=$lt_old_postinstall_cmds
   19626 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19627 
   19628 # Create an old-style archive from a shared archive.
   19629 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19630 
   19631 # Create a temporary old-style archive to link instead of a shared archive.
   19632 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19633 
   19634 # Commands used to build and install a shared archive.
   19635 archive_cmds=$lt_archive_cmds_RC
   19636 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19637 postinstall_cmds=$lt_postinstall_cmds
   19638 postuninstall_cmds=$lt_postuninstall_cmds
   19639 
   19640 # Commands used to build a loadable module (assumed same as above if empty)
   19641 module_cmds=$lt_module_cmds_RC
   19642 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19643 
   19644 # Commands to strip libraries.
   19645 old_striplib=$lt_old_striplib
   19646 striplib=$lt_striplib
   19647 
   19648 # Dependencies to place before the objects being linked to create a
   19649 # shared library.
   19650 predep_objects=$lt_predep_objects_RC
   19651 
   19652 # Dependencies to place after the objects being linked to create a
   19653 # shared library.
   19654 postdep_objects=$lt_postdep_objects_RC
   19655 
   19656 # Dependencies to place before the objects being linked to create a
   19657 # shared library.
   19658 predeps=$lt_predeps_RC
   19659 
   19660 # Dependencies to place after the objects being linked to create a
   19661 # shared library.
   19662 postdeps=$lt_postdeps_RC
   19663 
   19664 # The directories searched by this compiler when creating a shared
   19665 # library
   19666 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19667 
   19668 # The library search path used internally by the compiler when linking
   19669 # a shared library.
   19670 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19671 
   19672 # Method to check whether dependent libraries are shared objects.
   19673 deplibs_check_method=$lt_deplibs_check_method
   19674 
   19675 # Command to use when deplibs_check_method == file_magic.
   19676 file_magic_cmd=$lt_file_magic_cmd
   19677 
   19678 # Flag that allows shared libraries with undefined symbols to be built.
   19679 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19680 
   19681 # Flag that forces no undefined symbols.
   19682 no_undefined_flag=$lt_no_undefined_flag_RC
   19683 
   19684 # Commands used to finish a libtool library installation in a directory.
   19685 finish_cmds=$lt_finish_cmds
   19686 
   19687 # Same as above, but a single script fragment to be evaled but not shown.
   19688 finish_eval=$lt_finish_eval
   19689 
   19690 # Take the output of nm and produce a listing of raw symbols and C names.
   19691 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19692 
   19693 # Transform the output of nm in a proper C declaration
   19694 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19695 
   19696 # Transform the output of nm in a C name address pair
   19697 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19698 
   19699 # This is the shared library runtime path variable.
   19700 runpath_var=$runpath_var
   19701 
   19702 # This is the shared library path variable.
   19703 shlibpath_var=$shlibpath_var
   19704 
   19705 # Is shlibpath searched before the hard-coded library search path?
   19706 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19707 
   19708 # How to hardcode a shared library path into an executable.
   19709 hardcode_action=$hardcode_action_RC
   19710 
   19711 # Whether we should hardcode library paths into libraries.
   19712 hardcode_into_libs=$hardcode_into_libs
   19713 
   19714 # Flag to hardcode \$libdir into a binary during linking.
   19715 # This must work even if \$libdir does not exist.
   19716 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19717 
   19718 # If ld is used when linking, flag to hardcode \$libdir into
   19719 # a binary during linking. This must work even if \$libdir does
   19720 # not exist.
   19721 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19722 
   19723 # Whether we need a single -rpath flag with a separated argument.
   19724 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19725 
   19726 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19727 # resulting binary.
   19728 hardcode_direct=$hardcode_direct_RC
   19729 
   19730 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19731 # resulting binary.
   19732 hardcode_minus_L=$hardcode_minus_L_RC
   19733 
   19734 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19735 # the resulting binary.
   19736 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19737 
   19738 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19739 # and all subsequent libraries and executables linked against it.
   19740 hardcode_automatic=$hardcode_automatic_RC
   19741 
   19742 # Variables whose values should be saved in libtool wrapper scripts and
   19743 # restored at relink time.
   19744 variables_saved_for_relink="$variables_saved_for_relink"
   19745 
   19746 # Whether libtool must link a program against all its dependency libraries.
   19747 link_all_deplibs=$link_all_deplibs_RC
   19748 
   19749 # Compile-time system search path for libraries
   19750 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19751 
   19752 # Run-time system search path for libraries
   19753 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19754 
   19755 # Fix the shell variable \$srcfile for the compiler.
   19756 fix_srcfile_path=$lt_fix_srcfile_path
   19757 
   19758 # Set to yes if exported symbols are required.
   19759 always_export_symbols=$always_export_symbols_RC
   19760 
   19761 # The commands to list exported symbols.
   19762 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19763 
   19764 # The commands to extract the exported symbol list from a shared archive.
   19765 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19766 
   19767 # Symbols that should not be listed in the preloaded symbols.
   19768 exclude_expsyms=$lt_exclude_expsyms_RC
   19769 
   19770 # Symbols that must always be exported.
   19771 include_expsyms=$lt_include_expsyms_RC
   19772 
   19773 # ### END LIBTOOL TAG CONFIG: $tagname
   19774 
   19775 __EOF__
   19776 
   19777 
   19778 else
   19779   # If there is no Makefile yet, we rely on a make rule to execute
   19780   # `config.status --recheck' to rerun these tests and create the
   19781   # libtool script then.
   19782   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19783   if test -f "$ltmain_in"; then
   19784     test -f Makefile && make "$ltmain"
   19785   fi
   19786 fi
   19787 
   19788 
   19789 ac_ext=c
   19790 ac_cpp='$CPP $CPPFLAGS'
   19791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19794 
   19795 CC="$lt_save_CC"
   19796 
   19797 	;;
   19798 
   19799       *)
   19800 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19801 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19802    { (exit 1); exit 1; }; }
   19803 	;;
   19804       esac
   19805 
   19806       # Append the new tag name to the list of available tags.
   19807       if test -n "$tagname" ; then
   19808       available_tags="$available_tags $tagname"
   19809     fi
   19810     fi
   19811   done
   19812   IFS="$lt_save_ifs"
   19813 
   19814   # Now substitute the updated list of available tags.
   19815   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19816     mv "${ofile}T" "$ofile"
   19817     chmod +x "$ofile"
   19818   else
   19819     rm -f "${ofile}T"
   19820     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19821 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19822    { (exit 1); exit 1; }; }
   19823   fi
   19824 fi
   19825 
   19826 
   19827 
   19828 # This can be used to rebuild libtool when needed
   19829 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19830 
   19831 # Always use our own libtool.
   19832 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19833 
   19834 # Prevent multiple expansion
   19835 
   19836 
   19837 
   19838 
   19839 
   19840 
   19841 
   19842 
   19843 
   19844 
   19845 
   19846 
   19847 
   19848 
   19849 
   19850 
   19851 
   19852 
   19853 
   19854 
   19855 ac_ext=c
   19856 ac_cpp='$CPP $CPPFLAGS'
   19857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19860 if test -n "$ac_tool_prefix"; then
   19861   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19862 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19865 if test "${ac_cv_prog_CC+set}" = set; then
   19866   echo $ECHO_N "(cached) $ECHO_C" >&6
   19867 else
   19868   if test -n "$CC"; then
   19869   ac_cv_prog_CC="$CC" # Let the user override the test.
   19870 else
   19871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19872 for as_dir in $PATH
   19873 do
   19874   IFS=$as_save_IFS
   19875   test -z "$as_dir" && as_dir=.
   19876   for ac_exec_ext in '' $ac_executable_extensions; do
   19877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19878     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19879     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19880     break 2
   19881   fi
   19882 done
   19883 done
   19884 IFS=$as_save_IFS
   19885 
   19886 fi
   19887 fi
   19888 CC=$ac_cv_prog_CC
   19889 if test -n "$CC"; then
   19890   { echo "$as_me:$LINENO: result: $CC" >&5
   19891 echo "${ECHO_T}$CC" >&6; }
   19892 else
   19893   { echo "$as_me:$LINENO: result: no" >&5
   19894 echo "${ECHO_T}no" >&6; }
   19895 fi
   19896 
   19897 
   19898 fi
   19899 if test -z "$ac_cv_prog_CC"; then
   19900   ac_ct_CC=$CC
   19901   # Extract the first word of "gcc", so it can be a program name with args.
   19902 set dummy gcc; ac_word=$2
   19903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19905 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19906   echo $ECHO_N "(cached) $ECHO_C" >&6
   19907 else
   19908   if test -n "$ac_ct_CC"; then
   19909   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19910 else
   19911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19912 for as_dir in $PATH
   19913 do
   19914   IFS=$as_save_IFS
   19915   test -z "$as_dir" && as_dir=.
   19916   for ac_exec_ext in '' $ac_executable_extensions; do
   19917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19918     ac_cv_prog_ac_ct_CC="gcc"
   19919     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19920     break 2
   19921   fi
   19922 done
   19923 done
   19924 IFS=$as_save_IFS
   19925 
   19926 fi
   19927 fi
   19928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19929 if test -n "$ac_ct_CC"; then
   19930   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19931 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19932 else
   19933   { echo "$as_me:$LINENO: result: no" >&5
   19934 echo "${ECHO_T}no" >&6; }
   19935 fi
   19936 
   19937   if test "x$ac_ct_CC" = x; then
   19938     CC=""
   19939   else
   19940     case $cross_compiling:$ac_tool_warned in
   19941 yes:)
   19942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19943 whose name does not start with the host triplet.  If you think this
   19944 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19946 whose name does not start with the host triplet.  If you think this
   19947 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19948 ac_tool_warned=yes ;;
   19949 esac
   19950     CC=$ac_ct_CC
   19951   fi
   19952 else
   19953   CC="$ac_cv_prog_CC"
   19954 fi
   19955 
   19956 if test -z "$CC"; then
   19957           if test -n "$ac_tool_prefix"; then
   19958     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19959 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19962 if test "${ac_cv_prog_CC+set}" = set; then
   19963   echo $ECHO_N "(cached) $ECHO_C" >&6
   19964 else
   19965   if test -n "$CC"; then
   19966   ac_cv_prog_CC="$CC" # Let the user override the test.
   19967 else
   19968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19969 for as_dir in $PATH
   19970 do
   19971   IFS=$as_save_IFS
   19972   test -z "$as_dir" && as_dir=.
   19973   for ac_exec_ext in '' $ac_executable_extensions; do
   19974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19975     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19976     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19977     break 2
   19978   fi
   19979 done
   19980 done
   19981 IFS=$as_save_IFS
   19982 
   19983 fi
   19984 fi
   19985 CC=$ac_cv_prog_CC
   19986 if test -n "$CC"; then
   19987   { echo "$as_me:$LINENO: result: $CC" >&5
   19988 echo "${ECHO_T}$CC" >&6; }
   19989 else
   19990   { echo "$as_me:$LINENO: result: no" >&5
   19991 echo "${ECHO_T}no" >&6; }
   19992 fi
   19993 
   19994 
   19995   fi
   19996 fi
   19997 if test -z "$CC"; then
   19998   # Extract the first word of "cc", so it can be a program name with args.
   19999 set dummy cc; ac_word=$2
   20000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20002 if test "${ac_cv_prog_CC+set}" = set; then
   20003   echo $ECHO_N "(cached) $ECHO_C" >&6
   20004 else
   20005   if test -n "$CC"; then
   20006   ac_cv_prog_CC="$CC" # Let the user override the test.
   20007 else
   20008   ac_prog_rejected=no
   20009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20010 for as_dir in $PATH
   20011 do
   20012   IFS=$as_save_IFS
   20013   test -z "$as_dir" && as_dir=.
   20014   for ac_exec_ext in '' $ac_executable_extensions; do
   20015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20016     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20017        ac_prog_rejected=yes
   20018        continue
   20019      fi
   20020     ac_cv_prog_CC="cc"
   20021     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20022     break 2
   20023   fi
   20024 done
   20025 done
   20026 IFS=$as_save_IFS
   20027 
   20028 if test $ac_prog_rejected = yes; then
   20029   # We found a bogon in the path, so make sure we never use it.
   20030   set dummy $ac_cv_prog_CC
   20031   shift
   20032   if test $# != 0; then
   20033     # We chose a different compiler from the bogus one.
   20034     # However, it has the same basename, so the bogon will be chosen
   20035     # first if we set CC to just the basename; use the full file name.
   20036     shift
   20037     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20038   fi
   20039 fi
   20040 fi
   20041 fi
   20042 CC=$ac_cv_prog_CC
   20043 if test -n "$CC"; then
   20044   { echo "$as_me:$LINENO: result: $CC" >&5
   20045 echo "${ECHO_T}$CC" >&6; }
   20046 else
   20047   { echo "$as_me:$LINENO: result: no" >&5
   20048 echo "${ECHO_T}no" >&6; }
   20049 fi
   20050 
   20051 
   20052 fi
   20053 if test -z "$CC"; then
   20054   if test -n "$ac_tool_prefix"; then
   20055   for ac_prog in cl.exe
   20056   do
   20057     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20061 if test "${ac_cv_prog_CC+set}" = set; then
   20062   echo $ECHO_N "(cached) $ECHO_C" >&6
   20063 else
   20064   if test -n "$CC"; then
   20065   ac_cv_prog_CC="$CC" # Let the user override the test.
   20066 else
   20067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20068 for as_dir in $PATH
   20069 do
   20070   IFS=$as_save_IFS
   20071   test -z "$as_dir" && as_dir=.
   20072   for ac_exec_ext in '' $ac_executable_extensions; do
   20073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20074     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20075     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20076     break 2
   20077   fi
   20078 done
   20079 done
   20080 IFS=$as_save_IFS
   20081 
   20082 fi
   20083 fi
   20084 CC=$ac_cv_prog_CC
   20085 if test -n "$CC"; then
   20086   { echo "$as_me:$LINENO: result: $CC" >&5
   20087 echo "${ECHO_T}$CC" >&6; }
   20088 else
   20089   { echo "$as_me:$LINENO: result: no" >&5
   20090 echo "${ECHO_T}no" >&6; }
   20091 fi
   20092 
   20093 
   20094     test -n "$CC" && break
   20095   done
   20096 fi
   20097 if test -z "$CC"; then
   20098   ac_ct_CC=$CC
   20099   for ac_prog in cl.exe
   20100 do
   20101   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20102 set dummy $ac_prog; ac_word=$2
   20103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20106   echo $ECHO_N "(cached) $ECHO_C" >&6
   20107 else
   20108   if test -n "$ac_ct_CC"; then
   20109   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20110 else
   20111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20112 for as_dir in $PATH
   20113 do
   20114   IFS=$as_save_IFS
   20115   test -z "$as_dir" && as_dir=.
   20116   for ac_exec_ext in '' $ac_executable_extensions; do
   20117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20118     ac_cv_prog_ac_ct_CC="$ac_prog"
   20119     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20120     break 2
   20121   fi
   20122 done
   20123 done
   20124 IFS=$as_save_IFS
   20125 
   20126 fi
   20127 fi
   20128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20129 if test -n "$ac_ct_CC"; then
   20130   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20131 echo "${ECHO_T}$ac_ct_CC" >&6; }
   20132 else
   20133   { echo "$as_me:$LINENO: result: no" >&5
   20134 echo "${ECHO_T}no" >&6; }
   20135 fi
   20136 
   20137 
   20138   test -n "$ac_ct_CC" && break
   20139 done
   20140 
   20141   if test "x$ac_ct_CC" = x; then
   20142     CC=""
   20143   else
   20144     case $cross_compiling:$ac_tool_warned in
   20145 yes:)
   20146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20147 whose name does not start with the host triplet.  If you think this
   20148 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20150 whose name does not start with the host triplet.  If you think this
   20151 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20152 ac_tool_warned=yes ;;
   20153 esac
   20154     CC=$ac_ct_CC
   20155   fi
   20156 fi
   20157 
   20158 fi
   20159 
   20160 
   20161 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20162 See \`config.log' for more details." >&5
   20163 echo "$as_me: error: no acceptable C compiler found in \$PATH
   20164 See \`config.log' for more details." >&2;}
   20165    { (exit 1); exit 1; }; }
   20166 
   20167 # Provide some information about the compiler.
   20168 echo "$as_me:$LINENO: checking for C compiler version" >&5
   20169 ac_compiler=`set X $ac_compile; echo $2`
   20170 { (ac_try="$ac_compiler --version >&5"
   20171 case "(($ac_try" in
   20172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20173   *) ac_try_echo=$ac_try;;
   20174 esac
   20175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20176   (eval "$ac_compiler --version >&5") 2>&5
   20177   ac_status=$?
   20178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20179   (exit $ac_status); }
   20180 { (ac_try="$ac_compiler -v >&5"
   20181 case "(($ac_try" in
   20182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20183   *) ac_try_echo=$ac_try;;
   20184 esac
   20185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20186   (eval "$ac_compiler -v >&5") 2>&5
   20187   ac_status=$?
   20188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20189   (exit $ac_status); }
   20190 { (ac_try="$ac_compiler -V >&5"
   20191 case "(($ac_try" in
   20192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20193   *) ac_try_echo=$ac_try;;
   20194 esac
   20195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20196   (eval "$ac_compiler -V >&5") 2>&5
   20197   ac_status=$?
   20198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20199   (exit $ac_status); }
   20200 
   20201 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20202 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   20203 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20204   echo $ECHO_N "(cached) $ECHO_C" >&6
   20205 else
   20206   cat >conftest.$ac_ext <<_ACEOF
   20207 /* confdefs.h.  */
   20208 _ACEOF
   20209 cat confdefs.h >>conftest.$ac_ext
   20210 cat >>conftest.$ac_ext <<_ACEOF
   20211 /* end confdefs.h.  */
   20212 
   20213 int
   20214 main ()
   20215 {
   20216 #ifndef __GNUC__
   20217        choke me
   20218 #endif
   20219 
   20220   ;
   20221   return 0;
   20222 }
   20223 _ACEOF
   20224 rm -f conftest.$ac_objext
   20225 if { (ac_try="$ac_compile"
   20226 case "(($ac_try" in
   20227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20228   *) ac_try_echo=$ac_try;;
   20229 esac
   20230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20231   (eval "$ac_compile") 2>conftest.er1
   20232   ac_status=$?
   20233   grep -v '^ *+' conftest.er1 >conftest.err
   20234   rm -f conftest.er1
   20235   cat conftest.err >&5
   20236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20237   (exit $ac_status); } && {
   20238 	 test -z "$ac_c_werror_flag" ||
   20239 	 test ! -s conftest.err
   20240        } && test -s conftest.$ac_objext; then
   20241   ac_compiler_gnu=yes
   20242 else
   20243   echo "$as_me: failed program was:" >&5
   20244 sed 's/^/| /' conftest.$ac_ext >&5
   20245 
   20246 	ac_compiler_gnu=no
   20247 fi
   20248 
   20249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20250 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20251 
   20252 fi
   20253 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20254 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   20255 GCC=`test $ac_compiler_gnu = yes && echo yes`
   20256 ac_test_CFLAGS=${CFLAGS+set}
   20257 ac_save_CFLAGS=$CFLAGS
   20258 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20259 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   20260 if test "${ac_cv_prog_cc_g+set}" = set; then
   20261   echo $ECHO_N "(cached) $ECHO_C" >&6
   20262 else
   20263   ac_save_c_werror_flag=$ac_c_werror_flag
   20264    ac_c_werror_flag=yes
   20265    ac_cv_prog_cc_g=no
   20266    CFLAGS="-g"
   20267    cat >conftest.$ac_ext <<_ACEOF
   20268 /* confdefs.h.  */
   20269 _ACEOF
   20270 cat confdefs.h >>conftest.$ac_ext
   20271 cat >>conftest.$ac_ext <<_ACEOF
   20272 /* end confdefs.h.  */
   20273 
   20274 int
   20275 main ()
   20276 {
   20277 
   20278   ;
   20279   return 0;
   20280 }
   20281 _ACEOF
   20282 rm -f conftest.$ac_objext
   20283 if { (ac_try="$ac_compile"
   20284 case "(($ac_try" in
   20285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20286   *) ac_try_echo=$ac_try;;
   20287 esac
   20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20289   (eval "$ac_compile") 2>conftest.er1
   20290   ac_status=$?
   20291   grep -v '^ *+' conftest.er1 >conftest.err
   20292   rm -f conftest.er1
   20293   cat conftest.err >&5
   20294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20295   (exit $ac_status); } && {
   20296 	 test -z "$ac_c_werror_flag" ||
   20297 	 test ! -s conftest.err
   20298        } && test -s conftest.$ac_objext; then
   20299   ac_cv_prog_cc_g=yes
   20300 else
   20301   echo "$as_me: failed program was:" >&5
   20302 sed 's/^/| /' conftest.$ac_ext >&5
   20303 
   20304 	CFLAGS=""
   20305       cat >conftest.$ac_ext <<_ACEOF
   20306 /* confdefs.h.  */
   20307 _ACEOF
   20308 cat confdefs.h >>conftest.$ac_ext
   20309 cat >>conftest.$ac_ext <<_ACEOF
   20310 /* end confdefs.h.  */
   20311 
   20312 int
   20313 main ()
   20314 {
   20315 
   20316   ;
   20317   return 0;
   20318 }
   20319 _ACEOF
   20320 rm -f conftest.$ac_objext
   20321 if { (ac_try="$ac_compile"
   20322 case "(($ac_try" in
   20323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20324   *) ac_try_echo=$ac_try;;
   20325 esac
   20326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20327   (eval "$ac_compile") 2>conftest.er1
   20328   ac_status=$?
   20329   grep -v '^ *+' conftest.er1 >conftest.err
   20330   rm -f conftest.er1
   20331   cat conftest.err >&5
   20332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20333   (exit $ac_status); } && {
   20334 	 test -z "$ac_c_werror_flag" ||
   20335 	 test ! -s conftest.err
   20336        } && test -s conftest.$ac_objext; then
   20337   :
   20338 else
   20339   echo "$as_me: failed program was:" >&5
   20340 sed 's/^/| /' conftest.$ac_ext >&5
   20341 
   20342 	ac_c_werror_flag=$ac_save_c_werror_flag
   20343 	 CFLAGS="-g"
   20344 	 cat >conftest.$ac_ext <<_ACEOF
   20345 /* confdefs.h.  */
   20346 _ACEOF
   20347 cat confdefs.h >>conftest.$ac_ext
   20348 cat >>conftest.$ac_ext <<_ACEOF
   20349 /* end confdefs.h.  */
   20350 
   20351 int
   20352 main ()
   20353 {
   20354 
   20355   ;
   20356   return 0;
   20357 }
   20358 _ACEOF
   20359 rm -f conftest.$ac_objext
   20360 if { (ac_try="$ac_compile"
   20361 case "(($ac_try" in
   20362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20363   *) ac_try_echo=$ac_try;;
   20364 esac
   20365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20366   (eval "$ac_compile") 2>conftest.er1
   20367   ac_status=$?
   20368   grep -v '^ *+' conftest.er1 >conftest.err
   20369   rm -f conftest.er1
   20370   cat conftest.err >&5
   20371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20372   (exit $ac_status); } && {
   20373 	 test -z "$ac_c_werror_flag" ||
   20374 	 test ! -s conftest.err
   20375        } && test -s conftest.$ac_objext; then
   20376   ac_cv_prog_cc_g=yes
   20377 else
   20378   echo "$as_me: failed program was:" >&5
   20379 sed 's/^/| /' conftest.$ac_ext >&5
   20380 
   20381 
   20382 fi
   20383 
   20384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20385 fi
   20386 
   20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20388 fi
   20389 
   20390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20391    ac_c_werror_flag=$ac_save_c_werror_flag
   20392 fi
   20393 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20394 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   20395 if test "$ac_test_CFLAGS" = set; then
   20396   CFLAGS=$ac_save_CFLAGS
   20397 elif test $ac_cv_prog_cc_g = yes; then
   20398   if test "$GCC" = yes; then
   20399     CFLAGS="-g -O2"
   20400   else
   20401     CFLAGS="-g"
   20402   fi
   20403 else
   20404   if test "$GCC" = yes; then
   20405     CFLAGS="-O2"
   20406   else
   20407     CFLAGS=
   20408   fi
   20409 fi
   20410 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20411 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   20412 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20413   echo $ECHO_N "(cached) $ECHO_C" >&6
   20414 else
   20415   ac_cv_prog_cc_c89=no
   20416 ac_save_CC=$CC
   20417 cat >conftest.$ac_ext <<_ACEOF
   20418 /* confdefs.h.  */
   20419 _ACEOF
   20420 cat confdefs.h >>conftest.$ac_ext
   20421 cat >>conftest.$ac_ext <<_ACEOF
   20422 /* end confdefs.h.  */
   20423 #include <stdarg.h>
   20424 #include <stdio.h>
   20425 #include <sys/types.h>
   20426 #include <sys/stat.h>
   20427 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20428 struct buf { int x; };
   20429 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20430 static char *e (p, i)
   20431      char **p;
   20432      int i;
   20433 {
   20434   return p[i];
   20435 }
   20436 static char *f (char * (*g) (char **, int), char **p, ...)
   20437 {
   20438   char *s;
   20439   va_list v;
   20440   va_start (v,p);
   20441   s = g (p, va_arg (v,int));
   20442   va_end (v);
   20443   return s;
   20444 }
   20445 
   20446 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20447    function prototypes and stuff, but not '\xHH' hex character constants.
   20448    These don't provoke an error unfortunately, instead are silently treated
   20449    as 'x'.  The following induces an error, until -std is added to get
   20450    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20451    array size at least.  It's necessary to write '\x00'==0 to get something
   20452    that's true only with -std.  */
   20453 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20454 
   20455 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20456    inside strings and character constants.  */
   20457 #define FOO(x) 'x'
   20458 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20459 
   20460 int test (int i, double x);
   20461 struct s1 {int (*f) (int a);};
   20462 struct s2 {int (*f) (double a);};
   20463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20464 int argc;
   20465 char **argv;
   20466 int
   20467 main ()
   20468 {
   20469 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20470   ;
   20471   return 0;
   20472 }
   20473 _ACEOF
   20474 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20475 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20476 do
   20477   CC="$ac_save_CC $ac_arg"
   20478   rm -f conftest.$ac_objext
   20479 if { (ac_try="$ac_compile"
   20480 case "(($ac_try" in
   20481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20482   *) ac_try_echo=$ac_try;;
   20483 esac
   20484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20485   (eval "$ac_compile") 2>conftest.er1
   20486   ac_status=$?
   20487   grep -v '^ *+' conftest.er1 >conftest.err
   20488   rm -f conftest.er1
   20489   cat conftest.err >&5
   20490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20491   (exit $ac_status); } && {
   20492 	 test -z "$ac_c_werror_flag" ||
   20493 	 test ! -s conftest.err
   20494        } && test -s conftest.$ac_objext; then
   20495   ac_cv_prog_cc_c89=$ac_arg
   20496 else
   20497   echo "$as_me: failed program was:" >&5
   20498 sed 's/^/| /' conftest.$ac_ext >&5
   20499 
   20500 
   20501 fi
   20502 
   20503 rm -f core conftest.err conftest.$ac_objext
   20504   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20505 done
   20506 rm -f conftest.$ac_ext
   20507 CC=$ac_save_CC
   20508 
   20509 fi
   20510 # AC_CACHE_VAL
   20511 case "x$ac_cv_prog_cc_c89" in
   20512   x)
   20513     { echo "$as_me:$LINENO: result: none needed" >&5
   20514 echo "${ECHO_T}none needed" >&6; } ;;
   20515   xno)
   20516     { echo "$as_me:$LINENO: result: unsupported" >&5
   20517 echo "${ECHO_T}unsupported" >&6; } ;;
   20518   *)
   20519     CC="$CC $ac_cv_prog_cc_c89"
   20520     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20521 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   20522 esac
   20523 
   20524 
   20525 ac_ext=c
   20526 ac_cpp='$CPP $CPPFLAGS'
   20527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20530 
   20531 depcc="$CC"   am_compiler_list=
   20532 
   20533 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20534 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   20535 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20536   echo $ECHO_N "(cached) $ECHO_C" >&6
   20537 else
   20538   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20539   # We make a subdir and do the tests there.  Otherwise we can end up
   20540   # making bogus files that we don't know about and never remove.  For
   20541   # instance it was reported that on HP-UX the gcc test will end up
   20542   # making a dummy file named `D' -- because `-MD' means `put the output
   20543   # in D'.
   20544   mkdir conftest.dir
   20545   # Copy depcomp to subdir because otherwise we won't find it if we're
   20546   # using a relative directory.
   20547   cp "$am_depcomp" conftest.dir
   20548   cd conftest.dir
   20549   # We will build objects and dependencies in a subdirectory because
   20550   # it helps to detect inapplicable dependency modes.  For instance
   20551   # both Tru64's cc and ICC support -MD to output dependencies as a
   20552   # side effect of compilation, but ICC will put the dependencies in
   20553   # the current directory while Tru64 will put them in the object
   20554   # directory.
   20555   mkdir sub
   20556 
   20557   am_cv_CC_dependencies_compiler_type=none
   20558   if test "$am_compiler_list" = ""; then
   20559      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20560   fi
   20561   for depmode in $am_compiler_list; do
   20562     # Setup a source with many dependencies, because some compilers
   20563     # like to wrap large dependency lists on column 80 (with \), and
   20564     # we should not choose a depcomp mode which is confused by this.
   20565     #
   20566     # We need to recreate these files for each test, as the compiler may
   20567     # overwrite some of them when testing with obscure command lines.
   20568     # This happens at least with the AIX C compiler.
   20569     : > sub/conftest.c
   20570     for i in 1 2 3 4 5 6; do
   20571       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20572       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20573       # Solaris 8's {/usr,}/bin/sh.
   20574       touch sub/conftst$i.h
   20575     done
   20576     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20577 
   20578     case $depmode in
   20579     nosideeffect)
   20580       # after this tag, mechanisms are not by side-effect, so they'll
   20581       # only be used when explicitly requested
   20582       if test "x$enable_dependency_tracking" = xyes; then
   20583 	continue
   20584       else
   20585 	break
   20586       fi
   20587       ;;
   20588     none) break ;;
   20589     esac
   20590     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20591     # mode.  It turns out that the SunPro C++ compiler does not properly
   20592     # handle `-M -o', and we need to detect this.
   20593     if depmode=$depmode \
   20594        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20595        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20596        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20597          >/dev/null 2>conftest.err &&
   20598        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20599        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20600        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20601        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20602       # icc doesn't choke on unknown options, it will just issue warnings
   20603       # or remarks (even with -Werror).  So we grep stderr for any message
   20604       # that says an option was ignored or not supported.
   20605       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20606       #   icc: Command line warning: ignoring option '-M'; no argument required
   20607       # The diagnosis changed in icc 8.0:
   20608       #   icc: Command line remark: option '-MP' not supported
   20609       if (grep 'ignoring option' conftest.err ||
   20610           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20611         am_cv_CC_dependencies_compiler_type=$depmode
   20612         break
   20613       fi
   20614     fi
   20615   done
   20616 
   20617   cd ..
   20618   rm -rf conftest.dir
   20619 else
   20620   am_cv_CC_dependencies_compiler_type=none
   20621 fi
   20622 
   20623 fi
   20624 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20625 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20626 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20627 
   20628  if
   20629   test "x$enable_dependency_tracking" != xno \
   20630   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20631   am__fastdepCC_TRUE=
   20632   am__fastdepCC_FALSE='#'
   20633 else
   20634   am__fastdepCC_TRUE='#'
   20635   am__fastdepCC_FALSE=
   20636 fi
   20637 
   20638 
   20639 
   20640 if test "x$GCC" = "xyes"; then
   20641 	CPPFLAGS="$CPPFLAGS -Wall"
   20642 fi
   20643 
   20644 
   20645 
   20646 
   20647 
   20648 # Check whether --with-xorg-module-dir was given.
   20649 if test "${with_xorg_module_dir+set}" = set; then
   20650   withval=$with_xorg_module_dir; moduledir="$withval"
   20651 else
   20652   moduledir="$libdir/xorg/modules"
   20653 fi
   20654 
   20655 
   20656 # Check whether --enable-dri was given.
   20657 if test "${enable_dri+set}" = set; then
   20658   enableval=$enable_dri; DRI="$enableval"
   20659 else
   20660   DRI=auto
   20661 fi
   20662 
   20663 
   20664 # Check whether --enable-exa was given.
   20665 if test "${enable_exa+set}" = set; then
   20666   enableval=$enable_exa; EXA="$enableval"
   20667 else
   20668   EXA=yes
   20669 fi
   20670 
   20671 
   20672 
   20673 # Check whether --with-xserver-source was given.
   20674 if test "${with_xserver_source+set}" = set; then
   20675   withval=$with_xserver_source;  XSERVER_SOURCE="$withval"
   20676 else
   20677    XSERVER_SOURCE=""
   20678 fi
   20679 
   20680 
   20681 # Checks for extensions
   20682 
   20683 	SAVE_CFLAGS="$CFLAGS"
   20684 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20685 	cat >conftest.$ac_ext <<_ACEOF
   20686 /* confdefs.h.  */
   20687 _ACEOF
   20688 cat confdefs.h >>conftest.$ac_ext
   20689 cat >>conftest.$ac_ext <<_ACEOF
   20690 /* end confdefs.h.  */
   20691 
   20692 #include "xorg-server.h"
   20693 #if !defined XINERAMA
   20694 #error XINERAMA not defined
   20695 #endif
   20696 
   20697 int
   20698 main ()
   20699 {
   20700 
   20701   ;
   20702   return 0;
   20703 }
   20704 _ACEOF
   20705 rm -f conftest.$ac_objext
   20706 if { (ac_try="$ac_compile"
   20707 case "(($ac_try" in
   20708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20709   *) ac_try_echo=$ac_try;;
   20710 esac
   20711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20712   (eval "$ac_compile") 2>conftest.er1
   20713   ac_status=$?
   20714   grep -v '^ *+' conftest.er1 >conftest.err
   20715   rm -f conftest.er1
   20716   cat conftest.err >&5
   20717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20718   (exit $ac_status); } && {
   20719 	 test -z "$ac_c_werror_flag" ||
   20720 	 test ! -s conftest.err
   20721        } && test -s conftest.$ac_objext; then
   20722   _EXT_CHECK=yes
   20723 else
   20724   echo "$as_me: failed program was:" >&5
   20725 sed 's/^/| /' conftest.$ac_ext >&5
   20726 
   20727 	_EXT_CHECK=no
   20728 fi
   20729 
   20730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20731 	CFLAGS="$SAVE_CFLAGS"
   20732 	{ echo "$as_me:$LINENO: checking if XINERAMA is defined" >&5
   20733 echo $ECHO_N "checking if XINERAMA is defined... $ECHO_C" >&6; }
   20734 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20735 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20736 	if test "$_EXT_CHECK" != no; then
   20737 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   20738 	fi
   20739 
   20740 
   20741 	SAVE_CFLAGS="$CFLAGS"
   20742 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20743 	cat >conftest.$ac_ext <<_ACEOF
   20744 /* confdefs.h.  */
   20745 _ACEOF
   20746 cat confdefs.h >>conftest.$ac_ext
   20747 cat >>conftest.$ac_ext <<_ACEOF
   20748 /* end confdefs.h.  */
   20749 
   20750 #include "xorg-server.h"
   20751 #if !defined RANDR
   20752 #error RANDR not defined
   20753 #endif
   20754 
   20755 int
   20756 main ()
   20757 {
   20758 
   20759   ;
   20760   return 0;
   20761 }
   20762 _ACEOF
   20763 rm -f conftest.$ac_objext
   20764 if { (ac_try="$ac_compile"
   20765 case "(($ac_try" in
   20766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20767   *) ac_try_echo=$ac_try;;
   20768 esac
   20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20770   (eval "$ac_compile") 2>conftest.er1
   20771   ac_status=$?
   20772   grep -v '^ *+' conftest.er1 >conftest.err
   20773   rm -f conftest.er1
   20774   cat conftest.err >&5
   20775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20776   (exit $ac_status); } && {
   20777 	 test -z "$ac_c_werror_flag" ||
   20778 	 test ! -s conftest.err
   20779        } && test -s conftest.$ac_objext; then
   20780   _EXT_CHECK=yes
   20781 else
   20782   echo "$as_me: failed program was:" >&5
   20783 sed 's/^/| /' conftest.$ac_ext >&5
   20784 
   20785 	_EXT_CHECK=no
   20786 fi
   20787 
   20788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20789 	CFLAGS="$SAVE_CFLAGS"
   20790 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20791 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20792 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20793 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20794 	if test "$_EXT_CHECK" != no; then
   20795 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20796 	fi
   20797 
   20798 
   20799 	SAVE_CFLAGS="$CFLAGS"
   20800 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20801 	cat >conftest.$ac_ext <<_ACEOF
   20802 /* confdefs.h.  */
   20803 _ACEOF
   20804 cat confdefs.h >>conftest.$ac_ext
   20805 cat >>conftest.$ac_ext <<_ACEOF
   20806 /* end confdefs.h.  */
   20807 
   20808 #include "xorg-server.h"
   20809 #if !defined RENDER
   20810 #error RENDER not defined
   20811 #endif
   20812 
   20813 int
   20814 main ()
   20815 {
   20816 
   20817   ;
   20818   return 0;
   20819 }
   20820 _ACEOF
   20821 rm -f conftest.$ac_objext
   20822 if { (ac_try="$ac_compile"
   20823 case "(($ac_try" in
   20824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20825   *) ac_try_echo=$ac_try;;
   20826 esac
   20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20828   (eval "$ac_compile") 2>conftest.er1
   20829   ac_status=$?
   20830   grep -v '^ *+' conftest.er1 >conftest.err
   20831   rm -f conftest.er1
   20832   cat conftest.err >&5
   20833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20834   (exit $ac_status); } && {
   20835 	 test -z "$ac_c_werror_flag" ||
   20836 	 test ! -s conftest.err
   20837        } && test -s conftest.$ac_objext; then
   20838   _EXT_CHECK=yes
   20839 else
   20840   echo "$as_me: failed program was:" >&5
   20841 sed 's/^/| /' conftest.$ac_ext >&5
   20842 
   20843 	_EXT_CHECK=no
   20844 fi
   20845 
   20846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20847 	CFLAGS="$SAVE_CFLAGS"
   20848 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20849 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20850 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20851 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20852 	if test "$_EXT_CHECK" != no; then
   20853 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20854 	fi
   20855 
   20856 
   20857 	SAVE_CFLAGS="$CFLAGS"
   20858 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20859 	cat >conftest.$ac_ext <<_ACEOF
   20860 /* confdefs.h.  */
   20861 _ACEOF
   20862 cat confdefs.h >>conftest.$ac_ext
   20863 cat >>conftest.$ac_ext <<_ACEOF
   20864 /* end confdefs.h.  */
   20865 
   20866 #include "xorg-server.h"
   20867 #if !defined XV
   20868 #error XV not defined
   20869 #endif
   20870 
   20871 int
   20872 main ()
   20873 {
   20874 
   20875   ;
   20876   return 0;
   20877 }
   20878 _ACEOF
   20879 rm -f conftest.$ac_objext
   20880 if { (ac_try="$ac_compile"
   20881 case "(($ac_try" in
   20882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20883   *) ac_try_echo=$ac_try;;
   20884 esac
   20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20886   (eval "$ac_compile") 2>conftest.er1
   20887   ac_status=$?
   20888   grep -v '^ *+' conftest.er1 >conftest.err
   20889   rm -f conftest.er1
   20890   cat conftest.err >&5
   20891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20892   (exit $ac_status); } && {
   20893 	 test -z "$ac_c_werror_flag" ||
   20894 	 test ! -s conftest.err
   20895        } && test -s conftest.$ac_objext; then
   20896   _EXT_CHECK=yes
   20897 else
   20898   echo "$as_me: failed program was:" >&5
   20899 sed 's/^/| /' conftest.$ac_ext >&5
   20900 
   20901 	_EXT_CHECK=no
   20902 fi
   20903 
   20904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20905 	CFLAGS="$SAVE_CFLAGS"
   20906 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   20907 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   20908 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20909 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20910 	if test "$_EXT_CHECK" != no; then
   20911 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20912 	fi
   20913 
   20914 
   20915 	SAVE_CFLAGS="$CFLAGS"
   20916 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20917 	cat >conftest.$ac_ext <<_ACEOF
   20918 /* confdefs.h.  */
   20919 _ACEOF
   20920 cat confdefs.h >>conftest.$ac_ext
   20921 cat >>conftest.$ac_ext <<_ACEOF
   20922 /* end confdefs.h.  */
   20923 
   20924 #include "xorg-server.h"
   20925 #if !defined DPMSExtension
   20926 #error DPMSExtension not defined
   20927 #endif
   20928 
   20929 int
   20930 main ()
   20931 {
   20932 
   20933   ;
   20934   return 0;
   20935 }
   20936 _ACEOF
   20937 rm -f conftest.$ac_objext
   20938 if { (ac_try="$ac_compile"
   20939 case "(($ac_try" in
   20940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20941   *) ac_try_echo=$ac_try;;
   20942 esac
   20943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20944   (eval "$ac_compile") 2>conftest.er1
   20945   ac_status=$?
   20946   grep -v '^ *+' conftest.er1 >conftest.err
   20947   rm -f conftest.er1
   20948   cat conftest.err >&5
   20949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20950   (exit $ac_status); } && {
   20951 	 test -z "$ac_c_werror_flag" ||
   20952 	 test ! -s conftest.err
   20953        } && test -s conftest.$ac_objext; then
   20954   _EXT_CHECK=yes
   20955 else
   20956   echo "$as_me: failed program was:" >&5
   20957 sed 's/^/| /' conftest.$ac_ext >&5
   20958 
   20959 	_EXT_CHECK=no
   20960 fi
   20961 
   20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20963 	CFLAGS="$SAVE_CFLAGS"
   20964 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   20965 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   20966 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20967 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20968 	if test "$_EXT_CHECK" != no; then
   20969 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20970 	fi
   20971 
   20972 
   20973 # Checks for pkg-config packages
   20974 
   20975 
   20976 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20977 	if test -n "$ac_tool_prefix"; then
   20978   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20979 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20982 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20983   echo $ECHO_N "(cached) $ECHO_C" >&6
   20984 else
   20985   case $PKG_CONFIG in
   20986   [\\/]* | ?:[\\/]*)
   20987   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20988   ;;
   20989   *)
   20990   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20991 for as_dir in $PATH
   20992 do
   20993   IFS=$as_save_IFS
   20994   test -z "$as_dir" && as_dir=.
   20995   for ac_exec_ext in '' $ac_executable_extensions; do
   20996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20997     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20999     break 2
   21000   fi
   21001 done
   21002 done
   21003 IFS=$as_save_IFS
   21004 
   21005   ;;
   21006 esac
   21007 fi
   21008 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21009 if test -n "$PKG_CONFIG"; then
   21010   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21011 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   21012 else
   21013   { echo "$as_me:$LINENO: result: no" >&5
   21014 echo "${ECHO_T}no" >&6; }
   21015 fi
   21016 
   21017 
   21018 fi
   21019 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21020   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21021   # Extract the first word of "pkg-config", so it can be a program name with args.
   21022 set dummy pkg-config; ac_word=$2
   21023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   21024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   21025 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21026   echo $ECHO_N "(cached) $ECHO_C" >&6
   21027 else
   21028   case $ac_pt_PKG_CONFIG in
   21029   [\\/]* | ?:[\\/]*)
   21030   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21031   ;;
   21032   *)
   21033   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21034 for as_dir in $PATH
   21035 do
   21036   IFS=$as_save_IFS
   21037   test -z "$as_dir" && as_dir=.
   21038   for ac_exec_ext in '' $ac_executable_extensions; do
   21039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21040     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21041     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21042     break 2
   21043   fi
   21044 done
   21045 done
   21046 IFS=$as_save_IFS
   21047 
   21048   ;;
   21049 esac
   21050 fi
   21051 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21052 if test -n "$ac_pt_PKG_CONFIG"; then
   21053   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21054 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   21055 else
   21056   { echo "$as_me:$LINENO: result: no" >&5
   21057 echo "${ECHO_T}no" >&6; }
   21058 fi
   21059 
   21060   if test "x$ac_pt_PKG_CONFIG" = x; then
   21061     PKG_CONFIG=""
   21062   else
   21063     case $cross_compiling:$ac_tool_warned in
   21064 yes:)
   21065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   21066 whose name does not start with the host triplet.  If you think this
   21067 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   21068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   21069 whose name does not start with the host triplet.  If you think this
   21070 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   21071 ac_tool_warned=yes ;;
   21072 esac
   21073     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21074   fi
   21075 else
   21076   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21077 fi
   21078 
   21079 fi
   21080 if test -n "$PKG_CONFIG"; then
   21081 	_pkg_min_version=0.9.0
   21082 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21083 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   21084 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21085 		{ echo "$as_me:$LINENO: result: yes" >&5
   21086 echo "${ECHO_T}yes" >&6; }
   21087 	else
   21088 		{ echo "$as_me:$LINENO: result: no" >&5
   21089 echo "${ECHO_T}no" >&6; }
   21090 		PKG_CONFIG=""
   21091 	fi
   21092 
   21093 fi
   21094 
   21095 pkg_failed=no
   21096 { echo "$as_me:$LINENO: checking for XORG" >&5
   21097 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   21098 
   21099 if test -n "$PKG_CONFIG"; then
   21100     if test -n "$XORG_CFLAGS"; then
   21101         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21102     else
   21103         if test -n "$PKG_CONFIG" && \
   21104     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21105   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21106   ac_status=$?
   21107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21108   (exit $ac_status); }; then
   21109   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21110 else
   21111   pkg_failed=yes
   21112 fi
   21113     fi
   21114 else
   21115 	pkg_failed=untried
   21116 fi
   21117 if test -n "$PKG_CONFIG"; then
   21118     if test -n "$XORG_LIBS"; then
   21119         pkg_cv_XORG_LIBS="$XORG_LIBS"
   21120     else
   21121         if test -n "$PKG_CONFIG" && \
   21122     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21123   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21124   ac_status=$?
   21125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21126   (exit $ac_status); }; then
   21127   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21128 else
   21129   pkg_failed=yes
   21130 fi
   21131     fi
   21132 else
   21133 	pkg_failed=untried
   21134 fi
   21135 
   21136 
   21137 
   21138 if test $pkg_failed = yes; then
   21139 
   21140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21141         _pkg_short_errors_supported=yes
   21142 else
   21143         _pkg_short_errors_supported=no
   21144 fi
   21145         if test $_pkg_short_errors_supported = yes; then
   21146 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES"`
   21147         else
   21148 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES"`
   21149         fi
   21150 	# Put the nasty error message in config.log where it belongs
   21151 	echo "$XORG_PKG_ERRORS" >&5
   21152 
   21153 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   21154 
   21155 $XORG_PKG_ERRORS
   21156 
   21157 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21158 installed software in a non-standard prefix.
   21159 
   21160 Alternatively, you may set the environment variables XORG_CFLAGS
   21161 and XORG_LIBS to avoid the need to call pkg-config.
   21162 See the pkg-config man page for more details.
   21163 " >&5
   21164 echo "$as_me: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   21165 
   21166 $XORG_PKG_ERRORS
   21167 
   21168 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21169 installed software in a non-standard prefix.
   21170 
   21171 Alternatively, you may set the environment variables XORG_CFLAGS
   21172 and XORG_LIBS to avoid the need to call pkg-config.
   21173 See the pkg-config man page for more details.
   21174 " >&2;}
   21175    { (exit 1); exit 1; }; }
   21176 elif test $pkg_failed = untried; then
   21177 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21178 is in your PATH or set the PKG_CONFIG environment variable to the full
   21179 path to pkg-config.
   21180 
   21181 Alternatively, you may set the environment variables XORG_CFLAGS
   21182 and XORG_LIBS to avoid the need to call pkg-config.
   21183 See the pkg-config man page for more details.
   21184 
   21185 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21186 See \`config.log' for more details." >&5
   21187 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21188 is in your PATH or set the PKG_CONFIG environment variable to the full
   21189 path to pkg-config.
   21190 
   21191 Alternatively, you may set the environment variables XORG_CFLAGS
   21192 and XORG_LIBS to avoid the need to call pkg-config.
   21193 See the pkg-config man page for more details.
   21194 
   21195 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21196 See \`config.log' for more details." >&2;}
   21197    { (exit 1); exit 1; }; }
   21198 else
   21199 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21200 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21201         { echo "$as_me:$LINENO: result: yes" >&5
   21202 echo "${ECHO_T}yes" >&6; }
   21203 	:
   21204 fi
   21205 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21206 
   21207 # Checks for libraries.
   21208 
   21209 # Checks for header files.
   21210 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21211 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   21212 if test "${ac_cv_header_stdc+set}" = set; then
   21213   echo $ECHO_N "(cached) $ECHO_C" >&6
   21214 else
   21215   cat >conftest.$ac_ext <<_ACEOF
   21216 /* confdefs.h.  */
   21217 _ACEOF
   21218 cat confdefs.h >>conftest.$ac_ext
   21219 cat >>conftest.$ac_ext <<_ACEOF
   21220 /* end confdefs.h.  */
   21221 #include <stdlib.h>
   21222 #include <stdarg.h>
   21223 #include <string.h>
   21224 #include <float.h>
   21225 
   21226 int
   21227 main ()
   21228 {
   21229 
   21230   ;
   21231   return 0;
   21232 }
   21233 _ACEOF
   21234 rm -f conftest.$ac_objext
   21235 if { (ac_try="$ac_compile"
   21236 case "(($ac_try" in
   21237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21238   *) ac_try_echo=$ac_try;;
   21239 esac
   21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21241   (eval "$ac_compile") 2>conftest.er1
   21242   ac_status=$?
   21243   grep -v '^ *+' conftest.er1 >conftest.err
   21244   rm -f conftest.er1
   21245   cat conftest.err >&5
   21246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21247   (exit $ac_status); } && {
   21248 	 test -z "$ac_c_werror_flag" ||
   21249 	 test ! -s conftest.err
   21250        } && test -s conftest.$ac_objext; then
   21251   ac_cv_header_stdc=yes
   21252 else
   21253   echo "$as_me: failed program was:" >&5
   21254 sed 's/^/| /' conftest.$ac_ext >&5
   21255 
   21256 	ac_cv_header_stdc=no
   21257 fi
   21258 
   21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21260 
   21261 if test $ac_cv_header_stdc = yes; then
   21262   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21263   cat >conftest.$ac_ext <<_ACEOF
   21264 /* confdefs.h.  */
   21265 _ACEOF
   21266 cat confdefs.h >>conftest.$ac_ext
   21267 cat >>conftest.$ac_ext <<_ACEOF
   21268 /* end confdefs.h.  */
   21269 #include <string.h>
   21270 
   21271 _ACEOF
   21272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21273   $EGREP "memchr" >/dev/null 2>&1; then
   21274   :
   21275 else
   21276   ac_cv_header_stdc=no
   21277 fi
   21278 rm -f conftest*
   21279 
   21280 fi
   21281 
   21282 if test $ac_cv_header_stdc = yes; then
   21283   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21284   cat >conftest.$ac_ext <<_ACEOF
   21285 /* confdefs.h.  */
   21286 _ACEOF
   21287 cat confdefs.h >>conftest.$ac_ext
   21288 cat >>conftest.$ac_ext <<_ACEOF
   21289 /* end confdefs.h.  */
   21290 #include <stdlib.h>
   21291 
   21292 _ACEOF
   21293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21294   $EGREP "free" >/dev/null 2>&1; then
   21295   :
   21296 else
   21297   ac_cv_header_stdc=no
   21298 fi
   21299 rm -f conftest*
   21300 
   21301 fi
   21302 
   21303 if test $ac_cv_header_stdc = yes; then
   21304   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21305   if test "$cross_compiling" = yes; then
   21306   :
   21307 else
   21308   cat >conftest.$ac_ext <<_ACEOF
   21309 /* confdefs.h.  */
   21310 _ACEOF
   21311 cat confdefs.h >>conftest.$ac_ext
   21312 cat >>conftest.$ac_ext <<_ACEOF
   21313 /* end confdefs.h.  */
   21314 #include <ctype.h>
   21315 #include <stdlib.h>
   21316 #if ((' ' & 0x0FF) == 0x020)
   21317 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21318 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21319 #else
   21320 # define ISLOWER(c) \
   21321 		   (('a' <= (c) && (c) <= 'i') \
   21322 		     || ('j' <= (c) && (c) <= 'r') \
   21323 		     || ('s' <= (c) && (c) <= 'z'))
   21324 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21325 #endif
   21326 
   21327 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21328 int
   21329 main ()
   21330 {
   21331   int i;
   21332   for (i = 0; i < 256; i++)
   21333     if (XOR (islower (i), ISLOWER (i))
   21334 	|| toupper (i) != TOUPPER (i))
   21335       return 2;
   21336   return 0;
   21337 }
   21338 _ACEOF
   21339 rm -f conftest$ac_exeext
   21340 if { (ac_try="$ac_link"
   21341 case "(($ac_try" in
   21342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21343   *) ac_try_echo=$ac_try;;
   21344 esac
   21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21346   (eval "$ac_link") 2>&5
   21347   ac_status=$?
   21348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21349   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21350   { (case "(($ac_try" in
   21351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21352   *) ac_try_echo=$ac_try;;
   21353 esac
   21354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21355   (eval "$ac_try") 2>&5
   21356   ac_status=$?
   21357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21358   (exit $ac_status); }; }; then
   21359   :
   21360 else
   21361   echo "$as_me: program exited with status $ac_status" >&5
   21362 echo "$as_me: failed program was:" >&5
   21363 sed 's/^/| /' conftest.$ac_ext >&5
   21364 
   21365 ( exit $ac_status )
   21366 ac_cv_header_stdc=no
   21367 fi
   21368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21369 fi
   21370 
   21371 
   21372 fi
   21373 fi
   21374 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21375 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   21376 if test $ac_cv_header_stdc = yes; then
   21377 
   21378 cat >>confdefs.h <<\_ACEOF
   21379 #define STDC_HEADERS 1
   21380 _ACEOF
   21381 
   21382 fi
   21383 
   21384 
   21385 if test "$DRI" != no; then
   21386 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   21387 { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   21388 echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
   21389 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21390   echo $ECHO_N "(cached) $ECHO_C" >&6
   21391 else
   21392   test "$cross_compiling" = yes &&
   21393   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21394 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21395    { (exit 1); exit 1; }; }
   21396 if test -r "${sdkdir}/dri.h"; then
   21397   eval "$as_ac_File=yes"
   21398 else
   21399   eval "$as_ac_File=no"
   21400 fi
   21401 fi
   21402 ac_res=`eval echo '${'$as_ac_File'}'`
   21403 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21404 echo "${ECHO_T}$ac_res" >&6; }
   21405 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21406   have_dri_h="yes"
   21407 else
   21408   have_dri_h="no"
   21409 fi
   21410 
   21411 	as_ac_File=`echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   21412 { echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   21413 echo $ECHO_N "checking for ${sdkdir}/sarea.h... $ECHO_C" >&6; }
   21414 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21415   echo $ECHO_N "(cached) $ECHO_C" >&6
   21416 else
   21417   test "$cross_compiling" = yes &&
   21418   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21419 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21420    { (exit 1); exit 1; }; }
   21421 if test -r "${sdkdir}/sarea.h"; then
   21422   eval "$as_ac_File=yes"
   21423 else
   21424   eval "$as_ac_File=no"
   21425 fi
   21426 fi
   21427 ac_res=`eval echo '${'$as_ac_File'}'`
   21428 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21429 echo "${ECHO_T}$ac_res" >&6; }
   21430 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21431   have_sarea_h="yes"
   21432 else
   21433   have_sarea_h="no"
   21434 fi
   21435 
   21436 	as_ac_File=`echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   21437 { echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   21438 echo $ECHO_N "checking for ${sdkdir}/dristruct.h... $ECHO_C" >&6; }
   21439 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21440   echo $ECHO_N "(cached) $ECHO_C" >&6
   21441 else
   21442   test "$cross_compiling" = yes &&
   21443   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21444 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21445    { (exit 1); exit 1; }; }
   21446 if test -r "${sdkdir}/dristruct.h"; then
   21447   eval "$as_ac_File=yes"
   21448 else
   21449   eval "$as_ac_File=no"
   21450 fi
   21451 fi
   21452 ac_res=`eval echo '${'$as_ac_File'}'`
   21453 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21454 echo "${ECHO_T}$ac_res" >&6; }
   21455 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21456   have_dristruct_h="yes"
   21457 else
   21458   have_dristruct_h="no"
   21459 fi
   21460 
   21461 	as_ac_File=`echo "ac_cv_file_${sdkdir}/damage.h" | $as_tr_sh`
   21462 { echo "$as_me:$LINENO: checking for ${sdkdir}/damage.h" >&5
   21463 echo $ECHO_N "checking for ${sdkdir}/damage.h... $ECHO_C" >&6; }
   21464 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21465   echo $ECHO_N "(cached) $ECHO_C" >&6
   21466 else
   21467   test "$cross_compiling" = yes &&
   21468   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21469 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21470    { (exit 1); exit 1; }; }
   21471 if test -r "${sdkdir}/damage.h"; then
   21472   eval "$as_ac_File=yes"
   21473 else
   21474   eval "$as_ac_File=no"
   21475 fi
   21476 fi
   21477 ac_res=`eval echo '${'$as_ac_File'}'`
   21478 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   21479 echo "${ECHO_T}$ac_res" >&6; }
   21480 if test `eval echo '${'$as_ac_File'}'` = yes; then
   21481   have_damage_h="yes"
   21482 else
   21483   have_damage_h="no"
   21484 fi
   21485 
   21486 fi
   21487 
   21488 { echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   21489 echo $ECHO_N "checking whether to include DRI support... $ECHO_C" >&6; }
   21490 if test x$DRI = xauto; then
   21491 	if test "$have_dri_h" = yes -a \
   21492                 "$have_sarea_h" = yes -a \
   21493                 "$have_dristruct_h" = yes; then
   21494 		DRI="yes"
   21495 	else
   21496 		DRI="no"
   21497 	fi
   21498 fi
   21499 { echo "$as_me:$LINENO: result: $DRI" >&5
   21500 echo "${ECHO_T}$DRI" >&6; }
   21501 
   21502  if test x$DRI = xyes; then
   21503   DRI_TRUE=
   21504   DRI_FALSE='#'
   21505 else
   21506   DRI_TRUE='#'
   21507   DRI_FALSE=
   21508 fi
   21509 
   21510 if test "$DRI" = yes; then
   21511 
   21512 pkg_failed=no
   21513 { echo "$as_me:$LINENO: checking for DRI" >&5
   21514 echo $ECHO_N "checking for DRI... $ECHO_C" >&6; }
   21515 
   21516 if test -n "$PKG_CONFIG"; then
   21517     if test -n "$DRI_CFLAGS"; then
   21518         pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   21519     else
   21520         if test -n "$PKG_CONFIG" && \
   21521     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21522   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21523   ac_status=$?
   21524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21525   (exit $ac_status); }; then
   21526   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21527 else
   21528   pkg_failed=yes
   21529 fi
   21530     fi
   21531 else
   21532 	pkg_failed=untried
   21533 fi
   21534 if test -n "$PKG_CONFIG"; then
   21535     if test -n "$DRI_LIBS"; then
   21536         pkg_cv_DRI_LIBS="$DRI_LIBS"
   21537     else
   21538         if test -n "$PKG_CONFIG" && \
   21539     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2 xf86driproto\"") >&5
   21540   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2 xf86driproto") 2>&5
   21541   ac_status=$?
   21542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21543   (exit $ac_status); }; then
   21544   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.2 xf86driproto" 2>/dev/null`
   21545 else
   21546   pkg_failed=yes
   21547 fi
   21548     fi
   21549 else
   21550 	pkg_failed=untried
   21551 fi
   21552 
   21553 
   21554 
   21555 if test $pkg_failed = yes; then
   21556 
   21557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21558         _pkg_short_errors_supported=yes
   21559 else
   21560         _pkg_short_errors_supported=no
   21561 fi
   21562         if test $_pkg_short_errors_supported = yes; then
   21563 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.2 xf86driproto"`
   21564         else
   21565 	        DRI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.2 xf86driproto"`
   21566         fi
   21567 	# Put the nasty error message in config.log where it belongs
   21568 	echo "$DRI_PKG_ERRORS" >&5
   21569 
   21570 	{ { echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   21571 
   21572 $DRI_PKG_ERRORS
   21573 
   21574 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21575 installed software in a non-standard prefix.
   21576 
   21577 Alternatively, you may set the environment variables DRI_CFLAGS
   21578 and DRI_LIBS to avoid the need to call pkg-config.
   21579 See the pkg-config man page for more details.
   21580 " >&5
   21581 echo "$as_me: error: Package requirements (libdrm >= 2.2 xf86driproto) were not met:
   21582 
   21583 $DRI_PKG_ERRORS
   21584 
   21585 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21586 installed software in a non-standard prefix.
   21587 
   21588 Alternatively, you may set the environment variables DRI_CFLAGS
   21589 and DRI_LIBS to avoid the need to call pkg-config.
   21590 See the pkg-config man page for more details.
   21591 " >&2;}
   21592    { (exit 1); exit 1; }; }
   21593 elif test $pkg_failed = untried; then
   21594 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21595 is in your PATH or set the PKG_CONFIG environment variable to the full
   21596 path to pkg-config.
   21597 
   21598 Alternatively, you may set the environment variables DRI_CFLAGS
   21599 and DRI_LIBS to avoid the need to call pkg-config.
   21600 See the pkg-config man page for more details.
   21601 
   21602 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21603 See \`config.log' for more details." >&5
   21604 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21605 is in your PATH or set the PKG_CONFIG environment variable to the full
   21606 path to pkg-config.
   21607 
   21608 Alternatively, you may set the environment variables DRI_CFLAGS
   21609 and DRI_LIBS to avoid the need to call pkg-config.
   21610 See the pkg-config man page for more details.
   21611 
   21612 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21613 See \`config.log' for more details." >&2;}
   21614    { (exit 1); exit 1; }; }
   21615 else
   21616 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   21617 	DRI_LIBS=$pkg_cv_DRI_LIBS
   21618         { echo "$as_me:$LINENO: result: yes" >&5
   21619 echo "${ECHO_T}yes" >&6; }
   21620 	:
   21621 fi
   21622 
   21623 cat >>confdefs.h <<\_ACEOF
   21624 #define XF86DRI 1
   21625 _ACEOF
   21626 
   21627 
   21628 cat >>confdefs.h <<\_ACEOF
   21629 #define XF86DRI_DEVEL 1
   21630 _ACEOF
   21631 
   21632 	if test "$have_damage_h" = yes; then
   21633 
   21634 cat >>confdefs.h <<\_ACEOF
   21635 #define DAMAGE 1
   21636 _ACEOF
   21637 
   21638 	fi
   21639 fi
   21640 
   21641 save_CFLAGS="$CFLAGS"
   21642 CFLAGS="$XORG_CFLAGS"
   21643 { echo "$as_me:$LINENO: checking for xf86Modes.h" >&5
   21644 echo $ECHO_N "checking for xf86Modes.h... $ECHO_C" >&6; }
   21645 if test "${ac_cv_header_xf86Modes_h+set}" = set; then
   21646   echo $ECHO_N "(cached) $ECHO_C" >&6
   21647 else
   21648   cat >conftest.$ac_ext <<_ACEOF
   21649 /* confdefs.h.  */
   21650 _ACEOF
   21651 cat confdefs.h >>conftest.$ac_ext
   21652 cat >>conftest.$ac_ext <<_ACEOF
   21653 /* end confdefs.h.  */
   21654 #include "xorg-server.h"
   21655 
   21656 #include <xf86Modes.h>
   21657 _ACEOF
   21658 rm -f conftest.$ac_objext
   21659 if { (ac_try="$ac_compile"
   21660 case "(($ac_try" in
   21661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21662   *) ac_try_echo=$ac_try;;
   21663 esac
   21664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21665   (eval "$ac_compile") 2>conftest.er1
   21666   ac_status=$?
   21667   grep -v '^ *+' conftest.er1 >conftest.err
   21668   rm -f conftest.er1
   21669   cat conftest.err >&5
   21670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21671   (exit $ac_status); } && {
   21672 	 test -z "$ac_c_werror_flag" ||
   21673 	 test ! -s conftest.err
   21674        } && test -s conftest.$ac_objext; then
   21675   ac_cv_header_xf86Modes_h=yes
   21676 else
   21677   echo "$as_me: failed program was:" >&5
   21678 sed 's/^/| /' conftest.$ac_ext >&5
   21679 
   21680 	ac_cv_header_xf86Modes_h=no
   21681 fi
   21682 
   21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21684 fi
   21685 { echo "$as_me:$LINENO: result: $ac_cv_header_xf86Modes_h" >&5
   21686 echo "${ECHO_T}$ac_cv_header_xf86Modes_h" >&6; }
   21687 if test $ac_cv_header_xf86Modes_h = yes; then
   21688   XMODES=yes
   21689 else
   21690   XMODES=no
   21691 fi
   21692 
   21693 
   21694 CFLAGS="$save_CFLAGS"
   21695 
   21696 
   21697 cat >>confdefs.h <<\_ACEOF
   21698 #define USE_XAA 1
   21699 _ACEOF
   21700 
   21701 
   21702 # Properly handle EXA.
   21703 { echo "$as_me:$LINENO: checking whether to enable EXA support" >&5
   21704 echo $ECHO_N "checking whether to enable EXA support... $ECHO_C" >&6; }
   21705 if test "x$EXA" = xyes; then
   21706         { echo "$as_me:$LINENO: result: yes" >&5
   21707 echo "${ECHO_T}yes" >&6; }
   21708 
   21709         SAVE_CPPFLAGS="$CPPFLAGS"
   21710         CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21711         if test "${ac_cv_header_exa_h+set}" = set; then
   21712   { echo "$as_me:$LINENO: checking for exa.h" >&5
   21713 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21714 if test "${ac_cv_header_exa_h+set}" = set; then
   21715   echo $ECHO_N "(cached) $ECHO_C" >&6
   21716 fi
   21717 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21718 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21719 else
   21720   # Is the header compilable?
   21721 { echo "$as_me:$LINENO: checking exa.h usability" >&5
   21722 echo $ECHO_N "checking exa.h usability... $ECHO_C" >&6; }
   21723 cat >conftest.$ac_ext <<_ACEOF
   21724 /* confdefs.h.  */
   21725 _ACEOF
   21726 cat confdefs.h >>conftest.$ac_ext
   21727 cat >>conftest.$ac_ext <<_ACEOF
   21728 /* end confdefs.h.  */
   21729 $ac_includes_default
   21730 #include <exa.h>
   21731 _ACEOF
   21732 rm -f conftest.$ac_objext
   21733 if { (ac_try="$ac_compile"
   21734 case "(($ac_try" in
   21735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21736   *) ac_try_echo=$ac_try;;
   21737 esac
   21738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21739   (eval "$ac_compile") 2>conftest.er1
   21740   ac_status=$?
   21741   grep -v '^ *+' conftest.er1 >conftest.err
   21742   rm -f conftest.er1
   21743   cat conftest.err >&5
   21744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21745   (exit $ac_status); } && {
   21746 	 test -z "$ac_c_werror_flag" ||
   21747 	 test ! -s conftest.err
   21748        } && test -s conftest.$ac_objext; then
   21749   ac_header_compiler=yes
   21750 else
   21751   echo "$as_me: failed program was:" >&5
   21752 sed 's/^/| /' conftest.$ac_ext >&5
   21753 
   21754 	ac_header_compiler=no
   21755 fi
   21756 
   21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21758 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21759 echo "${ECHO_T}$ac_header_compiler" >&6; }
   21760 
   21761 # Is the header present?
   21762 { echo "$as_me:$LINENO: checking exa.h presence" >&5
   21763 echo $ECHO_N "checking exa.h presence... $ECHO_C" >&6; }
   21764 cat >conftest.$ac_ext <<_ACEOF
   21765 /* confdefs.h.  */
   21766 _ACEOF
   21767 cat confdefs.h >>conftest.$ac_ext
   21768 cat >>conftest.$ac_ext <<_ACEOF
   21769 /* end confdefs.h.  */
   21770 #include <exa.h>
   21771 _ACEOF
   21772 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21773 case "(($ac_try" in
   21774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21775   *) ac_try_echo=$ac_try;;
   21776 esac
   21777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21778   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21779   ac_status=$?
   21780   grep -v '^ *+' conftest.er1 >conftest.err
   21781   rm -f conftest.er1
   21782   cat conftest.err >&5
   21783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21784   (exit $ac_status); } >/dev/null && {
   21785 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21786 	 test ! -s conftest.err
   21787        }; then
   21788   ac_header_preproc=yes
   21789 else
   21790   echo "$as_me: failed program was:" >&5
   21791 sed 's/^/| /' conftest.$ac_ext >&5
   21792 
   21793   ac_header_preproc=no
   21794 fi
   21795 
   21796 rm -f conftest.err conftest.$ac_ext
   21797 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21798 echo "${ECHO_T}$ac_header_preproc" >&6; }
   21799 
   21800 # So?  What about this header?
   21801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21802   yes:no: )
   21803     { echo "$as_me:$LINENO: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21804 echo "$as_me: WARNING: exa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21805     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the compiler's result" >&5
   21806 echo "$as_me: WARNING: exa.h: proceeding with the compiler's result" >&2;}
   21807     ac_header_preproc=yes
   21808     ;;
   21809   no:yes:* )
   21810     { echo "$as_me:$LINENO: WARNING: exa.h: present but cannot be compiled" >&5
   21811 echo "$as_me: WARNING: exa.h: present but cannot be compiled" >&2;}
   21812     { echo "$as_me:$LINENO: WARNING: exa.h:     check for missing prerequisite headers?" >&5
   21813 echo "$as_me: WARNING: exa.h:     check for missing prerequisite headers?" >&2;}
   21814     { echo "$as_me:$LINENO: WARNING: exa.h: see the Autoconf documentation" >&5
   21815 echo "$as_me: WARNING: exa.h: see the Autoconf documentation" >&2;}
   21816     { echo "$as_me:$LINENO: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&5
   21817 echo "$as_me: WARNING: exa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21818     { echo "$as_me:$LINENO: WARNING: exa.h: proceeding with the preprocessor's result" >&5
   21819 echo "$as_me: WARNING: exa.h: proceeding with the preprocessor's result" >&2;}
   21820     { echo "$as_me:$LINENO: WARNING: exa.h: in the future, the compiler will take precedence" >&5
   21821 echo "$as_me: WARNING: exa.h: in the future, the compiler will take precedence" >&2;}
   21822     ( cat <<\_ASBOX
   21823 ## ---------------------------------------------------------------------- ##
   21824 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21825 ## ---------------------------------------------------------------------- ##
   21826 _ASBOX
   21827      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21828     ;;
   21829 esac
   21830 { echo "$as_me:$LINENO: checking for exa.h" >&5
   21831 echo $ECHO_N "checking for exa.h... $ECHO_C" >&6; }
   21832 if test "${ac_cv_header_exa_h+set}" = set; then
   21833   echo $ECHO_N "(cached) $ECHO_C" >&6
   21834 else
   21835   ac_cv_header_exa_h=$ac_header_preproc
   21836 fi
   21837 { echo "$as_me:$LINENO: result: $ac_cv_header_exa_h" >&5
   21838 echo "${ECHO_T}$ac_cv_header_exa_h" >&6; }
   21839 
   21840 fi
   21841 if test $ac_cv_header_exa_h = yes; then
   21842   have_exa_h="yes"
   21843 else
   21844   have_exa_h="no"
   21845 fi
   21846 
   21847 
   21848         CPPFLAGS="$SAVE_CPPFLAGS"
   21849 else
   21850         { echo "$as_me:$LINENO: result: no" >&5
   21851 echo "${ECHO_T}no" >&6; }
   21852 fi
   21853 
   21854 SAVE_CPPFLAGS="$CPPFLAGS"
   21855 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21856 if test "x$have_exa_h" = xyes; then
   21857         { echo "$as_me:$LINENO: checking whether EXA version is at least 2.0.0" >&5
   21858 echo $ECHO_N "checking whether EXA version is at least 2.0.0... $ECHO_C" >&6; }
   21859         cat >conftest.$ac_ext <<_ACEOF
   21860 /* confdefs.h.  */
   21861 _ACEOF
   21862 cat confdefs.h >>conftest.$ac_ext
   21863 cat >>conftest.$ac_ext <<_ACEOF
   21864 /* end confdefs.h.  */
   21865 
   21866 #include "exa.h"
   21867 #if EXA_VERSION_MAJOR < 2
   21868 #error OLD EXA!
   21869 #endif
   21870 
   21871 int
   21872 main ()
   21873 {
   21874 
   21875   ;
   21876   return 0;
   21877 }
   21878 _ACEOF
   21879 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21880 case "(($ac_try" in
   21881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21882   *) ac_try_echo=$ac_try;;
   21883 esac
   21884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21885   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21886   ac_status=$?
   21887   grep -v '^ *+' conftest.er1 >conftest.err
   21888   rm -f conftest.er1
   21889   cat conftest.err >&5
   21890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21891   (exit $ac_status); } >/dev/null && {
   21892 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21893 	 test ! -s conftest.err
   21894        }; then
   21895   USE_EXA=yes
   21896 else
   21897   echo "$as_me: failed program was:" >&5
   21898 sed 's/^/| /' conftest.$ac_ext >&5
   21899 
   21900   USE_EXA=no
   21901 fi
   21902 
   21903 rm -f conftest.err conftest.$ac_ext
   21904         { echo "$as_me:$LINENO: result: $USE_EXA" >&5
   21905 echo "${ECHO_T}$USE_EXA" >&6; }
   21906 
   21907         if test "x$USE_EXA" = xyes; then
   21908 
   21909 cat >>confdefs.h <<\_ACEOF
   21910 #define USE_EXA 1
   21911 _ACEOF
   21912 
   21913         fi
   21914 fi
   21915 
   21916 { echo "$as_me:$LINENO: checking whether xf86XVFillKeyHelperDrawable is declared" >&5
   21917 echo $ECHO_N "checking whether xf86XVFillKeyHelperDrawable is declared... $ECHO_C" >&6; }
   21918 if test "${ac_cv_have_decl_xf86XVFillKeyHelperDrawable+set}" = set; then
   21919   echo $ECHO_N "(cached) $ECHO_C" >&6
   21920 else
   21921   cat >conftest.$ac_ext <<_ACEOF
   21922 /* confdefs.h.  */
   21923 _ACEOF
   21924 cat confdefs.h >>conftest.$ac_ext
   21925 cat >>conftest.$ac_ext <<_ACEOF
   21926 /* end confdefs.h.  */
   21927 #include <xf86xv.h>
   21928 
   21929 int
   21930 main ()
   21931 {
   21932 #ifndef xf86XVFillKeyHelperDrawable
   21933   (void) xf86XVFillKeyHelperDrawable;
   21934 #endif
   21935 
   21936   ;
   21937   return 0;
   21938 }
   21939 _ACEOF
   21940 rm -f conftest.$ac_objext
   21941 if { (ac_try="$ac_compile"
   21942 case "(($ac_try" in
   21943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21944   *) ac_try_echo=$ac_try;;
   21945 esac
   21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21947   (eval "$ac_compile") 2>conftest.er1
   21948   ac_status=$?
   21949   grep -v '^ *+' conftest.er1 >conftest.err
   21950   rm -f conftest.er1
   21951   cat conftest.err >&5
   21952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21953   (exit $ac_status); } && {
   21954 	 test -z "$ac_c_werror_flag" ||
   21955 	 test ! -s conftest.err
   21956        } && test -s conftest.$ac_objext; then
   21957   ac_cv_have_decl_xf86XVFillKeyHelperDrawable=yes
   21958 else
   21959   echo "$as_me: failed program was:" >&5
   21960 sed 's/^/| /' conftest.$ac_ext >&5
   21961 
   21962 	ac_cv_have_decl_xf86XVFillKeyHelperDrawable=no
   21963 fi
   21964 
   21965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21966 fi
   21967 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&5
   21968 echo "${ECHO_T}$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&6; }
   21969 if test $ac_cv_have_decl_xf86XVFillKeyHelperDrawable = yes; then
   21970 
   21971 cat >>confdefs.h <<\_ACEOF
   21972 #define HAVE_XV_DRAWABLE_HELPER 1
   21973 _ACEOF
   21974 
   21975 fi
   21976 
   21977 
   21978 { echo "$as_me:$LINENO: checking whether xf86ModeBandwidth is declared" >&5
   21979 echo $ECHO_N "checking whether xf86ModeBandwidth is declared... $ECHO_C" >&6; }
   21980 if test "${ac_cv_have_decl_xf86ModeBandwidth+set}" = set; then
   21981   echo $ECHO_N "(cached) $ECHO_C" >&6
   21982 else
   21983   cat >conftest.$ac_ext <<_ACEOF
   21984 /* confdefs.h.  */
   21985 _ACEOF
   21986 cat confdefs.h >>conftest.$ac_ext
   21987 cat >>conftest.$ac_ext <<_ACEOF
   21988 /* end confdefs.h.  */
   21989 #include "xorg-server.h"
   21990 	       #include "xf86Modes.h"
   21991 
   21992 int
   21993 main ()
   21994 {
   21995 #ifndef xf86ModeBandwidth
   21996   (void) xf86ModeBandwidth;
   21997 #endif
   21998 
   21999   ;
   22000   return 0;
   22001 }
   22002 _ACEOF
   22003 rm -f conftest.$ac_objext
   22004 if { (ac_try="$ac_compile"
   22005 case "(($ac_try" in
   22006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22007   *) ac_try_echo=$ac_try;;
   22008 esac
   22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22010   (eval "$ac_compile") 2>conftest.er1
   22011   ac_status=$?
   22012   grep -v '^ *+' conftest.er1 >conftest.err
   22013   rm -f conftest.er1
   22014   cat conftest.err >&5
   22015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22016   (exit $ac_status); } && {
   22017 	 test -z "$ac_c_werror_flag" ||
   22018 	 test ! -s conftest.err
   22019        } && test -s conftest.$ac_objext; then
   22020   ac_cv_have_decl_xf86ModeBandwidth=yes
   22021 else
   22022   echo "$as_me: failed program was:" >&5
   22023 sed 's/^/| /' conftest.$ac_ext >&5
   22024 
   22025 	ac_cv_have_decl_xf86ModeBandwidth=no
   22026 fi
   22027 
   22028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22029 fi
   22030 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ModeBandwidth" >&5
   22031 echo "${ECHO_T}$ac_cv_have_decl_xf86ModeBandwidth" >&6; }
   22032 if test $ac_cv_have_decl_xf86ModeBandwidth = yes; then
   22033 
   22034 cat >>confdefs.h <<\_ACEOF
   22035 #define HAVE_XF86MODEBANDWIDTH 1
   22036 _ACEOF
   22037 
   22038 fi
   22039 
   22040 
   22041 { echo "$as_me:$LINENO: checking whether xf86_crtc_clip_video_helper is declared" >&5
   22042 echo $ECHO_N "checking whether xf86_crtc_clip_video_helper is declared... $ECHO_C" >&6; }
   22043 if test "${ac_cv_have_decl_xf86_crtc_clip_video_helper+set}" = set; then
   22044   echo $ECHO_N "(cached) $ECHO_C" >&6
   22045 else
   22046   cat >conftest.$ac_ext <<_ACEOF
   22047 /* confdefs.h.  */
   22048 _ACEOF
   22049 cat confdefs.h >>conftest.$ac_ext
   22050 cat >>conftest.$ac_ext <<_ACEOF
   22051 /* end confdefs.h.  */
   22052 #include <X11/Xmd.h>
   22053 	       #include "xorg-server.h"
   22054 	       #include "xf86i2c.h"
   22055 	       #include "xf86Crtc.h"
   22056 
   22057 int
   22058 main ()
   22059 {
   22060 #ifndef xf86_crtc_clip_video_helper
   22061   (void) xf86_crtc_clip_video_helper;
   22062 #endif
   22063 
   22064   ;
   22065   return 0;
   22066 }
   22067 _ACEOF
   22068 rm -f conftest.$ac_objext
   22069 if { (ac_try="$ac_compile"
   22070 case "(($ac_try" in
   22071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22072   *) ac_try_echo=$ac_try;;
   22073 esac
   22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22075   (eval "$ac_compile") 2>conftest.er1
   22076   ac_status=$?
   22077   grep -v '^ *+' conftest.er1 >conftest.err
   22078   rm -f conftest.er1
   22079   cat conftest.err >&5
   22080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22081   (exit $ac_status); } && {
   22082 	 test -z "$ac_c_werror_flag" ||
   22083 	 test ! -s conftest.err
   22084        } && test -s conftest.$ac_objext; then
   22085   ac_cv_have_decl_xf86_crtc_clip_video_helper=yes
   22086 else
   22087   echo "$as_me: failed program was:" >&5
   22088 sed 's/^/| /' conftest.$ac_ext >&5
   22089 
   22090 	ac_cv_have_decl_xf86_crtc_clip_video_helper=no
   22091 fi
   22092 
   22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22094 fi
   22095 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86_crtc_clip_video_helper" >&5
   22096 echo "${ECHO_T}$ac_cv_have_decl_xf86_crtc_clip_video_helper" >&6; }
   22097 if test $ac_cv_have_decl_xf86_crtc_clip_video_helper = yes; then
   22098 
   22099 cat >>confdefs.h <<\_ACEOF
   22100 #define HAVE_XF86CRTCCLIPVIDEOHELPER 1
   22101 _ACEOF
   22102 
   22103 fi
   22104 
   22105 
   22106 { echo "$as_me:$LINENO: checking whether xf86RotateFreeShadow is declared" >&5
   22107 echo $ECHO_N "checking whether xf86RotateFreeShadow is declared... $ECHO_C" >&6; }
   22108 if test "${ac_cv_have_decl_xf86RotateFreeShadow+set}" = set; then
   22109   echo $ECHO_N "(cached) $ECHO_C" >&6
   22110 else
   22111   cat >conftest.$ac_ext <<_ACEOF
   22112 /* confdefs.h.  */
   22113 _ACEOF
   22114 cat confdefs.h >>conftest.$ac_ext
   22115 cat >>conftest.$ac_ext <<_ACEOF
   22116 /* end confdefs.h.  */
   22117 #include <xorg-server.h>
   22118                #include <windowstr.h>
   22119 	       #include <xf86Crtc.h>
   22120 
   22121 int
   22122 main ()
   22123 {
   22124 #ifndef xf86RotateFreeShadow
   22125   (void) xf86RotateFreeShadow;
   22126 #endif
   22127 
   22128   ;
   22129   return 0;
   22130 }
   22131 _ACEOF
   22132 rm -f conftest.$ac_objext
   22133 if { (ac_try="$ac_compile"
   22134 case "(($ac_try" in
   22135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22136   *) ac_try_echo=$ac_try;;
   22137 esac
   22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22139   (eval "$ac_compile") 2>conftest.er1
   22140   ac_status=$?
   22141   grep -v '^ *+' conftest.er1 >conftest.err
   22142   rm -f conftest.er1
   22143   cat conftest.err >&5
   22144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22145   (exit $ac_status); } && {
   22146 	 test -z "$ac_c_werror_flag" ||
   22147 	 test ! -s conftest.err
   22148        } && test -s conftest.$ac_objext; then
   22149   ac_cv_have_decl_xf86RotateFreeShadow=yes
   22150 else
   22151   echo "$as_me: failed program was:" >&5
   22152 sed 's/^/| /' conftest.$ac_ext >&5
   22153 
   22154 	ac_cv_have_decl_xf86RotateFreeShadow=no
   22155 fi
   22156 
   22157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22158 fi
   22159 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86RotateFreeShadow" >&5
   22160 echo "${ECHO_T}$ac_cv_have_decl_xf86RotateFreeShadow" >&6; }
   22161 if test $ac_cv_have_decl_xf86RotateFreeShadow = yes; then
   22162 
   22163 cat >>confdefs.h <<\_ACEOF
   22164 #define HAVE_FREE_SHADOW 1
   22165 _ACEOF
   22166 
   22167 fi
   22168 
   22169 
   22170 { echo "$as_me:$LINENO: checking whether pci_device_enable is declared" >&5
   22171 echo $ECHO_N "checking whether pci_device_enable is declared... $ECHO_C" >&6; }
   22172 if test "${ac_cv_have_decl_pci_device_enable+set}" = set; then
   22173   echo $ECHO_N "(cached) $ECHO_C" >&6
   22174 else
   22175   cat >conftest.$ac_ext <<_ACEOF
   22176 /* confdefs.h.  */
   22177 _ACEOF
   22178 cat confdefs.h >>conftest.$ac_ext
   22179 cat >>conftest.$ac_ext <<_ACEOF
   22180 /* end confdefs.h.  */
   22181 #include <pciaccess.h>
   22182 
   22183 int
   22184 main ()
   22185 {
   22186 #ifndef pci_device_enable
   22187   (void) pci_device_enable;
   22188 #endif
   22189 
   22190   ;
   22191   return 0;
   22192 }
   22193 _ACEOF
   22194 rm -f conftest.$ac_objext
   22195 if { (ac_try="$ac_compile"
   22196 case "(($ac_try" in
   22197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22198   *) ac_try_echo=$ac_try;;
   22199 esac
   22200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22201   (eval "$ac_compile") 2>conftest.er1
   22202   ac_status=$?
   22203   grep -v '^ *+' conftest.er1 >conftest.err
   22204   rm -f conftest.er1
   22205   cat conftest.err >&5
   22206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22207   (exit $ac_status); } && {
   22208 	 test -z "$ac_c_werror_flag" ||
   22209 	 test ! -s conftest.err
   22210        } && test -s conftest.$ac_objext; then
   22211   ac_cv_have_decl_pci_device_enable=yes
   22212 else
   22213   echo "$as_me: failed program was:" >&5
   22214 sed 's/^/| /' conftest.$ac_ext >&5
   22215 
   22216 	ac_cv_have_decl_pci_device_enable=no
   22217 fi
   22218 
   22219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22220 fi
   22221 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_pci_device_enable" >&5
   22222 echo "${ECHO_T}$ac_cv_have_decl_pci_device_enable" >&6; }
   22223 if test $ac_cv_have_decl_pci_device_enable = yes; then
   22224 
   22225 cat >>confdefs.h <<\_ACEOF
   22226 #define HAVE_PCI_DEVICE_ENABLE 1
   22227 _ACEOF
   22228 
   22229 fi
   22230 
   22231 
   22232 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   22233 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   22234 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   22235   echo $ECHO_N "(cached) $ECHO_C" >&6
   22236 else
   22237   cat >conftest.$ac_ext <<_ACEOF
   22238 /* confdefs.h.  */
   22239 _ACEOF
   22240 cat confdefs.h >>conftest.$ac_ext
   22241 cat >>conftest.$ac_ext <<_ACEOF
   22242 /* end confdefs.h.  */
   22243 #include "xorg-server.h"
   22244 
   22245 int
   22246 main ()
   22247 {
   22248 #ifndef XSERVER_LIBPCIACCESS
   22249   (void) XSERVER_LIBPCIACCESS;
   22250 #endif
   22251 
   22252   ;
   22253   return 0;
   22254 }
   22255 _ACEOF
   22256 rm -f conftest.$ac_objext
   22257 if { (ac_try="$ac_compile"
   22258 case "(($ac_try" in
   22259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22260   *) ac_try_echo=$ac_try;;
   22261 esac
   22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22263   (eval "$ac_compile") 2>conftest.er1
   22264   ac_status=$?
   22265   grep -v '^ *+' conftest.er1 >conftest.err
   22266   rm -f conftest.er1
   22267   cat conftest.err >&5
   22268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22269   (exit $ac_status); } && {
   22270 	 test -z "$ac_c_werror_flag" ||
   22271 	 test ! -s conftest.err
   22272        } && test -s conftest.$ac_objext; then
   22273   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   22274 else
   22275   echo "$as_me: failed program was:" >&5
   22276 sed 's/^/| /' conftest.$ac_ext >&5
   22277 
   22278 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   22279 fi
   22280 
   22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22282 fi
   22283 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   22284 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   22285 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   22286   XSERVER_LIBPCIACCESS=yes
   22287 else
   22288   XSERVER_LIBPCIACCESS=no
   22289 fi
   22290 
   22291 
   22292  if test "x$XMODES" = xno; then
   22293   XMODES_TRUE=
   22294   XMODES_FALSE='#'
   22295 else
   22296   XMODES_TRUE='#'
   22297   XMODES_FALSE=
   22298 fi
   22299 
   22300 
   22301 if test "x$XSERVER_SOURCE" = x; then
   22302         if test -d ../../xserver; then
   22303                 XSERVER_SOURCE="`cd ../../xserver && pwd`"
   22304         fi
   22305 fi
   22306 
   22307 if test -d "$XSERVER_SOURCE"; then
   22308         case "$XSERVER_SOURCE" in
   22309         /*)
   22310                 ;;
   22311         *)
   22312                 XSERVER_SOURCE="`cd $XSERVER_SOURCE && pwd`"
   22313         esac
   22314         if test -f src/modes/xf86Modes.h; then
   22315                 :
   22316         else
   22317                 ln -sf $XSERVER_SOURCE/hw/xfree86/modes src/modes
   22318         fi
   22319 
   22320         if test -f src/parser/xf86Parser.h; then
   22321                 :
   22322         else
   22323                 ln -sf $XSERVER_SOURCE/hw/xfree86/parser src/parser
   22324         fi
   22325 fi
   22326 if test "x$XMODES" = xyes; then
   22327         { echo "$as_me:$LINENO: X server has new mode code" >&5
   22328 echo "$as_me: X server has new mode code" >&6;}
   22329 
   22330 cat >>confdefs.h <<\_ACEOF
   22331 #define XMODES 1
   22332 _ACEOF
   22333 
   22334         XMODES_CFLAGS=
   22335 else
   22336         if test -f src/modes/xf86Modes.h -a -f src/parser/xf86Parser.h; then
   22337                 { echo "$as_me:$LINENO: X server is missing new mode code, using local copy" >&5
   22338 echo "$as_me: X server is missing new mode code, using local copy" >&6;}
   22339         else
   22340                 { { echo "$as_me:$LINENO: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&5
   22341 echo "$as_me: error: Must have X server >= 1.3 source tree for mode setting code. Please specify --with-xserver-source" >&2;}
   22342    { (exit 1); exit 1; }; }
   22343         fi
   22344         XMODES_CFLAGS='-DXF86_MODES_RENAME -I$(top_srcdir)/src -I$(top_srcdir)/src/modes -I$(top_srcdir)/src/parser'
   22345 fi
   22346 
   22347 
   22348 
   22349 CPPFLAGS="$SAVE_CPPFLAGS"
   22350 
   22351  if test "x$USE_EXA" = xyes; then
   22352   USE_EXA_TRUE=
   22353   USE_EXA_FALSE='#'
   22354 else
   22355   USE_EXA_TRUE='#'
   22356   USE_EXA_FALSE=
   22357 fi
   22358 
   22359 
   22360 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   22361 
   22362 pkg_failed=no
   22363 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   22364 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   22365 
   22366 if test -n "$PKG_CONFIG"; then
   22367     if test -n "$PCIACCESS_CFLAGS"; then
   22368         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   22369     else
   22370         if test -n "$PKG_CONFIG" && \
   22371     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   22372   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   22373   ac_status=$?
   22374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22375   (exit $ac_status); }; then
   22376   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   22377 else
   22378   pkg_failed=yes
   22379 fi
   22380     fi
   22381 else
   22382 	pkg_failed=untried
   22383 fi
   22384 if test -n "$PKG_CONFIG"; then
   22385     if test -n "$PCIACCESS_LIBS"; then
   22386         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   22387     else
   22388         if test -n "$PKG_CONFIG" && \
   22389     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   22390   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   22391   ac_status=$?
   22392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22393   (exit $ac_status); }; then
   22394   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   22395 else
   22396   pkg_failed=yes
   22397 fi
   22398     fi
   22399 else
   22400 	pkg_failed=untried
   22401 fi
   22402 
   22403 
   22404 
   22405 if test $pkg_failed = yes; then
   22406 
   22407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22408         _pkg_short_errors_supported=yes
   22409 else
   22410         _pkg_short_errors_supported=no
   22411 fi
   22412         if test $_pkg_short_errors_supported = yes; then
   22413 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   22414         else
   22415 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   22416         fi
   22417 	# Put the nasty error message in config.log where it belongs
   22418 	echo "$PCIACCESS_PKG_ERRORS" >&5
   22419 
   22420 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   22421 
   22422 $PCIACCESS_PKG_ERRORS
   22423 
   22424 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22425 installed software in a non-standard prefix.
   22426 
   22427 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22428 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22429 See the pkg-config man page for more details.
   22430 " >&5
   22431 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   22432 
   22433 $PCIACCESS_PKG_ERRORS
   22434 
   22435 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22436 installed software in a non-standard prefix.
   22437 
   22438 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22439 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22440 See the pkg-config man page for more details.
   22441 " >&2;}
   22442    { (exit 1); exit 1; }; }
   22443 elif test $pkg_failed = untried; then
   22444 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22445 is in your PATH or set the PKG_CONFIG environment variable to the full
   22446 path to pkg-config.
   22447 
   22448 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22449 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22450 See the pkg-config man page for more details.
   22451 
   22452 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22453 See \`config.log' for more details." >&5
   22454 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22455 is in your PATH or set the PKG_CONFIG environment variable to the full
   22456 path to pkg-config.
   22457 
   22458 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22459 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22460 See the pkg-config man page for more details.
   22461 
   22462 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22463 See \`config.log' for more details." >&2;}
   22464    { (exit 1); exit 1; }; }
   22465 else
   22466 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   22467 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   22468         { echo "$as_me:$LINENO: result: yes" >&5
   22469 echo "${ECHO_T}yes" >&6; }
   22470 	:
   22471 fi
   22472     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   22473 fi
   22474  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   22475   XSERVER_LIBPCIACCESS_TRUE=
   22476   XSERVER_LIBPCIACCESS_FALSE='#'
   22477 else
   22478   XSERVER_LIBPCIACCESS_TRUE='#'
   22479   XSERVER_LIBPCIACCESS_FALSE=
   22480 fi
   22481 
   22482 
   22483 # Checks for headers/macros for byte swapping
   22484 # Known variants:
   22485 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   22486 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   22487 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   22488 #	and a fallback to local macros if none of the above are found
   22489 
   22490 # if <byteswap.h> is found, assume it's the correct version
   22491 
   22492 for ac_header in byteswap.h
   22493 do
   22494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   22495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   22496   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   22497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   22498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   22499   echo $ECHO_N "(cached) $ECHO_C" >&6
   22500 fi
   22501 ac_res=`eval echo '${'$as_ac_Header'}'`
   22502 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   22503 echo "${ECHO_T}$ac_res" >&6; }
   22504 else
   22505   # Is the header compilable?
   22506 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   22507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   22508 cat >conftest.$ac_ext <<_ACEOF
   22509 /* confdefs.h.  */
   22510 _ACEOF
   22511 cat confdefs.h >>conftest.$ac_ext
   22512 cat >>conftest.$ac_ext <<_ACEOF
   22513 /* end confdefs.h.  */
   22514 $ac_includes_default
   22515 #include <$ac_header>
   22516 _ACEOF
   22517 rm -f conftest.$ac_objext
   22518 if { (ac_try="$ac_compile"
   22519 case "(($ac_try" in
   22520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22521   *) ac_try_echo=$ac_try;;
   22522 esac
   22523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22524   (eval "$ac_compile") 2>conftest.er1
   22525   ac_status=$?
   22526   grep -v '^ *+' conftest.er1 >conftest.err
   22527   rm -f conftest.er1
   22528   cat conftest.err >&5
   22529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22530   (exit $ac_status); } && {
   22531 	 test -z "$ac_c_werror_flag" ||
   22532 	 test ! -s conftest.err
   22533        } && test -s conftest.$ac_objext; then
   22534   ac_header_compiler=yes
   22535 else
   22536   echo "$as_me: failed program was:" >&5
   22537 sed 's/^/| /' conftest.$ac_ext >&5
   22538 
   22539 	ac_header_compiler=no
   22540 fi
   22541 
   22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22543 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   22544 echo "${ECHO_T}$ac_header_compiler" >&6; }
   22545 
   22546 # Is the header present?
   22547 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   22548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   22549 cat >conftest.$ac_ext <<_ACEOF
   22550 /* confdefs.h.  */
   22551 _ACEOF
   22552 cat confdefs.h >>conftest.$ac_ext
   22553 cat >>conftest.$ac_ext <<_ACEOF
   22554 /* end confdefs.h.  */
   22555 #include <$ac_header>
   22556 _ACEOF
   22557 if { (ac_try="$ac_cpp conftest.$ac_ext"
   22558 case "(($ac_try" in
   22559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22560   *) ac_try_echo=$ac_try;;
   22561 esac
   22562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22563   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   22564   ac_status=$?
   22565   grep -v '^ *+' conftest.er1 >conftest.err
   22566   rm -f conftest.er1
   22567   cat conftest.err >&5
   22568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22569   (exit $ac_status); } >/dev/null && {
   22570 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   22571 	 test ! -s conftest.err
   22572        }; then
   22573   ac_header_preproc=yes
   22574 else
   22575   echo "$as_me: failed program was:" >&5
   22576 sed 's/^/| /' conftest.$ac_ext >&5
   22577 
   22578   ac_header_preproc=no
   22579 fi
   22580 
   22581 rm -f conftest.err conftest.$ac_ext
   22582 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   22583 echo "${ECHO_T}$ac_header_preproc" >&6; }
   22584 
   22585 # So?  What about this header?
   22586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   22587   yes:no: )
   22588     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   22589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   22590     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   22591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   22592     ac_header_preproc=yes
   22593     ;;
   22594   no:yes:* )
   22595     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   22596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   22597     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   22598 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   22599     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   22600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   22601     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   22602 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   22603     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   22604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   22605     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   22606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   22607     ( cat <<\_ASBOX
   22608 ## ---------------------------------------------------------------------- ##
   22609 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   22610 ## ---------------------------------------------------------------------- ##
   22611 _ASBOX
   22612      ) | sed "s/^/$as_me: WARNING:     /" >&2
   22613     ;;
   22614 esac
   22615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   22616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   22617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   22618   echo $ECHO_N "(cached) $ECHO_C" >&6
   22619 else
   22620   eval "$as_ac_Header=\$ac_header_preproc"
   22621 fi
   22622 ac_res=`eval echo '${'$as_ac_Header'}'`
   22623 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   22624 echo "${ECHO_T}$ac_res" >&6; }
   22625 
   22626 fi
   22627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   22628   cat >>confdefs.h <<_ACEOF
   22629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   22630 _ACEOF
   22631 
   22632 fi
   22633 
   22634 done
   22635 
   22636 
   22637 # if <sys/endian.h> is found, have to check which version
   22638 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   22639   { echo "$as_me:$LINENO: checking for sys/endian.h" >&5
   22640 echo $ECHO_N "checking for sys/endian.h... $ECHO_C" >&6; }
   22641 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   22642   echo $ECHO_N "(cached) $ECHO_C" >&6
   22643 fi
   22644 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
   22645 echo "${ECHO_T}$ac_cv_header_sys_endian_h" >&6; }
   22646 else
   22647   # Is the header compilable?
   22648 { echo "$as_me:$LINENO: checking sys/endian.h usability" >&5
   22649 echo $ECHO_N "checking sys/endian.h usability... $ECHO_C" >&6; }
   22650 cat >conftest.$ac_ext <<_ACEOF
   22651 /* confdefs.h.  */
   22652 _ACEOF
   22653 cat confdefs.h >>conftest.$ac_ext
   22654 cat >>conftest.$ac_ext <<_ACEOF
   22655 /* end confdefs.h.  */
   22656 $ac_includes_default
   22657 #include <sys/endian.h>
   22658 _ACEOF
   22659 rm -f conftest.$ac_objext
   22660 if { (ac_try="$ac_compile"
   22661 case "(($ac_try" in
   22662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22663   *) ac_try_echo=$ac_try;;
   22664 esac
   22665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22666   (eval "$ac_compile") 2>conftest.er1
   22667   ac_status=$?
   22668   grep -v '^ *+' conftest.er1 >conftest.err
   22669   rm -f conftest.er1
   22670   cat conftest.err >&5
   22671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22672   (exit $ac_status); } && {
   22673 	 test -z "$ac_c_werror_flag" ||
   22674 	 test ! -s conftest.err
   22675        } && test -s conftest.$ac_objext; then
   22676   ac_header_compiler=yes
   22677 else
   22678   echo "$as_me: failed program was:" >&5
   22679 sed 's/^/| /' conftest.$ac_ext >&5
   22680 
   22681 	ac_header_compiler=no
   22682 fi
   22683 
   22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   22686 echo "${ECHO_T}$ac_header_compiler" >&6; }
   22687 
   22688 # Is the header present?
   22689 { echo "$as_me:$LINENO: checking sys/endian.h presence" >&5
   22690 echo $ECHO_N "checking sys/endian.h presence... $ECHO_C" >&6; }
   22691 cat >conftest.$ac_ext <<_ACEOF
   22692 /* confdefs.h.  */
   22693 _ACEOF
   22694 cat confdefs.h >>conftest.$ac_ext
   22695 cat >>conftest.$ac_ext <<_ACEOF
   22696 /* end confdefs.h.  */
   22697 #include <sys/endian.h>
   22698 _ACEOF
   22699 if { (ac_try="$ac_cpp conftest.$ac_ext"
   22700 case "(($ac_try" in
   22701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22702   *) ac_try_echo=$ac_try;;
   22703 esac
   22704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22705   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   22706   ac_status=$?
   22707   grep -v '^ *+' conftest.er1 >conftest.err
   22708   rm -f conftest.er1
   22709   cat conftest.err >&5
   22710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22711   (exit $ac_status); } >/dev/null && {
   22712 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   22713 	 test ! -s conftest.err
   22714        }; then
   22715   ac_header_preproc=yes
   22716 else
   22717   echo "$as_me: failed program was:" >&5
   22718 sed 's/^/| /' conftest.$ac_ext >&5
   22719 
   22720   ac_header_preproc=no
   22721 fi
   22722 
   22723 rm -f conftest.err conftest.$ac_ext
   22724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   22725 echo "${ECHO_T}$ac_header_preproc" >&6; }
   22726 
   22727 # So?  What about this header?
   22728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   22729   yes:no: )
   22730     { echo "$as_me:$LINENO: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
   22731 echo "$as_me: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   22732     { echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the compiler's result" >&5
   22733 echo "$as_me: WARNING: sys/endian.h: proceeding with the compiler's result" >&2;}
   22734     ac_header_preproc=yes
   22735     ;;
   22736   no:yes:* )
   22737     { echo "$as_me:$LINENO: WARNING: sys/endian.h: present but cannot be compiled" >&5
   22738 echo "$as_me: WARNING: sys/endian.h: present but cannot be compiled" >&2;}
   22739     { echo "$as_me:$LINENO: WARNING: sys/endian.h:     check for missing prerequisite headers?" >&5
   22740 echo "$as_me: WARNING: sys/endian.h:     check for missing prerequisite headers?" >&2;}
   22741     { echo "$as_me:$LINENO: WARNING: sys/endian.h: see the Autoconf documentation" >&5
   22742 echo "$as_me: WARNING: sys/endian.h: see the Autoconf documentation" >&2;}
   22743     { echo "$as_me:$LINENO: WARNING: sys/endian.h:     section \"Present But Cannot Be Compiled\"" >&5
   22744 echo "$as_me: WARNING: sys/endian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   22745     { echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&5
   22746 echo "$as_me: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&2;}
   22747     { echo "$as_me:$LINENO: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&5
   22748 echo "$as_me: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&2;}
   22749     ( cat <<\_ASBOX
   22750 ## ---------------------------------------------------------------------- ##
   22751 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   22752 ## ---------------------------------------------------------------------- ##
   22753 _ASBOX
   22754      ) | sed "s/^/$as_me: WARNING:     /" >&2
   22755     ;;
   22756 esac
   22757 { echo "$as_me:$LINENO: checking for sys/endian.h" >&5
   22758 echo $ECHO_N "checking for sys/endian.h... $ECHO_C" >&6; }
   22759 if test "${ac_cv_header_sys_endian_h+set}" = set; then
   22760   echo $ECHO_N "(cached) $ECHO_C" >&6
   22761 else
   22762   ac_cv_header_sys_endian_h=$ac_header_preproc
   22763 fi
   22764 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
   22765 echo "${ECHO_T}$ac_cv_header_sys_endian_h" >&6; }
   22766 
   22767 fi
   22768 if test $ac_cv_header_sys_endian_h = yes; then
   22769   HAVE_SYS_ENDIAN_H="yes"
   22770 else
   22771   HAVE_SYS_ENDIAN_H="no"
   22772 fi
   22773 
   22774 
   22775 
   22776 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   22777 	{ echo "$as_me:$LINENO: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   22778 echo $ECHO_N "checking for __swap16 variant of <sys/endian.h> byteswapping macros... $ECHO_C" >&6; }
   22779 	cat >conftest.$ac_ext <<_ACEOF
   22780 /* confdefs.h.  */
   22781 _ACEOF
   22782 cat confdefs.h >>conftest.$ac_ext
   22783 cat >>conftest.$ac_ext <<_ACEOF
   22784 /* end confdefs.h.  */
   22785 
   22786 #include <sys/types.h>
   22787 #include <sys/endian.h>
   22788 
   22789 int
   22790 main ()
   22791 {
   22792 
   22793 int a = 1, b;
   22794 b = __swap16(a);
   22795 
   22796   ;
   22797   return 0;
   22798 }
   22799 
   22800 _ACEOF
   22801 rm -f conftest.$ac_objext conftest$ac_exeext
   22802 if { (ac_try="$ac_link"
   22803 case "(($ac_try" in
   22804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22805   *) ac_try_echo=$ac_try;;
   22806 esac
   22807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22808   (eval "$ac_link") 2>conftest.er1
   22809   ac_status=$?
   22810   grep -v '^ *+' conftest.er1 >conftest.err
   22811   rm -f conftest.er1
   22812   cat conftest.err >&5
   22813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22814   (exit $ac_status); } && {
   22815 	 test -z "$ac_c_werror_flag" ||
   22816 	 test ! -s conftest.err
   22817        } && test -s conftest$ac_exeext &&
   22818        $as_test_x conftest$ac_exeext; then
   22819   SYS_ENDIAN__SWAP='yes'
   22820 else
   22821   echo "$as_me: failed program was:" >&5
   22822 sed 's/^/| /' conftest.$ac_ext >&5
   22823 
   22824 	SYS_ENDIAN__SWAP='no'
   22825 fi
   22826 
   22827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22828       conftest$ac_exeext conftest.$ac_ext
   22829 	{ echo "$as_me:$LINENO: result: $SYS_ENDIAN__SWAP" >&5
   22830 echo "${ECHO_T}$SYS_ENDIAN__SWAP" >&6; }
   22831 
   22832 	{ echo "$as_me:$LINENO: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   22833 echo $ECHO_N "checking for bswap16 variant of <sys/endian.h> byteswapping macros... $ECHO_C" >&6; }
   22834 	cat >conftest.$ac_ext <<_ACEOF
   22835 /* confdefs.h.  */
   22836 _ACEOF
   22837 cat confdefs.h >>conftest.$ac_ext
   22838 cat >>conftest.$ac_ext <<_ACEOF
   22839 /* end confdefs.h.  */
   22840 
   22841 #include <sys/types.h>
   22842 #include <sys/endian.h>
   22843 
   22844 int
   22845 main ()
   22846 {
   22847 
   22848 int a = 1, b;
   22849 b = bswap16(a);
   22850 
   22851   ;
   22852   return 0;
   22853 }
   22854 
   22855 _ACEOF
   22856 rm -f conftest.$ac_objext conftest$ac_exeext
   22857 if { (ac_try="$ac_link"
   22858 case "(($ac_try" in
   22859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22860   *) ac_try_echo=$ac_try;;
   22861 esac
   22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   22863   (eval "$ac_link") 2>conftest.er1
   22864   ac_status=$?
   22865   grep -v '^ *+' conftest.er1 >conftest.err
   22866   rm -f conftest.er1
   22867   cat conftest.err >&5
   22868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22869   (exit $ac_status); } && {
   22870 	 test -z "$ac_c_werror_flag" ||
   22871 	 test ! -s conftest.err
   22872        } && test -s conftest$ac_exeext &&
   22873        $as_test_x conftest$ac_exeext; then
   22874   SYS_ENDIAN_BSWAP='yes'
   22875 else
   22876   echo "$as_me: failed program was:" >&5
   22877 sed 's/^/| /' conftest.$ac_ext >&5
   22878 
   22879 	SYS_ENDIAN_BSWAP='no'
   22880 fi
   22881 
   22882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22883       conftest$ac_exeext conftest.$ac_ext
   22884 	{ echo "$as_me:$LINENO: result: $SYS_ENDIAN_BSWAP" >&5
   22885 echo "${ECHO_T}$SYS_ENDIAN_BSWAP" >&6; }
   22886 
   22887     	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   22888 		USE_SYS_ENDIAN_H=yes
   22889 		BSWAP=bswap
   22890 	else
   22891 	    	if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   22892 			USE_SYS_ENDIAN_H=yes
   22893 			BSWAP=__swap
   22894 		else
   22895 			USE_SYS_ENDIAN_H=no
   22896 		fi
   22897 	fi
   22898 
   22899 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   22900 
   22901 cat >>confdefs.h <<\_ACEOF
   22902 #define USE_SYS_ENDIAN_H 1
   22903 _ACEOF
   22904 
   22905 
   22906 cat >>confdefs.h <<_ACEOF
   22907 #define bswap_16 ${BSWAP}16
   22908 _ACEOF
   22909 
   22910 
   22911 cat >>confdefs.h <<_ACEOF
   22912 #define bswap_32 ${BSWAP}32
   22913 _ACEOF
   22914 
   22915 
   22916 cat >>confdefs.h <<_ACEOF
   22917 #define bswap_64 ${BSWAP}64
   22918 _ACEOF
   22919 
   22920 	fi
   22921 fi
   22922 
   22923 case $host_os in
   22924   *linux*)
   22925 
   22926 cat >>confdefs.h <<\_ACEOF
   22927 #define FGL_LINUX 1
   22928 _ACEOF
   22929  ;;
   22930 esac
   22931 
   22932 
   22933 
   22934 
   22935 
   22936 DRIVER_NAME=ati
   22937 
   22938 
   22939 
   22940 
   22941 
   22942 if test x$APP_MAN_SUFFIX = x    ; then
   22943     APP_MAN_SUFFIX=1
   22944 fi
   22945 if test x$APP_MAN_DIR = x    ; then
   22946     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   22947 fi
   22948 
   22949 if test x$LIB_MAN_SUFFIX = x    ; then
   22950     LIB_MAN_SUFFIX=3
   22951 fi
   22952 if test x$LIB_MAN_DIR = x    ; then
   22953     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   22954 fi
   22955 
   22956 if test x$FILE_MAN_SUFFIX = x    ; then
   22957     case $host_os in
   22958 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   22959 	*)		FILE_MAN_SUFFIX=5  ;;
   22960     esac
   22961 fi
   22962 if test x$FILE_MAN_DIR = x    ; then
   22963     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   22964 fi
   22965 
   22966 if test x$MISC_MAN_SUFFIX = x    ; then
   22967     case $host_os in
   22968 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   22969 	*)		MISC_MAN_SUFFIX=7  ;;
   22970     esac
   22971 fi
   22972 if test x$MISC_MAN_DIR = x    ; then
   22973     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   22974 fi
   22975 
   22976 if test x$DRIVER_MAN_SUFFIX = x    ; then
   22977     case $host_os in
   22978 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   22979 	*)		DRIVER_MAN_SUFFIX=4  ;;
   22980     esac
   22981 fi
   22982 if test x$DRIVER_MAN_DIR = x    ; then
   22983     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   22984 fi
   22985 
   22986 if test x$ADMIN_MAN_SUFFIX = x    ; then
   22987     case $host_os in
   22988 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   22989 	*)		ADMIN_MAN_SUFFIX=8  ;;
   22990     esac
   22991 fi
   22992 if test x$ADMIN_MAN_DIR = x    ; then
   22993     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   22994 fi
   22995 
   22996 
   22997 
   22998 
   22999 
   23000 
   23001 
   23002 
   23003 
   23004 
   23005 
   23006 
   23007 
   23008 
   23009 
   23010 
   23011 
   23012 # Check whether --with-release-version was given.
   23013 if test "${with_release_version+set}" = set; then
   23014   withval=$with_release_version; RELEASE_VERSION="$withval"
   23015 else
   23016   RELEASE_VERSION=""
   23017 fi
   23018 
   23019 	if test "x$RELEASE_VERSION" != "x"; then
   23020 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   23021 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   23022 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   23023 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   23024 	fi
   23025 
   23026 cat >>confdefs.h <<_ACEOF
   23027 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   23028 _ACEOF
   23029 
   23030 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   23031 	if test "x$PVM" = "x"; then
   23032 		PVM="0"
   23033 	fi
   23034 
   23035 cat >>confdefs.h <<_ACEOF
   23036 #define PACKAGE_VERSION_MINOR $PVM
   23037 _ACEOF
   23038 
   23039 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   23040 	if test "x$PVP" = "x"; then
   23041 		PVP="0"
   23042 	fi
   23043 
   23044 cat >>confdefs.h <<_ACEOF
   23045 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   23046 _ACEOF
   23047 
   23048 
   23049 
   23050 XORG_SGML_PATH=$prefix/share/sgml
   23051 HAVE_DEFS_ENT=
   23052 
   23053 if test x"$cross_compiling" = x"yes" ; then
   23054   HAVE_DEFS_ENT=no
   23055 else
   23056   as_ac_File=`echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   23057 { echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   23058 echo $ECHO_N "checking for $XORG_SGML_PATH/X11/defs.ent... $ECHO_C" >&6; }
   23059 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   23060   echo $ECHO_N "(cached) $ECHO_C" >&6
   23061 else
   23062   test "$cross_compiling" = yes &&
   23063   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   23064 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   23065    { (exit 1); exit 1; }; }
   23066 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   23067   eval "$as_ac_File=yes"
   23068 else
   23069   eval "$as_ac_File=no"
   23070 fi
   23071 fi
   23072 ac_res=`eval echo '${'$as_ac_File'}'`
   23073 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   23074 echo "${ECHO_T}$ac_res" >&6; }
   23075 if test `eval echo '${'$as_ac_File'}'` = yes; then
   23076   HAVE_DEFS_ENT=yes
   23077 fi
   23078 
   23079 fi
   23080 
   23081 # Extract the first word of "linuxdoc", so it can be a program name with args.
   23082 set dummy linuxdoc; ac_word=$2
   23083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   23084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   23085 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   23086   echo $ECHO_N "(cached) $ECHO_C" >&6
   23087 else
   23088   case $LINUXDOC in
   23089   [\\/]* | ?:[\\/]*)
   23090   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   23091   ;;
   23092   *)
   23093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23094 for as_dir in $PATH
   23095 do
   23096   IFS=$as_save_IFS
   23097   test -z "$as_dir" && as_dir=.
   23098   for ac_exec_ext in '' $ac_executable_extensions; do
   23099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   23100     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   23101     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   23102     break 2
   23103   fi
   23104 done
   23105 done
   23106 IFS=$as_save_IFS
   23107 
   23108   ;;
   23109 esac
   23110 fi
   23111 LINUXDOC=$ac_cv_path_LINUXDOC
   23112 if test -n "$LINUXDOC"; then
   23113   { echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   23114 echo "${ECHO_T}$LINUXDOC" >&6; }
   23115 else
   23116   { echo "$as_me:$LINENO: result: no" >&5
   23117 echo "${ECHO_T}no" >&6; }
   23118 fi
   23119 
   23120 
   23121 # Extract the first word of "ps2pdf", so it can be a program name with args.
   23122 set dummy ps2pdf; ac_word=$2
   23123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   23124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   23125 if test "${ac_cv_path_PS2PDF+set}" = set; then
   23126   echo $ECHO_N "(cached) $ECHO_C" >&6
   23127 else
   23128   case $PS2PDF in
   23129   [\\/]* | ?:[\\/]*)
   23130   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   23131   ;;
   23132   *)
   23133   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23134 for as_dir in $PATH
   23135 do
   23136   IFS=$as_save_IFS
   23137   test -z "$as_dir" && as_dir=.
   23138   for ac_exec_ext in '' $ac_executable_extensions; do
   23139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   23140     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   23141     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   23142     break 2
   23143   fi
   23144 done
   23145 done
   23146 IFS=$as_save_IFS
   23147 
   23148   ;;
   23149 esac
   23150 fi
   23151 PS2PDF=$ac_cv_path_PS2PDF
   23152 if test -n "$PS2PDF"; then
   23153   { echo "$as_me:$LINENO: result: $PS2PDF" >&5
   23154 echo "${ECHO_T}$PS2PDF" >&6; }
   23155 else
   23156   { echo "$as_me:$LINENO: result: no" >&5
   23157 echo "${ECHO_T}no" >&6; }
   23158 fi
   23159 
   23160 
   23161 
   23162 { echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   23163 echo $ECHO_N "checking Whether to build documentation... $ECHO_C" >&6; }
   23164 
   23165 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   23166    BUILDDOC=yes
   23167 else
   23168    BUILDDOC=no
   23169 fi
   23170 
   23171  if test x$BUILDDOC = xyes; then
   23172   BUILD_LINUXDOC_TRUE=
   23173   BUILD_LINUXDOC_FALSE='#'
   23174 else
   23175   BUILD_LINUXDOC_TRUE='#'
   23176   BUILD_LINUXDOC_FALSE=
   23177 fi
   23178 
   23179 
   23180 { echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   23181 echo "${ECHO_T}$BUILDDOC" >&6; }
   23182 
   23183 { echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   23184 echo $ECHO_N "checking Whether to build pdf documentation... $ECHO_C" >&6; }
   23185 
   23186 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   23187    BUILDPDFDOC=yes
   23188 else
   23189    BUILDPDFDOC=no
   23190 fi
   23191 
   23192  if test x$BUILDPDFDOC = xyes; then
   23193   BUILD_PDFDOC_TRUE=
   23194   BUILD_PDFDOC_FALSE='#'
   23195 else
   23196   BUILD_PDFDOC_TRUE='#'
   23197   BUILD_PDFDOC_FALSE=
   23198 fi
   23199 
   23200 
   23201 { echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   23202 echo "${ECHO_T}$BUILDPDFDOC" >&6; }
   23203 
   23204 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   23205 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   23206 MAKE_PDF="$PS2PDF"
   23207 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   23208 
   23209 
   23210 
   23211 
   23212 
   23213 
   23214 
   23215 { echo "$as_me:$LINENO: The atimisc sub-driver has been split out to xf86-video-mach64:
   23216     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   23217 Please install that driver as well for mach64-based cards.
   23218 " >&5
   23219 echo "$as_me: The atimisc sub-driver has been split out to xf86-video-mach64:
   23220     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
   23221 Please install that driver as well for mach64-based cards.
   23222 " >&6;}
   23223 
   23224 { echo "$as_me:$LINENO: The r128 sub-driver has been split out to xf86-video-r128:
   23225     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   23226 Please install that driver as well for rage128-based cards.
   23227 " >&5
   23228 echo "$as_me: The r128 sub-driver has been split out to xf86-video-r128:
   23229     git://anongit.freedesktop.org/git/xorg/driver/xf86-video-r128
   23230 Please install that driver as well for rage128-based cards.
   23231 " >&6;}
   23232 
   23233 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   23234 
   23235 cat >confcache <<\_ACEOF
   23236 # This file is a shell script that caches the results of configure
   23237 # tests run on this system so they can be shared between configure
   23238 # scripts and configure runs, see configure's option --config-cache.
   23239 # It is not useful on other systems.  If it contains results you don't
   23240 # want to keep, you may remove or edit it.
   23241 #
   23242 # config.status only pays attention to the cache file if you give it
   23243 # the --recheck option to rerun configure.
   23244 #
   23245 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   23246 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   23247 # following values.
   23248 
   23249 _ACEOF
   23250 
   23251 # The following way of writing the cache mishandles newlines in values,
   23252 # but we know of no workaround that is simple, portable, and efficient.
   23253 # So, we kill variables containing newlines.
   23254 # Ultrix sh set writes to stderr and can't be redirected directly,
   23255 # and sets the high bit in the cache file unless we assign to the vars.
   23256 (
   23257   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   23258     eval ac_val=\$$ac_var
   23259     case $ac_val in #(
   23260     *${as_nl}*)
   23261       case $ac_var in #(
   23262       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   23263 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   23264       esac
   23265       case $ac_var in #(
   23266       _ | IFS | as_nl) ;; #(
   23267       *) $as_unset $ac_var ;;
   23268       esac ;;
   23269     esac
   23270   done
   23271 
   23272   (set) 2>&1 |
   23273     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   23274     *${as_nl}ac_space=\ *)
   23275       # `set' does not quote correctly, so add quotes (double-quote
   23276       # substitution turns \\\\ into \\, and sed turns \\ into \).
   23277       sed -n \
   23278 	"s/'/'\\\\''/g;
   23279 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   23280       ;; #(
   23281     *)
   23282       # `set' quotes correctly as required by POSIX, so do not add quotes.
   23283       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   23284       ;;
   23285     esac |
   23286     sort
   23287 ) |
   23288   sed '
   23289      /^ac_cv_env_/b end
   23290      t clear
   23291      :clear
   23292      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   23293      t end
   23294      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   23295      :end' >>confcache
   23296 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   23297   if test -w "$cache_file"; then
   23298     test "x$cache_file" != "x/dev/null" &&
   23299       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   23300 echo "$as_me: updating cache $cache_file" >&6;}
   23301     cat confcache >$cache_file
   23302   else
   23303     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   23304 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   23305   fi
   23306 fi
   23307 rm -f confcache
   23308 
   23309 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   23310 # Let make expand exec_prefix.
   23311 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   23312 
   23313 DEFS=-DHAVE_CONFIG_H
   23314 
   23315 ac_libobjs=
   23316 ac_ltlibobjs=
   23317 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   23318   # 1. Remove the extension, and $U if already installed.
   23319   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   23320   ac_i=`echo "$ac_i" | sed "$ac_script"`
   23321   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   23322   #    will be set to the directory where LIBOBJS objects are built.
   23323   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   23324   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   23325 done
   23326 LIBOBJS=$ac_libobjs
   23327 
   23328 LTLIBOBJS=$ac_ltlibobjs
   23329 
   23330 
   23331 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   23332   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   23333 Usually this means the macro was only invoked conditionally." >&5
   23334 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   23335 Usually this means the macro was only invoked conditionally." >&2;}
   23336    { (exit 1); exit 1; }; }
   23337 fi
   23338 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   23339   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   23340 Usually this means the macro was only invoked conditionally." >&5
   23341 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   23342 Usually this means the macro was only invoked conditionally." >&2;}
   23343    { (exit 1); exit 1; }; }
   23344 fi
   23345 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23346   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   23347 Usually this means the macro was only invoked conditionally." >&5
   23348 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   23349 Usually this means the macro was only invoked conditionally." >&2;}
   23350    { (exit 1); exit 1; }; }
   23351 fi
   23352 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   23353   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   23354 Usually this means the macro was only invoked conditionally." >&5
   23355 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   23356 Usually this means the macro was only invoked conditionally." >&2;}
   23357    { (exit 1); exit 1; }; }
   23358 fi
   23359 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23360   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   23361 Usually this means the macro was only invoked conditionally." >&5
   23362 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   23363 Usually this means the macro was only invoked conditionally." >&2;}
   23364    { (exit 1); exit 1; }; }
   23365 fi
   23366 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   23367   { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   23368 Usually this means the macro was only invoked conditionally." >&5
   23369 echo "$as_me: error: conditional \"DRI\" was never defined.
   23370 Usually this means the macro was only invoked conditionally." >&2;}
   23371    { (exit 1); exit 1; }; }
   23372 fi
   23373 if test -z "${XMODES_TRUE}" && test -z "${XMODES_FALSE}"; then
   23374   { { echo "$as_me:$LINENO: error: conditional \"XMODES\" was never defined.
   23375 Usually this means the macro was only invoked conditionally." >&5
   23376 echo "$as_me: error: conditional \"XMODES\" was never defined.
   23377 Usually this means the macro was only invoked conditionally." >&2;}
   23378    { (exit 1); exit 1; }; }
   23379 fi
   23380 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   23381   { { echo "$as_me:$LINENO: error: conditional \"USE_EXA\" was never defined.
   23382 Usually this means the macro was only invoked conditionally." >&5
   23383 echo "$as_me: error: conditional \"USE_EXA\" was never defined.
   23384 Usually this means the macro was only invoked conditionally." >&2;}
   23385    { (exit 1); exit 1; }; }
   23386 fi
   23387 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   23388   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   23389 Usually this means the macro was only invoked conditionally." >&5
   23390 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   23391 Usually this means the macro was only invoked conditionally." >&2;}
   23392    { (exit 1); exit 1; }; }
   23393 fi
   23394 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   23395   { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   23396 Usually this means the macro was only invoked conditionally." >&5
   23397 echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   23398 Usually this means the macro was only invoked conditionally." >&2;}
   23399    { (exit 1); exit 1; }; }
   23400 fi
   23401 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   23402   { { echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   23403 Usually this means the macro was only invoked conditionally." >&5
   23404 echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   23405 Usually this means the macro was only invoked conditionally." >&2;}
   23406    { (exit 1); exit 1; }; }
   23407 fi
   23408 
   23409 : ${CONFIG_STATUS=./config.status}
   23410 ac_clean_files_save=$ac_clean_files
   23411 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   23412 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   23413 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   23414 cat >$CONFIG_STATUS <<_ACEOF
   23415 #! $SHELL
   23416 # Generated by $as_me.
   23417 # Run this file to recreate the current configuration.
   23418 # Compiler output produced by configure, useful for debugging
   23419 # configure, is in config.log if it exists.
   23420 
   23421 debug=false
   23422 ac_cs_recheck=false
   23423 ac_cs_silent=false
   23424 SHELL=\${CONFIG_SHELL-$SHELL}
   23425 _ACEOF
   23426 
   23427 cat >>$CONFIG_STATUS <<\_ACEOF
   23428 ## --------------------- ##
   23429 ## M4sh Initialization.  ##
   23430 ## --------------------- ##
   23431 
   23432 # Be more Bourne compatible
   23433 DUALCASE=1; export DUALCASE # for MKS sh
   23434 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   23435   emulate sh
   23436   NULLCMD=:
   23437   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   23438   # is contrary to our usage.  Disable this feature.
   23439   alias -g '${1+"$@"}'='"$@"'
   23440   setopt NO_GLOB_SUBST
   23441 else
   23442   case `(set -o) 2>/dev/null` in
   23443   *posix*) set -o posix ;;
   23444 esac
   23445 
   23446 fi
   23447 
   23448 
   23449 
   23450 
   23451 # PATH needs CR
   23452 # Avoid depending upon Character Ranges.
   23453 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   23454 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   23455 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   23456 as_cr_digits='0123456789'
   23457 as_cr_alnum=$as_cr_Letters$as_cr_digits
   23458 
   23459 # The user is always right.
   23460 if test "${PATH_SEPARATOR+set}" != set; then
   23461   echo "#! /bin/sh" >conf$$.sh
   23462   echo  "exit 0"   >>conf$$.sh
   23463   chmod +x conf$$.sh
   23464   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   23465     PATH_SEPARATOR=';'
   23466   else
   23467     PATH_SEPARATOR=:
   23468   fi
   23469   rm -f conf$$.sh
   23470 fi
   23471 
   23472 # Support unset when possible.
   23473 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   23474   as_unset=unset
   23475 else
   23476   as_unset=false
   23477 fi
   23478 
   23479 
   23480 # IFS
   23481 # We need space, tab and new line, in precisely that order.  Quoting is
   23482 # there to prevent editors from complaining about space-tab.
   23483 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   23484 # splitting by setting IFS to empty value.)
   23485 as_nl='
   23486 '
   23487 IFS=" ""	$as_nl"
   23488 
   23489 # Find who we are.  Look in the path if we contain no directory separator.
   23490 case $0 in
   23491   *[\\/]* ) as_myself=$0 ;;
   23492   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23493 for as_dir in $PATH
   23494 do
   23495   IFS=$as_save_IFS
   23496   test -z "$as_dir" && as_dir=.
   23497   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   23498 done
   23499 IFS=$as_save_IFS
   23500 
   23501      ;;
   23502 esac
   23503 # We did not find ourselves, most probably we were run as `sh COMMAND'
   23504 # in which case we are not to be found in the path.
   23505 if test "x$as_myself" = x; then
   23506   as_myself=$0
   23507 fi
   23508 if test ! -f "$as_myself"; then
   23509   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   23510   { (exit 1); exit 1; }
   23511 fi
   23512 
   23513 # Work around bugs in pre-3.0 UWIN ksh.
   23514 for as_var in ENV MAIL MAILPATH
   23515 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   23516 done
   23517 PS1='$ '
   23518 PS2='> '
   23519 PS4='+ '
   23520 
   23521 # NLS nuisances.
   23522 for as_var in \
   23523   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   23524   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   23525   LC_TELEPHONE LC_TIME
   23526 do
   23527   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   23528     eval $as_var=C; export $as_var
   23529   else
   23530     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   23531   fi
   23532 done
   23533 
   23534 # Required to use basename.
   23535 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23536    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23537   as_expr=expr
   23538 else
   23539   as_expr=false
   23540 fi
   23541 
   23542 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   23543   as_basename=basename
   23544 else
   23545   as_basename=false
   23546 fi
   23547 
   23548 
   23549 # Name of the executable.
   23550 as_me=`$as_basename -- "$0" ||
   23551 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   23552 	 X"$0" : 'X\(//\)$' \| \
   23553 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   23554 echo X/"$0" |
   23555     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23556 	    s//\1/
   23557 	    q
   23558 	  }
   23559 	  /^X\/\(\/\/\)$/{
   23560 	    s//\1/
   23561 	    q
   23562 	  }
   23563 	  /^X\/\(\/\).*/{
   23564 	    s//\1/
   23565 	    q
   23566 	  }
   23567 	  s/.*/./; q'`
   23568 
   23569 # CDPATH.
   23570 $as_unset CDPATH
   23571 
   23572 
   23573 
   23574   as_lineno_1=$LINENO
   23575   as_lineno_2=$LINENO
   23576   test "x$as_lineno_1" != "x$as_lineno_2" &&
   23577   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   23578 
   23579   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   23580   # uniformly replaced by the line number.  The first 'sed' inserts a
   23581   # line-number line after each line using $LINENO; the second 'sed'
   23582   # does the real work.  The second script uses 'N' to pair each
   23583   # line-number line with the line containing $LINENO, and appends
   23584   # trailing '-' during substitution so that $LINENO is not a special
   23585   # case at line end.
   23586   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   23587   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   23588   # E. McMahon (1931-1989) for sed's syntax.  :-)
   23589   sed -n '
   23590     p
   23591     /[$]LINENO/=
   23592   ' <$as_myself |
   23593     sed '
   23594       s/[$]LINENO.*/&-/
   23595       t lineno
   23596       b
   23597       :lineno
   23598       N
   23599       :loop
   23600       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   23601       t loop
   23602       s/-\n.*//
   23603     ' >$as_me.lineno &&
   23604   chmod +x "$as_me.lineno" ||
   23605     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   23606    { (exit 1); exit 1; }; }
   23607 
   23608   # Don't try to exec as it changes $[0], causing all sort of problems
   23609   # (the dirname of $[0] is not the place where we might find the
   23610   # original and so on.  Autoconf is especially sensitive to this).
   23611   . "./$as_me.lineno"
   23612   # Exit status is that of the last command.
   23613   exit
   23614 }
   23615 
   23616 
   23617 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   23618   as_dirname=dirname
   23619 else
   23620   as_dirname=false
   23621 fi
   23622 
   23623 ECHO_C= ECHO_N= ECHO_T=
   23624 case `echo -n x` in
   23625 -n*)
   23626   case `echo 'x\c'` in
   23627   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   23628   *)   ECHO_C='\c';;
   23629   esac;;
   23630 *)
   23631   ECHO_N='-n';;
   23632 esac
   23633 
   23634 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23635    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23636   as_expr=expr
   23637 else
   23638   as_expr=false
   23639 fi
   23640 
   23641 rm -f conf$$ conf$$.exe conf$$.file
   23642 if test -d conf$$.dir; then
   23643   rm -f conf$$.dir/conf$$.file
   23644 else
   23645   rm -f conf$$.dir
   23646   mkdir conf$$.dir
   23647 fi
   23648 echo >conf$$.file
   23649 if ln -s conf$$.file conf$$ 2>/dev/null; then
   23650   as_ln_s='ln -s'
   23651   # ... but there are two gotchas:
   23652   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   23653   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   23654   # In both cases, we have to default to `cp -p'.
   23655   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23656     as_ln_s='cp -p'
   23657 elif ln conf$$.file conf$$ 2>/dev/null; then
   23658   as_ln_s=ln
   23659 else
   23660   as_ln_s='cp -p'
   23661 fi
   23662 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23663 rmdir conf$$.dir 2>/dev/null
   23664 
   23665 if mkdir -p . 2>/dev/null; then
   23666   as_mkdir_p=:
   23667 else
   23668   test -d ./-p && rmdir ./-p
   23669   as_mkdir_p=false
   23670 fi
   23671 
   23672 if test -x / >/dev/null 2>&1; then
   23673   as_test_x='test -x'
   23674 else
   23675   if ls -dL / >/dev/null 2>&1; then
   23676     as_ls_L_option=L
   23677   else
   23678     as_ls_L_option=
   23679   fi
   23680   as_test_x='
   23681     eval sh -c '\''
   23682       if test -d "$1"; then
   23683         test -d "$1/.";
   23684       else
   23685 	case $1 in
   23686         -*)set "./$1";;
   23687 	esac;
   23688 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   23689 	???[sx]*):;;*)false;;esac;fi
   23690     '\'' sh
   23691   '
   23692 fi
   23693 as_executable_p=$as_test_x
   23694 
   23695 # Sed expression to map a string onto a valid CPP name.
   23696 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23697 
   23698 # Sed expression to map a string onto a valid variable name.
   23699 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23700 
   23701 
   23702 exec 6>&1
   23703 
   23704 # Save the log message, to keep $[0] and so on meaningful, and to
   23705 # report actual input values of CONFIG_FILES etc. instead of their
   23706 # values after options handling.
   23707 ac_log="
   23708 This file was extended by xf86-video-ati $as_me 6.12.2, which was
   23709 generated by GNU Autoconf 2.61.  Invocation command line was
   23710 
   23711   CONFIG_FILES    = $CONFIG_FILES
   23712   CONFIG_HEADERS  = $CONFIG_HEADERS
   23713   CONFIG_LINKS    = $CONFIG_LINKS
   23714   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23715   $ $0 $@
   23716 
   23717 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23718 "
   23719 
   23720 _ACEOF
   23721 
   23722 cat >>$CONFIG_STATUS <<_ACEOF
   23723 # Files that config.status was made for.
   23724 config_files="$ac_config_files"
   23725 config_headers="$ac_config_headers"
   23726 config_commands="$ac_config_commands"
   23727 
   23728 _ACEOF
   23729 
   23730 cat >>$CONFIG_STATUS <<\_ACEOF
   23731 ac_cs_usage="\
   23732 \`$as_me' instantiates files from templates according to the
   23733 current configuration.
   23734 
   23735 Usage: $0 [OPTIONS] [FILE]...
   23736 
   23737   -h, --help       print this help, then exit
   23738   -V, --version    print version number and configuration settings, then exit
   23739   -q, --quiet      do not print progress messages
   23740   -d, --debug      don't remove temporary files
   23741       --recheck    update $as_me by reconfiguring in the same conditions
   23742   --file=FILE[:TEMPLATE]
   23743 		   instantiate the configuration file FILE
   23744   --header=FILE[:TEMPLATE]
   23745 		   instantiate the configuration header FILE
   23746 
   23747 Configuration files:
   23748 $config_files
   23749 
   23750 Configuration headers:
   23751 $config_headers
   23752 
   23753 Configuration commands:
   23754 $config_commands
   23755 
   23756 Report bugs to <bug-autoconf (at] gnu.org>."
   23757 
   23758 _ACEOF
   23759 cat >>$CONFIG_STATUS <<_ACEOF
   23760 ac_cs_version="\\
   23761 xf86-video-ati config.status 6.12.2
   23762 configured by $0, generated by GNU Autoconf 2.61,
   23763   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23764 
   23765 Copyright (C) 2006 Free Software Foundation, Inc.
   23766 This config.status script is free software; the Free Software Foundation
   23767 gives unlimited permission to copy, distribute and modify it."
   23768 
   23769 ac_pwd='$ac_pwd'
   23770 srcdir='$srcdir'
   23771 INSTALL='$INSTALL'
   23772 MKDIR_P='$MKDIR_P'
   23773 _ACEOF
   23774 
   23775 cat >>$CONFIG_STATUS <<\_ACEOF
   23776 # If no file are specified by the user, then we need to provide default
   23777 # value.  By we need to know if files were specified by the user.
   23778 ac_need_defaults=:
   23779 while test $# != 0
   23780 do
   23781   case $1 in
   23782   --*=*)
   23783     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23784     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23785     ac_shift=:
   23786     ;;
   23787   *)
   23788     ac_option=$1
   23789     ac_optarg=$2
   23790     ac_shift=shift
   23791     ;;
   23792   esac
   23793 
   23794   case $ac_option in
   23795   # Handling of the options.
   23796   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23797     ac_cs_recheck=: ;;
   23798   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23799     echo "$ac_cs_version"; exit ;;
   23800   --debug | --debu | --deb | --de | --d | -d )
   23801     debug=: ;;
   23802   --file | --fil | --fi | --f )
   23803     $ac_shift
   23804     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   23805     ac_need_defaults=false;;
   23806   --header | --heade | --head | --hea )
   23807     $ac_shift
   23808     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   23809     ac_need_defaults=false;;
   23810   --he | --h)
   23811     # Conflict between --help and --header
   23812     { echo "$as_me: error: ambiguous option: $1
   23813 Try \`$0 --help' for more information." >&2
   23814    { (exit 1); exit 1; }; };;
   23815   --help | --hel | -h )
   23816     echo "$ac_cs_usage"; exit ;;
   23817   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23818   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23819     ac_cs_silent=: ;;
   23820 
   23821   # This is an error.
   23822   -*) { echo "$as_me: error: unrecognized option: $1
   23823 Try \`$0 --help' for more information." >&2
   23824    { (exit 1); exit 1; }; } ;;
   23825 
   23826   *) ac_config_targets="$ac_config_targets $1"
   23827      ac_need_defaults=false ;;
   23828 
   23829   esac
   23830   shift
   23831 done
   23832 
   23833 ac_configure_extra_args=
   23834 
   23835 if $ac_cs_silent; then
   23836   exec 6>/dev/null
   23837   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23838 fi
   23839 
   23840 _ACEOF
   23841 cat >>$CONFIG_STATUS <<_ACEOF
   23842 if \$ac_cs_recheck; then
   23843   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   23844   CONFIG_SHELL=$SHELL
   23845   export CONFIG_SHELL
   23846   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23847 fi
   23848 
   23849 _ACEOF
   23850 cat >>$CONFIG_STATUS <<\_ACEOF
   23851 exec 5>>config.log
   23852 {
   23853   echo
   23854   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23855 ## Running $as_me. ##
   23856 _ASBOX
   23857   echo "$ac_log"
   23858 } >&5
   23859 
   23860 _ACEOF
   23861 cat >>$CONFIG_STATUS <<_ACEOF
   23862 #
   23863 # INIT-COMMANDS
   23864 #
   23865 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   23866 
   23867 _ACEOF
   23868 
   23869 cat >>$CONFIG_STATUS <<\_ACEOF
   23870 
   23871 # Handling of arguments.
   23872 for ac_config_target in $ac_config_targets
   23873 do
   23874   case $ac_config_target in
   23875     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23876     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23877     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23878     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23879     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   23880 
   23881   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   23882 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   23883    { (exit 1); exit 1; }; };;
   23884   esac
   23885 done
   23886 
   23887 
   23888 # If the user did not use the arguments to specify the items to instantiate,
   23889 # then the envvar interface is used.  Set only those that are not.
   23890 # We use the long form for the default assignment because of an extremely
   23891 # bizarre bug on SunOS 4.1.3.
   23892 if $ac_need_defaults; then
   23893   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   23894   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   23895   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   23896 fi
   23897 
   23898 # Have a temporary directory for convenience.  Make it in the build tree
   23899 # simply because there is no reason against having it here, and in addition,
   23900 # creating and moving files from /tmp can sometimes cause problems.
   23901 # Hook for its removal unless debugging.
   23902 # Note that there is a small window in which the directory will not be cleaned:
   23903 # after its creation but before its name has been assigned to `$tmp'.
   23904 $debug ||
   23905 {
   23906   tmp=
   23907   trap 'exit_status=$?
   23908   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   23909 ' 0
   23910   trap '{ (exit 1); exit 1; }' 1 2 13 15
   23911 }
   23912 # Create a (secure) tmp directory for tmp files.
   23913 
   23914 {
   23915   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23916   test -n "$tmp" && test -d "$tmp"
   23917 }  ||
   23918 {
   23919   tmp=./conf$$-$RANDOM
   23920   (umask 077 && mkdir "$tmp")
   23921 } ||
   23922 {
   23923    echo "$me: cannot create a temporary directory in ." >&2
   23924    { (exit 1); exit 1; }
   23925 }
   23926 
   23927 #
   23928 # Set up the sed scripts for CONFIG_FILES section.
   23929 #
   23930 
   23931 # No need to generate the scripts if there are no CONFIG_FILES.
   23932 # This happens for instance when ./config.status config.h
   23933 if test -n "$CONFIG_FILES"; then
   23934 
   23935 _ACEOF
   23936 
   23937 
   23938 
   23939 ac_delim='%!_!# '
   23940 for ac_last_try in false false false false false :; do
   23941   cat >conf$$subs.sed <<_ACEOF
   23942 SHELL!$SHELL$ac_delim
   23943 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   23944 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   23945 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   23946 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   23947 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   23948 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   23949 exec_prefix!$exec_prefix$ac_delim
   23950 prefix!$prefix$ac_delim
   23951 program_transform_name!$program_transform_name$ac_delim
   23952 bindir!$bindir$ac_delim
   23953 sbindir!$sbindir$ac_delim
   23954 libexecdir!$libexecdir$ac_delim
   23955 datarootdir!$datarootdir$ac_delim
   23956 datadir!$datadir$ac_delim
   23957 sysconfdir!$sysconfdir$ac_delim
   23958 sharedstatedir!$sharedstatedir$ac_delim
   23959 localstatedir!$localstatedir$ac_delim
   23960 includedir!$includedir$ac_delim
   23961 oldincludedir!$oldincludedir$ac_delim
   23962 docdir!$docdir$ac_delim
   23963 infodir!$infodir$ac_delim
   23964 htmldir!$htmldir$ac_delim
   23965 dvidir!$dvidir$ac_delim
   23966 pdfdir!$pdfdir$ac_delim
   23967 psdir!$psdir$ac_delim
   23968 libdir!$libdir$ac_delim
   23969 localedir!$localedir$ac_delim
   23970 mandir!$mandir$ac_delim
   23971 DEFS!$DEFS$ac_delim
   23972 ECHO_C!$ECHO_C$ac_delim
   23973 ECHO_N!$ECHO_N$ac_delim
   23974 ECHO_T!$ECHO_T$ac_delim
   23975 LIBS!$LIBS$ac_delim
   23976 build_alias!$build_alias$ac_delim
   23977 host_alias!$host_alias$ac_delim
   23978 target_alias!$target_alias$ac_delim
   23979 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   23980 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   23981 INSTALL_DATA!$INSTALL_DATA$ac_delim
   23982 am__isrc!$am__isrc$ac_delim
   23983 CYGPATH_W!$CYGPATH_W$ac_delim
   23984 PACKAGE!$PACKAGE$ac_delim
   23985 VERSION!$VERSION$ac_delim
   23986 ACLOCAL!$ACLOCAL$ac_delim
   23987 AUTOCONF!$AUTOCONF$ac_delim
   23988 AUTOMAKE!$AUTOMAKE$ac_delim
   23989 AUTOHEADER!$AUTOHEADER$ac_delim
   23990 MAKEINFO!$MAKEINFO$ac_delim
   23991 install_sh!$install_sh$ac_delim
   23992 STRIP!$STRIP$ac_delim
   23993 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   23994 mkdir_p!$mkdir_p$ac_delim
   23995 AWK!$AWK$ac_delim
   23996 SET_MAKE!$SET_MAKE$ac_delim
   23997 am__leading_dot!$am__leading_dot$ac_delim
   23998 AMTAR!$AMTAR$ac_delim
   23999 am__tar!$am__tar$ac_delim
   24000 am__untar!$am__untar$ac_delim
   24001 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   24002 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   24003 MAINT!$MAINT$ac_delim
   24004 build!$build$ac_delim
   24005 build_cpu!$build_cpu$ac_delim
   24006 build_vendor!$build_vendor$ac_delim
   24007 build_os!$build_os$ac_delim
   24008 host!$host$ac_delim
   24009 host_cpu!$host_cpu$ac_delim
   24010 host_vendor!$host_vendor$ac_delim
   24011 host_os!$host_os$ac_delim
   24012 CC!$CC$ac_delim
   24013 CFLAGS!$CFLAGS$ac_delim
   24014 LDFLAGS!$LDFLAGS$ac_delim
   24015 CPPFLAGS!$CPPFLAGS$ac_delim
   24016 ac_ct_CC!$ac_ct_CC$ac_delim
   24017 EXEEXT!$EXEEXT$ac_delim
   24018 OBJEXT!$OBJEXT$ac_delim
   24019 DEPDIR!$DEPDIR$ac_delim
   24020 am__include!$am__include$ac_delim
   24021 am__quote!$am__quote$ac_delim
   24022 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   24023 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   24024 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   24025 CCDEPMODE!$CCDEPMODE$ac_delim
   24026 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   24027 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   24028 SED!$SED$ac_delim
   24029 GREP!$GREP$ac_delim
   24030 EGREP!$EGREP$ac_delim
   24031 LN_S!$LN_S$ac_delim
   24032 ECHO!$ECHO$ac_delim
   24033 AR!$AR$ac_delim
   24034 RANLIB!$RANLIB$ac_delim
   24035 DSYMUTIL!$DSYMUTIL$ac_delim
   24036 NMEDIT!$NMEDIT$ac_delim
   24037 CPP!$CPP$ac_delim
   24038 CXX!$CXX$ac_delim
   24039 _ACEOF
   24040 
   24041   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   24042     break
   24043   elif $ac_last_try; then
   24044     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   24045 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   24046    { (exit 1); exit 1; }; }
   24047   else
   24048     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24049   fi
   24050 done
   24051 
   24052 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   24053 if test -n "$ac_eof"; then
   24054   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   24055   ac_eof=`expr $ac_eof + 1`
   24056 fi
   24057 
   24058 cat >>$CONFIG_STATUS <<_ACEOF
   24059 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   24060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24061 _ACEOF
   24062 sed '
   24063 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   24064 s/^/s,@/; s/!/@,|#_!!_#|/
   24065 :n
   24066 t n
   24067 s/'"$ac_delim"'$/,g/; t
   24068 s/$/\\/; p
   24069 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   24070 ' >>$CONFIG_STATUS <conf$$subs.sed
   24071 rm -f conf$$subs.sed
   24072 cat >>$CONFIG_STATUS <<_ACEOF
   24073 CEOF$ac_eof
   24074 _ACEOF
   24075 
   24076 
   24077 ac_delim='%!_!# '
   24078 for ac_last_try in false false false false false :; do
   24079   cat >conf$$subs.sed <<_ACEOF
   24080 CXXFLAGS!$CXXFLAGS$ac_delim
   24081 ac_ct_CXX!$ac_ct_CXX$ac_delim
   24082 CXXDEPMODE!$CXXDEPMODE$ac_delim
   24083 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   24084 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   24085 CXXCPP!$CXXCPP$ac_delim
   24086 F77!$F77$ac_delim
   24087 FFLAGS!$FFLAGS$ac_delim
   24088 ac_ct_F77!$ac_ct_F77$ac_delim
   24089 LIBTOOL!$LIBTOOL$ac_delim
   24090 PKG_CONFIG!$PKG_CONFIG$ac_delim
   24091 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   24092 XORG_LIBS!$XORG_LIBS$ac_delim
   24093 DRI_TRUE!$DRI_TRUE$ac_delim
   24094 DRI_FALSE!$DRI_FALSE$ac_delim
   24095 DRI_CFLAGS!$DRI_CFLAGS$ac_delim
   24096 DRI_LIBS!$DRI_LIBS$ac_delim
   24097 XMODES_TRUE!$XMODES_TRUE$ac_delim
   24098 XMODES_FALSE!$XMODES_FALSE$ac_delim
   24099 XMODES_CFLAGS!$XMODES_CFLAGS$ac_delim
   24100 USE_EXA_TRUE!$USE_EXA_TRUE$ac_delim
   24101 USE_EXA_FALSE!$USE_EXA_FALSE$ac_delim
   24102 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   24103 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   24104 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   24105 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   24106 moduledir!$moduledir$ac_delim
   24107 DRIVER_NAME!$DRIVER_NAME$ac_delim
   24108 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   24109 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   24110 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   24111 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   24112 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   24113 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   24114 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   24115 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   24116 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   24117 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   24118 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   24119 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   24120 LINUXDOC!$LINUXDOC$ac_delim
   24121 PS2PDF!$PS2PDF$ac_delim
   24122 BUILD_LINUXDOC_TRUE!$BUILD_LINUXDOC_TRUE$ac_delim
   24123 BUILD_LINUXDOC_FALSE!$BUILD_LINUXDOC_FALSE$ac_delim
   24124 BUILD_PDFDOC_TRUE!$BUILD_PDFDOC_TRUE$ac_delim
   24125 BUILD_PDFDOC_FALSE!$BUILD_PDFDOC_FALSE$ac_delim
   24126 MAKE_TEXT!$MAKE_TEXT$ac_delim
   24127 MAKE_PS!$MAKE_PS$ac_delim
   24128 MAKE_PDF!$MAKE_PDF$ac_delim
   24129 MAKE_HTML!$MAKE_HTML$ac_delim
   24130 LIBOBJS!$LIBOBJS$ac_delim
   24131 LTLIBOBJS!$LTLIBOBJS$ac_delim
   24132 _ACEOF
   24133 
   24134   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
   24135     break
   24136   elif $ac_last_try; then
   24137     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   24138 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   24139    { (exit 1); exit 1; }; }
   24140   else
   24141     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24142   fi
   24143 done
   24144 
   24145 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   24146 if test -n "$ac_eof"; then
   24147   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   24148   ac_eof=`expr $ac_eof + 1`
   24149 fi
   24150 
   24151 cat >>$CONFIG_STATUS <<_ACEOF
   24152 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   24153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   24154 _ACEOF
   24155 sed '
   24156 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   24157 s/^/s,@/; s/!/@,|#_!!_#|/
   24158 :n
   24159 t n
   24160 s/'"$ac_delim"'$/,g/; t
   24161 s/$/\\/; p
   24162 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   24163 ' >>$CONFIG_STATUS <conf$$subs.sed
   24164 rm -f conf$$subs.sed
   24165 cat >>$CONFIG_STATUS <<_ACEOF
   24166 :end
   24167 s/|#_!!_#|//g
   24168 CEOF$ac_eof
   24169 _ACEOF
   24170 
   24171 
   24172 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   24173 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   24174 # trailing colons and then remove the whole line if VPATH becomes empty
   24175 # (actually we leave an empty line to preserve line numbers).
   24176 if test "x$srcdir" = x.; then
   24177   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   24178 s/:*\$(srcdir):*/:/
   24179 s/:*\${srcdir}:*/:/
   24180 s/:*@srcdir@:*/:/
   24181 s/^\([^=]*=[	 ]*\):*/\1/
   24182 s/:*$//
   24183 s/^[^=]*=[	 ]*$//
   24184 }'
   24185 fi
   24186 
   24187 cat >>$CONFIG_STATUS <<\_ACEOF
   24188 fi # test -n "$CONFIG_FILES"
   24189 
   24190 
   24191 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   24192 do
   24193   case $ac_tag in
   24194   :[FHLC]) ac_mode=$ac_tag; continue;;
   24195   esac
   24196   case $ac_mode$ac_tag in
   24197   :[FHL]*:*);;
   24198   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   24199 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   24200    { (exit 1); exit 1; }; };;
   24201   :[FH]-) ac_tag=-:-;;
   24202   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   24203   esac
   24204   ac_save_IFS=$IFS
   24205   IFS=:
   24206   set x $ac_tag
   24207   IFS=$ac_save_IFS
   24208   shift
   24209   ac_file=$1
   24210   shift
   24211 
   24212   case $ac_mode in
   24213   :L) ac_source=$1;;
   24214   :[FH])
   24215     ac_file_inputs=
   24216     for ac_f
   24217     do
   24218       case $ac_f in
   24219       -) ac_f="$tmp/stdin";;
   24220       *) # Look for the file first in the build tree, then in the source tree
   24221 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   24222 	 # because $ac_f cannot contain `:'.
   24223 	 test -f "$ac_f" ||
   24224 	   case $ac_f in
   24225 	   [\\/$]*) false;;
   24226 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   24227 	   esac ||
   24228 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   24229 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   24230    { (exit 1); exit 1; }; };;
   24231       esac
   24232       ac_file_inputs="$ac_file_inputs $ac_f"
   24233     done
   24234 
   24235     # Let's still pretend it is `configure' which instantiates (i.e., don't
   24236     # use $as_me), people would be surprised to read:
   24237     #    /* config.h.  Generated by config.status.  */
   24238     configure_input="Generated from "`IFS=:
   24239 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   24240     if test x"$ac_file" != x-; then
   24241       configure_input="$ac_file.  $configure_input"
   24242       { echo "$as_me:$LINENO: creating $ac_file" >&5
   24243 echo "$as_me: creating $ac_file" >&6;}
   24244     fi
   24245 
   24246     case $ac_tag in
   24247     *:-:* | *:-) cat >"$tmp/stdin";;
   24248     esac
   24249     ;;
   24250   esac
   24251 
   24252   ac_dir=`$as_dirname -- "$ac_file" ||
   24253 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24254 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   24255 	 X"$ac_file" : 'X\(//\)$' \| \
   24256 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   24257 echo X"$ac_file" |
   24258     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24259 	    s//\1/
   24260 	    q
   24261 	  }
   24262 	  /^X\(\/\/\)[^/].*/{
   24263 	    s//\1/
   24264 	    q
   24265 	  }
   24266 	  /^X\(\/\/\)$/{
   24267 	    s//\1/
   24268 	    q
   24269 	  }
   24270 	  /^X\(\/\).*/{
   24271 	    s//\1/
   24272 	    q
   24273 	  }
   24274 	  s/.*/./; q'`
   24275   { as_dir="$ac_dir"
   24276   case $as_dir in #(
   24277   -*) as_dir=./$as_dir;;
   24278   esac
   24279   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24280     as_dirs=
   24281     while :; do
   24282       case $as_dir in #(
   24283       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   24284       *) as_qdir=$as_dir;;
   24285       esac
   24286       as_dirs="'$as_qdir' $as_dirs"
   24287       as_dir=`$as_dirname -- "$as_dir" ||
   24288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24289 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24290 	 X"$as_dir" : 'X\(//\)$' \| \
   24291 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24292 echo X"$as_dir" |
   24293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24294 	    s//\1/
   24295 	    q
   24296 	  }
   24297 	  /^X\(\/\/\)[^/].*/{
   24298 	    s//\1/
   24299 	    q
   24300 	  }
   24301 	  /^X\(\/\/\)$/{
   24302 	    s//\1/
   24303 	    q
   24304 	  }
   24305 	  /^X\(\/\).*/{
   24306 	    s//\1/
   24307 	    q
   24308 	  }
   24309 	  s/.*/./; q'`
   24310       test -d "$as_dir" && break
   24311     done
   24312     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24313   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24314 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24315    { (exit 1); exit 1; }; }; }
   24316   ac_builddir=.
   24317 
   24318 case "$ac_dir" in
   24319 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24320 *)
   24321   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   24322   # A ".." for each directory in $ac_dir_suffix.
   24323   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   24324   case $ac_top_builddir_sub in
   24325   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24326   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   24327   esac ;;
   24328 esac
   24329 ac_abs_top_builddir=$ac_pwd
   24330 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   24331 # for backward compatibility:
   24332 ac_top_builddir=$ac_top_build_prefix
   24333 
   24334 case $srcdir in
   24335   .)  # We are building in place.
   24336     ac_srcdir=.
   24337     ac_top_srcdir=$ac_top_builddir_sub
   24338     ac_abs_top_srcdir=$ac_pwd ;;
   24339   [\\/]* | ?:[\\/]* )  # Absolute name.
   24340     ac_srcdir=$srcdir$ac_dir_suffix;
   24341     ac_top_srcdir=$srcdir
   24342     ac_abs_top_srcdir=$srcdir ;;
   24343   *) # Relative name.
   24344     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   24345     ac_top_srcdir=$ac_top_build_prefix$srcdir
   24346     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   24347 esac
   24348 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   24349 
   24350 
   24351   case $ac_mode in
   24352   :F)
   24353   #
   24354   # CONFIG_FILE
   24355   #
   24356 
   24357   case $INSTALL in
   24358   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   24359   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   24360   esac
   24361   ac_MKDIR_P=$MKDIR_P
   24362   case $MKDIR_P in
   24363   [\\/$]* | ?:[\\/]* ) ;;
   24364   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   24365   esac
   24366 _ACEOF
   24367 
   24368 cat >>$CONFIG_STATUS <<\_ACEOF
   24369 # If the template does not know about datarootdir, expand it.
   24370 # FIXME: This hack should be removed a few years after 2.60.
   24371 ac_datarootdir_hack=; ac_datarootdir_seen=
   24372 
   24373 case `sed -n '/datarootdir/ {
   24374   p
   24375   q
   24376 }
   24377 /@datadir@/p
   24378 /@docdir@/p
   24379 /@infodir@/p
   24380 /@localedir@/p
   24381 /@mandir@/p
   24382 ' $ac_file_inputs` in
   24383 *datarootdir*) ac_datarootdir_seen=yes;;
   24384 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   24385   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   24386 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   24387 _ACEOF
   24388 cat >>$CONFIG_STATUS <<_ACEOF
   24389   ac_datarootdir_hack='
   24390   s&@datadir@&$datadir&g
   24391   s&@docdir@&$docdir&g
   24392   s&@infodir@&$infodir&g
   24393   s&@localedir@&$localedir&g
   24394   s&@mandir@&$mandir&g
   24395     s&\\\${datarootdir}&$datarootdir&g' ;;
   24396 esac
   24397 _ACEOF
   24398 
   24399 # Neutralize VPATH when `$srcdir' = `.'.
   24400 # Shell code in configure.ac might set extrasub.
   24401 # FIXME: do we really want to maintain this feature?
   24402 cat >>$CONFIG_STATUS <<_ACEOF
   24403   sed "$ac_vpsub
   24404 $extrasub
   24405 _ACEOF
   24406 cat >>$CONFIG_STATUS <<\_ACEOF
   24407 :t
   24408 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24409 s&@configure_input@&$configure_input&;t t
   24410 s&@top_builddir@&$ac_top_builddir_sub&;t t
   24411 s&@srcdir@&$ac_srcdir&;t t
   24412 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   24413 s&@top_srcdir@&$ac_top_srcdir&;t t
   24414 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   24415 s&@builddir@&$ac_builddir&;t t
   24416 s&@abs_builddir@&$ac_abs_builddir&;t t
   24417 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   24418 s&@INSTALL@&$ac_INSTALL&;t t
   24419 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   24420 $ac_datarootdir_hack
   24421 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   24422 
   24423 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   24424   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   24425   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   24426   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24427 which seems to be undefined.  Please make sure it is defined." >&5
   24428 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24429 which seems to be undefined.  Please make sure it is defined." >&2;}
   24430 
   24431   rm -f "$tmp/stdin"
   24432   case $ac_file in
   24433   -) cat "$tmp/out"; rm -f "$tmp/out";;
   24434   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   24435   esac
   24436  ;;
   24437   :H)
   24438   #
   24439   # CONFIG_HEADER
   24440   #
   24441 _ACEOF
   24442 
   24443 # Transform confdefs.h into a sed script `conftest.defines', that
   24444 # substitutes the proper values into config.h.in to produce config.h.
   24445 rm -f conftest.defines conftest.tail
   24446 # First, append a space to every undef/define line, to ease matching.
   24447 echo 's/$/ /' >conftest.defines
   24448 # Then, protect against being on the right side of a sed subst, or in
   24449 # an unquoted here document, in config.status.  If some macros were
   24450 # called several times there might be several #defines for the same
   24451 # symbol, which is useless.  But do not sort them, since the last
   24452 # AC_DEFINE must be honored.
   24453 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   24454 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   24455 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   24456 # PARAMS is the parameter list in the macro definition--in most cases, it's
   24457 # just an empty string.
   24458 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   24459 ac_dB='\\)[	 (].*,\\1define\\2'
   24460 ac_dC=' '
   24461 ac_dD=' ,'
   24462 
   24463 uniq confdefs.h |
   24464   sed -n '
   24465 	t rset
   24466 	:rset
   24467 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   24468 	t ok
   24469 	d
   24470 	:ok
   24471 	s/[\\&,]/\\&/g
   24472 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   24473 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   24474   ' >>conftest.defines
   24475 
   24476 # Remove the space that was appended to ease matching.
   24477 # Then replace #undef with comments.  This is necessary, for
   24478 # example, in the case of _POSIX_SOURCE, which is predefined and required
   24479 # on some systems where configure will not decide to define it.
   24480 # (The regexp can be short, since the line contains either #define or #undef.)
   24481 echo 's/ $//
   24482 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   24483 
   24484 # Break up conftest.defines:
   24485 ac_max_sed_lines=50
   24486 
   24487 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   24488 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   24489 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   24490 # et cetera.
   24491 ac_in='$ac_file_inputs'
   24492 ac_out='"$tmp/out1"'
   24493 ac_nxt='"$tmp/out2"'
   24494 
   24495 while :
   24496 do
   24497   # Write a here document:
   24498     cat >>$CONFIG_STATUS <<_ACEOF
   24499     # First, check the format of the line:
   24500     cat >"\$tmp/defines.sed" <<\\CEOF
   24501 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   24502 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   24503 b
   24504 :def
   24505 _ACEOF
   24506   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   24507   echo 'CEOF
   24508     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   24509   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   24510   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   24511   grep . conftest.tail >/dev/null || break
   24512   rm -f conftest.defines
   24513   mv conftest.tail conftest.defines
   24514 done
   24515 rm -f conftest.defines conftest.tail
   24516 
   24517 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   24518 cat >>$CONFIG_STATUS <<\_ACEOF
   24519   if test x"$ac_file" != x-; then
   24520     echo "/* $configure_input  */" >"$tmp/config.h"
   24521     cat "$ac_result" >>"$tmp/config.h"
   24522     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   24523       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   24524 echo "$as_me: $ac_file is unchanged" >&6;}
   24525     else
   24526       rm -f $ac_file
   24527       mv "$tmp/config.h" $ac_file
   24528     fi
   24529   else
   24530     echo "/* $configure_input  */"
   24531     cat "$ac_result"
   24532   fi
   24533   rm -f "$tmp/out12"
   24534 # Compute $ac_file's index in $config_headers.
   24535 _am_arg=$ac_file
   24536 _am_stamp_count=1
   24537 for _am_header in $config_headers :; do
   24538   case $_am_header in
   24539     $_am_arg | $_am_arg:* )
   24540       break ;;
   24541     * )
   24542       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   24543   esac
   24544 done
   24545 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   24546 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24547 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   24548 	 X"$_am_arg" : 'X\(//\)$' \| \
   24549 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   24550 echo X"$_am_arg" |
   24551     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24552 	    s//\1/
   24553 	    q
   24554 	  }
   24555 	  /^X\(\/\/\)[^/].*/{
   24556 	    s//\1/
   24557 	    q
   24558 	  }
   24559 	  /^X\(\/\/\)$/{
   24560 	    s//\1/
   24561 	    q
   24562 	  }
   24563 	  /^X\(\/\).*/{
   24564 	    s//\1/
   24565 	    q
   24566 	  }
   24567 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   24568  ;;
   24569 
   24570   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   24571 echo "$as_me: executing $ac_file commands" >&6;}
   24572  ;;
   24573   esac
   24574 
   24575 
   24576   case $ac_file$ac_mode in
   24577     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   24578   # Strip MF so we end up with the name of the file.
   24579   mf=`echo "$mf" | sed -e 's/:.*$//'`
   24580   # Check whether this is an Automake generated Makefile or not.
   24581   # We used to match only the files named `Makefile.in', but
   24582   # some people rename them; so instead we look at the file content.
   24583   # Grep'ing the first line is not enough: some people post-process
   24584   # each Makefile.in and add a new line on top of each file to say so.
   24585   # Grep'ing the whole file is not good either: AIX grep has a line
   24586   # limit of 2048, but all sed's we know have understand at least 4000.
   24587   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   24588     dirpart=`$as_dirname -- "$mf" ||
   24589 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24590 	 X"$mf" : 'X\(//\)[^/]' \| \
   24591 	 X"$mf" : 'X\(//\)$' \| \
   24592 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   24593 echo X"$mf" |
   24594     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24595 	    s//\1/
   24596 	    q
   24597 	  }
   24598 	  /^X\(\/\/\)[^/].*/{
   24599 	    s//\1/
   24600 	    q
   24601 	  }
   24602 	  /^X\(\/\/\)$/{
   24603 	    s//\1/
   24604 	    q
   24605 	  }
   24606 	  /^X\(\/\).*/{
   24607 	    s//\1/
   24608 	    q
   24609 	  }
   24610 	  s/.*/./; q'`
   24611   else
   24612     continue
   24613   fi
   24614   # Extract the definition of DEPDIR, am__include, and am__quote
   24615   # from the Makefile without running `make'.
   24616   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   24617   test -z "$DEPDIR" && continue
   24618   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   24619   test -z "am__include" && continue
   24620   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   24621   # When using ansi2knr, U may be empty or an underscore; expand it
   24622   U=`sed -n 's/^U = //p' < "$mf"`
   24623   # Find all dependency output files, they are included files with
   24624   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   24625   # simplest approach to changing $(DEPDIR) to its actual value in the
   24626   # expansion.
   24627   for file in `sed -n "
   24628     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   24629        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   24630     # Make sure the directory exists.
   24631     test -f "$dirpart/$file" && continue
   24632     fdir=`$as_dirname -- "$file" ||
   24633 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24634 	 X"$file" : 'X\(//\)[^/]' \| \
   24635 	 X"$file" : 'X\(//\)$' \| \
   24636 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   24637 echo X"$file" |
   24638     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24639 	    s//\1/
   24640 	    q
   24641 	  }
   24642 	  /^X\(\/\/\)[^/].*/{
   24643 	    s//\1/
   24644 	    q
   24645 	  }
   24646 	  /^X\(\/\/\)$/{
   24647 	    s//\1/
   24648 	    q
   24649 	  }
   24650 	  /^X\(\/\).*/{
   24651 	    s//\1/
   24652 	    q
   24653 	  }
   24654 	  s/.*/./; q'`
   24655     { as_dir=$dirpart/$fdir
   24656   case $as_dir in #(
   24657   -*) as_dir=./$as_dir;;
   24658   esac
   24659   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24660     as_dirs=
   24661     while :; do
   24662       case $as_dir in #(
   24663       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   24664       *) as_qdir=$as_dir;;
   24665       esac
   24666       as_dirs="'$as_qdir' $as_dirs"
   24667       as_dir=`$as_dirname -- "$as_dir" ||
   24668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24669 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24670 	 X"$as_dir" : 'X\(//\)$' \| \
   24671 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24672 echo X"$as_dir" |
   24673     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24674 	    s//\1/
   24675 	    q
   24676 	  }
   24677 	  /^X\(\/\/\)[^/].*/{
   24678 	    s//\1/
   24679 	    q
   24680 	  }
   24681 	  /^X\(\/\/\)$/{
   24682 	    s//\1/
   24683 	    q
   24684 	  }
   24685 	  /^X\(\/\).*/{
   24686 	    s//\1/
   24687 	    q
   24688 	  }
   24689 	  s/.*/./; q'`
   24690       test -d "$as_dir" && break
   24691     done
   24692     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24693   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24694 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24695    { (exit 1); exit 1; }; }; }
   24696     # echo "creating $dirpart/$file"
   24697     echo '# dummy' > "$dirpart/$file"
   24698   done
   24699 done
   24700  ;;
   24701 
   24702   esac
   24703 done # for ac_tag
   24704 
   24705 
   24706 { (exit 0); exit 0; }
   24707 _ACEOF
   24708 chmod +x $CONFIG_STATUS
   24709 ac_clean_files=$ac_clean_files_save
   24710 
   24711 
   24712 # configure is writing to config.log, and then calls config.status.
   24713 # config.status does its own redirection, appending to config.log.
   24714 # Unfortunately, on DOS this fails, as config.log is still kept open
   24715 # by configure, so config.status won't be able to write to it; its
   24716 # output is simply discarded.  So we exec the FD to /dev/null,
   24717 # effectively closing config.log, so it can be properly (re)opened and
   24718 # appended to by config.status.  When coming back to configure, we
   24719 # need to make the FD available again.
   24720 if test "$no_create" != yes; then
   24721   ac_cs_success=:
   24722   ac_config_status_args=
   24723   test "$silent" = yes &&
   24724     ac_config_status_args="$ac_config_status_args --quiet"
   24725   exec 5>/dev/null
   24726   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24727   exec 5>>config.log
   24728   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24729   # would make configure fail if this is the last instruction.
   24730   $ac_cs_success || { (exit 1); exit 1; }
   24731 fi
   24732 
   24733