Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-vmware 10.16.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 echo=${ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $echo works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<EOF
    584 $*
    585 EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$ECHO"; then
    594 if test "X${echo_test_string+set}" != Xset; then
    595 # find a string as large as possible, as long as the shell can cope with it
    596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    599        echo_test_string=`eval $cmd` &&
    600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    601     then
    602       break
    603     fi
    604   done
    605 fi
    606 
    607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    609    test "X$echo_testing_string" = "X$echo_test_string"; then
    610   :
    611 else
    612   # The Solaris, AIX, and Digital Unix default echo programs unquote
    613   # backslashes.  This makes it impossible to quote backslashes using
    614   #   echo "$something" | sed 's/\\/\\\\/g'
    615   #
    616   # So, first we look for a working echo in the user's PATH.
    617 
    618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    619   for dir in $PATH /usr/ucb; do
    620     IFS="$lt_save_ifs"
    621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    624        test "X$echo_testing_string" = "X$echo_test_string"; then
    625       echo="$dir/echo"
    626       break
    627     fi
    628   done
    629   IFS="$lt_save_ifs"
    630 
    631   if test "X$echo" = Xecho; then
    632     # We didn't find a better echo, so look for alternatives.
    633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    635        test "X$echo_testing_string" = "X$echo_test_string"; then
    636       # This shell has a builtin print -r that does the trick.
    637       echo='print -r'
    638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    639 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    640       # If we have ksh, try running configure again with it.
    641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    642       export ORIGINAL_CONFIG_SHELL
    643       CONFIG_SHELL=/bin/ksh
    644       export CONFIG_SHELL
    645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    646     else
    647       # Try using printf.
    648       echo='printf %s\n'
    649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    650 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    651 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	# Cool, printf works
    653 	:
    654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = 'X\t' &&
    656 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    657 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    658 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    659 	export CONFIG_SHELL
    660 	SHELL="$CONFIG_SHELL"
    661 	export SHELL
    662 	echo="$CONFIG_SHELL $0 --fallback-echo"
    663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = 'X\t' &&
    665 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    666 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    667 	echo="$CONFIG_SHELL $0 --fallback-echo"
    668       else
    669 	# maybe with a smaller string...
    670 	prev=:
    671 
    672 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    673 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    674 	  then
    675 	    break
    676 	  fi
    677 	  prev="$cmd"
    678 	done
    679 
    680 	if test "$prev" != 'sed 50q "$0"'; then
    681 	  echo_test_string=`eval $prev`
    682 	  export echo_test_string
    683 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    684 	else
    685 	  # Oops.  We lost completely, so just stick with echo.
    686 	  echo=echo
    687 	fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 fi
    693 
    694 # Copy echo and quote the copy suitably for passing to libtool from
    695 # the Makefile, instead of quoting the original, which is used later.
    696 ECHO=$echo
    697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    699 fi
    700 
    701 
    702 
    703 
    704 tagnames=${tagnames+${tagnames},}CXX
    705 
    706 tagnames=${tagnames+${tagnames},}F77
    707 
    708 exec 7<&0 </dev/null 6>&1
    709 
    710 # Name of the host.
    711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    712 # so uname gets run too.
    713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    714 
    715 #
    716 # Initializations.
    717 #
    718 ac_default_prefix=/usr/local
    719 ac_clean_files=
    720 ac_config_libobj_dir=.
    721 LIBOBJS=
    722 cross_compiling=no
    723 subdirs=
    724 MFLAGS=
    725 MAKEFLAGS=
    726 SHELL=${CONFIG_SHELL-/bin/sh}
    727 
    728 # Identity of this package.
    729 PACKAGE_NAME='xf86-video-vmware'
    730 PACKAGE_TARNAME='xf86-video-vmware'
    731 PACKAGE_VERSION='10.16.1'
    732 PACKAGE_STRING='xf86-video-vmware 10.16.1'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 ac_unique_file="Makefile.am"
    736 # Factoring default headers for most tests.
    737 ac_includes_default="\
    738 #include <stdio.h>
    739 #ifdef HAVE_SYS_TYPES_H
    740 # include <sys/types.h>
    741 #endif
    742 #ifdef HAVE_SYS_STAT_H
    743 # include <sys/stat.h>
    744 #endif
    745 #ifdef STDC_HEADERS
    746 # include <stdlib.h>
    747 # include <stddef.h>
    748 #else
    749 # ifdef HAVE_STDLIB_H
    750 #  include <stdlib.h>
    751 # endif
    752 #endif
    753 #ifdef HAVE_STRING_H
    754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    755 #  include <memory.h>
    756 # endif
    757 # include <string.h>
    758 #endif
    759 #ifdef HAVE_STRINGS_H
    760 # include <strings.h>
    761 #endif
    762 #ifdef HAVE_INTTYPES_H
    763 # include <inttypes.h>
    764 #endif
    765 #ifdef HAVE_STDINT_H
    766 # include <stdint.h>
    767 #endif
    768 #ifdef HAVE_UNISTD_H
    769 # include <unistd.h>
    770 #endif"
    771 
    772 ac_subst_vars='SHELL
    773 PATH_SEPARATOR
    774 PACKAGE_NAME
    775 PACKAGE_TARNAME
    776 PACKAGE_VERSION
    777 PACKAGE_STRING
    778 PACKAGE_BUGREPORT
    779 exec_prefix
    780 prefix
    781 program_transform_name
    782 bindir
    783 sbindir
    784 libexecdir
    785 datarootdir
    786 datadir
    787 sysconfdir
    788 sharedstatedir
    789 localstatedir
    790 includedir
    791 oldincludedir
    792 docdir
    793 infodir
    794 htmldir
    795 dvidir
    796 pdfdir
    797 psdir
    798 libdir
    799 localedir
    800 mandir
    801 DEFS
    802 ECHO_C
    803 ECHO_N
    804 ECHO_T
    805 LIBS
    806 build_alias
    807 host_alias
    808 target_alias
    809 INSTALL_PROGRAM
    810 INSTALL_SCRIPT
    811 INSTALL_DATA
    812 am__isrc
    813 CYGPATH_W
    814 PACKAGE
    815 VERSION
    816 ACLOCAL
    817 AUTOCONF
    818 AUTOMAKE
    819 AUTOHEADER
    820 MAKEINFO
    821 install_sh
    822 STRIP
    823 INSTALL_STRIP_PROGRAM
    824 mkdir_p
    825 AWK
    826 SET_MAKE
    827 am__leading_dot
    828 AMTAR
    829 am__tar
    830 am__untar
    831 MAINTAINER_MODE_TRUE
    832 MAINTAINER_MODE_FALSE
    833 MAINT
    834 build
    835 build_cpu
    836 build_vendor
    837 build_os
    838 host
    839 host_cpu
    840 host_vendor
    841 host_os
    842 CC
    843 CFLAGS
    844 LDFLAGS
    845 CPPFLAGS
    846 ac_ct_CC
    847 EXEEXT
    848 OBJEXT
    849 DEPDIR
    850 am__include
    851 am__quote
    852 AMDEP_TRUE
    853 AMDEP_FALSE
    854 AMDEPBACKSLASH
    855 CCDEPMODE
    856 am__fastdepCC_TRUE
    857 am__fastdepCC_FALSE
    858 GREP
    859 EGREP
    860 LN_S
    861 ECHO
    862 AR
    863 RANLIB
    864 CPP
    865 CXX
    866 CXXFLAGS
    867 ac_ct_CXX
    868 CXXDEPMODE
    869 am__fastdepCXX_TRUE
    870 am__fastdepCXX_FALSE
    871 CXXCPP
    872 F77
    873 FFLAGS
    874 ac_ct_F77
    875 LIBTOOL
    876 PKG_CONFIG
    877 XORG_CFLAGS
    878 XORG_LIBS
    879 PCIACCESS_CFLAGS
    880 PCIACCESS_LIBS
    881 XSERVER_LIBPCIACCESS_TRUE
    882 XSERVER_LIBPCIACCESS_FALSE
    883 moduledir
    884 DRIVER_NAME
    885 APP_MAN_SUFFIX
    886 LIB_MAN_SUFFIX
    887 FILE_MAN_SUFFIX
    888 MISC_MAN_SUFFIX
    889 DRIVER_MAN_SUFFIX
    890 ADMIN_MAN_SUFFIX
    891 APP_MAN_DIR
    892 LIB_MAN_DIR
    893 FILE_MAN_DIR
    894 MISC_MAN_DIR
    895 DRIVER_MAN_DIR
    896 ADMIN_MAN_DIR
    897 LIBOBJS
    898 LTLIBOBJS'
    899 ac_subst_files=''
    900       ac_precious_vars='build_alias
    901 host_alias
    902 target_alias
    903 CC
    904 CFLAGS
    905 LDFLAGS
    906 LIBS
    907 CPPFLAGS
    908 CPP
    909 CXX
    910 CXXFLAGS
    911 CCC
    912 CXXCPP
    913 F77
    914 FFLAGS
    915 PKG_CONFIG
    916 XORG_CFLAGS
    917 XORG_LIBS
    918 PCIACCESS_CFLAGS
    919 PCIACCESS_LIBS'
    920 
    921 
    922 # Initialize some variables set by options.
    923 ac_init_help=
    924 ac_init_version=false
    925 # The variables have the same names as the options, with
    926 # dashes changed to underlines.
    927 cache_file=/dev/null
    928 exec_prefix=NONE
    929 no_create=
    930 no_recursion=
    931 prefix=NONE
    932 program_prefix=NONE
    933 program_suffix=NONE
    934 program_transform_name=s,x,x,
    935 silent=
    936 site=
    937 srcdir=
    938 verbose=
    939 x_includes=NONE
    940 x_libraries=NONE
    941 
    942 # Installation directory options.
    943 # These are left unexpanded so users can "make install exec_prefix=/foo"
    944 # and all the variables that are supposed to be based on exec_prefix
    945 # by default will actually change.
    946 # Use braces instead of parens because sh, perl, etc. also accept them.
    947 # (The list follows the same order as the GNU Coding Standards.)
    948 bindir='${exec_prefix}/bin'
    949 sbindir='${exec_prefix}/sbin'
    950 libexecdir='${exec_prefix}/libexec'
    951 datarootdir='${prefix}/share'
    952 datadir='${datarootdir}'
    953 sysconfdir='${prefix}/etc'
    954 sharedstatedir='${prefix}/com'
    955 localstatedir='${prefix}/var'
    956 includedir='${prefix}/include'
    957 oldincludedir='/usr/include'
    958 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    959 infodir='${datarootdir}/info'
    960 htmldir='${docdir}'
    961 dvidir='${docdir}'
    962 pdfdir='${docdir}'
    963 psdir='${docdir}'
    964 libdir='${exec_prefix}/lib'
    965 localedir='${datarootdir}/locale'
    966 mandir='${datarootdir}/man'
    967 
    968 ac_prev=
    969 ac_dashdash=
    970 for ac_option
    971 do
    972   # If the previous option needs an argument, assign it.
    973   if test -n "$ac_prev"; then
    974     eval $ac_prev=\$ac_option
    975     ac_prev=
    976     continue
    977   fi
    978 
    979   case $ac_option in
    980   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    981   *)	ac_optarg=yes ;;
    982   esac
    983 
    984   # Accept the important Cygnus configure options, so we can diagnose typos.
    985 
    986   case $ac_dashdash$ac_option in
    987   --)
    988     ac_dashdash=yes ;;
    989 
    990   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    991     ac_prev=bindir ;;
    992   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    993     bindir=$ac_optarg ;;
    994 
    995   -build | --build | --buil | --bui | --bu)
    996     ac_prev=build_alias ;;
    997   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    998     build_alias=$ac_optarg ;;
    999 
   1000   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1001   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1002     ac_prev=cache_file ;;
   1003   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1004   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1005     cache_file=$ac_optarg ;;
   1006 
   1007   --config-cache | -C)
   1008     cache_file=config.cache ;;
   1009 
   1010   -datadir | --datadir | --datadi | --datad)
   1011     ac_prev=datadir ;;
   1012   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1013     datadir=$ac_optarg ;;
   1014 
   1015   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1016   | --dataroo | --dataro | --datar)
   1017     ac_prev=datarootdir ;;
   1018   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1019   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1020     datarootdir=$ac_optarg ;;
   1021 
   1022   -disable-* | --disable-*)
   1023     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1024     # Reject names that are not valid shell variable names.
   1025     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1026       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1027    { (exit 1); exit 1; }; }
   1028     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1029     eval enable_$ac_feature=no ;;
   1030 
   1031   -docdir | --docdir | --docdi | --doc | --do)
   1032     ac_prev=docdir ;;
   1033   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1034     docdir=$ac_optarg ;;
   1035 
   1036   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1037     ac_prev=dvidir ;;
   1038   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1039     dvidir=$ac_optarg ;;
   1040 
   1041   -enable-* | --enable-*)
   1042     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1043     # Reject names that are not valid shell variable names.
   1044     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1045       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1046    { (exit 1); exit 1; }; }
   1047     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1048     eval enable_$ac_feature=\$ac_optarg ;;
   1049 
   1050   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1051   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1052   | --exec | --exe | --ex)
   1053     ac_prev=exec_prefix ;;
   1054   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1055   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1056   | --exec=* | --exe=* | --ex=*)
   1057     exec_prefix=$ac_optarg ;;
   1058 
   1059   -gas | --gas | --ga | --g)
   1060     # Obsolete; use --with-gas.
   1061     with_gas=yes ;;
   1062 
   1063   -help | --help | --hel | --he | -h)
   1064     ac_init_help=long ;;
   1065   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1066     ac_init_help=recursive ;;
   1067   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1068     ac_init_help=short ;;
   1069 
   1070   -host | --host | --hos | --ho)
   1071     ac_prev=host_alias ;;
   1072   -host=* | --host=* | --hos=* | --ho=*)
   1073     host_alias=$ac_optarg ;;
   1074 
   1075   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1076     ac_prev=htmldir ;;
   1077   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1078   | --ht=*)
   1079     htmldir=$ac_optarg ;;
   1080 
   1081   -includedir | --includedir | --includedi | --included | --include \
   1082   | --includ | --inclu | --incl | --inc)
   1083     ac_prev=includedir ;;
   1084   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1085   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1086     includedir=$ac_optarg ;;
   1087 
   1088   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1089     ac_prev=infodir ;;
   1090   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1091     infodir=$ac_optarg ;;
   1092 
   1093   -libdir | --libdir | --libdi | --libd)
   1094     ac_prev=libdir ;;
   1095   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1096     libdir=$ac_optarg ;;
   1097 
   1098   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1099   | --libexe | --libex | --libe)
   1100     ac_prev=libexecdir ;;
   1101   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1102   | --libexe=* | --libex=* | --libe=*)
   1103     libexecdir=$ac_optarg ;;
   1104 
   1105   -localedir | --localedir | --localedi | --localed | --locale)
   1106     ac_prev=localedir ;;
   1107   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1108     localedir=$ac_optarg ;;
   1109 
   1110   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1111   | --localstate | --localstat | --localsta | --localst | --locals)
   1112     ac_prev=localstatedir ;;
   1113   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1114   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1115     localstatedir=$ac_optarg ;;
   1116 
   1117   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1118     ac_prev=mandir ;;
   1119   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1120     mandir=$ac_optarg ;;
   1121 
   1122   -nfp | --nfp | --nf)
   1123     # Obsolete; use --without-fp.
   1124     with_fp=no ;;
   1125 
   1126   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1127   | --no-cr | --no-c | -n)
   1128     no_create=yes ;;
   1129 
   1130   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1131   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1132     no_recursion=yes ;;
   1133 
   1134   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1135   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1136   | --oldin | --oldi | --old | --ol | --o)
   1137     ac_prev=oldincludedir ;;
   1138   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1139   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1140   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1141     oldincludedir=$ac_optarg ;;
   1142 
   1143   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1144     ac_prev=prefix ;;
   1145   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1146     prefix=$ac_optarg ;;
   1147 
   1148   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1149   | --program-pre | --program-pr | --program-p)
   1150     ac_prev=program_prefix ;;
   1151   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1152   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1153     program_prefix=$ac_optarg ;;
   1154 
   1155   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1156   | --program-suf | --program-su | --program-s)
   1157     ac_prev=program_suffix ;;
   1158   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1159   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1160     program_suffix=$ac_optarg ;;
   1161 
   1162   -program-transform-name | --program-transform-name \
   1163   | --program-transform-nam | --program-transform-na \
   1164   | --program-transform-n | --program-transform- \
   1165   | --program-transform | --program-transfor \
   1166   | --program-transfo | --program-transf \
   1167   | --program-trans | --program-tran \
   1168   | --progr-tra | --program-tr | --program-t)
   1169     ac_prev=program_transform_name ;;
   1170   -program-transform-name=* | --program-transform-name=* \
   1171   | --program-transform-nam=* | --program-transform-na=* \
   1172   | --program-transform-n=* | --program-transform-=* \
   1173   | --program-transform=* | --program-transfor=* \
   1174   | --program-transfo=* | --program-transf=* \
   1175   | --program-trans=* | --program-tran=* \
   1176   | --progr-tra=* | --program-tr=* | --program-t=*)
   1177     program_transform_name=$ac_optarg ;;
   1178 
   1179   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1180     ac_prev=pdfdir ;;
   1181   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1182     pdfdir=$ac_optarg ;;
   1183 
   1184   -psdir | --psdir | --psdi | --psd | --ps)
   1185     ac_prev=psdir ;;
   1186   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1187     psdir=$ac_optarg ;;
   1188 
   1189   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1190   | -silent | --silent | --silen | --sile | --sil)
   1191     silent=yes ;;
   1192 
   1193   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1194     ac_prev=sbindir ;;
   1195   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1196   | --sbi=* | --sb=*)
   1197     sbindir=$ac_optarg ;;
   1198 
   1199   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1200   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1201   | --sharedst | --shareds | --shared | --share | --shar \
   1202   | --sha | --sh)
   1203     ac_prev=sharedstatedir ;;
   1204   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1205   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1206   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1207   | --sha=* | --sh=*)
   1208     sharedstatedir=$ac_optarg ;;
   1209 
   1210   -site | --site | --sit)
   1211     ac_prev=site ;;
   1212   -site=* | --site=* | --sit=*)
   1213     site=$ac_optarg ;;
   1214 
   1215   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1216     ac_prev=srcdir ;;
   1217   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1218     srcdir=$ac_optarg ;;
   1219 
   1220   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1221   | --syscon | --sysco | --sysc | --sys | --sy)
   1222     ac_prev=sysconfdir ;;
   1223   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1224   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1225     sysconfdir=$ac_optarg ;;
   1226 
   1227   -target | --target | --targe | --targ | --tar | --ta | --t)
   1228     ac_prev=target_alias ;;
   1229   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1230     target_alias=$ac_optarg ;;
   1231 
   1232   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1233     verbose=yes ;;
   1234 
   1235   -version | --version | --versio | --versi | --vers | -V)
   1236     ac_init_version=: ;;
   1237 
   1238   -with-* | --with-*)
   1239     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1240     # Reject names that are not valid shell variable names.
   1241     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1242       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1243    { (exit 1); exit 1; }; }
   1244     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1245     eval with_$ac_package=\$ac_optarg ;;
   1246 
   1247   -without-* | --without-*)
   1248     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1249     # Reject names that are not valid shell variable names.
   1250     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1251       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1252    { (exit 1); exit 1; }; }
   1253     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1254     eval with_$ac_package=no ;;
   1255 
   1256   --x)
   1257     # Obsolete; use --with-x.
   1258     with_x=yes ;;
   1259 
   1260   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1261   | --x-incl | --x-inc | --x-in | --x-i)
   1262     ac_prev=x_includes ;;
   1263   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1264   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1265     x_includes=$ac_optarg ;;
   1266 
   1267   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1268   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1269     ac_prev=x_libraries ;;
   1270   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1271   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1272     x_libraries=$ac_optarg ;;
   1273 
   1274   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1275 Try \`$0 --help' for more information." >&2
   1276    { (exit 1); exit 1; }; }
   1277     ;;
   1278 
   1279   *=*)
   1280     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1281     # Reject names that are not valid shell variable names.
   1282     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1283       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1284    { (exit 1); exit 1; }; }
   1285     eval $ac_envvar=\$ac_optarg
   1286     export $ac_envvar ;;
   1287 
   1288   *)
   1289     # FIXME: should be removed in autoconf 3.0.
   1290     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1291     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1292       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1293     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1294     ;;
   1295 
   1296   esac
   1297 done
   1298 
   1299 if test -n "$ac_prev"; then
   1300   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1301   { echo "$as_me: error: missing argument to $ac_option" >&2
   1302    { (exit 1); exit 1; }; }
   1303 fi
   1304 
   1305 # Be sure to have absolute directory names.
   1306 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1307 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1308 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1309 		libdir localedir mandir
   1310 do
   1311   eval ac_val=\$$ac_var
   1312   case $ac_val in
   1313     [\\/$]* | ?:[\\/]* )  continue;;
   1314     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1315   esac
   1316   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1317    { (exit 1); exit 1; }; }
   1318 done
   1319 
   1320 # There might be people who depend on the old broken behavior: `$host'
   1321 # used to hold the argument of --host etc.
   1322 # FIXME: To remove some day.
   1323 build=$build_alias
   1324 host=$host_alias
   1325 target=$target_alias
   1326 
   1327 # FIXME: To remove some day.
   1328 if test "x$host_alias" != x; then
   1329   if test "x$build_alias" = x; then
   1330     cross_compiling=maybe
   1331     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1332     If a cross compiler is detected then cross compile mode will be used." >&2
   1333   elif test "x$build_alias" != "x$host_alias"; then
   1334     cross_compiling=yes
   1335   fi
   1336 fi
   1337 
   1338 ac_tool_prefix=
   1339 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1340 
   1341 test "$silent" = yes && exec 6>/dev/null
   1342 
   1343 
   1344 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1345 ac_ls_di=`ls -di .` &&
   1346 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1347   { echo "$as_me: error: Working directory cannot be determined" >&2
   1348    { (exit 1); exit 1; }; }
   1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1350   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1351    { (exit 1); exit 1; }; }
   1352 
   1353 
   1354 # Find the source files, if location was not specified.
   1355 if test -z "$srcdir"; then
   1356   ac_srcdir_defaulted=yes
   1357   # Try the directory containing this script, then the parent directory.
   1358   ac_confdir=`$as_dirname -- "$0" ||
   1359 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1360 	 X"$0" : 'X\(//\)[^/]' \| \
   1361 	 X"$0" : 'X\(//\)$' \| \
   1362 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1363 echo X"$0" |
   1364     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1365 	    s//\1/
   1366 	    q
   1367 	  }
   1368 	  /^X\(\/\/\)[^/].*/{
   1369 	    s//\1/
   1370 	    q
   1371 	  }
   1372 	  /^X\(\/\/\)$/{
   1373 	    s//\1/
   1374 	    q
   1375 	  }
   1376 	  /^X\(\/\).*/{
   1377 	    s//\1/
   1378 	    q
   1379 	  }
   1380 	  s/.*/./; q'`
   1381   srcdir=$ac_confdir
   1382   if test ! -r "$srcdir/$ac_unique_file"; then
   1383     srcdir=..
   1384   fi
   1385 else
   1386   ac_srcdir_defaulted=no
   1387 fi
   1388 if test ! -r "$srcdir/$ac_unique_file"; then
   1389   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1390   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1391    { (exit 1); exit 1; }; }
   1392 fi
   1393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1394 ac_abs_confdir=`(
   1395 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1396    { (exit 1); exit 1; }; }
   1397 	pwd)`
   1398 # When building in place, set srcdir=.
   1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1400   srcdir=.
   1401 fi
   1402 # Remove unnecessary trailing slashes from srcdir.
   1403 # Double slashes in file names in object file debugging info
   1404 # mess up M-x gdb in Emacs.
   1405 case $srcdir in
   1406 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1407 esac
   1408 for ac_var in $ac_precious_vars; do
   1409   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1410   eval ac_env_${ac_var}_value=\$${ac_var}
   1411   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1412   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1413 done
   1414 
   1415 #
   1416 # Report the --help message.
   1417 #
   1418 if test "$ac_init_help" = "long"; then
   1419   # Omit some internal or obsolete options to make the list less imposing.
   1420   # This message is too long to be a string in the A/UX 3.1 sh.
   1421   cat <<_ACEOF
   1422 \`configure' configures xf86-video-vmware 10.16.1 to adapt to many kinds of systems.
   1423 
   1424 Usage: $0 [OPTION]... [VAR=VALUE]...
   1425 
   1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1427 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1428 
   1429 Defaults for the options are specified in brackets.
   1430 
   1431 Configuration:
   1432   -h, --help              display this help and exit
   1433       --help=short        display options specific to this package
   1434       --help=recursive    display the short help of all the included packages
   1435   -V, --version           display version information and exit
   1436   -q, --quiet, --silent   do not print \`checking...' messages
   1437       --cache-file=FILE   cache test results in FILE [disabled]
   1438   -C, --config-cache      alias for \`--cache-file=config.cache'
   1439   -n, --no-create         do not create output files
   1440       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1441 
   1442 Installation directories:
   1443   --prefix=PREFIX         install architecture-independent files in PREFIX
   1444 			  [$ac_default_prefix]
   1445   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1446 			  [PREFIX]
   1447 
   1448 By default, \`make install' will install all the files in
   1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1451 for instance \`--prefix=\$HOME'.
   1452 
   1453 For better control, use the options below.
   1454 
   1455 Fine tuning of the installation directories:
   1456   --bindir=DIR           user executables [EPREFIX/bin]
   1457   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1458   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1459   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1460   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1461   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1462   --libdir=DIR           object code libraries [EPREFIX/lib]
   1463   --includedir=DIR       C header files [PREFIX/include]
   1464   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1465   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1466   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1467   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1468   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1469   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1470   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-vmware]
   1471   --htmldir=DIR          html documentation [DOCDIR]
   1472   --dvidir=DIR           dvi documentation [DOCDIR]
   1473   --pdfdir=DIR           pdf documentation [DOCDIR]
   1474   --psdir=DIR            ps documentation [DOCDIR]
   1475 _ACEOF
   1476 
   1477   cat <<\_ACEOF
   1478 
   1479 Program names:
   1480   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1481   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1482   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1483 
   1484 System types:
   1485   --build=BUILD     configure for building on BUILD [guessed]
   1486   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1487 _ACEOF
   1488 fi
   1489 
   1490 if test -n "$ac_init_help"; then
   1491   case $ac_init_help in
   1492      short | recursive ) echo "Configuration of xf86-video-vmware 10.16.1:";;
   1493    esac
   1494   cat <<\_ACEOF
   1495 
   1496 Optional Features:
   1497   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1498   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1499   --enable-maintainer-mode  enable make rules and dependencies not useful
   1500 			  (and sometimes confusing) to the casual installer
   1501   --enable-static[=PKGS]  build static libraries [default=no]
   1502   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1503   --enable-fast-install[=PKGS]
   1504                           optimize for fast installation [default=yes]
   1505   --disable-dependency-tracking  speeds up one-time build
   1506   --enable-dependency-tracking   do not reject slow dependency extractors
   1507   --disable-libtool-lock  avoid locking (might break parallel builds)
   1508 
   1509 Optional Packages:
   1510   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1511   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1512   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1513   --with-pic              try to use only PIC/non-PIC objects [default=use
   1514                           both]
   1515   --with-tags[=TAGS]      include additional configurations [automatic]
   1516   --with-xorg-module-dir=DIR
   1517                           Default xorg module directory
   1518                           [default=$libdir/xorg/modules]
   1519   --with-release-version=STRING
   1520                           Use release version string in package name
   1521 
   1522 Some influential environment variables:
   1523   CC          C compiler command
   1524   CFLAGS      C compiler flags
   1525   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1526               nonstandard directory <lib dir>
   1527   LIBS        libraries to pass to the linker, e.g. -l<library>
   1528   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1529               you have headers in a nonstandard directory <include dir>
   1530   CPP         C preprocessor
   1531   CXX         C++ compiler command
   1532   CXXFLAGS    C++ compiler flags
   1533   CXXCPP      C++ preprocessor
   1534   F77         Fortran 77 compiler command
   1535   FFLAGS      Fortran 77 compiler flags
   1536   PKG_CONFIG  path to pkg-config utility
   1537   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1538   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1539   PCIACCESS_CFLAGS
   1540               C compiler flags for PCIACCESS, overriding pkg-config
   1541   PCIACCESS_LIBS
   1542               linker flags for PCIACCESS, overriding pkg-config
   1543 
   1544 Use these variables to override the choices made by `configure' or to help
   1545 it to find libraries and programs with nonstandard names/locations.
   1546 
   1547 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1548 _ACEOF
   1549 ac_status=$?
   1550 fi
   1551 
   1552 if test "$ac_init_help" = "recursive"; then
   1553   # If there are subdirs, report their specific --help.
   1554   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1555     test -d "$ac_dir" || continue
   1556     ac_builddir=.
   1557 
   1558 case "$ac_dir" in
   1559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1560 *)
   1561   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1562   # A ".." for each directory in $ac_dir_suffix.
   1563   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1564   case $ac_top_builddir_sub in
   1565   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1566   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1567   esac ;;
   1568 esac
   1569 ac_abs_top_builddir=$ac_pwd
   1570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1571 # for backward compatibility:
   1572 ac_top_builddir=$ac_top_build_prefix
   1573 
   1574 case $srcdir in
   1575   .)  # We are building in place.
   1576     ac_srcdir=.
   1577     ac_top_srcdir=$ac_top_builddir_sub
   1578     ac_abs_top_srcdir=$ac_pwd ;;
   1579   [\\/]* | ?:[\\/]* )  # Absolute name.
   1580     ac_srcdir=$srcdir$ac_dir_suffix;
   1581     ac_top_srcdir=$srcdir
   1582     ac_abs_top_srcdir=$srcdir ;;
   1583   *) # Relative name.
   1584     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1585     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1586     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1587 esac
   1588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1589 
   1590     cd "$ac_dir" || { ac_status=$?; continue; }
   1591     # Check for guested configure.
   1592     if test -f "$ac_srcdir/configure.gnu"; then
   1593       echo &&
   1594       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1595     elif test -f "$ac_srcdir/configure"; then
   1596       echo &&
   1597       $SHELL "$ac_srcdir/configure" --help=recursive
   1598     else
   1599       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1600     fi || ac_status=$?
   1601     cd "$ac_pwd" || { ac_status=$?; break; }
   1602   done
   1603 fi
   1604 
   1605 test -n "$ac_init_help" && exit $ac_status
   1606 if $ac_init_version; then
   1607   cat <<\_ACEOF
   1608 xf86-video-vmware configure 10.16.1
   1609 generated by GNU Autoconf 2.61
   1610 
   1611 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1612 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1613 This configure script is free software; the Free Software Foundation
   1614 gives unlimited permission to copy, distribute and modify it.
   1615 _ACEOF
   1616   exit
   1617 fi
   1618 cat >config.log <<_ACEOF
   1619 This file contains any messages produced by compilers while
   1620 running configure, to aid debugging if configure makes a mistake.
   1621 
   1622 It was created by xf86-video-vmware $as_me 10.16.1, which was
   1623 generated by GNU Autoconf 2.61.  Invocation command line was
   1624 
   1625   $ $0 $@
   1626 
   1627 _ACEOF
   1628 exec 5>>config.log
   1629 {
   1630 cat <<_ASUNAME
   1631 ## --------- ##
   1632 ## Platform. ##
   1633 ## --------- ##
   1634 
   1635 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1636 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1637 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1638 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1639 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1640 
   1641 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1642 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1643 
   1644 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1645 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1646 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1647 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1648 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1649 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1650 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1651 
   1652 _ASUNAME
   1653 
   1654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1655 for as_dir in $PATH
   1656 do
   1657   IFS=$as_save_IFS
   1658   test -z "$as_dir" && as_dir=.
   1659   echo "PATH: $as_dir"
   1660 done
   1661 IFS=$as_save_IFS
   1662 
   1663 } >&5
   1664 
   1665 cat >&5 <<_ACEOF
   1666 
   1667 
   1668 ## ----------- ##
   1669 ## Core tests. ##
   1670 ## ----------- ##
   1671 
   1672 _ACEOF
   1673 
   1674 
   1675 # Keep a trace of the command line.
   1676 # Strip out --no-create and --no-recursion so they do not pile up.
   1677 # Strip out --silent because we don't want to record it for future runs.
   1678 # Also quote any args containing shell meta-characters.
   1679 # Make two passes to allow for proper duplicate-argument suppression.
   1680 ac_configure_args=
   1681 ac_configure_args0=
   1682 ac_configure_args1=
   1683 ac_must_keep_next=false
   1684 for ac_pass in 1 2
   1685 do
   1686   for ac_arg
   1687   do
   1688     case $ac_arg in
   1689     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1690     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1691     | -silent | --silent | --silen | --sile | --sil)
   1692       continue ;;
   1693     *\'*)
   1694       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1695     esac
   1696     case $ac_pass in
   1697     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1698     2)
   1699       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1700       if test $ac_must_keep_next = true; then
   1701 	ac_must_keep_next=false # Got value, back to normal.
   1702       else
   1703 	case $ac_arg in
   1704 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1705 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1706 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1707 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1708 	    case "$ac_configure_args0 " in
   1709 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1710 	    esac
   1711 	    ;;
   1712 	  -* ) ac_must_keep_next=true ;;
   1713 	esac
   1714       fi
   1715       ac_configure_args="$ac_configure_args '$ac_arg'"
   1716       ;;
   1717     esac
   1718   done
   1719 done
   1720 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1721 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1722 
   1723 # When interrupted or exit'd, cleanup temporary files, and complete
   1724 # config.log.  We remove comments because anyway the quotes in there
   1725 # would cause problems or look ugly.
   1726 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1727 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1728 trap 'exit_status=$?
   1729   # Save into config.log some information that might help in debugging.
   1730   {
   1731     echo
   1732 
   1733     cat <<\_ASBOX
   1734 ## ---------------- ##
   1735 ## Cache variables. ##
   1736 ## ---------------- ##
   1737 _ASBOX
   1738     echo
   1739     # The following way of writing the cache mishandles newlines in values,
   1740 (
   1741   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1742     eval ac_val=\$$ac_var
   1743     case $ac_val in #(
   1744     *${as_nl}*)
   1745       case $ac_var in #(
   1746       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1747 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1748       esac
   1749       case $ac_var in #(
   1750       _ | IFS | as_nl) ;; #(
   1751       *) $as_unset $ac_var ;;
   1752       esac ;;
   1753     esac
   1754   done
   1755   (set) 2>&1 |
   1756     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1757     *${as_nl}ac_space=\ *)
   1758       sed -n \
   1759 	"s/'\''/'\''\\\\'\'''\''/g;
   1760 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1761       ;; #(
   1762     *)
   1763       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1764       ;;
   1765     esac |
   1766     sort
   1767 )
   1768     echo
   1769 
   1770     cat <<\_ASBOX
   1771 ## ----------------- ##
   1772 ## Output variables. ##
   1773 ## ----------------- ##
   1774 _ASBOX
   1775     echo
   1776     for ac_var in $ac_subst_vars
   1777     do
   1778       eval ac_val=\$$ac_var
   1779       case $ac_val in
   1780       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1781       esac
   1782       echo "$ac_var='\''$ac_val'\''"
   1783     done | sort
   1784     echo
   1785 
   1786     if test -n "$ac_subst_files"; then
   1787       cat <<\_ASBOX
   1788 ## ------------------- ##
   1789 ## File substitutions. ##
   1790 ## ------------------- ##
   1791 _ASBOX
   1792       echo
   1793       for ac_var in $ac_subst_files
   1794       do
   1795 	eval ac_val=\$$ac_var
   1796 	case $ac_val in
   1797 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1798 	esac
   1799 	echo "$ac_var='\''$ac_val'\''"
   1800       done | sort
   1801       echo
   1802     fi
   1803 
   1804     if test -s confdefs.h; then
   1805       cat <<\_ASBOX
   1806 ## ----------- ##
   1807 ## confdefs.h. ##
   1808 ## ----------- ##
   1809 _ASBOX
   1810       echo
   1811       cat confdefs.h
   1812       echo
   1813     fi
   1814     test "$ac_signal" != 0 &&
   1815       echo "$as_me: caught signal $ac_signal"
   1816     echo "$as_me: exit $exit_status"
   1817   } >&5
   1818   rm -f core *.core core.conftest.* &&
   1819     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1820     exit $exit_status
   1821 ' 0
   1822 for ac_signal in 1 2 13 15; do
   1823   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1824 done
   1825 ac_signal=0
   1826 
   1827 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1828 rm -f -r conftest* confdefs.h
   1829 
   1830 # Predefined preprocessor variables.
   1831 
   1832 cat >>confdefs.h <<_ACEOF
   1833 #define PACKAGE_NAME "$PACKAGE_NAME"
   1834 _ACEOF
   1835 
   1836 
   1837 cat >>confdefs.h <<_ACEOF
   1838 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1839 _ACEOF
   1840 
   1841 
   1842 cat >>confdefs.h <<_ACEOF
   1843 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1844 _ACEOF
   1845 
   1846 
   1847 cat >>confdefs.h <<_ACEOF
   1848 #define PACKAGE_STRING "$PACKAGE_STRING"
   1849 _ACEOF
   1850 
   1851 
   1852 cat >>confdefs.h <<_ACEOF
   1853 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1854 _ACEOF
   1855 
   1856 
   1857 # Let the site file select an alternate cache file if it wants to.
   1858 # Prefer explicitly selected file to automatically selected ones.
   1859 if test -n "$CONFIG_SITE"; then
   1860   set x "$CONFIG_SITE"
   1861 elif test "x$prefix" != xNONE; then
   1862   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1863 else
   1864   set x "$ac_default_prefix/share/config.site" \
   1865 	"$ac_default_prefix/etc/config.site"
   1866 fi
   1867 shift
   1868 for ac_site_file
   1869 do
   1870   if test -r "$ac_site_file"; then
   1871     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1872 echo "$as_me: loading site script $ac_site_file" >&6;}
   1873     sed 's/^/| /' "$ac_site_file" >&5
   1874     . "$ac_site_file"
   1875   fi
   1876 done
   1877 
   1878 if test -r "$cache_file"; then
   1879   # Some versions of bash will fail to source /dev/null (special
   1880   # files actually), so we avoid doing that.
   1881   if test -f "$cache_file"; then
   1882     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1883 echo "$as_me: loading cache $cache_file" >&6;}
   1884     case $cache_file in
   1885       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1886       *)                      . "./$cache_file";;
   1887     esac
   1888   fi
   1889 else
   1890   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1891 echo "$as_me: creating cache $cache_file" >&6;}
   1892   >$cache_file
   1893 fi
   1894 
   1895 # Check that the precious variables saved in the cache have kept the same
   1896 # value.
   1897 ac_cache_corrupted=false
   1898 for ac_var in $ac_precious_vars; do
   1899   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1900   eval ac_new_set=\$ac_env_${ac_var}_set
   1901   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1902   eval ac_new_val=\$ac_env_${ac_var}_value
   1903   case $ac_old_set,$ac_new_set in
   1904     set,)
   1905       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1906 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1907       ac_cache_corrupted=: ;;
   1908     ,set)
   1909       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1910 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1911       ac_cache_corrupted=: ;;
   1912     ,);;
   1913     *)
   1914       if test "x$ac_old_val" != "x$ac_new_val"; then
   1915 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1916 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1917 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1918 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1919 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1920 echo "$as_me:   current value: $ac_new_val" >&2;}
   1921 	ac_cache_corrupted=:
   1922       fi;;
   1923   esac
   1924   # Pass precious variables to config.status.
   1925   if test "$ac_new_set" = set; then
   1926     case $ac_new_val in
   1927     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1928     *) ac_arg=$ac_var=$ac_new_val ;;
   1929     esac
   1930     case " $ac_configure_args " in
   1931       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1932       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1933     esac
   1934   fi
   1935 done
   1936 if $ac_cache_corrupted; then
   1937   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1938 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1939   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1940 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1941    { (exit 1); exit 1; }; }
   1942 fi
   1943 
   1944 
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 
   1958 
   1959 
   1960 
   1961 
   1962 
   1963 
   1964 
   1965 
   1966 
   1967 
   1968 ac_ext=c
   1969 ac_cpp='$CPP $CPPFLAGS'
   1970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1973 
   1974 
   1975 
   1976 
   1977 ac_config_headers="$ac_config_headers config.h"
   1978 
   1979 ac_aux_dir=
   1980 for ac_dir in . "$srcdir"/.; do
   1981   if test -f "$ac_dir/install-sh"; then
   1982     ac_aux_dir=$ac_dir
   1983     ac_install_sh="$ac_aux_dir/install-sh -c"
   1984     break
   1985   elif test -f "$ac_dir/install.sh"; then
   1986     ac_aux_dir=$ac_dir
   1987     ac_install_sh="$ac_aux_dir/install.sh -c"
   1988     break
   1989   elif test -f "$ac_dir/shtool"; then
   1990     ac_aux_dir=$ac_dir
   1991     ac_install_sh="$ac_aux_dir/shtool install -c"
   1992     break
   1993   fi
   1994 done
   1995 if test -z "$ac_aux_dir"; then
   1996   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   1997 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   1998    { (exit 1); exit 1; }; }
   1999 fi
   2000 
   2001 # These three variables are undocumented and unsupported,
   2002 # and are intended to be withdrawn in a future Autoconf release.
   2003 # They can cause serious problems if a builder's source tree is in a directory
   2004 # whose full name contains unusual characters.
   2005 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2006 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2007 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2008 
   2009 
   2010 
   2011 am__api_version='1.10'
   2012 
   2013 # Find a good install program.  We prefer a C program (faster),
   2014 # so one script is as good as another.  But avoid the broken or
   2015 # incompatible versions:
   2016 # SysV /etc/install, /usr/sbin/install
   2017 # SunOS /usr/etc/install
   2018 # IRIX /sbin/install
   2019 # AIX /bin/install
   2020 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2024 # OS/2's system install, which has a completely different semantic
   2025 # ./install, which can be erroneously created by make from ./install.sh.
   2026 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2028 if test -z "$INSTALL"; then
   2029 if test "${ac_cv_path_install+set}" = set; then
   2030   echo $ECHO_N "(cached) $ECHO_C" >&6
   2031 else
   2032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2033 for as_dir in $PATH
   2034 do
   2035   IFS=$as_save_IFS
   2036   test -z "$as_dir" && as_dir=.
   2037   # Account for people who put trailing slashes in PATH elements.
   2038 case $as_dir/ in
   2039   ./ | .// | /cC/* | \
   2040   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2041   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2042   /usr/ucb/* ) ;;
   2043   *)
   2044     # OSF1 and SCO ODT 3.0 have their own names for install.
   2045     # Don't use installbsd from OSF since it installs stuff as root
   2046     # by default.
   2047     for ac_prog in ginstall scoinst install; do
   2048       for ac_exec_ext in '' $ac_executable_extensions; do
   2049 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2050 	  if test $ac_prog = install &&
   2051 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2052 	    # AIX install.  It has an incompatible calling convention.
   2053 	    :
   2054 	  elif test $ac_prog = install &&
   2055 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2056 	    # program-specific install script used by HP pwplus--don't use.
   2057 	    :
   2058 	  else
   2059 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2060 	    break 3
   2061 	  fi
   2062 	fi
   2063       done
   2064     done
   2065     ;;
   2066 esac
   2067 done
   2068 IFS=$as_save_IFS
   2069 
   2070 
   2071 fi
   2072   if test "${ac_cv_path_install+set}" = set; then
   2073     INSTALL=$ac_cv_path_install
   2074   else
   2075     # As a last resort, use the slow shell script.  Don't cache a
   2076     # value for INSTALL within a source directory, because that will
   2077     # break other packages using the cache if that directory is
   2078     # removed, or if the value is a relative name.
   2079     INSTALL=$ac_install_sh
   2080   fi
   2081 fi
   2082 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2083 echo "${ECHO_T}$INSTALL" >&6; }
   2084 
   2085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2086 # It thinks the first close brace ends the variable substitution.
   2087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2088 
   2089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2090 
   2091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2092 
   2093 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2094 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2095 # Just in case
   2096 sleep 1
   2097 echo timestamp > conftest.file
   2098 # Do `set' in a subshell so we don't clobber the current shell's
   2099 # arguments.  Must try -L first in case configure is actually a
   2100 # symlink; some systems play weird games with the mod time of symlinks
   2101 # (eg FreeBSD returns the mod time of the symlink's containing
   2102 # directory).
   2103 if (
   2104    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2105    if test "$*" = "X"; then
   2106       # -L didn't work.
   2107       set X `ls -t $srcdir/configure conftest.file`
   2108    fi
   2109    rm -f conftest.file
   2110    if test "$*" != "X $srcdir/configure conftest.file" \
   2111       && test "$*" != "X conftest.file $srcdir/configure"; then
   2112 
   2113       # If neither matched, then we have a broken ls.  This can happen
   2114       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2115       # broken ls alias from the environment.  This has actually
   2116       # happened.  Such a system could not be considered "sane".
   2117       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2118 alias in your environment" >&5
   2119 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2120 alias in your environment" >&2;}
   2121    { (exit 1); exit 1; }; }
   2122    fi
   2123 
   2124    test "$2" = conftest.file
   2125    )
   2126 then
   2127    # Ok.
   2128    :
   2129 else
   2130    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2131 Check your system clock" >&5
   2132 echo "$as_me: error: newly created file is older than distributed files!
   2133 Check your system clock" >&2;}
   2134    { (exit 1); exit 1; }; }
   2135 fi
   2136 { echo "$as_me:$LINENO: result: yes" >&5
   2137 echo "${ECHO_T}yes" >&6; }
   2138 test "$program_prefix" != NONE &&
   2139   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2140 # Use a double $ so make ignores it.
   2141 test "$program_suffix" != NONE &&
   2142   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2143 # Double any \ or $.  echo might interpret backslashes.
   2144 # By default was `s,x,x', remove it if useless.
   2145 cat <<\_ACEOF >conftest.sed
   2146 s/[\\$]/&&/g;s/;s,x,x,$//
   2147 _ACEOF
   2148 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2149 rm -f conftest.sed
   2150 
   2151 # expand $ac_aux_dir to an absolute path
   2152 am_aux_dir=`cd $ac_aux_dir && pwd`
   2153 
   2154 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2155 # Use eval to expand $SHELL
   2156 if eval "$MISSING --run true"; then
   2157   am_missing_run="$MISSING --run "
   2158 else
   2159   am_missing_run=
   2160   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2161 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2162 fi
   2163 
   2164 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2165 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2166 if test -z "$MKDIR_P"; then
   2167   if test "${ac_cv_path_mkdir+set}" = set; then
   2168   echo $ECHO_N "(cached) $ECHO_C" >&6
   2169 else
   2170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2171 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2172 do
   2173   IFS=$as_save_IFS
   2174   test -z "$as_dir" && as_dir=.
   2175   for ac_prog in mkdir gmkdir; do
   2176 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2177 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2178 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2179 	     'mkdir (GNU coreutils) '* | \
   2180 	     'mkdir (coreutils) '* | \
   2181 	     'mkdir (fileutils) '4.1*)
   2182 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2183 	       break 3;;
   2184 	   esac
   2185 	 done
   2186        done
   2187 done
   2188 IFS=$as_save_IFS
   2189 
   2190 fi
   2191 
   2192   if test "${ac_cv_path_mkdir+set}" = set; then
   2193     MKDIR_P="$ac_cv_path_mkdir -p"
   2194   else
   2195     # As a last resort, use the slow shell script.  Don't cache a
   2196     # value for MKDIR_P within a source directory, because that will
   2197     # break other packages using the cache if that directory is
   2198     # removed, or if the value is a relative name.
   2199     test -d ./--version && rmdir ./--version
   2200     MKDIR_P="$ac_install_sh -d"
   2201   fi
   2202 fi
   2203 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2204 echo "${ECHO_T}$MKDIR_P" >&6; }
   2205 
   2206 mkdir_p="$MKDIR_P"
   2207 case $mkdir_p in
   2208   [\\/$]* | ?:[\\/]*) ;;
   2209   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2210 esac
   2211 
   2212 for ac_prog in gawk mawk nawk awk
   2213 do
   2214   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2215 set dummy $ac_prog; ac_word=$2
   2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2218 if test "${ac_cv_prog_AWK+set}" = set; then
   2219   echo $ECHO_N "(cached) $ECHO_C" >&6
   2220 else
   2221   if test -n "$AWK"; then
   2222   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2223 else
   2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2225 for as_dir in $PATH
   2226 do
   2227   IFS=$as_save_IFS
   2228   test -z "$as_dir" && as_dir=.
   2229   for ac_exec_ext in '' $ac_executable_extensions; do
   2230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2231     ac_cv_prog_AWK="$ac_prog"
   2232     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2233     break 2
   2234   fi
   2235 done
   2236 done
   2237 IFS=$as_save_IFS
   2238 
   2239 fi
   2240 fi
   2241 AWK=$ac_cv_prog_AWK
   2242 if test -n "$AWK"; then
   2243   { echo "$as_me:$LINENO: result: $AWK" >&5
   2244 echo "${ECHO_T}$AWK" >&6; }
   2245 else
   2246   { echo "$as_me:$LINENO: result: no" >&5
   2247 echo "${ECHO_T}no" >&6; }
   2248 fi
   2249 
   2250 
   2251   test -n "$AWK" && break
   2252 done
   2253 
   2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2256 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2257 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2258   echo $ECHO_N "(cached) $ECHO_C" >&6
   2259 else
   2260   cat >conftest.make <<\_ACEOF
   2261 SHELL = /bin/sh
   2262 all:
   2263 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2264 _ACEOF
   2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2267   *@@@%%%=?*=@@@%%%*)
   2268     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2269   *)
   2270     eval ac_cv_prog_make_${ac_make}_set=no;;
   2271 esac
   2272 rm -f conftest.make
   2273 fi
   2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2275   { echo "$as_me:$LINENO: result: yes" >&5
   2276 echo "${ECHO_T}yes" >&6; }
   2277   SET_MAKE=
   2278 else
   2279   { echo "$as_me:$LINENO: result: no" >&5
   2280 echo "${ECHO_T}no" >&6; }
   2281   SET_MAKE="MAKE=${MAKE-make}"
   2282 fi
   2283 
   2284 rm -rf .tst 2>/dev/null
   2285 mkdir .tst 2>/dev/null
   2286 if test -d .tst; then
   2287   am__leading_dot=.
   2288 else
   2289   am__leading_dot=_
   2290 fi
   2291 rmdir .tst 2>/dev/null
   2292 
   2293 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2294   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2295   # is not polluted with repeated "-I."
   2296   am__isrc=' -I$(srcdir)'
   2297   # test to see if srcdir already configured
   2298   if test -f $srcdir/config.status; then
   2299     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2300 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2301    { (exit 1); exit 1; }; }
   2302   fi
   2303 fi
   2304 
   2305 # test whether we have cygpath
   2306 if test -z "$CYGPATH_W"; then
   2307   if (cygpath --version) >/dev/null 2>/dev/null; then
   2308     CYGPATH_W='cygpath -w'
   2309   else
   2310     CYGPATH_W=echo
   2311   fi
   2312 fi
   2313 
   2314 
   2315 # Define the identity of the package.
   2316  PACKAGE='xf86-video-vmware'
   2317  VERSION='10.16.1'
   2318 
   2319 
   2320 cat >>confdefs.h <<_ACEOF
   2321 #define PACKAGE "$PACKAGE"
   2322 _ACEOF
   2323 
   2324 
   2325 cat >>confdefs.h <<_ACEOF
   2326 #define VERSION "$VERSION"
   2327 _ACEOF
   2328 
   2329 # Some tools Automake needs.
   2330 
   2331 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2332 
   2333 
   2334 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2335 
   2336 
   2337 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2338 
   2339 
   2340 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2341 
   2342 
   2343 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2344 
   2345 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2346 
   2347 # Installed binaries are usually stripped using `strip' when the user
   2348 # run `make install-strip'.  However `strip' might not be the right
   2349 # tool to use in cross-compilation environments, therefore Automake
   2350 # will honor the `STRIP' environment variable to overrule this program.
   2351 if test "$cross_compiling" != no; then
   2352   if test -n "$ac_tool_prefix"; then
   2353   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2354 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2357 if test "${ac_cv_prog_STRIP+set}" = set; then
   2358   echo $ECHO_N "(cached) $ECHO_C" >&6
   2359 else
   2360   if test -n "$STRIP"; then
   2361   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2362 else
   2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2364 for as_dir in $PATH
   2365 do
   2366   IFS=$as_save_IFS
   2367   test -z "$as_dir" && as_dir=.
   2368   for ac_exec_ext in '' $ac_executable_extensions; do
   2369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2370     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2371     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2372     break 2
   2373   fi
   2374 done
   2375 done
   2376 IFS=$as_save_IFS
   2377 
   2378 fi
   2379 fi
   2380 STRIP=$ac_cv_prog_STRIP
   2381 if test -n "$STRIP"; then
   2382   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2383 echo "${ECHO_T}$STRIP" >&6; }
   2384 else
   2385   { echo "$as_me:$LINENO: result: no" >&5
   2386 echo "${ECHO_T}no" >&6; }
   2387 fi
   2388 
   2389 
   2390 fi
   2391 if test -z "$ac_cv_prog_STRIP"; then
   2392   ac_ct_STRIP=$STRIP
   2393   # Extract the first word of "strip", so it can be a program name with args.
   2394 set dummy strip; ac_word=$2
   2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2398   echo $ECHO_N "(cached) $ECHO_C" >&6
   2399 else
   2400   if test -n "$ac_ct_STRIP"; then
   2401   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2402 else
   2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2404 for as_dir in $PATH
   2405 do
   2406   IFS=$as_save_IFS
   2407   test -z "$as_dir" && as_dir=.
   2408   for ac_exec_ext in '' $ac_executable_extensions; do
   2409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2410     ac_cv_prog_ac_ct_STRIP="strip"
   2411     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2412     break 2
   2413   fi
   2414 done
   2415 done
   2416 IFS=$as_save_IFS
   2417 
   2418 fi
   2419 fi
   2420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2421 if test -n "$ac_ct_STRIP"; then
   2422   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2423 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2424 else
   2425   { echo "$as_me:$LINENO: result: no" >&5
   2426 echo "${ECHO_T}no" >&6; }
   2427 fi
   2428 
   2429   if test "x$ac_ct_STRIP" = x; then
   2430     STRIP=":"
   2431   else
   2432     case $cross_compiling:$ac_tool_warned in
   2433 yes:)
   2434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2435 whose name does not start with the host triplet.  If you think this
   2436 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2438 whose name does not start with the host triplet.  If you think this
   2439 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2440 ac_tool_warned=yes ;;
   2441 esac
   2442     STRIP=$ac_ct_STRIP
   2443   fi
   2444 else
   2445   STRIP="$ac_cv_prog_STRIP"
   2446 fi
   2447 
   2448 fi
   2449 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2450 
   2451 # We need awk for the "check" target.  The system "awk" is bad on
   2452 # some platforms.
   2453 # Always define AMTAR for backward compatibility.
   2454 
   2455 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2456 
   2457 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2458 
   2459 
   2460 
   2461 
   2462 
   2463 
   2464 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2465 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2466     # Check whether --enable-maintainer-mode was given.
   2467 if test "${enable_maintainer_mode+set}" = set; then
   2468   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2469 else
   2470   USE_MAINTAINER_MODE=no
   2471 fi
   2472 
   2473   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2474 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2475    if test $USE_MAINTAINER_MODE = yes; then
   2476   MAINTAINER_MODE_TRUE=
   2477   MAINTAINER_MODE_FALSE='#'
   2478 else
   2479   MAINTAINER_MODE_TRUE='#'
   2480   MAINTAINER_MODE_FALSE=
   2481 fi
   2482 
   2483   MAINT=$MAINTAINER_MODE_TRUE
   2484 
   2485 
   2486 
   2487 # Checks for programs.
   2488 # Check whether --enable-static was given.
   2489 if test "${enable_static+set}" = set; then
   2490   enableval=$enable_static; p=${PACKAGE-default}
   2491     case $enableval in
   2492     yes) enable_static=yes ;;
   2493     no) enable_static=no ;;
   2494     *)
   2495      enable_static=no
   2496       # Look at the argument we got.  We use all the common list separators.
   2497       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2498       for pkg in $enableval; do
   2499 	IFS="$lt_save_ifs"
   2500 	if test "X$pkg" = "X$p"; then
   2501 	  enable_static=yes
   2502 	fi
   2503       done
   2504       IFS="$lt_save_ifs"
   2505       ;;
   2506     esac
   2507 else
   2508   enable_static=no
   2509 fi
   2510 
   2511 
   2512 
   2513 # Check whether --enable-shared was given.
   2514 if test "${enable_shared+set}" = set; then
   2515   enableval=$enable_shared; p=${PACKAGE-default}
   2516     case $enableval in
   2517     yes) enable_shared=yes ;;
   2518     no) enable_shared=no ;;
   2519     *)
   2520       enable_shared=no
   2521       # Look at the argument we got.  We use all the common list separators.
   2522       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2523       for pkg in $enableval; do
   2524 	IFS="$lt_save_ifs"
   2525 	if test "X$pkg" = "X$p"; then
   2526 	  enable_shared=yes
   2527 	fi
   2528       done
   2529       IFS="$lt_save_ifs"
   2530       ;;
   2531     esac
   2532 else
   2533   enable_shared=yes
   2534 fi
   2535 
   2536 
   2537 # Check whether --enable-fast-install was given.
   2538 if test "${enable_fast_install+set}" = set; then
   2539   enableval=$enable_fast_install; p=${PACKAGE-default}
   2540     case $enableval in
   2541     yes) enable_fast_install=yes ;;
   2542     no) enable_fast_install=no ;;
   2543     *)
   2544       enable_fast_install=no
   2545       # Look at the argument we got.  We use all the common list separators.
   2546       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2547       for pkg in $enableval; do
   2548 	IFS="$lt_save_ifs"
   2549 	if test "X$pkg" = "X$p"; then
   2550 	  enable_fast_install=yes
   2551 	fi
   2552       done
   2553       IFS="$lt_save_ifs"
   2554       ;;
   2555     esac
   2556 else
   2557   enable_fast_install=yes
   2558 fi
   2559 
   2560 
   2561 # Make sure we can run config.sub.
   2562 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2563   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2564 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2565    { (exit 1); exit 1; }; }
   2566 
   2567 { echo "$as_me:$LINENO: checking build system type" >&5
   2568 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2569 if test "${ac_cv_build+set}" = set; then
   2570   echo $ECHO_N "(cached) $ECHO_C" >&6
   2571 else
   2572   ac_build_alias=$build_alias
   2573 test "x$ac_build_alias" = x &&
   2574   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2575 test "x$ac_build_alias" = x &&
   2576   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2577 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2578    { (exit 1); exit 1; }; }
   2579 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2580   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2581 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2582    { (exit 1); exit 1; }; }
   2583 
   2584 fi
   2585 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2586 echo "${ECHO_T}$ac_cv_build" >&6; }
   2587 case $ac_cv_build in
   2588 *-*-*) ;;
   2589 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2590 echo "$as_me: error: invalid value of canonical build" >&2;}
   2591    { (exit 1); exit 1; }; };;
   2592 esac
   2593 build=$ac_cv_build
   2594 ac_save_IFS=$IFS; IFS='-'
   2595 set x $ac_cv_build
   2596 shift
   2597 build_cpu=$1
   2598 build_vendor=$2
   2599 shift; shift
   2600 # Remember, the first character of IFS is used to create $*,
   2601 # except with old shells:
   2602 build_os=$*
   2603 IFS=$ac_save_IFS
   2604 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2605 
   2606 
   2607 { echo "$as_me:$LINENO: checking host system type" >&5
   2608 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2609 if test "${ac_cv_host+set}" = set; then
   2610   echo $ECHO_N "(cached) $ECHO_C" >&6
   2611 else
   2612   if test "x$host_alias" = x; then
   2613   ac_cv_host=$ac_cv_build
   2614 else
   2615   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2616     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2617 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2618    { (exit 1); exit 1; }; }
   2619 fi
   2620 
   2621 fi
   2622 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2623 echo "${ECHO_T}$ac_cv_host" >&6; }
   2624 case $ac_cv_host in
   2625 *-*-*) ;;
   2626 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2627 echo "$as_me: error: invalid value of canonical host" >&2;}
   2628    { (exit 1); exit 1; }; };;
   2629 esac
   2630 host=$ac_cv_host
   2631 ac_save_IFS=$IFS; IFS='-'
   2632 set x $ac_cv_host
   2633 shift
   2634 host_cpu=$1
   2635 host_vendor=$2
   2636 shift; shift
   2637 # Remember, the first character of IFS is used to create $*,
   2638 # except with old shells:
   2639 host_os=$*
   2640 IFS=$ac_save_IFS
   2641 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2642 
   2643 
   2644 DEPDIR="${am__leading_dot}deps"
   2645 
   2646 ac_config_commands="$ac_config_commands depfiles"
   2647 
   2648 
   2649 am_make=${MAKE-make}
   2650 cat > confinc << 'END'
   2651 am__doit:
   2652 	@echo done
   2653 .PHONY: am__doit
   2654 END
   2655 # If we don't find an include directive, just comment out the code.
   2656 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2657 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2658 am__include="#"
   2659 am__quote=
   2660 _am_result=none
   2661 # First try GNU make style include.
   2662 echo "include confinc" > confmf
   2663 # We grep out `Entering directory' and `Leaving directory'
   2664 # messages which can occur if `w' ends up in MAKEFLAGS.
   2665 # In particular we don't look at `^make:' because GNU make might
   2666 # be invoked under some other name (usually "gmake"), in which
   2667 # case it prints its new name instead of `make'.
   2668 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2669    am__include=include
   2670    am__quote=
   2671    _am_result=GNU
   2672 fi
   2673 # Now try BSD make style include.
   2674 if test "$am__include" = "#"; then
   2675    echo '.include "confinc"' > confmf
   2676    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2677       am__include=.include
   2678       am__quote="\""
   2679       _am_result=BSD
   2680    fi
   2681 fi
   2682 
   2683 
   2684 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2685 echo "${ECHO_T}$_am_result" >&6; }
   2686 rm -f confinc confmf
   2687 
   2688 # Check whether --enable-dependency-tracking was given.
   2689 if test "${enable_dependency_tracking+set}" = set; then
   2690   enableval=$enable_dependency_tracking;
   2691 fi
   2692 
   2693 if test "x$enable_dependency_tracking" != xno; then
   2694   am_depcomp="$ac_aux_dir/depcomp"
   2695   AMDEPBACKSLASH='\'
   2696 fi
   2697  if test "x$enable_dependency_tracking" != xno; then
   2698   AMDEP_TRUE=
   2699   AMDEP_FALSE='#'
   2700 else
   2701   AMDEP_TRUE='#'
   2702   AMDEP_FALSE=
   2703 fi
   2704 
   2705 
   2706 ac_ext=c
   2707 ac_cpp='$CPP $CPPFLAGS'
   2708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2711 if test -n "$ac_tool_prefix"; then
   2712   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2713 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2716 if test "${ac_cv_prog_CC+set}" = set; then
   2717   echo $ECHO_N "(cached) $ECHO_C" >&6
   2718 else
   2719   if test -n "$CC"; then
   2720   ac_cv_prog_CC="$CC" # Let the user override the test.
   2721 else
   2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2723 for as_dir in $PATH
   2724 do
   2725   IFS=$as_save_IFS
   2726   test -z "$as_dir" && as_dir=.
   2727   for ac_exec_ext in '' $ac_executable_extensions; do
   2728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2729     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2730     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2731     break 2
   2732   fi
   2733 done
   2734 done
   2735 IFS=$as_save_IFS
   2736 
   2737 fi
   2738 fi
   2739 CC=$ac_cv_prog_CC
   2740 if test -n "$CC"; then
   2741   { echo "$as_me:$LINENO: result: $CC" >&5
   2742 echo "${ECHO_T}$CC" >&6; }
   2743 else
   2744   { echo "$as_me:$LINENO: result: no" >&5
   2745 echo "${ECHO_T}no" >&6; }
   2746 fi
   2747 
   2748 
   2749 fi
   2750 if test -z "$ac_cv_prog_CC"; then
   2751   ac_ct_CC=$CC
   2752   # Extract the first word of "gcc", so it can be a program name with args.
   2753 set dummy gcc; ac_word=$2
   2754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2757   echo $ECHO_N "(cached) $ECHO_C" >&6
   2758 else
   2759   if test -n "$ac_ct_CC"; then
   2760   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2761 else
   2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2763 for as_dir in $PATH
   2764 do
   2765   IFS=$as_save_IFS
   2766   test -z "$as_dir" && as_dir=.
   2767   for ac_exec_ext in '' $ac_executable_extensions; do
   2768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2769     ac_cv_prog_ac_ct_CC="gcc"
   2770     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2771     break 2
   2772   fi
   2773 done
   2774 done
   2775 IFS=$as_save_IFS
   2776 
   2777 fi
   2778 fi
   2779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2780 if test -n "$ac_ct_CC"; then
   2781   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2782 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2783 else
   2784   { echo "$as_me:$LINENO: result: no" >&5
   2785 echo "${ECHO_T}no" >&6; }
   2786 fi
   2787 
   2788   if test "x$ac_ct_CC" = x; then
   2789     CC=""
   2790   else
   2791     case $cross_compiling:$ac_tool_warned in
   2792 yes:)
   2793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2794 whose name does not start with the host triplet.  If you think this
   2795 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2797 whose name does not start with the host triplet.  If you think this
   2798 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2799 ac_tool_warned=yes ;;
   2800 esac
   2801     CC=$ac_ct_CC
   2802   fi
   2803 else
   2804   CC="$ac_cv_prog_CC"
   2805 fi
   2806 
   2807 if test -z "$CC"; then
   2808           if test -n "$ac_tool_prefix"; then
   2809     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2810 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2813 if test "${ac_cv_prog_CC+set}" = set; then
   2814   echo $ECHO_N "(cached) $ECHO_C" >&6
   2815 else
   2816   if test -n "$CC"; then
   2817   ac_cv_prog_CC="$CC" # Let the user override the test.
   2818 else
   2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2820 for as_dir in $PATH
   2821 do
   2822   IFS=$as_save_IFS
   2823   test -z "$as_dir" && as_dir=.
   2824   for ac_exec_ext in '' $ac_executable_extensions; do
   2825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2826     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2827     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2828     break 2
   2829   fi
   2830 done
   2831 done
   2832 IFS=$as_save_IFS
   2833 
   2834 fi
   2835 fi
   2836 CC=$ac_cv_prog_CC
   2837 if test -n "$CC"; then
   2838   { echo "$as_me:$LINENO: result: $CC" >&5
   2839 echo "${ECHO_T}$CC" >&6; }
   2840 else
   2841   { echo "$as_me:$LINENO: result: no" >&5
   2842 echo "${ECHO_T}no" >&6; }
   2843 fi
   2844 
   2845 
   2846   fi
   2847 fi
   2848 if test -z "$CC"; then
   2849   # Extract the first word of "cc", so it can be a program name with args.
   2850 set dummy cc; ac_word=$2
   2851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2853 if test "${ac_cv_prog_CC+set}" = set; then
   2854   echo $ECHO_N "(cached) $ECHO_C" >&6
   2855 else
   2856   if test -n "$CC"; then
   2857   ac_cv_prog_CC="$CC" # Let the user override the test.
   2858 else
   2859   ac_prog_rejected=no
   2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2861 for as_dir in $PATH
   2862 do
   2863   IFS=$as_save_IFS
   2864   test -z "$as_dir" && as_dir=.
   2865   for ac_exec_ext in '' $ac_executable_extensions; do
   2866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2867     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2868        ac_prog_rejected=yes
   2869        continue
   2870      fi
   2871     ac_cv_prog_CC="cc"
   2872     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2873     break 2
   2874   fi
   2875 done
   2876 done
   2877 IFS=$as_save_IFS
   2878 
   2879 if test $ac_prog_rejected = yes; then
   2880   # We found a bogon in the path, so make sure we never use it.
   2881   set dummy $ac_cv_prog_CC
   2882   shift
   2883   if test $# != 0; then
   2884     # We chose a different compiler from the bogus one.
   2885     # However, it has the same basename, so the bogon will be chosen
   2886     # first if we set CC to just the basename; use the full file name.
   2887     shift
   2888     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2889   fi
   2890 fi
   2891 fi
   2892 fi
   2893 CC=$ac_cv_prog_CC
   2894 if test -n "$CC"; then
   2895   { echo "$as_me:$LINENO: result: $CC" >&5
   2896 echo "${ECHO_T}$CC" >&6; }
   2897 else
   2898   { echo "$as_me:$LINENO: result: no" >&5
   2899 echo "${ECHO_T}no" >&6; }
   2900 fi
   2901 
   2902 
   2903 fi
   2904 if test -z "$CC"; then
   2905   if test -n "$ac_tool_prefix"; then
   2906   for ac_prog in cl.exe
   2907   do
   2908     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2909 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2912 if test "${ac_cv_prog_CC+set}" = set; then
   2913   echo $ECHO_N "(cached) $ECHO_C" >&6
   2914 else
   2915   if test -n "$CC"; then
   2916   ac_cv_prog_CC="$CC" # Let the user override the test.
   2917 else
   2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2919 for as_dir in $PATH
   2920 do
   2921   IFS=$as_save_IFS
   2922   test -z "$as_dir" && as_dir=.
   2923   for ac_exec_ext in '' $ac_executable_extensions; do
   2924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2925     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2927     break 2
   2928   fi
   2929 done
   2930 done
   2931 IFS=$as_save_IFS
   2932 
   2933 fi
   2934 fi
   2935 CC=$ac_cv_prog_CC
   2936 if test -n "$CC"; then
   2937   { echo "$as_me:$LINENO: result: $CC" >&5
   2938 echo "${ECHO_T}$CC" >&6; }
   2939 else
   2940   { echo "$as_me:$LINENO: result: no" >&5
   2941 echo "${ECHO_T}no" >&6; }
   2942 fi
   2943 
   2944 
   2945     test -n "$CC" && break
   2946   done
   2947 fi
   2948 if test -z "$CC"; then
   2949   ac_ct_CC=$CC
   2950   for ac_prog in cl.exe
   2951 do
   2952   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2953 set dummy $ac_prog; ac_word=$2
   2954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2956 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2957   echo $ECHO_N "(cached) $ECHO_C" >&6
   2958 else
   2959   if test -n "$ac_ct_CC"; then
   2960   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2961 else
   2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2963 for as_dir in $PATH
   2964 do
   2965   IFS=$as_save_IFS
   2966   test -z "$as_dir" && as_dir=.
   2967   for ac_exec_ext in '' $ac_executable_extensions; do
   2968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2969     ac_cv_prog_ac_ct_CC="$ac_prog"
   2970     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2971     break 2
   2972   fi
   2973 done
   2974 done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi
   2978 fi
   2979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2980 if test -n "$ac_ct_CC"; then
   2981   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2982 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2983 else
   2984   { echo "$as_me:$LINENO: result: no" >&5
   2985 echo "${ECHO_T}no" >&6; }
   2986 fi
   2987 
   2988 
   2989   test -n "$ac_ct_CC" && break
   2990 done
   2991 
   2992   if test "x$ac_ct_CC" = x; then
   2993     CC=""
   2994   else
   2995     case $cross_compiling:$ac_tool_warned in
   2996 yes:)
   2997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2998 whose name does not start with the host triplet.  If you think this
   2999 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3001 whose name does not start with the host triplet.  If you think this
   3002 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3003 ac_tool_warned=yes ;;
   3004 esac
   3005     CC=$ac_ct_CC
   3006   fi
   3007 fi
   3008 
   3009 fi
   3010 
   3011 
   3012 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3013 See \`config.log' for more details." >&5
   3014 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3015 See \`config.log' for more details." >&2;}
   3016    { (exit 1); exit 1; }; }
   3017 
   3018 # Provide some information about the compiler.
   3019 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3020 ac_compiler=`set X $ac_compile; echo $2`
   3021 { (ac_try="$ac_compiler --version >&5"
   3022 case "(($ac_try" in
   3023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3024   *) ac_try_echo=$ac_try;;
   3025 esac
   3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3027   (eval "$ac_compiler --version >&5") 2>&5
   3028   ac_status=$?
   3029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3030   (exit $ac_status); }
   3031 { (ac_try="$ac_compiler -v >&5"
   3032 case "(($ac_try" in
   3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3034   *) ac_try_echo=$ac_try;;
   3035 esac
   3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3037   (eval "$ac_compiler -v >&5") 2>&5
   3038   ac_status=$?
   3039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3040   (exit $ac_status); }
   3041 { (ac_try="$ac_compiler -V >&5"
   3042 case "(($ac_try" in
   3043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3044   *) ac_try_echo=$ac_try;;
   3045 esac
   3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3047   (eval "$ac_compiler -V >&5") 2>&5
   3048   ac_status=$?
   3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3050   (exit $ac_status); }
   3051 
   3052 cat >conftest.$ac_ext <<_ACEOF
   3053 /* confdefs.h.  */
   3054 _ACEOF
   3055 cat confdefs.h >>conftest.$ac_ext
   3056 cat >>conftest.$ac_ext <<_ACEOF
   3057 /* end confdefs.h.  */
   3058 
   3059 int
   3060 main ()
   3061 {
   3062 
   3063   ;
   3064   return 0;
   3065 }
   3066 _ACEOF
   3067 ac_clean_files_save=$ac_clean_files
   3068 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3069 # Try to create an executable without -o first, disregard a.out.
   3070 # It will help us diagnose broken compilers, and finding out an intuition
   3071 # of exeext.
   3072 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3073 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3074 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3075 #
   3076 # List of possible output files, starting from the most likely.
   3077 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3078 # only as a last resort.  b.out is created by i960 compilers.
   3079 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3080 #
   3081 # The IRIX 6 linker writes into existing files which may not be
   3082 # executable, retaining their permissions.  Remove them first so a
   3083 # subsequent execution test works.
   3084 ac_rmfiles=
   3085 for ac_file in $ac_files
   3086 do
   3087   case $ac_file in
   3088     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3089     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3090   esac
   3091 done
   3092 rm -f $ac_rmfiles
   3093 
   3094 if { (ac_try="$ac_link_default"
   3095 case "(($ac_try" in
   3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3097   *) ac_try_echo=$ac_try;;
   3098 esac
   3099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3100   (eval "$ac_link_default") 2>&5
   3101   ac_status=$?
   3102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3103   (exit $ac_status); }; then
   3104   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3106 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3107 # so that the user can short-circuit this test for compilers unknown to
   3108 # Autoconf.
   3109 for ac_file in $ac_files ''
   3110 do
   3111   test -f "$ac_file" || continue
   3112   case $ac_file in
   3113     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3114 	;;
   3115     [ab].out )
   3116 	# We found the default executable, but exeext='' is most
   3117 	# certainly right.
   3118 	break;;
   3119     *.* )
   3120         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3121 	then :; else
   3122 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3123 	fi
   3124 	# We set ac_cv_exeext here because the later test for it is not
   3125 	# safe: cross compilers may not add the suffix if given an `-o'
   3126 	# argument, so we may need to know it at that point already.
   3127 	# Even if this section looks crufty: it has the advantage of
   3128 	# actually working.
   3129 	break;;
   3130     * )
   3131 	break;;
   3132   esac
   3133 done
   3134 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3135 
   3136 else
   3137   ac_file=''
   3138 fi
   3139 
   3140 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3141 echo "${ECHO_T}$ac_file" >&6; }
   3142 if test -z "$ac_file"; then
   3143   echo "$as_me: failed program was:" >&5
   3144 sed 's/^/| /' conftest.$ac_ext >&5
   3145 
   3146 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3147 See \`config.log' for more details." >&5
   3148 echo "$as_me: error: C compiler cannot create executables
   3149 See \`config.log' for more details." >&2;}
   3150    { (exit 77); exit 77; }; }
   3151 fi
   3152 
   3153 ac_exeext=$ac_cv_exeext
   3154 
   3155 # Check that the compiler produces executables we can run.  If not, either
   3156 # the compiler is broken, or we cross compile.
   3157 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3158 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3159 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3160 # If not cross compiling, check that we can run a simple program.
   3161 if test "$cross_compiling" != yes; then
   3162   if { ac_try='./$ac_file'
   3163   { (case "(($ac_try" in
   3164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3165   *) ac_try_echo=$ac_try;;
   3166 esac
   3167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3168   (eval "$ac_try") 2>&5
   3169   ac_status=$?
   3170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3171   (exit $ac_status); }; }; then
   3172     cross_compiling=no
   3173   else
   3174     if test "$cross_compiling" = maybe; then
   3175 	cross_compiling=yes
   3176     else
   3177 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3178 If you meant to cross compile, use \`--host'.
   3179 See \`config.log' for more details." >&5
   3180 echo "$as_me: error: cannot run C compiled programs.
   3181 If you meant to cross compile, use \`--host'.
   3182 See \`config.log' for more details." >&2;}
   3183    { (exit 1); exit 1; }; }
   3184     fi
   3185   fi
   3186 fi
   3187 { echo "$as_me:$LINENO: result: yes" >&5
   3188 echo "${ECHO_T}yes" >&6; }
   3189 
   3190 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3191 ac_clean_files=$ac_clean_files_save
   3192 # Check that the compiler produces executables we can run.  If not, either
   3193 # the compiler is broken, or we cross compile.
   3194 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3196 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3197 echo "${ECHO_T}$cross_compiling" >&6; }
   3198 
   3199 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3201 if { (ac_try="$ac_link"
   3202 case "(($ac_try" in
   3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3204   *) ac_try_echo=$ac_try;;
   3205 esac
   3206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3207   (eval "$ac_link") 2>&5
   3208   ac_status=$?
   3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3210   (exit $ac_status); }; then
   3211   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3212 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3213 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3214 # `rm'.
   3215 for ac_file in conftest.exe conftest conftest.*; do
   3216   test -f "$ac_file" || continue
   3217   case $ac_file in
   3218     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3219     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3220 	  break;;
   3221     * ) break;;
   3222   esac
   3223 done
   3224 else
   3225   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3226 See \`config.log' for more details." >&5
   3227 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3228 See \`config.log' for more details." >&2;}
   3229    { (exit 1); exit 1; }; }
   3230 fi
   3231 
   3232 rm -f conftest$ac_cv_exeext
   3233 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3234 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3235 
   3236 rm -f conftest.$ac_ext
   3237 EXEEXT=$ac_cv_exeext
   3238 ac_exeext=$EXEEXT
   3239 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3240 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3241 if test "${ac_cv_objext+set}" = set; then
   3242   echo $ECHO_N "(cached) $ECHO_C" >&6
   3243 else
   3244   cat >conftest.$ac_ext <<_ACEOF
   3245 /* confdefs.h.  */
   3246 _ACEOF
   3247 cat confdefs.h >>conftest.$ac_ext
   3248 cat >>conftest.$ac_ext <<_ACEOF
   3249 /* end confdefs.h.  */
   3250 
   3251 int
   3252 main ()
   3253 {
   3254 
   3255   ;
   3256   return 0;
   3257 }
   3258 _ACEOF
   3259 rm -f conftest.o conftest.obj
   3260 if { (ac_try="$ac_compile"
   3261 case "(($ac_try" in
   3262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3263   *) ac_try_echo=$ac_try;;
   3264 esac
   3265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3266   (eval "$ac_compile") 2>&5
   3267   ac_status=$?
   3268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3269   (exit $ac_status); }; then
   3270   for ac_file in conftest.o conftest.obj conftest.*; do
   3271   test -f "$ac_file" || continue;
   3272   case $ac_file in
   3273     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3274     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3275        break;;
   3276   esac
   3277 done
   3278 else
   3279   echo "$as_me: failed program was:" >&5
   3280 sed 's/^/| /' conftest.$ac_ext >&5
   3281 
   3282 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3283 See \`config.log' for more details." >&5
   3284 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3285 See \`config.log' for more details." >&2;}
   3286    { (exit 1); exit 1; }; }
   3287 fi
   3288 
   3289 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3290 fi
   3291 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3292 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3293 OBJEXT=$ac_cv_objext
   3294 ac_objext=$OBJEXT
   3295 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3296 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3297 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3298   echo $ECHO_N "(cached) $ECHO_C" >&6
   3299 else
   3300   cat >conftest.$ac_ext <<_ACEOF
   3301 /* confdefs.h.  */
   3302 _ACEOF
   3303 cat confdefs.h >>conftest.$ac_ext
   3304 cat >>conftest.$ac_ext <<_ACEOF
   3305 /* end confdefs.h.  */
   3306 
   3307 int
   3308 main ()
   3309 {
   3310 #ifndef __GNUC__
   3311        choke me
   3312 #endif
   3313 
   3314   ;
   3315   return 0;
   3316 }
   3317 _ACEOF
   3318 rm -f conftest.$ac_objext
   3319 if { (ac_try="$ac_compile"
   3320 case "(($ac_try" in
   3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3322   *) ac_try_echo=$ac_try;;
   3323 esac
   3324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3325   (eval "$ac_compile") 2>conftest.er1
   3326   ac_status=$?
   3327   grep -v '^ *+' conftest.er1 >conftest.err
   3328   rm -f conftest.er1
   3329   cat conftest.err >&5
   3330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3331   (exit $ac_status); } && {
   3332 	 test -z "$ac_c_werror_flag" ||
   3333 	 test ! -s conftest.err
   3334        } && test -s conftest.$ac_objext; then
   3335   ac_compiler_gnu=yes
   3336 else
   3337   echo "$as_me: failed program was:" >&5
   3338 sed 's/^/| /' conftest.$ac_ext >&5
   3339 
   3340 	ac_compiler_gnu=no
   3341 fi
   3342 
   3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3344 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3345 
   3346 fi
   3347 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3348 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3349 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3350 ac_test_CFLAGS=${CFLAGS+set}
   3351 ac_save_CFLAGS=$CFLAGS
   3352 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3353 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3354 if test "${ac_cv_prog_cc_g+set}" = set; then
   3355   echo $ECHO_N "(cached) $ECHO_C" >&6
   3356 else
   3357   ac_save_c_werror_flag=$ac_c_werror_flag
   3358    ac_c_werror_flag=yes
   3359    ac_cv_prog_cc_g=no
   3360    CFLAGS="-g"
   3361    cat >conftest.$ac_ext <<_ACEOF
   3362 /* confdefs.h.  */
   3363 _ACEOF
   3364 cat confdefs.h >>conftest.$ac_ext
   3365 cat >>conftest.$ac_ext <<_ACEOF
   3366 /* end confdefs.h.  */
   3367 
   3368 int
   3369 main ()
   3370 {
   3371 
   3372   ;
   3373   return 0;
   3374 }
   3375 _ACEOF
   3376 rm -f conftest.$ac_objext
   3377 if { (ac_try="$ac_compile"
   3378 case "(($ac_try" in
   3379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3380   *) ac_try_echo=$ac_try;;
   3381 esac
   3382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3383   (eval "$ac_compile") 2>conftest.er1
   3384   ac_status=$?
   3385   grep -v '^ *+' conftest.er1 >conftest.err
   3386   rm -f conftest.er1
   3387   cat conftest.err >&5
   3388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3389   (exit $ac_status); } && {
   3390 	 test -z "$ac_c_werror_flag" ||
   3391 	 test ! -s conftest.err
   3392        } && test -s conftest.$ac_objext; then
   3393   ac_cv_prog_cc_g=yes
   3394 else
   3395   echo "$as_me: failed program was:" >&5
   3396 sed 's/^/| /' conftest.$ac_ext >&5
   3397 
   3398 	CFLAGS=""
   3399       cat >conftest.$ac_ext <<_ACEOF
   3400 /* confdefs.h.  */
   3401 _ACEOF
   3402 cat confdefs.h >>conftest.$ac_ext
   3403 cat >>conftest.$ac_ext <<_ACEOF
   3404 /* end confdefs.h.  */
   3405 
   3406 int
   3407 main ()
   3408 {
   3409 
   3410   ;
   3411   return 0;
   3412 }
   3413 _ACEOF
   3414 rm -f conftest.$ac_objext
   3415 if { (ac_try="$ac_compile"
   3416 case "(($ac_try" in
   3417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3418   *) ac_try_echo=$ac_try;;
   3419 esac
   3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3421   (eval "$ac_compile") 2>conftest.er1
   3422   ac_status=$?
   3423   grep -v '^ *+' conftest.er1 >conftest.err
   3424   rm -f conftest.er1
   3425   cat conftest.err >&5
   3426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3427   (exit $ac_status); } && {
   3428 	 test -z "$ac_c_werror_flag" ||
   3429 	 test ! -s conftest.err
   3430        } && test -s conftest.$ac_objext; then
   3431   :
   3432 else
   3433   echo "$as_me: failed program was:" >&5
   3434 sed 's/^/| /' conftest.$ac_ext >&5
   3435 
   3436 	ac_c_werror_flag=$ac_save_c_werror_flag
   3437 	 CFLAGS="-g"
   3438 	 cat >conftest.$ac_ext <<_ACEOF
   3439 /* confdefs.h.  */
   3440 _ACEOF
   3441 cat confdefs.h >>conftest.$ac_ext
   3442 cat >>conftest.$ac_ext <<_ACEOF
   3443 /* end confdefs.h.  */
   3444 
   3445 int
   3446 main ()
   3447 {
   3448 
   3449   ;
   3450   return 0;
   3451 }
   3452 _ACEOF
   3453 rm -f conftest.$ac_objext
   3454 if { (ac_try="$ac_compile"
   3455 case "(($ac_try" in
   3456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3457   *) ac_try_echo=$ac_try;;
   3458 esac
   3459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3460   (eval "$ac_compile") 2>conftest.er1
   3461   ac_status=$?
   3462   grep -v '^ *+' conftest.er1 >conftest.err
   3463   rm -f conftest.er1
   3464   cat conftest.err >&5
   3465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3466   (exit $ac_status); } && {
   3467 	 test -z "$ac_c_werror_flag" ||
   3468 	 test ! -s conftest.err
   3469        } && test -s conftest.$ac_objext; then
   3470   ac_cv_prog_cc_g=yes
   3471 else
   3472   echo "$as_me: failed program was:" >&5
   3473 sed 's/^/| /' conftest.$ac_ext >&5
   3474 
   3475 
   3476 fi
   3477 
   3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3479 fi
   3480 
   3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3482 fi
   3483 
   3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3485    ac_c_werror_flag=$ac_save_c_werror_flag
   3486 fi
   3487 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3488 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3489 if test "$ac_test_CFLAGS" = set; then
   3490   CFLAGS=$ac_save_CFLAGS
   3491 elif test $ac_cv_prog_cc_g = yes; then
   3492   if test "$GCC" = yes; then
   3493     CFLAGS="-g -O2"
   3494   else
   3495     CFLAGS="-g"
   3496   fi
   3497 else
   3498   if test "$GCC" = yes; then
   3499     CFLAGS="-O2"
   3500   else
   3501     CFLAGS=
   3502   fi
   3503 fi
   3504 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3505 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3506 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3507   echo $ECHO_N "(cached) $ECHO_C" >&6
   3508 else
   3509   ac_cv_prog_cc_c89=no
   3510 ac_save_CC=$CC
   3511 cat >conftest.$ac_ext <<_ACEOF
   3512 /* confdefs.h.  */
   3513 _ACEOF
   3514 cat confdefs.h >>conftest.$ac_ext
   3515 cat >>conftest.$ac_ext <<_ACEOF
   3516 /* end confdefs.h.  */
   3517 #include <stdarg.h>
   3518 #include <stdio.h>
   3519 #include <sys/types.h>
   3520 #include <sys/stat.h>
   3521 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3522 struct buf { int x; };
   3523 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3524 static char *e (p, i)
   3525      char **p;
   3526      int i;
   3527 {
   3528   return p[i];
   3529 }
   3530 static char *f (char * (*g) (char **, int), char **p, ...)
   3531 {
   3532   char *s;
   3533   va_list v;
   3534   va_start (v,p);
   3535   s = g (p, va_arg (v,int));
   3536   va_end (v);
   3537   return s;
   3538 }
   3539 
   3540 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3541    function prototypes and stuff, but not '\xHH' hex character constants.
   3542    These don't provoke an error unfortunately, instead are silently treated
   3543    as 'x'.  The following induces an error, until -std is added to get
   3544    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3545    array size at least.  It's necessary to write '\x00'==0 to get something
   3546    that's true only with -std.  */
   3547 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3548 
   3549 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3550    inside strings and character constants.  */
   3551 #define FOO(x) 'x'
   3552 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3553 
   3554 int test (int i, double x);
   3555 struct s1 {int (*f) (int a);};
   3556 struct s2 {int (*f) (double a);};
   3557 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3558 int argc;
   3559 char **argv;
   3560 int
   3561 main ()
   3562 {
   3563 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3564   ;
   3565   return 0;
   3566 }
   3567 _ACEOF
   3568 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3569 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3570 do
   3571   CC="$ac_save_CC $ac_arg"
   3572   rm -f conftest.$ac_objext
   3573 if { (ac_try="$ac_compile"
   3574 case "(($ac_try" in
   3575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3576   *) ac_try_echo=$ac_try;;
   3577 esac
   3578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3579   (eval "$ac_compile") 2>conftest.er1
   3580   ac_status=$?
   3581   grep -v '^ *+' conftest.er1 >conftest.err
   3582   rm -f conftest.er1
   3583   cat conftest.err >&5
   3584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3585   (exit $ac_status); } && {
   3586 	 test -z "$ac_c_werror_flag" ||
   3587 	 test ! -s conftest.err
   3588        } && test -s conftest.$ac_objext; then
   3589   ac_cv_prog_cc_c89=$ac_arg
   3590 else
   3591   echo "$as_me: failed program was:" >&5
   3592 sed 's/^/| /' conftest.$ac_ext >&5
   3593 
   3594 
   3595 fi
   3596 
   3597 rm -f core conftest.err conftest.$ac_objext
   3598   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3599 done
   3600 rm -f conftest.$ac_ext
   3601 CC=$ac_save_CC
   3602 
   3603 fi
   3604 # AC_CACHE_VAL
   3605 case "x$ac_cv_prog_cc_c89" in
   3606   x)
   3607     { echo "$as_me:$LINENO: result: none needed" >&5
   3608 echo "${ECHO_T}none needed" >&6; } ;;
   3609   xno)
   3610     { echo "$as_me:$LINENO: result: unsupported" >&5
   3611 echo "${ECHO_T}unsupported" >&6; } ;;
   3612   *)
   3613     CC="$CC $ac_cv_prog_cc_c89"
   3614     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3615 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3616 esac
   3617 
   3618 
   3619 ac_ext=c
   3620 ac_cpp='$CPP $CPPFLAGS'
   3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3624 
   3625 depcc="$CC"   am_compiler_list=
   3626 
   3627 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3628 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3629 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3630   echo $ECHO_N "(cached) $ECHO_C" >&6
   3631 else
   3632   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3633   # We make a subdir and do the tests there.  Otherwise we can end up
   3634   # making bogus files that we don't know about and never remove.  For
   3635   # instance it was reported that on HP-UX the gcc test will end up
   3636   # making a dummy file named `D' -- because `-MD' means `put the output
   3637   # in D'.
   3638   mkdir conftest.dir
   3639   # Copy depcomp to subdir because otherwise we won't find it if we're
   3640   # using a relative directory.
   3641   cp "$am_depcomp" conftest.dir
   3642   cd conftest.dir
   3643   # We will build objects and dependencies in a subdirectory because
   3644   # it helps to detect inapplicable dependency modes.  For instance
   3645   # both Tru64's cc and ICC support -MD to output dependencies as a
   3646   # side effect of compilation, but ICC will put the dependencies in
   3647   # the current directory while Tru64 will put them in the object
   3648   # directory.
   3649   mkdir sub
   3650 
   3651   am_cv_CC_dependencies_compiler_type=none
   3652   if test "$am_compiler_list" = ""; then
   3653      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3654   fi
   3655   for depmode in $am_compiler_list; do
   3656     # Setup a source with many dependencies, because some compilers
   3657     # like to wrap large dependency lists on column 80 (with \), and
   3658     # we should not choose a depcomp mode which is confused by this.
   3659     #
   3660     # We need to recreate these files for each test, as the compiler may
   3661     # overwrite some of them when testing with obscure command lines.
   3662     # This happens at least with the AIX C compiler.
   3663     : > sub/conftest.c
   3664     for i in 1 2 3 4 5 6; do
   3665       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3666       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3667       # Solaris 8's {/usr,}/bin/sh.
   3668       touch sub/conftst$i.h
   3669     done
   3670     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3671 
   3672     case $depmode in
   3673     nosideeffect)
   3674       # after this tag, mechanisms are not by side-effect, so they'll
   3675       # only be used when explicitly requested
   3676       if test "x$enable_dependency_tracking" = xyes; then
   3677 	continue
   3678       else
   3679 	break
   3680       fi
   3681       ;;
   3682     none) break ;;
   3683     esac
   3684     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3685     # mode.  It turns out that the SunPro C++ compiler does not properly
   3686     # handle `-M -o', and we need to detect this.
   3687     if depmode=$depmode \
   3688        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3689        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3690        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3691          >/dev/null 2>conftest.err &&
   3692        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3693        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3694        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3695        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3696       # icc doesn't choke on unknown options, it will just issue warnings
   3697       # or remarks (even with -Werror).  So we grep stderr for any message
   3698       # that says an option was ignored or not supported.
   3699       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3700       #   icc: Command line warning: ignoring option '-M'; no argument required
   3701       # The diagnosis changed in icc 8.0:
   3702       #   icc: Command line remark: option '-MP' not supported
   3703       if (grep 'ignoring option' conftest.err ||
   3704           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3705         am_cv_CC_dependencies_compiler_type=$depmode
   3706         break
   3707       fi
   3708     fi
   3709   done
   3710 
   3711   cd ..
   3712   rm -rf conftest.dir
   3713 else
   3714   am_cv_CC_dependencies_compiler_type=none
   3715 fi
   3716 
   3717 fi
   3718 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3719 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3720 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3721 
   3722  if
   3723   test "x$enable_dependency_tracking" != xno \
   3724   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3725   am__fastdepCC_TRUE=
   3726   am__fastdepCC_FALSE='#'
   3727 else
   3728   am__fastdepCC_TRUE='#'
   3729   am__fastdepCC_FALSE=
   3730 fi
   3731 
   3732 
   3733 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3734 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3735 if test "${lt_cv_path_SED+set}" = set; then
   3736   echo $ECHO_N "(cached) $ECHO_C" >&6
   3737 else
   3738   # Loop through the user's path and test for sed and gsed.
   3739 # Then use that list of sed's as ones to test for truncation.
   3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3741 for as_dir in $PATH
   3742 do
   3743   IFS=$as_save_IFS
   3744   test -z "$as_dir" && as_dir=.
   3745   for lt_ac_prog in sed gsed; do
   3746     for ac_exec_ext in '' $ac_executable_extensions; do
   3747       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3748         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3749       fi
   3750     done
   3751   done
   3752 done
   3753 lt_ac_max=0
   3754 lt_ac_count=0
   3755 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3756 # along with /bin/sed that truncates output.
   3757 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3758   test ! -f $lt_ac_sed && continue
   3759   cat /dev/null > conftest.in
   3760   lt_ac_count=0
   3761   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3762   # Check for GNU sed and select it if it is found.
   3763   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3764     lt_cv_path_SED=$lt_ac_sed
   3765     break
   3766   fi
   3767   while true; do
   3768     cat conftest.in conftest.in >conftest.tmp
   3769     mv conftest.tmp conftest.in
   3770     cp conftest.in conftest.nl
   3771     echo >>conftest.nl
   3772     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3773     cmp -s conftest.out conftest.nl || break
   3774     # 10000 chars as input seems more than enough
   3775     test $lt_ac_count -gt 10 && break
   3776     lt_ac_count=`expr $lt_ac_count + 1`
   3777     if test $lt_ac_count -gt $lt_ac_max; then
   3778       lt_ac_max=$lt_ac_count
   3779       lt_cv_path_SED=$lt_ac_sed
   3780     fi
   3781   done
   3782 done
   3783 
   3784 fi
   3785 
   3786 SED=$lt_cv_path_SED
   3787 { echo "$as_me:$LINENO: result: $SED" >&5
   3788 echo "${ECHO_T}$SED" >&6; }
   3789 
   3790 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3791 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3792 if test "${ac_cv_path_GREP+set}" = set; then
   3793   echo $ECHO_N "(cached) $ECHO_C" >&6
   3794 else
   3795   # Extract the first word of "grep ggrep" to use in msg output
   3796 if test -z "$GREP"; then
   3797 set dummy grep ggrep; ac_prog_name=$2
   3798 if test "${ac_cv_path_GREP+set}" = set; then
   3799   echo $ECHO_N "(cached) $ECHO_C" >&6
   3800 else
   3801   ac_path_GREP_found=false
   3802 # Loop through the user's path and test for each of PROGNAME-LIST
   3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3805 do
   3806   IFS=$as_save_IFS
   3807   test -z "$as_dir" && as_dir=.
   3808   for ac_prog in grep ggrep; do
   3809   for ac_exec_ext in '' $ac_executable_extensions; do
   3810     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3811     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3812     # Check for GNU ac_path_GREP and select it if it is found.
   3813   # Check for GNU $ac_path_GREP
   3814 case `"$ac_path_GREP" --version 2>&1` in
   3815 *GNU*)
   3816   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3817 *)
   3818   ac_count=0
   3819   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3820   while :
   3821   do
   3822     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3823     mv "conftest.tmp" "conftest.in"
   3824     cp "conftest.in" "conftest.nl"
   3825     echo 'GREP' >> "conftest.nl"
   3826     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3827     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3828     ac_count=`expr $ac_count + 1`
   3829     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3830       # Best one so far, save it but keep looking for a better one
   3831       ac_cv_path_GREP="$ac_path_GREP"
   3832       ac_path_GREP_max=$ac_count
   3833     fi
   3834     # 10*(2^10) chars as input seems more than enough
   3835     test $ac_count -gt 10 && break
   3836   done
   3837   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3838 esac
   3839 
   3840 
   3841     $ac_path_GREP_found && break 3
   3842   done
   3843 done
   3844 
   3845 done
   3846 IFS=$as_save_IFS
   3847 
   3848 
   3849 fi
   3850 
   3851 GREP="$ac_cv_path_GREP"
   3852 if test -z "$GREP"; then
   3853   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3855    { (exit 1); exit 1; }; }
   3856 fi
   3857 
   3858 else
   3859   ac_cv_path_GREP=$GREP
   3860 fi
   3861 
   3862 
   3863 fi
   3864 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3865 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3866  GREP="$ac_cv_path_GREP"
   3867 
   3868 
   3869 { echo "$as_me:$LINENO: checking for egrep" >&5
   3870 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3871 if test "${ac_cv_path_EGREP+set}" = set; then
   3872   echo $ECHO_N "(cached) $ECHO_C" >&6
   3873 else
   3874   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3875    then ac_cv_path_EGREP="$GREP -E"
   3876    else
   3877      # Extract the first word of "egrep" to use in msg output
   3878 if test -z "$EGREP"; then
   3879 set dummy egrep; ac_prog_name=$2
   3880 if test "${ac_cv_path_EGREP+set}" = set; then
   3881   echo $ECHO_N "(cached) $ECHO_C" >&6
   3882 else
   3883   ac_path_EGREP_found=false
   3884 # Loop through the user's path and test for each of PROGNAME-LIST
   3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3886 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3887 do
   3888   IFS=$as_save_IFS
   3889   test -z "$as_dir" && as_dir=.
   3890   for ac_prog in egrep; do
   3891   for ac_exec_ext in '' $ac_executable_extensions; do
   3892     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3893     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3894     # Check for GNU ac_path_EGREP and select it if it is found.
   3895   # Check for GNU $ac_path_EGREP
   3896 case `"$ac_path_EGREP" --version 2>&1` in
   3897 *GNU*)
   3898   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3899 *)
   3900   ac_count=0
   3901   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3902   while :
   3903   do
   3904     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3905     mv "conftest.tmp" "conftest.in"
   3906     cp "conftest.in" "conftest.nl"
   3907     echo 'EGREP' >> "conftest.nl"
   3908     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3909     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3910     ac_count=`expr $ac_count + 1`
   3911     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3912       # Best one so far, save it but keep looking for a better one
   3913       ac_cv_path_EGREP="$ac_path_EGREP"
   3914       ac_path_EGREP_max=$ac_count
   3915     fi
   3916     # 10*(2^10) chars as input seems more than enough
   3917     test $ac_count -gt 10 && break
   3918   done
   3919   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3920 esac
   3921 
   3922 
   3923     $ac_path_EGREP_found && break 3
   3924   done
   3925 done
   3926 
   3927 done
   3928 IFS=$as_save_IFS
   3929 
   3930 
   3931 fi
   3932 
   3933 EGREP="$ac_cv_path_EGREP"
   3934 if test -z "$EGREP"; then
   3935   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3936 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3937    { (exit 1); exit 1; }; }
   3938 fi
   3939 
   3940 else
   3941   ac_cv_path_EGREP=$EGREP
   3942 fi
   3943 
   3944 
   3945    fi
   3946 fi
   3947 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3948 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3949  EGREP="$ac_cv_path_EGREP"
   3950 
   3951 
   3952 
   3953 # Check whether --with-gnu-ld was given.
   3954 if test "${with_gnu_ld+set}" = set; then
   3955   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3956 else
   3957   with_gnu_ld=no
   3958 fi
   3959 
   3960 ac_prog=ld
   3961 if test "$GCC" = yes; then
   3962   # Check if gcc -print-prog-name=ld gives a path.
   3963   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3964 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3965   case $host in
   3966   *-*-mingw*)
   3967     # gcc leaves a trailing carriage return which upsets mingw
   3968     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3969   *)
   3970     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3971   esac
   3972   case $ac_prog in
   3973     # Accept absolute paths.
   3974     [\\/]* | ?:[\\/]*)
   3975       re_direlt='/[^/][^/]*/\.\./'
   3976       # Canonicalize the pathname of ld
   3977       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3978       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3979 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3980       done
   3981       test -z "$LD" && LD="$ac_prog"
   3982       ;;
   3983   "")
   3984     # If it fails, then pretend we aren't using GCC.
   3985     ac_prog=ld
   3986     ;;
   3987   *)
   3988     # If it is relative, then search for the first ld in PATH.
   3989     with_gnu_ld=unknown
   3990     ;;
   3991   esac
   3992 elif test "$with_gnu_ld" = yes; then
   3993   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   3994 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   3995 else
   3996   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3997 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   3998 fi
   3999 if test "${lt_cv_path_LD+set}" = set; then
   4000   echo $ECHO_N "(cached) $ECHO_C" >&6
   4001 else
   4002   if test -z "$LD"; then
   4003   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4004   for ac_dir in $PATH; do
   4005     IFS="$lt_save_ifs"
   4006     test -z "$ac_dir" && ac_dir=.
   4007     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4008       lt_cv_path_LD="$ac_dir/$ac_prog"
   4009       # Check to see if the program is GNU ld.  I'd rather use --version,
   4010       # but apparently some variants of GNU ld only accept -v.
   4011       # Break only if it was the GNU/non-GNU ld that we prefer.
   4012       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4013       *GNU* | *'with BFD'*)
   4014 	test "$with_gnu_ld" != no && break
   4015 	;;
   4016       *)
   4017 	test "$with_gnu_ld" != yes && break
   4018 	;;
   4019       esac
   4020     fi
   4021   done
   4022   IFS="$lt_save_ifs"
   4023 else
   4024   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4025 fi
   4026 fi
   4027 
   4028 LD="$lt_cv_path_LD"
   4029 if test -n "$LD"; then
   4030   { echo "$as_me:$LINENO: result: $LD" >&5
   4031 echo "${ECHO_T}$LD" >&6; }
   4032 else
   4033   { echo "$as_me:$LINENO: result: no" >&5
   4034 echo "${ECHO_T}no" >&6; }
   4035 fi
   4036 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4037 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4038    { (exit 1); exit 1; }; }
   4039 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4040 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4041 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4042   echo $ECHO_N "(cached) $ECHO_C" >&6
   4043 else
   4044   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4045 case `$LD -v 2>&1 </dev/null` in
   4046 *GNU* | *'with BFD'*)
   4047   lt_cv_prog_gnu_ld=yes
   4048   ;;
   4049 *)
   4050   lt_cv_prog_gnu_ld=no
   4051   ;;
   4052 esac
   4053 fi
   4054 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4055 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4056 with_gnu_ld=$lt_cv_prog_gnu_ld
   4057 
   4058 
   4059 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4060 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4061 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4062   echo $ECHO_N "(cached) $ECHO_C" >&6
   4063 else
   4064   lt_cv_ld_reload_flag='-r'
   4065 fi
   4066 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4067 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4068 reload_flag=$lt_cv_ld_reload_flag
   4069 case $reload_flag in
   4070 "" | " "*) ;;
   4071 *) reload_flag=" $reload_flag" ;;
   4072 esac
   4073 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4074 case $host_os in
   4075   darwin*)
   4076     if test "$GCC" = yes; then
   4077       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4078     else
   4079       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4080     fi
   4081     ;;
   4082 esac
   4083 
   4084 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4085 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4086 if test "${lt_cv_path_NM+set}" = set; then
   4087   echo $ECHO_N "(cached) $ECHO_C" >&6
   4088 else
   4089   if test -n "$NM"; then
   4090   # Let the user override the test.
   4091   lt_cv_path_NM="$NM"
   4092 else
   4093   lt_nm_to_check="${ac_tool_prefix}nm"
   4094   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4095     lt_nm_to_check="$lt_nm_to_check nm"
   4096   fi
   4097   for lt_tmp_nm in $lt_nm_to_check; do
   4098     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4099     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4100       IFS="$lt_save_ifs"
   4101       test -z "$ac_dir" && ac_dir=.
   4102       tmp_nm="$ac_dir/$lt_tmp_nm"
   4103       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4104 	# Check to see if the nm accepts a BSD-compat flag.
   4105 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4106 	#   nm: unknown option "B" ignored
   4107 	# Tru64's nm complains that /dev/null is an invalid object file
   4108 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4109 	*/dev/null* | *'Invalid file or object type'*)
   4110 	  lt_cv_path_NM="$tmp_nm -B"
   4111 	  break
   4112 	  ;;
   4113 	*)
   4114 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4115 	  */dev/null*)
   4116 	    lt_cv_path_NM="$tmp_nm -p"
   4117 	    break
   4118 	    ;;
   4119 	  *)
   4120 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4121 	    continue # so that we can try to find one that supports BSD flags
   4122 	    ;;
   4123 	  esac
   4124 	  ;;
   4125 	esac
   4126       fi
   4127     done
   4128     IFS="$lt_save_ifs"
   4129   done
   4130   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4131 fi
   4132 fi
   4133 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4134 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4135 NM="$lt_cv_path_NM"
   4136 
   4137 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4138 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4139 LN_S=$as_ln_s
   4140 if test "$LN_S" = "ln -s"; then
   4141   { echo "$as_me:$LINENO: result: yes" >&5
   4142 echo "${ECHO_T}yes" >&6; }
   4143 else
   4144   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4145 echo "${ECHO_T}no, using $LN_S" >&6; }
   4146 fi
   4147 
   4148 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4149 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4150 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4151   echo $ECHO_N "(cached) $ECHO_C" >&6
   4152 else
   4153   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4154 lt_cv_file_magic_test_file=
   4155 lt_cv_deplibs_check_method='unknown'
   4156 # Need to set the preceding variable on all platforms that support
   4157 # interlibrary dependencies.
   4158 # 'none' -- dependencies not supported.
   4159 # `unknown' -- same as none, but documents that we really don't know.
   4160 # 'pass_all' -- all dependencies passed with no checks.
   4161 # 'test_compile' -- check by making test program.
   4162 # 'file_magic [[regex]]' -- check by looking for files in library path
   4163 # which responds to the $file_magic_cmd with a given extended regex.
   4164 # If you have `file' or equivalent on your system and you're not sure
   4165 # whether `pass_all' will *always* work, you probably want this one.
   4166 
   4167 case $host_os in
   4168 aix4* | aix5*)
   4169   lt_cv_deplibs_check_method=pass_all
   4170   ;;
   4171 
   4172 beos*)
   4173   lt_cv_deplibs_check_method=pass_all
   4174   ;;
   4175 
   4176 bsdi[45]*)
   4177   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4178   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4179   lt_cv_file_magic_test_file=/shlib/libc.so
   4180   ;;
   4181 
   4182 cygwin*)
   4183   # func_win32_libid is a shell function defined in ltmain.sh
   4184   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4185   lt_cv_file_magic_cmd='func_win32_libid'
   4186   ;;
   4187 
   4188 mingw* | pw32*)
   4189   # Base MSYS/MinGW do not provide the 'file' command needed by
   4190   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4191   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4192   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4193   ;;
   4194 
   4195 darwin* | rhapsody*)
   4196   lt_cv_deplibs_check_method=pass_all
   4197   ;;
   4198 
   4199 freebsd* | dragonfly*)
   4200   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4201     case $host_cpu in
   4202     i*86 )
   4203       # Not sure whether the presence of OpenBSD here was a mistake.
   4204       # Let's accept both of them until this is cleared up.
   4205       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4206       lt_cv_file_magic_cmd=/usr/bin/file
   4207       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4208       ;;
   4209     esac
   4210   else
   4211     lt_cv_deplibs_check_method=pass_all
   4212   fi
   4213   ;;
   4214 
   4215 gnu*)
   4216   lt_cv_deplibs_check_method=pass_all
   4217   ;;
   4218 
   4219 hpux10.20* | hpux11*)
   4220   lt_cv_file_magic_cmd=/usr/bin/file
   4221   case $host_cpu in
   4222   ia64*)
   4223     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4224     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4225     ;;
   4226   hppa*64*)
   4227     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]'
   4228     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4229     ;;
   4230   *)
   4231     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4232     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4233     ;;
   4234   esac
   4235   ;;
   4236 
   4237 interix3*)
   4238   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4239   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4240   ;;
   4241 
   4242 irix5* | irix6* | nonstopux*)
   4243   case $LD in
   4244   *-32|*"-32 ") libmagic=32-bit;;
   4245   *-n32|*"-n32 ") libmagic=N32;;
   4246   *-64|*"-64 ") libmagic=64-bit;;
   4247   *) libmagic=never-match;;
   4248   esac
   4249   lt_cv_deplibs_check_method=pass_all
   4250   ;;
   4251 
   4252 # This must be Linux ELF.
   4253 linux* | k*bsd*-gnu)
   4254   lt_cv_deplibs_check_method=pass_all
   4255   ;;
   4256 
   4257 netbsd* | netbsdelf*-gnu)
   4258   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4259     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4260   else
   4261     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4262   fi
   4263   ;;
   4264 
   4265 newos6*)
   4266   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4267   lt_cv_file_magic_cmd=/usr/bin/file
   4268   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4269   ;;
   4270 
   4271 nto-qnx*)
   4272   lt_cv_deplibs_check_method=unknown
   4273   ;;
   4274 
   4275 openbsd*)
   4276   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4277     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4278   else
   4279     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4280   fi
   4281   ;;
   4282 
   4283 osf3* | osf4* | osf5*)
   4284   lt_cv_deplibs_check_method=pass_all
   4285   ;;
   4286 
   4287 solaris*)
   4288   lt_cv_deplibs_check_method=pass_all
   4289   ;;
   4290 
   4291 sysv4 | sysv4.3*)
   4292   case $host_vendor in
   4293   motorola)
   4294     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]'
   4295     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4296     ;;
   4297   ncr)
   4298     lt_cv_deplibs_check_method=pass_all
   4299     ;;
   4300   sequent)
   4301     lt_cv_file_magic_cmd='/bin/file'
   4302     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4303     ;;
   4304   sni)
   4305     lt_cv_file_magic_cmd='/bin/file'
   4306     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4307     lt_cv_file_magic_test_file=/lib/libc.so
   4308     ;;
   4309   siemens)
   4310     lt_cv_deplibs_check_method=pass_all
   4311     ;;
   4312   pc)
   4313     lt_cv_deplibs_check_method=pass_all
   4314     ;;
   4315   esac
   4316   ;;
   4317 
   4318 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4319   lt_cv_deplibs_check_method=pass_all
   4320   ;;
   4321 esac
   4322 
   4323 fi
   4324 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4325 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4326 file_magic_cmd=$lt_cv_file_magic_cmd
   4327 deplibs_check_method=$lt_cv_deplibs_check_method
   4328 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4329 
   4330 
   4331 
   4332 
   4333 # If no C compiler was specified, use CC.
   4334 LTCC=${LTCC-"$CC"}
   4335 
   4336 # If no C compiler flags were specified, use CFLAGS.
   4337 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4338 
   4339 # Allow CC to be a program name with arguments.
   4340 compiler=$CC
   4341 
   4342 
   4343 # Check whether --enable-libtool-lock was given.
   4344 if test "${enable_libtool_lock+set}" = set; then
   4345   enableval=$enable_libtool_lock;
   4346 fi
   4347 
   4348 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4349 
   4350 # Some flags need to be propagated to the compiler or linker for good
   4351 # libtool support.
   4352 case $host in
   4353 ia64-*-hpux*)
   4354   # Find out which ABI we are using.
   4355   echo 'int i;' > conftest.$ac_ext
   4356   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4357   (eval $ac_compile) 2>&5
   4358   ac_status=$?
   4359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4360   (exit $ac_status); }; then
   4361     case `/usr/bin/file conftest.$ac_objext` in
   4362     *ELF-32*)
   4363       HPUX_IA64_MODE="32"
   4364       ;;
   4365     *ELF-64*)
   4366       HPUX_IA64_MODE="64"
   4367       ;;
   4368     esac
   4369   fi
   4370   rm -rf conftest*
   4371   ;;
   4372 *-*-irix6*)
   4373   # Find out which ABI we are using.
   4374   echo '#line 4374 "configure"' > conftest.$ac_ext
   4375   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4376   (eval $ac_compile) 2>&5
   4377   ac_status=$?
   4378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4379   (exit $ac_status); }; then
   4380    if test "$lt_cv_prog_gnu_ld" = yes; then
   4381     case `/usr/bin/file conftest.$ac_objext` in
   4382     *32-bit*)
   4383       LD="${LD-ld} -melf32bsmip"
   4384       ;;
   4385     *N32*)
   4386       LD="${LD-ld} -melf32bmipn32"
   4387       ;;
   4388     *64-bit*)
   4389       LD="${LD-ld} -melf64bmip"
   4390       ;;
   4391     esac
   4392    else
   4393     case `/usr/bin/file conftest.$ac_objext` in
   4394     *32-bit*)
   4395       LD="${LD-ld} -32"
   4396       ;;
   4397     *N32*)
   4398       LD="${LD-ld} -n32"
   4399       ;;
   4400     *64-bit*)
   4401       LD="${LD-ld} -64"
   4402       ;;
   4403     esac
   4404    fi
   4405   fi
   4406   rm -rf conftest*
   4407   ;;
   4408 
   4409 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4410   # Find out which ABI we are using.
   4411   echo 'int i;' > conftest.$ac_ext
   4412   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4413   (eval $ac_compile) 2>&5
   4414   ac_status=$?
   4415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4416   (exit $ac_status); }; then
   4417     case `/usr/bin/file conftest.o` in
   4418     *32-bit*)
   4419       case $host in
   4420         x86_64-*linux*)
   4421           LD="${LD-ld} -m elf_i386"
   4422           ;;
   4423         ppc64-*linux*|powerpc64-*linux*)
   4424           LD="${LD-ld} -m elf32ppclinux"
   4425           ;;
   4426         s390x-*linux*)
   4427           LD="${LD-ld} -m elf_s390"
   4428           ;;
   4429         sparc64-*linux*)
   4430           LD="${LD-ld} -m elf32_sparc"
   4431           ;;
   4432       esac
   4433       ;;
   4434     *64-bit*)
   4435       case $host in
   4436         x86_64-*linux*)
   4437           LD="${LD-ld} -m elf_x86_64"
   4438           ;;
   4439         ppc*-*linux*|powerpc*-*linux*)
   4440           LD="${LD-ld} -m elf64ppc"
   4441           ;;
   4442         s390*-*linux*)
   4443           LD="${LD-ld} -m elf64_s390"
   4444           ;;
   4445         sparc*-*linux*)
   4446           LD="${LD-ld} -m elf64_sparc"
   4447           ;;
   4448       esac
   4449       ;;
   4450     esac
   4451   fi
   4452   rm -rf conftest*
   4453   ;;
   4454 
   4455 *-*-sco3.2v5*)
   4456   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4457   SAVE_CFLAGS="$CFLAGS"
   4458   CFLAGS="$CFLAGS -belf"
   4459   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4460 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4461 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4462   echo $ECHO_N "(cached) $ECHO_C" >&6
   4463 else
   4464   ac_ext=c
   4465 ac_cpp='$CPP $CPPFLAGS'
   4466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4469 
   4470      cat >conftest.$ac_ext <<_ACEOF
   4471 /* confdefs.h.  */
   4472 _ACEOF
   4473 cat confdefs.h >>conftest.$ac_ext
   4474 cat >>conftest.$ac_ext <<_ACEOF
   4475 /* end confdefs.h.  */
   4476 
   4477 int
   4478 main ()
   4479 {
   4480 
   4481   ;
   4482   return 0;
   4483 }
   4484 _ACEOF
   4485 rm -f conftest.$ac_objext conftest$ac_exeext
   4486 if { (ac_try="$ac_link"
   4487 case "(($ac_try" in
   4488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4489   *) ac_try_echo=$ac_try;;
   4490 esac
   4491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4492   (eval "$ac_link") 2>conftest.er1
   4493   ac_status=$?
   4494   grep -v '^ *+' conftest.er1 >conftest.err
   4495   rm -f conftest.er1
   4496   cat conftest.err >&5
   4497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4498   (exit $ac_status); } && {
   4499 	 test -z "$ac_c_werror_flag" ||
   4500 	 test ! -s conftest.err
   4501        } && test -s conftest$ac_exeext &&
   4502        $as_test_x conftest$ac_exeext; then
   4503   lt_cv_cc_needs_belf=yes
   4504 else
   4505   echo "$as_me: failed program was:" >&5
   4506 sed 's/^/| /' conftest.$ac_ext >&5
   4507 
   4508 	lt_cv_cc_needs_belf=no
   4509 fi
   4510 
   4511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4512       conftest$ac_exeext conftest.$ac_ext
   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 fi
   4520 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4521 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4522   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4523     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4524     CFLAGS="$SAVE_CFLAGS"
   4525   fi
   4526   ;;
   4527 sparc*-*solaris*)
   4528   # Find out which ABI we are using.
   4529   echo 'int i;' > conftest.$ac_ext
   4530   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4531   (eval $ac_compile) 2>&5
   4532   ac_status=$?
   4533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4534   (exit $ac_status); }; then
   4535     case `/usr/bin/file conftest.o` in
   4536     *64-bit*)
   4537       case $lt_cv_prog_gnu_ld in
   4538       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4539       *)    LD="${LD-ld} -64" ;;
   4540       esac
   4541       ;;
   4542     esac
   4543   fi
   4544   rm -rf conftest*
   4545   ;;
   4546 
   4547 
   4548 esac
   4549 
   4550 need_locks="$enable_libtool_lock"
   4551 
   4552 
   4553 ac_ext=c
   4554 ac_cpp='$CPP $CPPFLAGS'
   4555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4558 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4559 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4560 # On Suns, sometimes $CPP names a directory.
   4561 if test -n "$CPP" && test -d "$CPP"; then
   4562   CPP=
   4563 fi
   4564 if test -z "$CPP"; then
   4565   if test "${ac_cv_prog_CPP+set}" = set; then
   4566   echo $ECHO_N "(cached) $ECHO_C" >&6
   4567 else
   4568       # Double quotes because CPP needs to be expanded
   4569     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4570     do
   4571       ac_preproc_ok=false
   4572 for ac_c_preproc_warn_flag in '' yes
   4573 do
   4574   # Use a header file that comes with gcc, so configuring glibc
   4575   # with a fresh cross-compiler works.
   4576   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4577   # <limits.h> exists even on freestanding compilers.
   4578   # On the NeXT, cc -E runs the code through the compiler's parser,
   4579   # not just through cpp. "Syntax error" is here to catch this case.
   4580   cat >conftest.$ac_ext <<_ACEOF
   4581 /* confdefs.h.  */
   4582 _ACEOF
   4583 cat confdefs.h >>conftest.$ac_ext
   4584 cat >>conftest.$ac_ext <<_ACEOF
   4585 /* end confdefs.h.  */
   4586 #ifdef __STDC__
   4587 # include <limits.h>
   4588 #else
   4589 # include <assert.h>
   4590 #endif
   4591 		     Syntax error
   4592 _ACEOF
   4593 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4594 case "(($ac_try" in
   4595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4596   *) ac_try_echo=$ac_try;;
   4597 esac
   4598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4599   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4600   ac_status=$?
   4601   grep -v '^ *+' conftest.er1 >conftest.err
   4602   rm -f conftest.er1
   4603   cat conftest.err >&5
   4604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4605   (exit $ac_status); } >/dev/null && {
   4606 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4607 	 test ! -s conftest.err
   4608        }; then
   4609   :
   4610 else
   4611   echo "$as_me: failed program was:" >&5
   4612 sed 's/^/| /' conftest.$ac_ext >&5
   4613 
   4614   # Broken: fails on valid input.
   4615 continue
   4616 fi
   4617 
   4618 rm -f conftest.err conftest.$ac_ext
   4619 
   4620   # OK, works on sane cases.  Now check whether nonexistent headers
   4621   # can be detected and how.
   4622   cat >conftest.$ac_ext <<_ACEOF
   4623 /* confdefs.h.  */
   4624 _ACEOF
   4625 cat confdefs.h >>conftest.$ac_ext
   4626 cat >>conftest.$ac_ext <<_ACEOF
   4627 /* end confdefs.h.  */
   4628 #include <ac_nonexistent.h>
   4629 _ACEOF
   4630 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4631 case "(($ac_try" in
   4632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4633   *) ac_try_echo=$ac_try;;
   4634 esac
   4635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4636   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4637   ac_status=$?
   4638   grep -v '^ *+' conftest.er1 >conftest.err
   4639   rm -f conftest.er1
   4640   cat conftest.err >&5
   4641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4642   (exit $ac_status); } >/dev/null && {
   4643 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4644 	 test ! -s conftest.err
   4645        }; then
   4646   # Broken: success on invalid input.
   4647 continue
   4648 else
   4649   echo "$as_me: failed program was:" >&5
   4650 sed 's/^/| /' conftest.$ac_ext >&5
   4651 
   4652   # Passes both tests.
   4653 ac_preproc_ok=:
   4654 break
   4655 fi
   4656 
   4657 rm -f conftest.err conftest.$ac_ext
   4658 
   4659 done
   4660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4661 rm -f conftest.err conftest.$ac_ext
   4662 if $ac_preproc_ok; then
   4663   break
   4664 fi
   4665 
   4666     done
   4667     ac_cv_prog_CPP=$CPP
   4668 
   4669 fi
   4670   CPP=$ac_cv_prog_CPP
   4671 else
   4672   ac_cv_prog_CPP=$CPP
   4673 fi
   4674 { echo "$as_me:$LINENO: result: $CPP" >&5
   4675 echo "${ECHO_T}$CPP" >&6; }
   4676 ac_preproc_ok=false
   4677 for ac_c_preproc_warn_flag in '' yes
   4678 do
   4679   # Use a header file that comes with gcc, so configuring glibc
   4680   # with a fresh cross-compiler works.
   4681   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4682   # <limits.h> exists even on freestanding compilers.
   4683   # On the NeXT, cc -E runs the code through the compiler's parser,
   4684   # not just through cpp. "Syntax error" is here to catch this case.
   4685   cat >conftest.$ac_ext <<_ACEOF
   4686 /* confdefs.h.  */
   4687 _ACEOF
   4688 cat confdefs.h >>conftest.$ac_ext
   4689 cat >>conftest.$ac_ext <<_ACEOF
   4690 /* end confdefs.h.  */
   4691 #ifdef __STDC__
   4692 # include <limits.h>
   4693 #else
   4694 # include <assert.h>
   4695 #endif
   4696 		     Syntax error
   4697 _ACEOF
   4698 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4699 case "(($ac_try" in
   4700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4701   *) ac_try_echo=$ac_try;;
   4702 esac
   4703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4704   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4705   ac_status=$?
   4706   grep -v '^ *+' conftest.er1 >conftest.err
   4707   rm -f conftest.er1
   4708   cat conftest.err >&5
   4709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4710   (exit $ac_status); } >/dev/null && {
   4711 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4712 	 test ! -s conftest.err
   4713        }; then
   4714   :
   4715 else
   4716   echo "$as_me: failed program was:" >&5
   4717 sed 's/^/| /' conftest.$ac_ext >&5
   4718 
   4719   # Broken: fails on valid input.
   4720 continue
   4721 fi
   4722 
   4723 rm -f conftest.err conftest.$ac_ext
   4724 
   4725   # OK, works on sane cases.  Now check whether nonexistent headers
   4726   # can be detected and how.
   4727   cat >conftest.$ac_ext <<_ACEOF
   4728 /* confdefs.h.  */
   4729 _ACEOF
   4730 cat confdefs.h >>conftest.$ac_ext
   4731 cat >>conftest.$ac_ext <<_ACEOF
   4732 /* end confdefs.h.  */
   4733 #include <ac_nonexistent.h>
   4734 _ACEOF
   4735 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4736 case "(($ac_try" in
   4737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4738   *) ac_try_echo=$ac_try;;
   4739 esac
   4740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4741   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4742   ac_status=$?
   4743   grep -v '^ *+' conftest.er1 >conftest.err
   4744   rm -f conftest.er1
   4745   cat conftest.err >&5
   4746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4747   (exit $ac_status); } >/dev/null && {
   4748 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4749 	 test ! -s conftest.err
   4750        }; then
   4751   # Broken: success on invalid input.
   4752 continue
   4753 else
   4754   echo "$as_me: failed program was:" >&5
   4755 sed 's/^/| /' conftest.$ac_ext >&5
   4756 
   4757   # Passes both tests.
   4758 ac_preproc_ok=:
   4759 break
   4760 fi
   4761 
   4762 rm -f conftest.err conftest.$ac_ext
   4763 
   4764 done
   4765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4766 rm -f conftest.err conftest.$ac_ext
   4767 if $ac_preproc_ok; then
   4768   :
   4769 else
   4770   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4771 See \`config.log' for more details." >&5
   4772 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4773 See \`config.log' for more details." >&2;}
   4774    { (exit 1); exit 1; }; }
   4775 fi
   4776 
   4777 ac_ext=c
   4778 ac_cpp='$CPP $CPPFLAGS'
   4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4782 
   4783 
   4784 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4785 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4786 if test "${ac_cv_header_stdc+set}" = set; then
   4787   echo $ECHO_N "(cached) $ECHO_C" >&6
   4788 else
   4789   cat >conftest.$ac_ext <<_ACEOF
   4790 /* confdefs.h.  */
   4791 _ACEOF
   4792 cat confdefs.h >>conftest.$ac_ext
   4793 cat >>conftest.$ac_ext <<_ACEOF
   4794 /* end confdefs.h.  */
   4795 #include <stdlib.h>
   4796 #include <stdarg.h>
   4797 #include <string.h>
   4798 #include <float.h>
   4799 
   4800 int
   4801 main ()
   4802 {
   4803 
   4804   ;
   4805   return 0;
   4806 }
   4807 _ACEOF
   4808 rm -f conftest.$ac_objext
   4809 if { (ac_try="$ac_compile"
   4810 case "(($ac_try" in
   4811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4812   *) ac_try_echo=$ac_try;;
   4813 esac
   4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4815   (eval "$ac_compile") 2>conftest.er1
   4816   ac_status=$?
   4817   grep -v '^ *+' conftest.er1 >conftest.err
   4818   rm -f conftest.er1
   4819   cat conftest.err >&5
   4820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4821   (exit $ac_status); } && {
   4822 	 test -z "$ac_c_werror_flag" ||
   4823 	 test ! -s conftest.err
   4824        } && test -s conftest.$ac_objext; then
   4825   ac_cv_header_stdc=yes
   4826 else
   4827   echo "$as_me: failed program was:" >&5
   4828 sed 's/^/| /' conftest.$ac_ext >&5
   4829 
   4830 	ac_cv_header_stdc=no
   4831 fi
   4832 
   4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4834 
   4835 if test $ac_cv_header_stdc = yes; then
   4836   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4837   cat >conftest.$ac_ext <<_ACEOF
   4838 /* confdefs.h.  */
   4839 _ACEOF
   4840 cat confdefs.h >>conftest.$ac_ext
   4841 cat >>conftest.$ac_ext <<_ACEOF
   4842 /* end confdefs.h.  */
   4843 #include <string.h>
   4844 
   4845 _ACEOF
   4846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4847   $EGREP "memchr" >/dev/null 2>&1; then
   4848   :
   4849 else
   4850   ac_cv_header_stdc=no
   4851 fi
   4852 rm -f conftest*
   4853 
   4854 fi
   4855 
   4856 if test $ac_cv_header_stdc = yes; then
   4857   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4858   cat >conftest.$ac_ext <<_ACEOF
   4859 /* confdefs.h.  */
   4860 _ACEOF
   4861 cat confdefs.h >>conftest.$ac_ext
   4862 cat >>conftest.$ac_ext <<_ACEOF
   4863 /* end confdefs.h.  */
   4864 #include <stdlib.h>
   4865 
   4866 _ACEOF
   4867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4868   $EGREP "free" >/dev/null 2>&1; then
   4869   :
   4870 else
   4871   ac_cv_header_stdc=no
   4872 fi
   4873 rm -f conftest*
   4874 
   4875 fi
   4876 
   4877 if test $ac_cv_header_stdc = yes; then
   4878   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4879   if test "$cross_compiling" = yes; then
   4880   :
   4881 else
   4882   cat >conftest.$ac_ext <<_ACEOF
   4883 /* confdefs.h.  */
   4884 _ACEOF
   4885 cat confdefs.h >>conftest.$ac_ext
   4886 cat >>conftest.$ac_ext <<_ACEOF
   4887 /* end confdefs.h.  */
   4888 #include <ctype.h>
   4889 #include <stdlib.h>
   4890 #if ((' ' & 0x0FF) == 0x020)
   4891 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4892 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4893 #else
   4894 # define ISLOWER(c) \
   4895 		   (('a' <= (c) && (c) <= 'i') \
   4896 		     || ('j' <= (c) && (c) <= 'r') \
   4897 		     || ('s' <= (c) && (c) <= 'z'))
   4898 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4899 #endif
   4900 
   4901 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4902 int
   4903 main ()
   4904 {
   4905   int i;
   4906   for (i = 0; i < 256; i++)
   4907     if (XOR (islower (i), ISLOWER (i))
   4908 	|| toupper (i) != TOUPPER (i))
   4909       return 2;
   4910   return 0;
   4911 }
   4912 _ACEOF
   4913 rm -f conftest$ac_exeext
   4914 if { (ac_try="$ac_link"
   4915 case "(($ac_try" in
   4916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4917   *) ac_try_echo=$ac_try;;
   4918 esac
   4919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4920   (eval "$ac_link") 2>&5
   4921   ac_status=$?
   4922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4923   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4924   { (case "(($ac_try" in
   4925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4926   *) ac_try_echo=$ac_try;;
   4927 esac
   4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4929   (eval "$ac_try") 2>&5
   4930   ac_status=$?
   4931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4932   (exit $ac_status); }; }; then
   4933   :
   4934 else
   4935   echo "$as_me: program exited with status $ac_status" >&5
   4936 echo "$as_me: failed program was:" >&5
   4937 sed 's/^/| /' conftest.$ac_ext >&5
   4938 
   4939 ( exit $ac_status )
   4940 ac_cv_header_stdc=no
   4941 fi
   4942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4943 fi
   4944 
   4945 
   4946 fi
   4947 fi
   4948 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4949 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4950 if test $ac_cv_header_stdc = yes; then
   4951 
   4952 cat >>confdefs.h <<\_ACEOF
   4953 #define STDC_HEADERS 1
   4954 _ACEOF
   4955 
   4956 fi
   4957 
   4958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4969 		  inttypes.h stdint.h unistd.h
   4970 do
   4971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4972 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4975   echo $ECHO_N "(cached) $ECHO_C" >&6
   4976 else
   4977   cat >conftest.$ac_ext <<_ACEOF
   4978 /* confdefs.h.  */
   4979 _ACEOF
   4980 cat confdefs.h >>conftest.$ac_ext
   4981 cat >>conftest.$ac_ext <<_ACEOF
   4982 /* end confdefs.h.  */
   4983 $ac_includes_default
   4984 
   4985 #include <$ac_header>
   4986 _ACEOF
   4987 rm -f conftest.$ac_objext
   4988 if { (ac_try="$ac_compile"
   4989 case "(($ac_try" in
   4990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4991   *) ac_try_echo=$ac_try;;
   4992 esac
   4993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4994   (eval "$ac_compile") 2>conftest.er1
   4995   ac_status=$?
   4996   grep -v '^ *+' conftest.er1 >conftest.err
   4997   rm -f conftest.er1
   4998   cat conftest.err >&5
   4999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5000   (exit $ac_status); } && {
   5001 	 test -z "$ac_c_werror_flag" ||
   5002 	 test ! -s conftest.err
   5003        } && test -s conftest.$ac_objext; then
   5004   eval "$as_ac_Header=yes"
   5005 else
   5006   echo "$as_me: failed program was:" >&5
   5007 sed 's/^/| /' conftest.$ac_ext >&5
   5008 
   5009 	eval "$as_ac_Header=no"
   5010 fi
   5011 
   5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5013 fi
   5014 ac_res=`eval echo '${'$as_ac_Header'}'`
   5015 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5016 echo "${ECHO_T}$ac_res" >&6; }
   5017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5018   cat >>confdefs.h <<_ACEOF
   5019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5020 _ACEOF
   5021 
   5022 fi
   5023 
   5024 done
   5025 
   5026 
   5027 
   5028 for ac_header in dlfcn.h
   5029 do
   5030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5032   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5035   echo $ECHO_N "(cached) $ECHO_C" >&6
   5036 fi
   5037 ac_res=`eval echo '${'$as_ac_Header'}'`
   5038 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5039 echo "${ECHO_T}$ac_res" >&6; }
   5040 else
   5041   # Is the header compilable?
   5042 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5044 cat >conftest.$ac_ext <<_ACEOF
   5045 /* confdefs.h.  */
   5046 _ACEOF
   5047 cat confdefs.h >>conftest.$ac_ext
   5048 cat >>conftest.$ac_ext <<_ACEOF
   5049 /* end confdefs.h.  */
   5050 $ac_includes_default
   5051 #include <$ac_header>
   5052 _ACEOF
   5053 rm -f conftest.$ac_objext
   5054 if { (ac_try="$ac_compile"
   5055 case "(($ac_try" in
   5056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5057   *) ac_try_echo=$ac_try;;
   5058 esac
   5059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5060   (eval "$ac_compile") 2>conftest.er1
   5061   ac_status=$?
   5062   grep -v '^ *+' conftest.er1 >conftest.err
   5063   rm -f conftest.er1
   5064   cat conftest.err >&5
   5065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5066   (exit $ac_status); } && {
   5067 	 test -z "$ac_c_werror_flag" ||
   5068 	 test ! -s conftest.err
   5069        } && test -s conftest.$ac_objext; then
   5070   ac_header_compiler=yes
   5071 else
   5072   echo "$as_me: failed program was:" >&5
   5073 sed 's/^/| /' conftest.$ac_ext >&5
   5074 
   5075 	ac_header_compiler=no
   5076 fi
   5077 
   5078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5079 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5080 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5081 
   5082 # Is the header present?
   5083 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5085 cat >conftest.$ac_ext <<_ACEOF
   5086 /* confdefs.h.  */
   5087 _ACEOF
   5088 cat confdefs.h >>conftest.$ac_ext
   5089 cat >>conftest.$ac_ext <<_ACEOF
   5090 /* end confdefs.h.  */
   5091 #include <$ac_header>
   5092 _ACEOF
   5093 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5094 case "(($ac_try" in
   5095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5096   *) ac_try_echo=$ac_try;;
   5097 esac
   5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5099   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5100   ac_status=$?
   5101   grep -v '^ *+' conftest.er1 >conftest.err
   5102   rm -f conftest.er1
   5103   cat conftest.err >&5
   5104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5105   (exit $ac_status); } >/dev/null && {
   5106 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5107 	 test ! -s conftest.err
   5108        }; then
   5109   ac_header_preproc=yes
   5110 else
   5111   echo "$as_me: failed program was:" >&5
   5112 sed 's/^/| /' conftest.$ac_ext >&5
   5113 
   5114   ac_header_preproc=no
   5115 fi
   5116 
   5117 rm -f conftest.err conftest.$ac_ext
   5118 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5119 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5120 
   5121 # So?  What about this header?
   5122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5123   yes:no: )
   5124     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5126     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5127 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5128     ac_header_preproc=yes
   5129     ;;
   5130   no:yes:* )
   5131     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5132 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5133     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5134 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5135     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5136 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5137     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5138 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5139     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5141     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5142 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5143     ( cat <<\_ASBOX
   5144 ## ---------------------------------------------------------------------- ##
   5145 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5146 ## ---------------------------------------------------------------------- ##
   5147 _ASBOX
   5148      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5149     ;;
   5150 esac
   5151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5154   echo $ECHO_N "(cached) $ECHO_C" >&6
   5155 else
   5156   eval "$as_ac_Header=\$ac_header_preproc"
   5157 fi
   5158 ac_res=`eval echo '${'$as_ac_Header'}'`
   5159 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5160 echo "${ECHO_T}$ac_res" >&6; }
   5161 
   5162 fi
   5163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5164   cat >>confdefs.h <<_ACEOF
   5165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5166 _ACEOF
   5167 
   5168 fi
   5169 
   5170 done
   5171 
   5172 ac_ext=cpp
   5173 ac_cpp='$CXXCPP $CPPFLAGS'
   5174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5177 if test -z "$CXX"; then
   5178   if test -n "$CCC"; then
   5179     CXX=$CCC
   5180   else
   5181     if test -n "$ac_tool_prefix"; then
   5182   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5183   do
   5184     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5188 if test "${ac_cv_prog_CXX+set}" = set; then
   5189   echo $ECHO_N "(cached) $ECHO_C" >&6
   5190 else
   5191   if test -n "$CXX"; then
   5192   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5193 else
   5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5195 for as_dir in $PATH
   5196 do
   5197   IFS=$as_save_IFS
   5198   test -z "$as_dir" && as_dir=.
   5199   for ac_exec_ext in '' $ac_executable_extensions; do
   5200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5201     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5202     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5203     break 2
   5204   fi
   5205 done
   5206 done
   5207 IFS=$as_save_IFS
   5208 
   5209 fi
   5210 fi
   5211 CXX=$ac_cv_prog_CXX
   5212 if test -n "$CXX"; then
   5213   { echo "$as_me:$LINENO: result: $CXX" >&5
   5214 echo "${ECHO_T}$CXX" >&6; }
   5215 else
   5216   { echo "$as_me:$LINENO: result: no" >&5
   5217 echo "${ECHO_T}no" >&6; }
   5218 fi
   5219 
   5220 
   5221     test -n "$CXX" && break
   5222   done
   5223 fi
   5224 if test -z "$CXX"; then
   5225   ac_ct_CXX=$CXX
   5226   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5227 do
   5228   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5229 set dummy $ac_prog; ac_word=$2
   5230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5232 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5233   echo $ECHO_N "(cached) $ECHO_C" >&6
   5234 else
   5235   if test -n "$ac_ct_CXX"; then
   5236   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5237 else
   5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5239 for as_dir in $PATH
   5240 do
   5241   IFS=$as_save_IFS
   5242   test -z "$as_dir" && as_dir=.
   5243   for ac_exec_ext in '' $ac_executable_extensions; do
   5244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5245     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5246     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5247     break 2
   5248   fi
   5249 done
   5250 done
   5251 IFS=$as_save_IFS
   5252 
   5253 fi
   5254 fi
   5255 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5256 if test -n "$ac_ct_CXX"; then
   5257   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5258 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5259 else
   5260   { echo "$as_me:$LINENO: result: no" >&5
   5261 echo "${ECHO_T}no" >&6; }
   5262 fi
   5263 
   5264 
   5265   test -n "$ac_ct_CXX" && break
   5266 done
   5267 
   5268   if test "x$ac_ct_CXX" = x; then
   5269     CXX="g++"
   5270   else
   5271     case $cross_compiling:$ac_tool_warned in
   5272 yes:)
   5273 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5274 whose name does not start with the host triplet.  If you think this
   5275 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5276 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5277 whose name does not start with the host triplet.  If you think this
   5278 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5279 ac_tool_warned=yes ;;
   5280 esac
   5281     CXX=$ac_ct_CXX
   5282   fi
   5283 fi
   5284 
   5285   fi
   5286 fi
   5287 # Provide some information about the compiler.
   5288 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5289 ac_compiler=`set X $ac_compile; echo $2`
   5290 { (ac_try="$ac_compiler --version >&5"
   5291 case "(($ac_try" in
   5292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5293   *) ac_try_echo=$ac_try;;
   5294 esac
   5295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5296   (eval "$ac_compiler --version >&5") 2>&5
   5297   ac_status=$?
   5298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5299   (exit $ac_status); }
   5300 { (ac_try="$ac_compiler -v >&5"
   5301 case "(($ac_try" in
   5302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5303   *) ac_try_echo=$ac_try;;
   5304 esac
   5305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5306   (eval "$ac_compiler -v >&5") 2>&5
   5307   ac_status=$?
   5308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5309   (exit $ac_status); }
   5310 { (ac_try="$ac_compiler -V >&5"
   5311 case "(($ac_try" in
   5312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5313   *) ac_try_echo=$ac_try;;
   5314 esac
   5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5316   (eval "$ac_compiler -V >&5") 2>&5
   5317   ac_status=$?
   5318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5319   (exit $ac_status); }
   5320 
   5321 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5322 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5323 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5324   echo $ECHO_N "(cached) $ECHO_C" >&6
   5325 else
   5326   cat >conftest.$ac_ext <<_ACEOF
   5327 /* confdefs.h.  */
   5328 _ACEOF
   5329 cat confdefs.h >>conftest.$ac_ext
   5330 cat >>conftest.$ac_ext <<_ACEOF
   5331 /* end confdefs.h.  */
   5332 
   5333 int
   5334 main ()
   5335 {
   5336 #ifndef __GNUC__
   5337        choke me
   5338 #endif
   5339 
   5340   ;
   5341   return 0;
   5342 }
   5343 _ACEOF
   5344 rm -f conftest.$ac_objext
   5345 if { (ac_try="$ac_compile"
   5346 case "(($ac_try" in
   5347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5348   *) ac_try_echo=$ac_try;;
   5349 esac
   5350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5351   (eval "$ac_compile") 2>conftest.er1
   5352   ac_status=$?
   5353   grep -v '^ *+' conftest.er1 >conftest.err
   5354   rm -f conftest.er1
   5355   cat conftest.err >&5
   5356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5357   (exit $ac_status); } && {
   5358 	 test -z "$ac_cxx_werror_flag" ||
   5359 	 test ! -s conftest.err
   5360        } && test -s conftest.$ac_objext; then
   5361   ac_compiler_gnu=yes
   5362 else
   5363   echo "$as_me: failed program was:" >&5
   5364 sed 's/^/| /' conftest.$ac_ext >&5
   5365 
   5366 	ac_compiler_gnu=no
   5367 fi
   5368 
   5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5370 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5371 
   5372 fi
   5373 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5374 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5375 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5376 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5377 ac_save_CXXFLAGS=$CXXFLAGS
   5378 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5379 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5380 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5381   echo $ECHO_N "(cached) $ECHO_C" >&6
   5382 else
   5383   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5384    ac_cxx_werror_flag=yes
   5385    ac_cv_prog_cxx_g=no
   5386    CXXFLAGS="-g"
   5387    cat >conftest.$ac_ext <<_ACEOF
   5388 /* confdefs.h.  */
   5389 _ACEOF
   5390 cat confdefs.h >>conftest.$ac_ext
   5391 cat >>conftest.$ac_ext <<_ACEOF
   5392 /* end confdefs.h.  */
   5393 
   5394 int
   5395 main ()
   5396 {
   5397 
   5398   ;
   5399   return 0;
   5400 }
   5401 _ACEOF
   5402 rm -f conftest.$ac_objext
   5403 if { (ac_try="$ac_compile"
   5404 case "(($ac_try" in
   5405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5406   *) ac_try_echo=$ac_try;;
   5407 esac
   5408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5409   (eval "$ac_compile") 2>conftest.er1
   5410   ac_status=$?
   5411   grep -v '^ *+' conftest.er1 >conftest.err
   5412   rm -f conftest.er1
   5413   cat conftest.err >&5
   5414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5415   (exit $ac_status); } && {
   5416 	 test -z "$ac_cxx_werror_flag" ||
   5417 	 test ! -s conftest.err
   5418        } && test -s conftest.$ac_objext; then
   5419   ac_cv_prog_cxx_g=yes
   5420 else
   5421   echo "$as_me: failed program was:" >&5
   5422 sed 's/^/| /' conftest.$ac_ext >&5
   5423 
   5424 	CXXFLAGS=""
   5425       cat >conftest.$ac_ext <<_ACEOF
   5426 /* confdefs.h.  */
   5427 _ACEOF
   5428 cat confdefs.h >>conftest.$ac_ext
   5429 cat >>conftest.$ac_ext <<_ACEOF
   5430 /* end confdefs.h.  */
   5431 
   5432 int
   5433 main ()
   5434 {
   5435 
   5436   ;
   5437   return 0;
   5438 }
   5439 _ACEOF
   5440 rm -f conftest.$ac_objext
   5441 if { (ac_try="$ac_compile"
   5442 case "(($ac_try" in
   5443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5444   *) ac_try_echo=$ac_try;;
   5445 esac
   5446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5447   (eval "$ac_compile") 2>conftest.er1
   5448   ac_status=$?
   5449   grep -v '^ *+' conftest.er1 >conftest.err
   5450   rm -f conftest.er1
   5451   cat conftest.err >&5
   5452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5453   (exit $ac_status); } && {
   5454 	 test -z "$ac_cxx_werror_flag" ||
   5455 	 test ! -s conftest.err
   5456        } && test -s conftest.$ac_objext; then
   5457   :
   5458 else
   5459   echo "$as_me: failed program was:" >&5
   5460 sed 's/^/| /' conftest.$ac_ext >&5
   5461 
   5462 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5463 	 CXXFLAGS="-g"
   5464 	 cat >conftest.$ac_ext <<_ACEOF
   5465 /* confdefs.h.  */
   5466 _ACEOF
   5467 cat confdefs.h >>conftest.$ac_ext
   5468 cat >>conftest.$ac_ext <<_ACEOF
   5469 /* end confdefs.h.  */
   5470 
   5471 int
   5472 main ()
   5473 {
   5474 
   5475   ;
   5476   return 0;
   5477 }
   5478 _ACEOF
   5479 rm -f conftest.$ac_objext
   5480 if { (ac_try="$ac_compile"
   5481 case "(($ac_try" in
   5482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5483   *) ac_try_echo=$ac_try;;
   5484 esac
   5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5486   (eval "$ac_compile") 2>conftest.er1
   5487   ac_status=$?
   5488   grep -v '^ *+' conftest.er1 >conftest.err
   5489   rm -f conftest.er1
   5490   cat conftest.err >&5
   5491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5492   (exit $ac_status); } && {
   5493 	 test -z "$ac_cxx_werror_flag" ||
   5494 	 test ! -s conftest.err
   5495        } && test -s conftest.$ac_objext; then
   5496   ac_cv_prog_cxx_g=yes
   5497 else
   5498   echo "$as_me: failed program was:" >&5
   5499 sed 's/^/| /' conftest.$ac_ext >&5
   5500 
   5501 
   5502 fi
   5503 
   5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5505 fi
   5506 
   5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5508 fi
   5509 
   5510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5511    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5512 fi
   5513 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5514 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5515 if test "$ac_test_CXXFLAGS" = set; then
   5516   CXXFLAGS=$ac_save_CXXFLAGS
   5517 elif test $ac_cv_prog_cxx_g = yes; then
   5518   if test "$GXX" = yes; then
   5519     CXXFLAGS="-g -O2"
   5520   else
   5521     CXXFLAGS="-g"
   5522   fi
   5523 else
   5524   if test "$GXX" = yes; then
   5525     CXXFLAGS="-O2"
   5526   else
   5527     CXXFLAGS=
   5528   fi
   5529 fi
   5530 ac_ext=cpp
   5531 ac_cpp='$CXXCPP $CPPFLAGS'
   5532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5535 
   5536 depcc="$CXX"  am_compiler_list=
   5537 
   5538 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5539 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5540 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5541   echo $ECHO_N "(cached) $ECHO_C" >&6
   5542 else
   5543   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5544   # We make a subdir and do the tests there.  Otherwise we can end up
   5545   # making bogus files that we don't know about and never remove.  For
   5546   # instance it was reported that on HP-UX the gcc test will end up
   5547   # making a dummy file named `D' -- because `-MD' means `put the output
   5548   # in D'.
   5549   mkdir conftest.dir
   5550   # Copy depcomp to subdir because otherwise we won't find it if we're
   5551   # using a relative directory.
   5552   cp "$am_depcomp" conftest.dir
   5553   cd conftest.dir
   5554   # We will build objects and dependencies in a subdirectory because
   5555   # it helps to detect inapplicable dependency modes.  For instance
   5556   # both Tru64's cc and ICC support -MD to output dependencies as a
   5557   # side effect of compilation, but ICC will put the dependencies in
   5558   # the current directory while Tru64 will put them in the object
   5559   # directory.
   5560   mkdir sub
   5561 
   5562   am_cv_CXX_dependencies_compiler_type=none
   5563   if test "$am_compiler_list" = ""; then
   5564      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5565   fi
   5566   for depmode in $am_compiler_list; do
   5567     # Setup a source with many dependencies, because some compilers
   5568     # like to wrap large dependency lists on column 80 (with \), and
   5569     # we should not choose a depcomp mode which is confused by this.
   5570     #
   5571     # We need to recreate these files for each test, as the compiler may
   5572     # overwrite some of them when testing with obscure command lines.
   5573     # This happens at least with the AIX C compiler.
   5574     : > sub/conftest.c
   5575     for i in 1 2 3 4 5 6; do
   5576       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5577       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5578       # Solaris 8's {/usr,}/bin/sh.
   5579       touch sub/conftst$i.h
   5580     done
   5581     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5582 
   5583     case $depmode in
   5584     nosideeffect)
   5585       # after this tag, mechanisms are not by side-effect, so they'll
   5586       # only be used when explicitly requested
   5587       if test "x$enable_dependency_tracking" = xyes; then
   5588 	continue
   5589       else
   5590 	break
   5591       fi
   5592       ;;
   5593     none) break ;;
   5594     esac
   5595     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5596     # mode.  It turns out that the SunPro C++ compiler does not properly
   5597     # handle `-M -o', and we need to detect this.
   5598     if depmode=$depmode \
   5599        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5600        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5601        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5602          >/dev/null 2>conftest.err &&
   5603        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5604        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5605        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5606        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5607       # icc doesn't choke on unknown options, it will just issue warnings
   5608       # or remarks (even with -Werror).  So we grep stderr for any message
   5609       # that says an option was ignored or not supported.
   5610       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5611       #   icc: Command line warning: ignoring option '-M'; no argument required
   5612       # The diagnosis changed in icc 8.0:
   5613       #   icc: Command line remark: option '-MP' not supported
   5614       if (grep 'ignoring option' conftest.err ||
   5615           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5616         am_cv_CXX_dependencies_compiler_type=$depmode
   5617         break
   5618       fi
   5619     fi
   5620   done
   5621 
   5622   cd ..
   5623   rm -rf conftest.dir
   5624 else
   5625   am_cv_CXX_dependencies_compiler_type=none
   5626 fi
   5627 
   5628 fi
   5629 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5630 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5631 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5632 
   5633  if
   5634   test "x$enable_dependency_tracking" != xno \
   5635   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5636   am__fastdepCXX_TRUE=
   5637   am__fastdepCXX_FALSE='#'
   5638 else
   5639   am__fastdepCXX_TRUE='#'
   5640   am__fastdepCXX_FALSE=
   5641 fi
   5642 
   5643 
   5644 
   5645 
   5646 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5647     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5648     (test "X$CXX" != "Xg++"))) ; then
   5649   ac_ext=cpp
   5650 ac_cpp='$CXXCPP $CPPFLAGS'
   5651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5654 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5655 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5656 if test -z "$CXXCPP"; then
   5657   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5658   echo $ECHO_N "(cached) $ECHO_C" >&6
   5659 else
   5660       # Double quotes because CXXCPP needs to be expanded
   5661     for CXXCPP in "$CXX -E" "/lib/cpp"
   5662     do
   5663       ac_preproc_ok=false
   5664 for ac_cxx_preproc_warn_flag in '' yes
   5665 do
   5666   # Use a header file that comes with gcc, so configuring glibc
   5667   # with a fresh cross-compiler works.
   5668   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5669   # <limits.h> exists even on freestanding compilers.
   5670   # On the NeXT, cc -E runs the code through the compiler's parser,
   5671   # not just through cpp. "Syntax error" is here to catch this case.
   5672   cat >conftest.$ac_ext <<_ACEOF
   5673 /* confdefs.h.  */
   5674 _ACEOF
   5675 cat confdefs.h >>conftest.$ac_ext
   5676 cat >>conftest.$ac_ext <<_ACEOF
   5677 /* end confdefs.h.  */
   5678 #ifdef __STDC__
   5679 # include <limits.h>
   5680 #else
   5681 # include <assert.h>
   5682 #endif
   5683 		     Syntax error
   5684 _ACEOF
   5685 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5686 case "(($ac_try" in
   5687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5688   *) ac_try_echo=$ac_try;;
   5689 esac
   5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5691   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5692   ac_status=$?
   5693   grep -v '^ *+' conftest.er1 >conftest.err
   5694   rm -f conftest.er1
   5695   cat conftest.err >&5
   5696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5697   (exit $ac_status); } >/dev/null && {
   5698 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5699 	 test ! -s conftest.err
   5700        }; then
   5701   :
   5702 else
   5703   echo "$as_me: failed program was:" >&5
   5704 sed 's/^/| /' conftest.$ac_ext >&5
   5705 
   5706   # Broken: fails on valid input.
   5707 continue
   5708 fi
   5709 
   5710 rm -f conftest.err conftest.$ac_ext
   5711 
   5712   # OK, works on sane cases.  Now check whether nonexistent headers
   5713   # can be detected and how.
   5714   cat >conftest.$ac_ext <<_ACEOF
   5715 /* confdefs.h.  */
   5716 _ACEOF
   5717 cat confdefs.h >>conftest.$ac_ext
   5718 cat >>conftest.$ac_ext <<_ACEOF
   5719 /* end confdefs.h.  */
   5720 #include <ac_nonexistent.h>
   5721 _ACEOF
   5722 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5723 case "(($ac_try" in
   5724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5725   *) ac_try_echo=$ac_try;;
   5726 esac
   5727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5728   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5729   ac_status=$?
   5730   grep -v '^ *+' conftest.er1 >conftest.err
   5731   rm -f conftest.er1
   5732   cat conftest.err >&5
   5733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5734   (exit $ac_status); } >/dev/null && {
   5735 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5736 	 test ! -s conftest.err
   5737        }; then
   5738   # Broken: success on invalid input.
   5739 continue
   5740 else
   5741   echo "$as_me: failed program was:" >&5
   5742 sed 's/^/| /' conftest.$ac_ext >&5
   5743 
   5744   # Passes both tests.
   5745 ac_preproc_ok=:
   5746 break
   5747 fi
   5748 
   5749 rm -f conftest.err conftest.$ac_ext
   5750 
   5751 done
   5752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5753 rm -f conftest.err conftest.$ac_ext
   5754 if $ac_preproc_ok; then
   5755   break
   5756 fi
   5757 
   5758     done
   5759     ac_cv_prog_CXXCPP=$CXXCPP
   5760 
   5761 fi
   5762   CXXCPP=$ac_cv_prog_CXXCPP
   5763 else
   5764   ac_cv_prog_CXXCPP=$CXXCPP
   5765 fi
   5766 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5767 echo "${ECHO_T}$CXXCPP" >&6; }
   5768 ac_preproc_ok=false
   5769 for ac_cxx_preproc_warn_flag in '' yes
   5770 do
   5771   # Use a header file that comes with gcc, so configuring glibc
   5772   # with a fresh cross-compiler works.
   5773   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5774   # <limits.h> exists even on freestanding compilers.
   5775   # On the NeXT, cc -E runs the code through the compiler's parser,
   5776   # not just through cpp. "Syntax error" is here to catch this case.
   5777   cat >conftest.$ac_ext <<_ACEOF
   5778 /* confdefs.h.  */
   5779 _ACEOF
   5780 cat confdefs.h >>conftest.$ac_ext
   5781 cat >>conftest.$ac_ext <<_ACEOF
   5782 /* end confdefs.h.  */
   5783 #ifdef __STDC__
   5784 # include <limits.h>
   5785 #else
   5786 # include <assert.h>
   5787 #endif
   5788 		     Syntax error
   5789 _ACEOF
   5790 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5791 case "(($ac_try" in
   5792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5793   *) ac_try_echo=$ac_try;;
   5794 esac
   5795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5796   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5797   ac_status=$?
   5798   grep -v '^ *+' conftest.er1 >conftest.err
   5799   rm -f conftest.er1
   5800   cat conftest.err >&5
   5801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5802   (exit $ac_status); } >/dev/null && {
   5803 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5804 	 test ! -s conftest.err
   5805        }; then
   5806   :
   5807 else
   5808   echo "$as_me: failed program was:" >&5
   5809 sed 's/^/| /' conftest.$ac_ext >&5
   5810 
   5811   # Broken: fails on valid input.
   5812 continue
   5813 fi
   5814 
   5815 rm -f conftest.err conftest.$ac_ext
   5816 
   5817   # OK, works on sane cases.  Now check whether nonexistent headers
   5818   # can be detected and how.
   5819   cat >conftest.$ac_ext <<_ACEOF
   5820 /* confdefs.h.  */
   5821 _ACEOF
   5822 cat confdefs.h >>conftest.$ac_ext
   5823 cat >>conftest.$ac_ext <<_ACEOF
   5824 /* end confdefs.h.  */
   5825 #include <ac_nonexistent.h>
   5826 _ACEOF
   5827 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5828 case "(($ac_try" in
   5829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5830   *) ac_try_echo=$ac_try;;
   5831 esac
   5832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5833   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5834   ac_status=$?
   5835   grep -v '^ *+' conftest.er1 >conftest.err
   5836   rm -f conftest.er1
   5837   cat conftest.err >&5
   5838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5839   (exit $ac_status); } >/dev/null && {
   5840 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5841 	 test ! -s conftest.err
   5842        }; then
   5843   # Broken: success on invalid input.
   5844 continue
   5845 else
   5846   echo "$as_me: failed program was:" >&5
   5847 sed 's/^/| /' conftest.$ac_ext >&5
   5848 
   5849   # Passes both tests.
   5850 ac_preproc_ok=:
   5851 break
   5852 fi
   5853 
   5854 rm -f conftest.err conftest.$ac_ext
   5855 
   5856 done
   5857 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5858 rm -f conftest.err conftest.$ac_ext
   5859 if $ac_preproc_ok; then
   5860   :
   5861 else
   5862   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5863 See \`config.log' for more details." >&5
   5864 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5865 See \`config.log' for more details." >&2;}
   5866    { (exit 1); exit 1; }; }
   5867 fi
   5868 
   5869 ac_ext=cpp
   5870 ac_cpp='$CXXCPP $CPPFLAGS'
   5871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5874 
   5875 fi
   5876 
   5877 
   5878 ac_ext=f
   5879 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5880 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5881 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5882 if test -n "$ac_tool_prefix"; then
   5883   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
   5884   do
   5885     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5886 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5889 if test "${ac_cv_prog_F77+set}" = set; then
   5890   echo $ECHO_N "(cached) $ECHO_C" >&6
   5891 else
   5892   if test -n "$F77"; then
   5893   ac_cv_prog_F77="$F77" # Let the user override the test.
   5894 else
   5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5896 for as_dir in $PATH
   5897 do
   5898   IFS=$as_save_IFS
   5899   test -z "$as_dir" && as_dir=.
   5900   for ac_exec_ext in '' $ac_executable_extensions; do
   5901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5902     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5903     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5904     break 2
   5905   fi
   5906 done
   5907 done
   5908 IFS=$as_save_IFS
   5909 
   5910 fi
   5911 fi
   5912 F77=$ac_cv_prog_F77
   5913 if test -n "$F77"; then
   5914   { echo "$as_me:$LINENO: result: $F77" >&5
   5915 echo "${ECHO_T}$F77" >&6; }
   5916 else
   5917   { echo "$as_me:$LINENO: result: no" >&5
   5918 echo "${ECHO_T}no" >&6; }
   5919 fi
   5920 
   5921 
   5922     test -n "$F77" && break
   5923   done
   5924 fi
   5925 if test -z "$F77"; then
   5926   ac_ct_F77=$F77
   5927   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   5928 do
   5929   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5930 set dummy $ac_prog; ac_word=$2
   5931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5933 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5934   echo $ECHO_N "(cached) $ECHO_C" >&6
   5935 else
   5936   if test -n "$ac_ct_F77"; then
   5937   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5938 else
   5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5940 for as_dir in $PATH
   5941 do
   5942   IFS=$as_save_IFS
   5943   test -z "$as_dir" && as_dir=.
   5944   for ac_exec_ext in '' $ac_executable_extensions; do
   5945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5946     ac_cv_prog_ac_ct_F77="$ac_prog"
   5947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5948     break 2
   5949   fi
   5950 done
   5951 done
   5952 IFS=$as_save_IFS
   5953 
   5954 fi
   5955 fi
   5956 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5957 if test -n "$ac_ct_F77"; then
   5958   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5959 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5960 else
   5961   { echo "$as_me:$LINENO: result: no" >&5
   5962 echo "${ECHO_T}no" >&6; }
   5963 fi
   5964 
   5965 
   5966   test -n "$ac_ct_F77" && break
   5967 done
   5968 
   5969   if test "x$ac_ct_F77" = x; then
   5970     F77=""
   5971   else
   5972     case $cross_compiling:$ac_tool_warned in
   5973 yes:)
   5974 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5975 whose name does not start with the host triplet.  If you think this
   5976 configuration is useful to you, please write to autoconf@gnu.org." >&5
   5977 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5978 whose name does not start with the host triplet.  If you think this
   5979 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   5980 ac_tool_warned=yes ;;
   5981 esac
   5982     F77=$ac_ct_F77
   5983   fi
   5984 fi
   5985 
   5986 
   5987 # Provide some information about the compiler.
   5988 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   5989 ac_compiler=`set X $ac_compile; echo $2`
   5990 { (ac_try="$ac_compiler --version >&5"
   5991 case "(($ac_try" in
   5992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5993   *) ac_try_echo=$ac_try;;
   5994 esac
   5995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5996   (eval "$ac_compiler --version >&5") 2>&5
   5997   ac_status=$?
   5998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5999   (exit $ac_status); }
   6000 { (ac_try="$ac_compiler -v >&5"
   6001 case "(($ac_try" in
   6002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6003   *) ac_try_echo=$ac_try;;
   6004 esac
   6005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6006   (eval "$ac_compiler -v >&5") 2>&5
   6007   ac_status=$?
   6008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6009   (exit $ac_status); }
   6010 { (ac_try="$ac_compiler -V >&5"
   6011 case "(($ac_try" in
   6012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6013   *) ac_try_echo=$ac_try;;
   6014 esac
   6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6016   (eval "$ac_compiler -V >&5") 2>&5
   6017   ac_status=$?
   6018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6019   (exit $ac_status); }
   6020 rm -f a.out
   6021 
   6022 # If we don't use `.F' as extension, the preprocessor is not run on the
   6023 # input file.  (Note that this only needs to work for GNU compilers.)
   6024 ac_save_ext=$ac_ext
   6025 ac_ext=F
   6026 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6027 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6028 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6029   echo $ECHO_N "(cached) $ECHO_C" >&6
   6030 else
   6031   cat >conftest.$ac_ext <<_ACEOF
   6032       program main
   6033 #ifndef __GNUC__
   6034        choke me
   6035 #endif
   6036 
   6037       end
   6038 _ACEOF
   6039 rm -f conftest.$ac_objext
   6040 if { (ac_try="$ac_compile"
   6041 case "(($ac_try" in
   6042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6043   *) ac_try_echo=$ac_try;;
   6044 esac
   6045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6046   (eval "$ac_compile") 2>conftest.er1
   6047   ac_status=$?
   6048   grep -v '^ *+' conftest.er1 >conftest.err
   6049   rm -f conftest.er1
   6050   cat conftest.err >&5
   6051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6052   (exit $ac_status); } && {
   6053 	 test -z "$ac_f77_werror_flag" ||
   6054 	 test ! -s conftest.err
   6055        } && test -s conftest.$ac_objext; then
   6056   ac_compiler_gnu=yes
   6057 else
   6058   echo "$as_me: failed program was:" >&5
   6059 sed 's/^/| /' conftest.$ac_ext >&5
   6060 
   6061 	ac_compiler_gnu=no
   6062 fi
   6063 
   6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6065 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6066 
   6067 fi
   6068 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6069 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6070 ac_ext=$ac_save_ext
   6071 ac_test_FFLAGS=${FFLAGS+set}
   6072 ac_save_FFLAGS=$FFLAGS
   6073 FFLAGS=
   6074 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6075 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6076 if test "${ac_cv_prog_f77_g+set}" = set; then
   6077   echo $ECHO_N "(cached) $ECHO_C" >&6
   6078 else
   6079   FFLAGS=-g
   6080 cat >conftest.$ac_ext <<_ACEOF
   6081       program main
   6082 
   6083       end
   6084 _ACEOF
   6085 rm -f conftest.$ac_objext
   6086 if { (ac_try="$ac_compile"
   6087 case "(($ac_try" in
   6088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6089   *) ac_try_echo=$ac_try;;
   6090 esac
   6091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6092   (eval "$ac_compile") 2>conftest.er1
   6093   ac_status=$?
   6094   grep -v '^ *+' conftest.er1 >conftest.err
   6095   rm -f conftest.er1
   6096   cat conftest.err >&5
   6097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6098   (exit $ac_status); } && {
   6099 	 test -z "$ac_f77_werror_flag" ||
   6100 	 test ! -s conftest.err
   6101        } && test -s conftest.$ac_objext; then
   6102   ac_cv_prog_f77_g=yes
   6103 else
   6104   echo "$as_me: failed program was:" >&5
   6105 sed 's/^/| /' conftest.$ac_ext >&5
   6106 
   6107 	ac_cv_prog_f77_g=no
   6108 fi
   6109 
   6110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6111 
   6112 fi
   6113 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6114 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6115 if test "$ac_test_FFLAGS" = set; then
   6116   FFLAGS=$ac_save_FFLAGS
   6117 elif test $ac_cv_prog_f77_g = yes; then
   6118   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6119     FFLAGS="-g -O2"
   6120   else
   6121     FFLAGS="-g"
   6122   fi
   6123 else
   6124   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6125     FFLAGS="-O2"
   6126   else
   6127     FFLAGS=
   6128   fi
   6129 fi
   6130 
   6131 G77=`test $ac_compiler_gnu = yes && echo yes`
   6132 ac_ext=c
   6133 ac_cpp='$CPP $CPPFLAGS'
   6134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6137 
   6138 
   6139 
   6140 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6141 
   6142 # find the maximum length of command line arguments
   6143 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6144 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6145 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6146   echo $ECHO_N "(cached) $ECHO_C" >&6
   6147 else
   6148     i=0
   6149   teststring="ABCD"
   6150 
   6151   case $build_os in
   6152   msdosdjgpp*)
   6153     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6154     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6155     # during glob expansion).  Even if it were fixed, the result of this
   6156     # check would be larger than it should be.
   6157     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6158     ;;
   6159 
   6160   gnu*)
   6161     # Under GNU Hurd, this test is not required because there is
   6162     # no limit to the length of command line arguments.
   6163     # Libtool will interpret -1 as no limit whatsoever
   6164     lt_cv_sys_max_cmd_len=-1;
   6165     ;;
   6166 
   6167   cygwin* | mingw*)
   6168     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6169     # about 5 minutes as the teststring grows exponentially.
   6170     # Worse, since 9x/ME are not pre-emptively multitasking,
   6171     # you end up with a "frozen" computer, even though with patience
   6172     # the test eventually succeeds (with a max line length of 256k).
   6173     # Instead, let's just punt: use the minimum linelength reported by
   6174     # all of the supported platforms: 8192 (on NT/2K/XP).
   6175     lt_cv_sys_max_cmd_len=8192;
   6176     ;;
   6177 
   6178   amigaos*)
   6179     # On AmigaOS with pdksh, this test takes hours, literally.
   6180     # So we just punt and use a minimum line length of 8192.
   6181     lt_cv_sys_max_cmd_len=8192;
   6182     ;;
   6183 
   6184   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6185     # This has been around since 386BSD, at least.  Likely further.
   6186     if test -x /sbin/sysctl; then
   6187       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6188     elif test -x /usr/sbin/sysctl; then
   6189       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6190     else
   6191       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6192     fi
   6193     # And add a safety zone
   6194     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6195     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6196     ;;
   6197 
   6198   interix*)
   6199     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6200     lt_cv_sys_max_cmd_len=196608
   6201     ;;
   6202 
   6203   osf*)
   6204     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6205     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6206     # nice to cause kernel panics so lets avoid the loop below.
   6207     # First set a reasonable default.
   6208     lt_cv_sys_max_cmd_len=16384
   6209     #
   6210     if test -x /sbin/sysconfig; then
   6211       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6212         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6213       esac
   6214     fi
   6215     ;;
   6216   sco3.2v5*)
   6217     lt_cv_sys_max_cmd_len=102400
   6218     ;;
   6219   sysv5* | sco5v6* | sysv4.2uw2*)
   6220     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6221     if test -n "$kargmax"; then
   6222       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6223     else
   6224       lt_cv_sys_max_cmd_len=32768
   6225     fi
   6226     ;;
   6227   *)
   6228     # If test is not a shell built-in, we'll probably end up computing a
   6229     # maximum length that is only half of the actual maximum length, but
   6230     # we can't tell.
   6231     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6232     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6233 	       = "XX$teststring") >/dev/null 2>&1 &&
   6234 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6235 	    lt_cv_sys_max_cmd_len=$new_result &&
   6236 	    test $i != 17 # 1/2 MB should be enough
   6237     do
   6238       i=`expr $i + 1`
   6239       teststring=$teststring$teststring
   6240     done
   6241     teststring=
   6242     # Add a significant safety factor because C++ compilers can tack on massive
   6243     # amounts of additional arguments before passing them to the linker.
   6244     # It appears as though 1/2 is a usable value.
   6245     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6246     ;;
   6247   esac
   6248 
   6249 fi
   6250 
   6251 if test -n $lt_cv_sys_max_cmd_len ; then
   6252   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6253 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6254 else
   6255   { echo "$as_me:$LINENO: result: none" >&5
   6256 echo "${ECHO_T}none" >&6; }
   6257 fi
   6258 
   6259 
   6260 
   6261 
   6262 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6263 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6264 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6265 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6266   echo $ECHO_N "(cached) $ECHO_C" >&6
   6267 else
   6268 
   6269 # These are sane defaults that work on at least a few old systems.
   6270 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6271 
   6272 # Character class describing NM global symbol codes.
   6273 symcode='[BCDEGRST]'
   6274 
   6275 # Regexp to match symbols that can be accessed directly from C.
   6276 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6277 
   6278 # Transform an extracted symbol line into a proper C declaration
   6279 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6280 
   6281 # Transform an extracted symbol line into symbol name and symbol address
   6282 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'"
   6283 
   6284 # Define system-specific variables.
   6285 case $host_os in
   6286 aix*)
   6287   symcode='[BCDT]'
   6288   ;;
   6289 cygwin* | mingw* | pw32*)
   6290   symcode='[ABCDGISTW]'
   6291   ;;
   6292 hpux*) # Its linker distinguishes data from code symbols
   6293   if test "$host_cpu" = ia64; then
   6294     symcode='[ABCDEGRST]'
   6295   fi
   6296   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6297   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'"
   6298   ;;
   6299 linux* | k*bsd*-gnu)
   6300   if test "$host_cpu" = ia64; then
   6301     symcode='[ABCDGIRSTW]'
   6302     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6303     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'"
   6304   fi
   6305   ;;
   6306 irix* | nonstopux*)
   6307   symcode='[BCDEGRST]'
   6308   ;;
   6309 osf*)
   6310   symcode='[BCDEGQRST]'
   6311   ;;
   6312 solaris*)
   6313   symcode='[BDRT]'
   6314   ;;
   6315 sco3.2v5*)
   6316   symcode='[DT]'
   6317   ;;
   6318 sysv4.2uw2*)
   6319   symcode='[DT]'
   6320   ;;
   6321 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6322   symcode='[ABDT]'
   6323   ;;
   6324 sysv4)
   6325   symcode='[DFNSTU]'
   6326   ;;
   6327 esac
   6328 
   6329 # Handle CRLF in mingw tool chain
   6330 opt_cr=
   6331 case $build_os in
   6332 mingw*)
   6333   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6334   ;;
   6335 esac
   6336 
   6337 # If we're using GNU nm, then use its standard symbol codes.
   6338 case `$NM -V 2>&1` in
   6339 *GNU* | *'with BFD'*)
   6340   symcode='[ABCDGIRSTW]' ;;
   6341 esac
   6342 
   6343 # Try without a prefix undercore, then with it.
   6344 for ac_symprfx in "" "_"; do
   6345 
   6346   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6347   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6348 
   6349   # Write the raw and C identifiers.
   6350   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6351 
   6352   # Check to see that the pipe works correctly.
   6353   pipe_works=no
   6354 
   6355   rm -f conftest*
   6356   cat > conftest.$ac_ext <<EOF
   6357 #ifdef __cplusplus
   6358 extern "C" {
   6359 #endif
   6360 char nm_test_var;
   6361 void nm_test_func(){}
   6362 #ifdef __cplusplus
   6363 }
   6364 #endif
   6365 int main(){nm_test_var='a';nm_test_func();return(0);}
   6366 EOF
   6367 
   6368   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6369   (eval $ac_compile) 2>&5
   6370   ac_status=$?
   6371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6372   (exit $ac_status); }; then
   6373     # Now try to grab the symbols.
   6374     nlist=conftest.nm
   6375     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6376   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6377   ac_status=$?
   6378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6379   (exit $ac_status); } && test -s "$nlist"; then
   6380       # Try sorting and uniquifying the output.
   6381       if sort "$nlist" | uniq > "$nlist"T; then
   6382 	mv -f "$nlist"T "$nlist"
   6383       else
   6384 	rm -f "$nlist"T
   6385       fi
   6386 
   6387       # Make sure that we snagged all the symbols we need.
   6388       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6389 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6390 	  cat <<EOF > conftest.$ac_ext
   6391 #ifdef __cplusplus
   6392 extern "C" {
   6393 #endif
   6394 
   6395 EOF
   6396 	  # Now generate the symbol file.
   6397 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6398 
   6399 	  cat <<EOF >> conftest.$ac_ext
   6400 #if defined (__STDC__) && __STDC__
   6401 # define lt_ptr_t void *
   6402 #else
   6403 # define lt_ptr_t char *
   6404 # define const
   6405 #endif
   6406 
   6407 /* The mapping between symbol names and symbols. */
   6408 const struct {
   6409   const char *name;
   6410   lt_ptr_t address;
   6411 }
   6412 lt_preloaded_symbols[] =
   6413 {
   6414 EOF
   6415 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6416 	  cat <<\EOF >> conftest.$ac_ext
   6417   {0, (lt_ptr_t) 0}
   6418 };
   6419 
   6420 #ifdef __cplusplus
   6421 }
   6422 #endif
   6423 EOF
   6424 	  # Now try linking the two files.
   6425 	  mv conftest.$ac_objext conftstm.$ac_objext
   6426 	  lt_save_LIBS="$LIBS"
   6427 	  lt_save_CFLAGS="$CFLAGS"
   6428 	  LIBS="conftstm.$ac_objext"
   6429 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6430 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6431   (eval $ac_link) 2>&5
   6432   ac_status=$?
   6433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6434   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6435 	    pipe_works=yes
   6436 	  fi
   6437 	  LIBS="$lt_save_LIBS"
   6438 	  CFLAGS="$lt_save_CFLAGS"
   6439 	else
   6440 	  echo "cannot find nm_test_func in $nlist" >&5
   6441 	fi
   6442       else
   6443 	echo "cannot find nm_test_var in $nlist" >&5
   6444       fi
   6445     else
   6446       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6447     fi
   6448   else
   6449     echo "$progname: failed program was:" >&5
   6450     cat conftest.$ac_ext >&5
   6451   fi
   6452   rm -f conftest* conftst*
   6453 
   6454   # Do not use the global_symbol_pipe unless it works.
   6455   if test "$pipe_works" = yes; then
   6456     break
   6457   else
   6458     lt_cv_sys_global_symbol_pipe=
   6459   fi
   6460 done
   6461 
   6462 fi
   6463 
   6464 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6465   lt_cv_sys_global_symbol_to_cdecl=
   6466 fi
   6467 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6468   { echo "$as_me:$LINENO: result: failed" >&5
   6469 echo "${ECHO_T}failed" >&6; }
   6470 else
   6471   { echo "$as_me:$LINENO: result: ok" >&5
   6472 echo "${ECHO_T}ok" >&6; }
   6473 fi
   6474 
   6475 { echo "$as_me:$LINENO: checking for objdir" >&5
   6476 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6477 if test "${lt_cv_objdir+set}" = set; then
   6478   echo $ECHO_N "(cached) $ECHO_C" >&6
   6479 else
   6480   rm -f .libs 2>/dev/null
   6481 mkdir .libs 2>/dev/null
   6482 if test -d .libs; then
   6483   lt_cv_objdir=.libs
   6484 else
   6485   # MS-DOS does not allow filenames that begin with a dot.
   6486   lt_cv_objdir=_libs
   6487 fi
   6488 rmdir .libs 2>/dev/null
   6489 fi
   6490 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6491 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6492 objdir=$lt_cv_objdir
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 case $host_os in
   6499 aix3*)
   6500   # AIX sometimes has problems with the GCC collect2 program.  For some
   6501   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6502   # vanish in a puff of smoke.
   6503   if test "X${COLLECT_NAMES+set}" != Xset; then
   6504     COLLECT_NAMES=
   6505     export COLLECT_NAMES
   6506   fi
   6507   ;;
   6508 esac
   6509 
   6510 # Sed substitution that helps us do robust quoting.  It backslashifies
   6511 # metacharacters that are still active within double-quoted strings.
   6512 Xsed='sed -e 1s/^X//'
   6513 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6514 
   6515 # Same as above, but do not quote variable references.
   6516 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6517 
   6518 # Sed substitution to delay expansion of an escaped shell variable in a
   6519 # double_quote_subst'ed string.
   6520 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6521 
   6522 # Sed substitution to avoid accidental globbing in evaled expressions
   6523 no_glob_subst='s/\*/\\\*/g'
   6524 
   6525 # Constants:
   6526 rm="rm -f"
   6527 
   6528 # Global variables:
   6529 default_ofile=libtool
   6530 can_build_shared=yes
   6531 
   6532 # All known linkers require a `.a' archive for static linking (except MSVC,
   6533 # which needs '.lib').
   6534 libext=a
   6535 ltmain="$ac_aux_dir/ltmain.sh"
   6536 ofile="$default_ofile"
   6537 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6538 
   6539 if test -n "$ac_tool_prefix"; then
   6540   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6541 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6544 if test "${ac_cv_prog_AR+set}" = set; then
   6545   echo $ECHO_N "(cached) $ECHO_C" >&6
   6546 else
   6547   if test -n "$AR"; then
   6548   ac_cv_prog_AR="$AR" # Let the user override the test.
   6549 else
   6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6551 for as_dir in $PATH
   6552 do
   6553   IFS=$as_save_IFS
   6554   test -z "$as_dir" && as_dir=.
   6555   for ac_exec_ext in '' $ac_executable_extensions; do
   6556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6557     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6558     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6559     break 2
   6560   fi
   6561 done
   6562 done
   6563 IFS=$as_save_IFS
   6564 
   6565 fi
   6566 fi
   6567 AR=$ac_cv_prog_AR
   6568 if test -n "$AR"; then
   6569   { echo "$as_me:$LINENO: result: $AR" >&5
   6570 echo "${ECHO_T}$AR" >&6; }
   6571 else
   6572   { echo "$as_me:$LINENO: result: no" >&5
   6573 echo "${ECHO_T}no" >&6; }
   6574 fi
   6575 
   6576 
   6577 fi
   6578 if test -z "$ac_cv_prog_AR"; then
   6579   ac_ct_AR=$AR
   6580   # Extract the first word of "ar", so it can be a program name with args.
   6581 set dummy ar; ac_word=$2
   6582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6584 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6585   echo $ECHO_N "(cached) $ECHO_C" >&6
   6586 else
   6587   if test -n "$ac_ct_AR"; then
   6588   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6589 else
   6590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6591 for as_dir in $PATH
   6592 do
   6593   IFS=$as_save_IFS
   6594   test -z "$as_dir" && as_dir=.
   6595   for ac_exec_ext in '' $ac_executable_extensions; do
   6596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6597     ac_cv_prog_ac_ct_AR="ar"
   6598     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6599     break 2
   6600   fi
   6601 done
   6602 done
   6603 IFS=$as_save_IFS
   6604 
   6605 fi
   6606 fi
   6607 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6608 if test -n "$ac_ct_AR"; then
   6609   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6610 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6611 else
   6612   { echo "$as_me:$LINENO: result: no" >&5
   6613 echo "${ECHO_T}no" >&6; }
   6614 fi
   6615 
   6616   if test "x$ac_ct_AR" = x; then
   6617     AR="false"
   6618   else
   6619     case $cross_compiling:$ac_tool_warned in
   6620 yes:)
   6621 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6622 whose name does not start with the host triplet.  If you think this
   6623 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6624 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6625 whose name does not start with the host triplet.  If you think this
   6626 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6627 ac_tool_warned=yes ;;
   6628 esac
   6629     AR=$ac_ct_AR
   6630   fi
   6631 else
   6632   AR="$ac_cv_prog_AR"
   6633 fi
   6634 
   6635 if test -n "$ac_tool_prefix"; then
   6636   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6637 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then
   6641   echo $ECHO_N "(cached) $ECHO_C" >&6
   6642 else
   6643   if test -n "$RANLIB"; then
   6644   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
   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 RANLIB=$ac_cv_prog_RANLIB
   6664 if test -n "$RANLIB"; then
   6665   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6666 echo "${ECHO_T}$RANLIB" >&6; }
   6667 else
   6668   { echo "$as_me:$LINENO: result: no" >&5
   6669 echo "${ECHO_T}no" >&6; }
   6670 fi
   6671 
   6672 
   6673 fi
   6674 if test -z "$ac_cv_prog_RANLIB"; then
   6675   ac_ct_RANLIB=$RANLIB
   6676   # Extract the first word of "ranlib", so it can be a program name with args.
   6677 set dummy ranlib; ac_word=$2
   6678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6681   echo $ECHO_N "(cached) $ECHO_C" >&6
   6682 else
   6683   if test -n "$ac_ct_RANLIB"; then
   6684   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6685 else
   6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6687 for as_dir in $PATH
   6688 do
   6689   IFS=$as_save_IFS
   6690   test -z "$as_dir" && as_dir=.
   6691   for ac_exec_ext in '' $ac_executable_extensions; do
   6692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6693     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6694     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6695     break 2
   6696   fi
   6697 done
   6698 done
   6699 IFS=$as_save_IFS
   6700 
   6701 fi
   6702 fi
   6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6704 if test -n "$ac_ct_RANLIB"; then
   6705   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6706 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6707 else
   6708   { echo "$as_me:$LINENO: result: no" >&5
   6709 echo "${ECHO_T}no" >&6; }
   6710 fi
   6711 
   6712   if test "x$ac_ct_RANLIB" = x; then
   6713     RANLIB=":"
   6714   else
   6715     case $cross_compiling:$ac_tool_warned in
   6716 yes:)
   6717 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6718 whose name does not start with the host triplet.  If you think this
   6719 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6720 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6721 whose name does not start with the host triplet.  If you think this
   6722 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6723 ac_tool_warned=yes ;;
   6724 esac
   6725     RANLIB=$ac_ct_RANLIB
   6726   fi
   6727 else
   6728   RANLIB="$ac_cv_prog_RANLIB"
   6729 fi
   6730 
   6731 if test -n "$ac_tool_prefix"; then
   6732   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6733 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
   6737   echo $ECHO_N "(cached) $ECHO_C" >&6
   6738 else
   6739   if test -n "$STRIP"; then
   6740   ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
   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 STRIP=$ac_cv_prog_STRIP
   6760 if test -n "$STRIP"; then
   6761   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6762 echo "${ECHO_T}$STRIP" >&6; }
   6763 else
   6764   { echo "$as_me:$LINENO: result: no" >&5
   6765 echo "${ECHO_T}no" >&6; }
   6766 fi
   6767 
   6768 
   6769 fi
   6770 if test -z "$ac_cv_prog_STRIP"; then
   6771   ac_ct_STRIP=$STRIP
   6772   # Extract the first word of "strip", so it can be a program name with args.
   6773 set dummy strip; ac_word=$2
   6774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6776 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6777   echo $ECHO_N "(cached) $ECHO_C" >&6
   6778 else
   6779   if test -n "$ac_ct_STRIP"; then
   6780   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6781 else
   6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6783 for as_dir in $PATH
   6784 do
   6785   IFS=$as_save_IFS
   6786   test -z "$as_dir" && as_dir=.
   6787   for ac_exec_ext in '' $ac_executable_extensions; do
   6788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6789     ac_cv_prog_ac_ct_STRIP="strip"
   6790     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6791     break 2
   6792   fi
   6793 done
   6794 done
   6795 IFS=$as_save_IFS
   6796 
   6797 fi
   6798 fi
   6799 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6800 if test -n "$ac_ct_STRIP"; then
   6801   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6802 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6803 else
   6804   { echo "$as_me:$LINENO: result: no" >&5
   6805 echo "${ECHO_T}no" >&6; }
   6806 fi
   6807 
   6808   if test "x$ac_ct_STRIP" = x; then
   6809     STRIP=":"
   6810   else
   6811     case $cross_compiling:$ac_tool_warned in
   6812 yes:)
   6813 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6814 whose name does not start with the host triplet.  If you think this
   6815 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6816 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6817 whose name does not start with the host triplet.  If you think this
   6818 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6819 ac_tool_warned=yes ;;
   6820 esac
   6821     STRIP=$ac_ct_STRIP
   6822   fi
   6823 else
   6824   STRIP="$ac_cv_prog_STRIP"
   6825 fi
   6826 
   6827 
   6828 old_CC="$CC"
   6829 old_CFLAGS="$CFLAGS"
   6830 
   6831 # Set sane defaults for various variables
   6832 test -z "$AR" && AR=ar
   6833 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6834 test -z "$AS" && AS=as
   6835 test -z "$CC" && CC=cc
   6836 test -z "$LTCC" && LTCC=$CC
   6837 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6838 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6839 test -z "$LD" && LD=ld
   6840 test -z "$LN_S" && LN_S="ln -s"
   6841 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6842 test -z "$NM" && NM=nm
   6843 test -z "$SED" && SED=sed
   6844 test -z "$OBJDUMP" && OBJDUMP=objdump
   6845 test -z "$RANLIB" && RANLIB=:
   6846 test -z "$STRIP" && STRIP=:
   6847 test -z "$ac_objext" && ac_objext=o
   6848 
   6849 # Determine commands to create old-style static archives.
   6850 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6851 old_postinstall_cmds='chmod 644 $oldlib'
   6852 old_postuninstall_cmds=
   6853 
   6854 if test -n "$RANLIB"; then
   6855   case $host_os in
   6856   openbsd*)
   6857     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6858     ;;
   6859   *)
   6860     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6861     ;;
   6862   esac
   6863   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6864 fi
   6865 
   6866 for cc_temp in $compiler""; do
   6867   case $cc_temp in
   6868     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6869     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6870     \-*) ;;
   6871     *) break;;
   6872   esac
   6873 done
   6874 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6875 
   6876 
   6877 # Only perform the check for file, if the check method requires it
   6878 case $deplibs_check_method in
   6879 file_magic*)
   6880   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6881     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6882 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6883 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6884   echo $ECHO_N "(cached) $ECHO_C" >&6
   6885 else
   6886   case $MAGIC_CMD in
   6887 [\\/*] |  ?:[\\/]*)
   6888   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6889   ;;
   6890 *)
   6891   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6892   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6893   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6894   for ac_dir in $ac_dummy; do
   6895     IFS="$lt_save_ifs"
   6896     test -z "$ac_dir" && ac_dir=.
   6897     if test -f $ac_dir/${ac_tool_prefix}file; then
   6898       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6899       if test -n "$file_magic_test_file"; then
   6900 	case $deplibs_check_method in
   6901 	"file_magic "*)
   6902 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6903 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6904 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6905 	    $EGREP "$file_magic_regex" > /dev/null; then
   6906 	    :
   6907 	  else
   6908 	    cat <<EOF 1>&2
   6909 
   6910 *** Warning: the command libtool uses to detect shared libraries,
   6911 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6912 *** The result is that libtool may fail to recognize shared libraries
   6913 *** as such.  This will affect the creation of libtool libraries that
   6914 *** depend on shared libraries, but programs linked with such libtool
   6915 *** libraries will work regardless of this problem.  Nevertheless, you
   6916 *** may want to report the problem to your system manager and/or to
   6917 *** bug-libtool@gnu.org
   6918 
   6919 EOF
   6920 	  fi ;;
   6921 	esac
   6922       fi
   6923       break
   6924     fi
   6925   done
   6926   IFS="$lt_save_ifs"
   6927   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6928   ;;
   6929 esac
   6930 fi
   6931 
   6932 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6933 if test -n "$MAGIC_CMD"; then
   6934   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6935 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6936 else
   6937   { echo "$as_me:$LINENO: result: no" >&5
   6938 echo "${ECHO_T}no" >&6; }
   6939 fi
   6940 
   6941 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6942   if test -n "$ac_tool_prefix"; then
   6943     { echo "$as_me:$LINENO: checking for file" >&5
   6944 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6945 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6946   echo $ECHO_N "(cached) $ECHO_C" >&6
   6947 else
   6948   case $MAGIC_CMD in
   6949 [\\/*] |  ?:[\\/]*)
   6950   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6951   ;;
   6952 *)
   6953   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6954   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6955   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6956   for ac_dir in $ac_dummy; do
   6957     IFS="$lt_save_ifs"
   6958     test -z "$ac_dir" && ac_dir=.
   6959     if test -f $ac_dir/file; then
   6960       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6961       if test -n "$file_magic_test_file"; then
   6962 	case $deplibs_check_method in
   6963 	"file_magic "*)
   6964 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6965 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6966 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6967 	    $EGREP "$file_magic_regex" > /dev/null; then
   6968 	    :
   6969 	  else
   6970 	    cat <<EOF 1>&2
   6971 
   6972 *** Warning: the command libtool uses to detect shared libraries,
   6973 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6974 *** The result is that libtool may fail to recognize shared libraries
   6975 *** as such.  This will affect the creation of libtool libraries that
   6976 *** depend on shared libraries, but programs linked with such libtool
   6977 *** libraries will work regardless of this problem.  Nevertheless, you
   6978 *** may want to report the problem to your system manager and/or to
   6979 *** bug-libtool@gnu.org
   6980 
   6981 EOF
   6982 	  fi ;;
   6983 	esac
   6984       fi
   6985       break
   6986     fi
   6987   done
   6988   IFS="$lt_save_ifs"
   6989   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6990   ;;
   6991 esac
   6992 fi
   6993 
   6994 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6995 if test -n "$MAGIC_CMD"; then
   6996   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6997 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6998 else
   6999   { echo "$as_me:$LINENO: result: no" >&5
   7000 echo "${ECHO_T}no" >&6; }
   7001 fi
   7002 
   7003   else
   7004     MAGIC_CMD=:
   7005   fi
   7006 fi
   7007 
   7008   fi
   7009   ;;
   7010 esac
   7011 
   7012 enable_dlopen=no
   7013 enable_win32_dll=no
   7014 
   7015 # Check whether --enable-libtool-lock was given.
   7016 if test "${enable_libtool_lock+set}" = set; then
   7017   enableval=$enable_libtool_lock;
   7018 fi
   7019 
   7020 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7021 
   7022 
   7023 # Check whether --with-pic was given.
   7024 if test "${with_pic+set}" = set; then
   7025   withval=$with_pic; pic_mode="$withval"
   7026 else
   7027   pic_mode=default
   7028 fi
   7029 
   7030 test -z "$pic_mode" && pic_mode=default
   7031 
   7032 # Use C for the default configuration in the libtool script
   7033 tagname=
   7034 lt_save_CC="$CC"
   7035 ac_ext=c
   7036 ac_cpp='$CPP $CPPFLAGS'
   7037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7040 
   7041 
   7042 # Source file extension for C test sources.
   7043 ac_ext=c
   7044 
   7045 # Object file extension for compiled C test sources.
   7046 objext=o
   7047 objext=$objext
   7048 
   7049 # Code to be used in simple compile tests
   7050 lt_simple_compile_test_code="int some_variable = 0;\n"
   7051 
   7052 # Code to be used in simple link tests
   7053 lt_simple_link_test_code='int main(){return(0);}\n'
   7054 
   7055 
   7056 # If no C compiler was specified, use CC.
   7057 LTCC=${LTCC-"$CC"}
   7058 
   7059 # If no C compiler flags were specified, use CFLAGS.
   7060 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7061 
   7062 # Allow CC to be a program name with arguments.
   7063 compiler=$CC
   7064 
   7065 
   7066 # save warnings/boilerplate of simple test code
   7067 ac_outfile=conftest.$ac_objext
   7068 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7069 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7070 _lt_compiler_boilerplate=`cat conftest.err`
   7071 $rm conftest*
   7072 
   7073 ac_outfile=conftest.$ac_objext
   7074 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7075 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7076 _lt_linker_boilerplate=`cat conftest.err`
   7077 $rm conftest*
   7078 
   7079 
   7080 
   7081 lt_prog_compiler_no_builtin_flag=
   7082 
   7083 if test "$GCC" = yes; then
   7084   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7085 
   7086 
   7087 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7088 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7089 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7090   echo $ECHO_N "(cached) $ECHO_C" >&6
   7091 else
   7092   lt_cv_prog_compiler_rtti_exceptions=no
   7093   ac_outfile=conftest.$ac_objext
   7094    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7095    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7096    # Insert the option either (1) after the last *FLAGS variable, or
   7097    # (2) before a word containing "conftest.", or (3) at the end.
   7098    # Note that $ac_compile itself does not contain backslashes and begins
   7099    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7100    # The option is referenced via a variable to avoid confusing sed.
   7101    lt_compile=`echo "$ac_compile" | $SED \
   7102    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7103    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7104    -e 's:$: $lt_compiler_flag:'`
   7105    (eval echo "\"\$as_me:7105: $lt_compile\"" >&5)
   7106    (eval "$lt_compile" 2>conftest.err)
   7107    ac_status=$?
   7108    cat conftest.err >&5
   7109    echo "$as_me:7109: \$? = $ac_status" >&5
   7110    if (exit $ac_status) && test -s "$ac_outfile"; then
   7111      # The compiler can only warn and ignore the option if not recognized
   7112      # So say no if there are warnings other than the usual output.
   7113      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7114      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7115      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7116        lt_cv_prog_compiler_rtti_exceptions=yes
   7117      fi
   7118    fi
   7119    $rm conftest*
   7120 
   7121 fi
   7122 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7123 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7124 
   7125 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7126     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7127 else
   7128     :
   7129 fi
   7130 
   7131 fi
   7132 
   7133 lt_prog_compiler_wl=
   7134 lt_prog_compiler_pic=
   7135 lt_prog_compiler_static=
   7136 
   7137 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7138 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7139 
   7140   if test "$GCC" = yes; then
   7141     lt_prog_compiler_wl='-Wl,'
   7142     lt_prog_compiler_static='-static'
   7143 
   7144     case $host_os in
   7145       aix*)
   7146       # All AIX code is PIC.
   7147       if test "$host_cpu" = ia64; then
   7148 	# AIX 5 now supports IA64 processor
   7149 	lt_prog_compiler_static='-Bstatic'
   7150       fi
   7151       ;;
   7152 
   7153     amigaos*)
   7154       # FIXME: we need at least 68020 code to build shared libraries, but
   7155       # adding the `-m68020' flag to GCC prevents building anything better,
   7156       # like `-m68040'.
   7157       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7158       ;;
   7159 
   7160     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7161       # PIC is the default for these OSes.
   7162       ;;
   7163 
   7164     mingw* | pw32* | os2*)
   7165       # This hack is so that the source file can tell whether it is being
   7166       # built for inclusion in a dll (and should export symbols for example).
   7167       lt_prog_compiler_pic='-DDLL_EXPORT'
   7168       ;;
   7169 
   7170     darwin* | rhapsody*)
   7171       # PIC is the default on this platform
   7172       # Common symbols not allowed in MH_DYLIB files
   7173       lt_prog_compiler_pic='-fno-common'
   7174       ;;
   7175 
   7176     interix3*)
   7177       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7178       # Instead, we relocate shared libraries at runtime.
   7179       ;;
   7180 
   7181     msdosdjgpp*)
   7182       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7183       # on systems that don't support them.
   7184       lt_prog_compiler_can_build_shared=no
   7185       enable_shared=no
   7186       ;;
   7187 
   7188     sysv4*MP*)
   7189       if test -d /usr/nec; then
   7190 	lt_prog_compiler_pic=-Kconform_pic
   7191       fi
   7192       ;;
   7193 
   7194     hpux*)
   7195       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7196       # not for PA HP-UX.
   7197       case $host_cpu in
   7198       hppa*64*|ia64*)
   7199 	# +Z the default
   7200 	;;
   7201       *)
   7202 	lt_prog_compiler_pic='-fPIC'
   7203 	;;
   7204       esac
   7205       ;;
   7206 
   7207     *)
   7208       lt_prog_compiler_pic='-fPIC'
   7209       ;;
   7210     esac
   7211   else
   7212     # PORTME Check for flag to pass linker flags through the system compiler.
   7213     case $host_os in
   7214     aix*)
   7215       lt_prog_compiler_wl='-Wl,'
   7216       if test "$host_cpu" = ia64; then
   7217 	# AIX 5 now supports IA64 processor
   7218 	lt_prog_compiler_static='-Bstatic'
   7219       else
   7220 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7221       fi
   7222       ;;
   7223       darwin*)
   7224         # PIC is the default on this platform
   7225         # Common symbols not allowed in MH_DYLIB files
   7226        case $cc_basename in
   7227          xlc*)
   7228          lt_prog_compiler_pic='-qnocommon'
   7229          lt_prog_compiler_wl='-Wl,'
   7230          ;;
   7231        esac
   7232        ;;
   7233 
   7234     mingw* | pw32* | os2*)
   7235       # This hack is so that the source file can tell whether it is being
   7236       # built for inclusion in a dll (and should export symbols for example).
   7237       lt_prog_compiler_pic='-DDLL_EXPORT'
   7238       ;;
   7239 
   7240     hpux9* | hpux10* | hpux11*)
   7241       lt_prog_compiler_wl='-Wl,'
   7242       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7243       # not for PA HP-UX.
   7244       case $host_cpu in
   7245       hppa*64*|ia64*)
   7246 	# +Z the default
   7247 	;;
   7248       *)
   7249 	lt_prog_compiler_pic='+Z'
   7250 	;;
   7251       esac
   7252       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7253       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7254       ;;
   7255 
   7256     irix5* | irix6* | nonstopux*)
   7257       lt_prog_compiler_wl='-Wl,'
   7258       # PIC (with -KPIC) is the default.
   7259       lt_prog_compiler_static='-non_shared'
   7260       ;;
   7261 
   7262     newsos6)
   7263       lt_prog_compiler_pic='-KPIC'
   7264       lt_prog_compiler_static='-Bstatic'
   7265       ;;
   7266 
   7267     linux* | k*bsd*-gnu)
   7268       case $cc_basename in
   7269       icc* | ecc*)
   7270 	lt_prog_compiler_wl='-Wl,'
   7271 	lt_prog_compiler_pic='-KPIC'
   7272 	lt_prog_compiler_static='-static'
   7273         ;;
   7274       pgcc* | pgf77* | pgf90* | pgf95*)
   7275         # Portland Group compilers (*not* the Pentium gcc compiler,
   7276 	# which looks to be a dead project)
   7277 	lt_prog_compiler_wl='-Wl,'
   7278 	lt_prog_compiler_pic='-fpic'
   7279 	lt_prog_compiler_static='-Bstatic'
   7280         ;;
   7281       ccc*)
   7282         lt_prog_compiler_wl='-Wl,'
   7283         # All Alpha code is PIC.
   7284         lt_prog_compiler_static='-non_shared'
   7285         ;;
   7286       esac
   7287       ;;
   7288 
   7289     osf3* | osf4* | osf5*)
   7290       lt_prog_compiler_wl='-Wl,'
   7291       # All OSF/1 code is PIC.
   7292       lt_prog_compiler_static='-non_shared'
   7293       ;;
   7294 
   7295     solaris*)
   7296       lt_prog_compiler_pic='-KPIC'
   7297       lt_prog_compiler_static='-Bstatic'
   7298       case $cc_basename in
   7299       f77* | f90* | f95*)
   7300 	lt_prog_compiler_wl='-Qoption ld ';;
   7301       *)
   7302 	lt_prog_compiler_wl='-Wl,';;
   7303       esac
   7304       ;;
   7305 
   7306     sunos4*)
   7307       lt_prog_compiler_wl='-Qoption ld '
   7308       lt_prog_compiler_pic='-PIC'
   7309       lt_prog_compiler_static='-Bstatic'
   7310       ;;
   7311 
   7312     sysv4 | sysv4.2uw2* | sysv4.3*)
   7313       lt_prog_compiler_wl='-Wl,'
   7314       lt_prog_compiler_pic='-KPIC'
   7315       lt_prog_compiler_static='-Bstatic'
   7316       ;;
   7317 
   7318     sysv4*MP*)
   7319       if test -d /usr/nec ;then
   7320 	lt_prog_compiler_pic='-Kconform_pic'
   7321 	lt_prog_compiler_static='-Bstatic'
   7322       fi
   7323       ;;
   7324 
   7325     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7326       lt_prog_compiler_wl='-Wl,'
   7327       lt_prog_compiler_pic='-KPIC'
   7328       lt_prog_compiler_static='-Bstatic'
   7329       ;;
   7330 
   7331     unicos*)
   7332       lt_prog_compiler_wl='-Wl,'
   7333       lt_prog_compiler_can_build_shared=no
   7334       ;;
   7335 
   7336     uts4*)
   7337       lt_prog_compiler_pic='-pic'
   7338       lt_prog_compiler_static='-Bstatic'
   7339       ;;
   7340 
   7341     *)
   7342       lt_prog_compiler_can_build_shared=no
   7343       ;;
   7344     esac
   7345   fi
   7346 
   7347 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7348 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7349 
   7350 #
   7351 # Check to make sure the PIC flag actually works.
   7352 #
   7353 if test -n "$lt_prog_compiler_pic"; then
   7354 
   7355 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7356 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7357 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7358   echo $ECHO_N "(cached) $ECHO_C" >&6
   7359 else
   7360   lt_prog_compiler_pic_works=no
   7361   ac_outfile=conftest.$ac_objext
   7362    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7363    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7364    # Insert the option either (1) after the last *FLAGS variable, or
   7365    # (2) before a word containing "conftest.", or (3) at the end.
   7366    # Note that $ac_compile itself does not contain backslashes and begins
   7367    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7368    # The option is referenced via a variable to avoid confusing sed.
   7369    lt_compile=`echo "$ac_compile" | $SED \
   7370    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7371    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7372    -e 's:$: $lt_compiler_flag:'`
   7373    (eval echo "\"\$as_me:7373: $lt_compile\"" >&5)
   7374    (eval "$lt_compile" 2>conftest.err)
   7375    ac_status=$?
   7376    cat conftest.err >&5
   7377    echo "$as_me:7377: \$? = $ac_status" >&5
   7378    if (exit $ac_status) && test -s "$ac_outfile"; then
   7379      # The compiler can only warn and ignore the option if not recognized
   7380      # So say no if there are warnings other than the usual output.
   7381      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7382      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7383      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7384        lt_prog_compiler_pic_works=yes
   7385      fi
   7386    fi
   7387    $rm conftest*
   7388 
   7389 fi
   7390 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7391 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7392 
   7393 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7394     case $lt_prog_compiler_pic in
   7395      "" | " "*) ;;
   7396      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7397      esac
   7398 else
   7399     lt_prog_compiler_pic=
   7400      lt_prog_compiler_can_build_shared=no
   7401 fi
   7402 
   7403 fi
   7404 case $host_os in
   7405   # For platforms which do not support PIC, -DPIC is meaningless:
   7406   *djgpp*)
   7407     lt_prog_compiler_pic=
   7408     ;;
   7409   *)
   7410     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7411     ;;
   7412 esac
   7413 
   7414 #
   7415 # Check to make sure the static flag actually works.
   7416 #
   7417 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7418 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7419 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7420 if test "${lt_prog_compiler_static_works+set}" = set; then
   7421   echo $ECHO_N "(cached) $ECHO_C" >&6
   7422 else
   7423   lt_prog_compiler_static_works=no
   7424    save_LDFLAGS="$LDFLAGS"
   7425    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7426    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7427    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7428      # The linker can only warn and ignore the option if not recognized
   7429      # So say no if there are warnings
   7430      if test -s conftest.err; then
   7431        # Append any errors to the config.log.
   7432        cat conftest.err 1>&5
   7433        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7434        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7435        if diff conftest.exp conftest.er2 >/dev/null; then
   7436          lt_prog_compiler_static_works=yes
   7437        fi
   7438      else
   7439        lt_prog_compiler_static_works=yes
   7440      fi
   7441    fi
   7442    $rm conftest*
   7443    LDFLAGS="$save_LDFLAGS"
   7444 
   7445 fi
   7446 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7447 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7448 
   7449 if test x"$lt_prog_compiler_static_works" = xyes; then
   7450     :
   7451 else
   7452     lt_prog_compiler_static=
   7453 fi
   7454 
   7455 
   7456 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7457 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7458 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7459   echo $ECHO_N "(cached) $ECHO_C" >&6
   7460 else
   7461   lt_cv_prog_compiler_c_o=no
   7462    $rm -r conftest 2>/dev/null
   7463    mkdir conftest
   7464    cd conftest
   7465    mkdir out
   7466    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7467 
   7468    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7469    # Insert the option either (1) after the last *FLAGS variable, or
   7470    # (2) before a word containing "conftest.", or (3) at the end.
   7471    # Note that $ac_compile itself does not contain backslashes and begins
   7472    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7473    lt_compile=`echo "$ac_compile" | $SED \
   7474    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7475    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7476    -e 's:$: $lt_compiler_flag:'`
   7477    (eval echo "\"\$as_me:7477: $lt_compile\"" >&5)
   7478    (eval "$lt_compile" 2>out/conftest.err)
   7479    ac_status=$?
   7480    cat out/conftest.err >&5
   7481    echo "$as_me:7481: \$? = $ac_status" >&5
   7482    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7483    then
   7484      # The compiler can only warn and ignore the option if not recognized
   7485      # So say no if there are warnings
   7486      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7487      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7488      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7489        lt_cv_prog_compiler_c_o=yes
   7490      fi
   7491    fi
   7492    chmod u+w . 2>&5
   7493    $rm conftest*
   7494    # SGI C++ compiler will create directory out/ii_files/ for
   7495    # template instantiation
   7496    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7497    $rm out/* && rmdir out
   7498    cd ..
   7499    rmdir conftest
   7500    $rm conftest*
   7501 
   7502 fi
   7503 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7504 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7505 
   7506 
   7507 hard_links="nottested"
   7508 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7509   # do not overwrite the value of need_locks provided by the user
   7510   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7511 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7512   hard_links=yes
   7513   $rm conftest*
   7514   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7515   touch conftest.a
   7516   ln conftest.a conftest.b 2>&5 || hard_links=no
   7517   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7518   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7519 echo "${ECHO_T}$hard_links" >&6; }
   7520   if test "$hard_links" = no; then
   7521     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7522 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7523     need_locks=warn
   7524   fi
   7525 else
   7526   need_locks=no
   7527 fi
   7528 
   7529 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7530 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7531 
   7532   runpath_var=
   7533   allow_undefined_flag=
   7534   enable_shared_with_static_runtimes=no
   7535   archive_cmds=
   7536   archive_expsym_cmds=
   7537   old_archive_From_new_cmds=
   7538   old_archive_from_expsyms_cmds=
   7539   export_dynamic_flag_spec=
   7540   whole_archive_flag_spec=
   7541   thread_safe_flag_spec=
   7542   hardcode_libdir_flag_spec=
   7543   hardcode_libdir_flag_spec_ld=
   7544   hardcode_libdir_separator=
   7545   hardcode_direct=no
   7546   hardcode_minus_L=no
   7547   hardcode_shlibpath_var=unsupported
   7548   link_all_deplibs=unknown
   7549   hardcode_automatic=no
   7550   module_cmds=
   7551   module_expsym_cmds=
   7552   always_export_symbols=no
   7553   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7554   # include_expsyms should be a list of space-separated symbols to be *always*
   7555   # included in the symbol list
   7556   include_expsyms=
   7557   # exclude_expsyms can be an extended regexp of symbols to exclude
   7558   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7559   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7560   # as well as any symbol that contains `d'.
   7561   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7562   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7563   # platforms (ab)use it in PIC code, but their linkers get confused if
   7564   # the symbol is explicitly referenced.  Since portable code cannot
   7565   # rely on this symbol name, it's probably fine to never include it in
   7566   # preloaded symbol tables.
   7567   extract_expsyms_cmds=
   7568   # Just being paranoid about ensuring that cc_basename is set.
   7569   for cc_temp in $compiler""; do
   7570   case $cc_temp in
   7571     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7572     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7573     \-*) ;;
   7574     *) break;;
   7575   esac
   7576 done
   7577 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7578 
   7579   case $host_os in
   7580   cygwin* | mingw* | pw32*)
   7581     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7582     # When not using gcc, we currently assume that we are using
   7583     # Microsoft Visual C++.
   7584     if test "$GCC" != yes; then
   7585       with_gnu_ld=no
   7586     fi
   7587     ;;
   7588   interix*)
   7589     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7590     with_gnu_ld=yes
   7591     ;;
   7592   openbsd*)
   7593     with_gnu_ld=no
   7594     ;;
   7595   esac
   7596 
   7597   ld_shlibs=yes
   7598   if test "$with_gnu_ld" = yes; then
   7599     # If archive_cmds runs LD, not CC, wlarc should be empty
   7600     wlarc='${wl}'
   7601 
   7602     # Set some defaults for GNU ld with shared library support. These
   7603     # are reset later if shared libraries are not supported. Putting them
   7604     # here allows them to be overridden if necessary.
   7605     runpath_var=LD_RUN_PATH
   7606     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7607     export_dynamic_flag_spec='${wl}--export-dynamic'
   7608     # ancient GNU ld didn't support --whole-archive et. al.
   7609     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7610 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7611       else
   7612   	whole_archive_flag_spec=
   7613     fi
   7614     supports_anon_versioning=no
   7615     case `$LD -v 2>/dev/null` in
   7616       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7617       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7618       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7619       *\ 2.11.*) ;; # other 2.11 versions
   7620       *) supports_anon_versioning=yes ;;
   7621     esac
   7622 
   7623     # See if GNU ld supports shared libraries.
   7624     case $host_os in
   7625     aix3* | aix4* | aix5*)
   7626       # On AIX/PPC, the GNU linker is very broken
   7627       if test "$host_cpu" != ia64; then
   7628 	ld_shlibs=no
   7629 	cat <<EOF 1>&2
   7630 
   7631 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7632 *** to be unable to reliably create shared libraries on AIX.
   7633 *** Therefore, libtool is disabling shared libraries support.  If you
   7634 *** really care for shared libraries, you may want to modify your PATH
   7635 *** so that a non-GNU linker is found, and then restart.
   7636 
   7637 EOF
   7638       fi
   7639       ;;
   7640 
   7641     amigaos*)
   7642       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)'
   7643       hardcode_libdir_flag_spec='-L$libdir'
   7644       hardcode_minus_L=yes
   7645 
   7646       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7647       # that the semantics of dynamic libraries on AmigaOS, at least up
   7648       # to version 4, is to share data among multiple programs linked
   7649       # with the same dynamic library.  Since this doesn't match the
   7650       # behavior of shared libraries on other platforms, we can't use
   7651       # them.
   7652       ld_shlibs=no
   7653       ;;
   7654 
   7655     beos*)
   7656       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7657 	allow_undefined_flag=unsupported
   7658 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7659 	# support --undefined.  This deserves some investigation.  FIXME
   7660 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7661       else
   7662 	ld_shlibs=no
   7663       fi
   7664       ;;
   7665 
   7666     cygwin* | mingw* | pw32*)
   7667       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7668       # as there is no search path for DLLs.
   7669       hardcode_libdir_flag_spec='-L$libdir'
   7670       allow_undefined_flag=unsupported
   7671       always_export_symbols=no
   7672       enable_shared_with_static_runtimes=yes
   7673       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7674 
   7675       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7676         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7677 	# If the export-symbols file already is a .def file (1st line
   7678 	# is EXPORTS), use it as is; otherwise, prepend...
   7679 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7680 	  cp $export_symbols $output_objdir/$soname.def;
   7681 	else
   7682 	  echo EXPORTS > $output_objdir/$soname.def;
   7683 	  cat $export_symbols >> $output_objdir/$soname.def;
   7684 	fi~
   7685 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7686       else
   7687 	ld_shlibs=no
   7688       fi
   7689       ;;
   7690 
   7691     interix3*)
   7692       hardcode_direct=no
   7693       hardcode_shlibpath_var=no
   7694       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7695       export_dynamic_flag_spec='${wl}-E'
   7696       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7697       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7698       # default) and relocated if they conflict, which is a slow very memory
   7699       # consuming and fragmenting process.  To avoid this, we pick a random,
   7700       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7701       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7702       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7703       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'
   7704       ;;
   7705 
   7706     linux* | k*bsd*-gnu)
   7707       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7708 	tmp_addflag=
   7709 	case $cc_basename,$host_cpu in
   7710 	pgcc*)				# Portland Group C compiler
   7711 	  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'
   7712 	  tmp_addflag=' $pic_flag'
   7713 	  ;;
   7714 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7715 	  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'
   7716 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7717 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7718 	  tmp_addflag=' -i_dynamic' ;;
   7719 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7720 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7721 	ifc* | ifort*)			# Intel Fortran compiler
   7722 	  tmp_addflag=' -nofor_main' ;;
   7723 	esac
   7724 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7725 
   7726 	if test $supports_anon_versioning = yes; then
   7727 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7728   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7729   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7730 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7731 	fi
   7732 	link_all_deplibs=no
   7733       else
   7734 	ld_shlibs=no
   7735       fi
   7736       ;;
   7737 
   7738     netbsd* | netbsdelf*-gnu)
   7739       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7740 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7741 	wlarc=
   7742       else
   7743 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7744 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7745       fi
   7746       ;;
   7747 
   7748     solaris*)
   7749       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7750 	ld_shlibs=no
   7751 	cat <<EOF 1>&2
   7752 
   7753 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7754 *** create shared libraries on Solaris systems.  Therefore, libtool
   7755 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7756 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7757 *** your PATH or compiler configuration so that the native linker is
   7758 *** used, and then restart.
   7759 
   7760 EOF
   7761       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7762 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7763 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7764       else
   7765 	ld_shlibs=no
   7766       fi
   7767       ;;
   7768 
   7769     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7770       case `$LD -v 2>&1` in
   7771         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7772 	ld_shlibs=no
   7773 	cat <<_LT_EOF 1>&2
   7774 
   7775 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7776 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7777 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7778 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7779 *** your PATH or compiler configuration so that the native linker is
   7780 *** used, and then restart.
   7781 
   7782 _LT_EOF
   7783 	;;
   7784 	*)
   7785 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7786 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7787 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7788 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7789 	  else
   7790 	    ld_shlibs=no
   7791 	  fi
   7792 	;;
   7793       esac
   7794       ;;
   7795 
   7796     sunos4*)
   7797       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7798       wlarc=
   7799       hardcode_direct=yes
   7800       hardcode_shlibpath_var=no
   7801       ;;
   7802 
   7803     *)
   7804       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7805 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7806 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7807       else
   7808 	ld_shlibs=no
   7809       fi
   7810       ;;
   7811     esac
   7812 
   7813     if test "$ld_shlibs" = no; then
   7814       runpath_var=
   7815       hardcode_libdir_flag_spec=
   7816       export_dynamic_flag_spec=
   7817       whole_archive_flag_spec=
   7818     fi
   7819   else
   7820     # PORTME fill in a description of your system's linker (not GNU ld)
   7821     case $host_os in
   7822     aix3*)
   7823       allow_undefined_flag=unsupported
   7824       always_export_symbols=yes
   7825       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'
   7826       # Note: this linker hardcodes the directories in LIBPATH if there
   7827       # are no directories specified by -L.
   7828       hardcode_minus_L=yes
   7829       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7830 	# Neither direct hardcoding nor static linking is supported with a
   7831 	# broken collect2.
   7832 	hardcode_direct=unsupported
   7833       fi
   7834       ;;
   7835 
   7836     aix4* | aix5*)
   7837       if test "$host_cpu" = ia64; then
   7838 	# On IA64, the linker does run time linking by default, so we don't
   7839 	# have to do anything special.
   7840 	aix_use_runtimelinking=no
   7841 	exp_sym_flag='-Bexport'
   7842 	no_entry_flag=""
   7843       else
   7844 	# If we're using GNU nm, then we don't want the "-C" option.
   7845 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7846 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7847 	  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'
   7848 	else
   7849 	  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'
   7850 	fi
   7851 	aix_use_runtimelinking=no
   7852 
   7853 	# Test if we are trying to use run time linking or normal
   7854 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7855 	# need to do runtime linking.
   7856 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7857 	  for ld_flag in $LDFLAGS; do
   7858   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7859   	    aix_use_runtimelinking=yes
   7860   	    break
   7861   	  fi
   7862 	  done
   7863 	  ;;
   7864 	esac
   7865 
   7866 	exp_sym_flag='-bexport'
   7867 	no_entry_flag='-bnoentry'
   7868       fi
   7869 
   7870       # When large executables or shared objects are built, AIX ld can
   7871       # have problems creating the table of contents.  If linking a library
   7872       # or program results in "error TOC overflow" add -mminimal-toc to
   7873       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7874       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7875 
   7876       archive_cmds=''
   7877       hardcode_direct=yes
   7878       hardcode_libdir_separator=':'
   7879       link_all_deplibs=yes
   7880 
   7881       if test "$GCC" = yes; then
   7882 	case $host_os in aix4.[012]|aix4.[012].*)
   7883 	# We only want to do this on AIX 4.2 and lower, the check
   7884 	# below for broken collect2 doesn't work under 4.3+
   7885 	  collect2name=`${CC} -print-prog-name=collect2`
   7886 	  if test -f "$collect2name" && \
   7887   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7888 	  then
   7889   	  # We have reworked collect2
   7890   	  hardcode_direct=yes
   7891 	  else
   7892   	  # We have old collect2
   7893   	  hardcode_direct=unsupported
   7894   	  # It fails to find uninstalled libraries when the uninstalled
   7895   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7896   	  # to unsupported forces relinking
   7897   	  hardcode_minus_L=yes
   7898   	  hardcode_libdir_flag_spec='-L$libdir'
   7899   	  hardcode_libdir_separator=
   7900 	  fi
   7901 	  ;;
   7902 	esac
   7903 	shared_flag='-shared'
   7904 	if test "$aix_use_runtimelinking" = yes; then
   7905 	  shared_flag="$shared_flag "'${wl}-G'
   7906 	fi
   7907       else
   7908 	# not using gcc
   7909 	if test "$host_cpu" = ia64; then
   7910   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7911   	# chokes on -Wl,-G. The following line is correct:
   7912 	  shared_flag='-G'
   7913 	else
   7914 	  if test "$aix_use_runtimelinking" = yes; then
   7915 	    shared_flag='${wl}-G'
   7916 	  else
   7917 	    shared_flag='${wl}-bM:SRE'
   7918 	  fi
   7919 	fi
   7920       fi
   7921 
   7922       # It seems that -bexpall does not export symbols beginning with
   7923       # underscore (_), so it is better to generate a list of symbols to export.
   7924       always_export_symbols=yes
   7925       if test "$aix_use_runtimelinking" = yes; then
   7926 	# Warning - without using the other runtime loading flags (-brtl),
   7927 	# -berok will link without error, but may produce a broken library.
   7928 	allow_undefined_flag='-berok'
   7929        # Determine the default libpath from the value encoded in an empty executable.
   7930        cat >conftest.$ac_ext <<_ACEOF
   7931 /* confdefs.h.  */
   7932 _ACEOF
   7933 cat confdefs.h >>conftest.$ac_ext
   7934 cat >>conftest.$ac_ext <<_ACEOF
   7935 /* end confdefs.h.  */
   7936 
   7937 int
   7938 main ()
   7939 {
   7940 
   7941   ;
   7942   return 0;
   7943 }
   7944 _ACEOF
   7945 rm -f conftest.$ac_objext conftest$ac_exeext
   7946 if { (ac_try="$ac_link"
   7947 case "(($ac_try" in
   7948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7949   *) ac_try_echo=$ac_try;;
   7950 esac
   7951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7952   (eval "$ac_link") 2>conftest.er1
   7953   ac_status=$?
   7954   grep -v '^ *+' conftest.er1 >conftest.err
   7955   rm -f conftest.er1
   7956   cat conftest.err >&5
   7957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7958   (exit $ac_status); } && {
   7959 	 test -z "$ac_c_werror_flag" ||
   7960 	 test ! -s conftest.err
   7961        } && test -s conftest$ac_exeext &&
   7962        $as_test_x conftest$ac_exeext; then
   7963 
   7964 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7965 }'`
   7966 # Check for a 64-bit object if we didn't find anything.
   7967 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7968 }'`; fi
   7969 else
   7970   echo "$as_me: failed program was:" >&5
   7971 sed 's/^/| /' conftest.$ac_ext >&5
   7972 
   7973 
   7974 fi
   7975 
   7976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7977       conftest$ac_exeext conftest.$ac_ext
   7978 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7979 
   7980        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7981 	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"
   7982        else
   7983 	if test "$host_cpu" = ia64; then
   7984 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7985 	  allow_undefined_flag="-z nodefs"
   7986 	  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"
   7987 	else
   7988 	 # Determine the default libpath from the value encoded in an empty executable.
   7989 	 cat >conftest.$ac_ext <<_ACEOF
   7990 /* confdefs.h.  */
   7991 _ACEOF
   7992 cat confdefs.h >>conftest.$ac_ext
   7993 cat >>conftest.$ac_ext <<_ACEOF
   7994 /* end confdefs.h.  */
   7995 
   7996 int
   7997 main ()
   7998 {
   7999 
   8000   ;
   8001   return 0;
   8002 }
   8003 _ACEOF
   8004 rm -f conftest.$ac_objext conftest$ac_exeext
   8005 if { (ac_try="$ac_link"
   8006 case "(($ac_try" in
   8007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8008   *) ac_try_echo=$ac_try;;
   8009 esac
   8010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8011   (eval "$ac_link") 2>conftest.er1
   8012   ac_status=$?
   8013   grep -v '^ *+' conftest.er1 >conftest.err
   8014   rm -f conftest.er1
   8015   cat conftest.err >&5
   8016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8017   (exit $ac_status); } && {
   8018 	 test -z "$ac_c_werror_flag" ||
   8019 	 test ! -s conftest.err
   8020        } && test -s conftest$ac_exeext &&
   8021        $as_test_x conftest$ac_exeext; then
   8022 
   8023 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8024 }'`
   8025 # Check for a 64-bit object if we didn't find anything.
   8026 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8027 }'`; fi
   8028 else
   8029   echo "$as_me: failed program was:" >&5
   8030 sed 's/^/| /' conftest.$ac_ext >&5
   8031 
   8032 
   8033 fi
   8034 
   8035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8036       conftest$ac_exeext conftest.$ac_ext
   8037 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8038 
   8039 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8040 	  # Warning - without using the other run time loading flags,
   8041 	  # -berok will link without error, but may produce a broken library.
   8042 	  no_undefined_flag=' ${wl}-bernotok'
   8043 	  allow_undefined_flag=' ${wl}-berok'
   8044 	  # Exported symbols can be pulled into shared objects from archives
   8045 	  whole_archive_flag_spec='$convenience'
   8046 	  archive_cmds_need_lc=yes
   8047 	  # This is similar to how AIX traditionally builds its shared libraries.
   8048 	  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'
   8049 	fi
   8050       fi
   8051       ;;
   8052 
   8053     amigaos*)
   8054       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)'
   8055       hardcode_libdir_flag_spec='-L$libdir'
   8056       hardcode_minus_L=yes
   8057       # see comment about different semantics on the GNU ld section
   8058       ld_shlibs=no
   8059       ;;
   8060 
   8061     bsdi[45]*)
   8062       export_dynamic_flag_spec=-rdynamic
   8063       ;;
   8064 
   8065     cygwin* | mingw* | pw32*)
   8066       # When not using gcc, we currently assume that we are using
   8067       # Microsoft Visual C++.
   8068       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8069       # no search path for DLLs.
   8070       hardcode_libdir_flag_spec=' '
   8071       allow_undefined_flag=unsupported
   8072       # Tell ltmain to make .lib files, not .a files.
   8073       libext=lib
   8074       # Tell ltmain to make .dll files, not .so files.
   8075       shrext_cmds=".dll"
   8076       # FIXME: Setting linknames here is a bad hack.
   8077       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8078       # The linker will automatically build a .lib file if we build a DLL.
   8079       old_archive_From_new_cmds='true'
   8080       # FIXME: Should let the user specify the lib program.
   8081       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8082       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8083       enable_shared_with_static_runtimes=yes
   8084       ;;
   8085 
   8086     darwin* | rhapsody*)
   8087       case $host_os in
   8088         rhapsody* | darwin1.[012])
   8089          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8090          ;;
   8091        *) # Darwin 1.3 on
   8092          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8093            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8094          else
   8095            case ${MACOSX_DEPLOYMENT_TARGET} in
   8096              10.[012])
   8097                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8098                ;;
   8099              10.*)
   8100                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8101                ;;
   8102            esac
   8103          fi
   8104          ;;
   8105       esac
   8106       archive_cmds_need_lc=no
   8107       hardcode_direct=no
   8108       hardcode_automatic=yes
   8109       hardcode_shlibpath_var=unsupported
   8110       whole_archive_flag_spec=''
   8111       link_all_deplibs=yes
   8112     if test "$GCC" = yes ; then
   8113     	output_verbose_link_cmd='echo'
   8114         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8115       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8116       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8117       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8118       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}'
   8119     else
   8120       case $cc_basename in
   8121         xlc*)
   8122          output_verbose_link_cmd='echo'
   8123          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8124          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8125           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8126          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8127           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}'
   8128           ;;
   8129        *)
   8130          ld_shlibs=no
   8131           ;;
   8132       esac
   8133     fi
   8134       ;;
   8135 
   8136     dgux*)
   8137       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8138       hardcode_libdir_flag_spec='-L$libdir'
   8139       hardcode_shlibpath_var=no
   8140       ;;
   8141 
   8142     freebsd1*)
   8143       ld_shlibs=no
   8144       ;;
   8145 
   8146     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8147     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8148     # does not break anything, and helps significantly (at the cost of a little
   8149     # extra space).
   8150     freebsd2.2*)
   8151       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8152       hardcode_libdir_flag_spec='-R$libdir'
   8153       hardcode_direct=yes
   8154       hardcode_shlibpath_var=no
   8155       ;;
   8156 
   8157     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8158     freebsd2*)
   8159       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8160       hardcode_direct=yes
   8161       hardcode_minus_L=yes
   8162       hardcode_shlibpath_var=no
   8163       ;;
   8164 
   8165     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8166     freebsd* | dragonfly*)
   8167       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8168       hardcode_libdir_flag_spec='-R$libdir'
   8169       hardcode_direct=yes
   8170       hardcode_shlibpath_var=no
   8171       ;;
   8172 
   8173     hpux9*)
   8174       if test "$GCC" = yes; then
   8175 	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'
   8176       else
   8177 	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'
   8178       fi
   8179       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8180       hardcode_libdir_separator=:
   8181       hardcode_direct=yes
   8182 
   8183       # hardcode_minus_L: Not really in the search PATH,
   8184       # but as the default location of the library.
   8185       hardcode_minus_L=yes
   8186       export_dynamic_flag_spec='${wl}-E'
   8187       ;;
   8188 
   8189     hpux10*)
   8190       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8191 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8192       else
   8193 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8194       fi
   8195       if test "$with_gnu_ld" = no; then
   8196 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8197 	hardcode_libdir_separator=:
   8198 
   8199 	hardcode_direct=yes
   8200 	export_dynamic_flag_spec='${wl}-E'
   8201 
   8202 	# hardcode_minus_L: Not really in the search PATH,
   8203 	# but as the default location of the library.
   8204 	hardcode_minus_L=yes
   8205       fi
   8206       ;;
   8207 
   8208     hpux11*)
   8209       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8210 	case $host_cpu in
   8211 	hppa*64*)
   8212 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8213 	  ;;
   8214 	ia64*)
   8215 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8216 	  ;;
   8217 	*)
   8218 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8219 	  ;;
   8220 	esac
   8221       else
   8222 	case $host_cpu in
   8223 	hppa*64*)
   8224 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8225 	  ;;
   8226 	ia64*)
   8227 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8228 	  ;;
   8229 	*)
   8230 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8231 	  ;;
   8232 	esac
   8233       fi
   8234       if test "$with_gnu_ld" = no; then
   8235 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8236 	hardcode_libdir_separator=:
   8237 
   8238 	case $host_cpu in
   8239 	hppa*64*|ia64*)
   8240 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8241 	  hardcode_direct=no
   8242 	  hardcode_shlibpath_var=no
   8243 	  ;;
   8244 	*)
   8245 	  hardcode_direct=yes
   8246 	  export_dynamic_flag_spec='${wl}-E'
   8247 
   8248 	  # hardcode_minus_L: Not really in the search PATH,
   8249 	  # but as the default location of the library.
   8250 	  hardcode_minus_L=yes
   8251 	  ;;
   8252 	esac
   8253       fi
   8254       ;;
   8255 
   8256     irix5* | irix6* | nonstopux*)
   8257       if test "$GCC" = yes; then
   8258 	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'
   8259       else
   8260 	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'
   8261 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8262       fi
   8263       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8264       hardcode_libdir_separator=:
   8265       link_all_deplibs=yes
   8266       ;;
   8267 
   8268     netbsd* | netbsdelf*-gnu)
   8269       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8270 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8271       else
   8272 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8273       fi
   8274       hardcode_libdir_flag_spec='-R$libdir'
   8275       hardcode_direct=yes
   8276       hardcode_shlibpath_var=no
   8277       ;;
   8278 
   8279     newsos6)
   8280       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8281       hardcode_direct=yes
   8282       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8283       hardcode_libdir_separator=:
   8284       hardcode_shlibpath_var=no
   8285       ;;
   8286 
   8287     openbsd*)
   8288       hardcode_direct=yes
   8289       hardcode_shlibpath_var=no
   8290       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8291 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8292 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8293 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8294 	export_dynamic_flag_spec='${wl}-E'
   8295       else
   8296        case $host_os in
   8297 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8298 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8299 	   hardcode_libdir_flag_spec='-R$libdir'
   8300 	   ;;
   8301 	 *)
   8302 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8303 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8304 	   ;;
   8305        esac
   8306       fi
   8307       ;;
   8308 
   8309     os2*)
   8310       hardcode_libdir_flag_spec='-L$libdir'
   8311       hardcode_minus_L=yes
   8312       allow_undefined_flag=unsupported
   8313       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'
   8314       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8315       ;;
   8316 
   8317     osf3*)
   8318       if test "$GCC" = yes; then
   8319 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8320 	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'
   8321       else
   8322 	allow_undefined_flag=' -expect_unresolved \*'
   8323 	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'
   8324       fi
   8325       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8326       hardcode_libdir_separator=:
   8327       ;;
   8328 
   8329     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8330       if test "$GCC" = yes; then
   8331 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8332 	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'
   8333 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8334       else
   8335 	allow_undefined_flag=' -expect_unresolved \*'
   8336 	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'
   8337 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8338 	$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'
   8339 
   8340 	# Both c and cxx compiler support -rpath directly
   8341 	hardcode_libdir_flag_spec='-rpath $libdir'
   8342       fi
   8343       hardcode_libdir_separator=:
   8344       ;;
   8345 
   8346     solaris*)
   8347       no_undefined_flag=' -z text'
   8348       if test "$GCC" = yes; then
   8349 	wlarc='${wl}'
   8350 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8351 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8352 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8353       else
   8354 	wlarc=''
   8355 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8356 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8357   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8358       fi
   8359       hardcode_libdir_flag_spec='-R$libdir'
   8360       hardcode_shlibpath_var=no
   8361       case $host_os in
   8362       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8363       *)
   8364  	# The compiler driver will combine linker options so we
   8365  	# cannot just pass the convience library names through
   8366  	# without $wl, iff we do not link with $LD.
   8367  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8368  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8369  	case $wlarc in
   8370  	'')
   8371  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8372  	*)
   8373  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   8374  	esac ;;
   8375       esac
   8376       link_all_deplibs=yes
   8377       ;;
   8378 
   8379     sunos4*)
   8380       if test "x$host_vendor" = xsequent; then
   8381 	# Use $CC to link under sequent, because it throws in some extra .o
   8382 	# files that make .init and .fini sections work.
   8383 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8384       else
   8385 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8386       fi
   8387       hardcode_libdir_flag_spec='-L$libdir'
   8388       hardcode_direct=yes
   8389       hardcode_minus_L=yes
   8390       hardcode_shlibpath_var=no
   8391       ;;
   8392 
   8393     sysv4)
   8394       case $host_vendor in
   8395 	sni)
   8396 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8397 	  hardcode_direct=yes # is this really true???
   8398 	;;
   8399 	siemens)
   8400 	  ## LD is ld it makes a PLAMLIB
   8401 	  ## CC just makes a GrossModule.
   8402 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8403 	  reload_cmds='$CC -r -o $output$reload_objs'
   8404 	  hardcode_direct=no
   8405         ;;
   8406 	motorola)
   8407 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8408 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8409 	;;
   8410       esac
   8411       runpath_var='LD_RUN_PATH'
   8412       hardcode_shlibpath_var=no
   8413       ;;
   8414 
   8415     sysv4.3*)
   8416       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8417       hardcode_shlibpath_var=no
   8418       export_dynamic_flag_spec='-Bexport'
   8419       ;;
   8420 
   8421     sysv4*MP*)
   8422       if test -d /usr/nec; then
   8423 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8424 	hardcode_shlibpath_var=no
   8425 	runpath_var=LD_RUN_PATH
   8426 	hardcode_runpath_var=yes
   8427 	ld_shlibs=yes
   8428       fi
   8429       ;;
   8430 
   8431     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8432       no_undefined_flag='${wl}-z,text'
   8433       archive_cmds_need_lc=no
   8434       hardcode_shlibpath_var=no
   8435       runpath_var='LD_RUN_PATH'
   8436 
   8437       if test "$GCC" = yes; then
   8438 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8439 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8440       else
   8441 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8442 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8443       fi
   8444       ;;
   8445 
   8446     sysv5* | sco3.2v5* | sco5v6*)
   8447       # Note: We can NOT use -z defs as we might desire, because we do not
   8448       # link with -lc, and that would cause any symbols used from libc to
   8449       # always be unresolved, which means just about no library would
   8450       # ever link correctly.  If we're not using GNU ld we use -z text
   8451       # though, which does catch some bad symbols but isn't as heavy-handed
   8452       # as -z defs.
   8453       no_undefined_flag='${wl}-z,text'
   8454       allow_undefined_flag='${wl}-z,nodefs'
   8455       archive_cmds_need_lc=no
   8456       hardcode_shlibpath_var=no
   8457       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8458       hardcode_libdir_separator=':'
   8459       link_all_deplibs=yes
   8460       export_dynamic_flag_spec='${wl}-Bexport'
   8461       runpath_var='LD_RUN_PATH'
   8462 
   8463       if test "$GCC" = yes; then
   8464 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8465 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8466       else
   8467 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8468 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8469       fi
   8470       ;;
   8471 
   8472     uts4*)
   8473       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8474       hardcode_libdir_flag_spec='-L$libdir'
   8475       hardcode_shlibpath_var=no
   8476       ;;
   8477 
   8478     *)
   8479       ld_shlibs=no
   8480       ;;
   8481     esac
   8482   fi
   8483 
   8484 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8485 echo "${ECHO_T}$ld_shlibs" >&6; }
   8486 test "$ld_shlibs" = no && can_build_shared=no
   8487 
   8488 #
   8489 # Do we need to explicitly link libc?
   8490 #
   8491 case "x$archive_cmds_need_lc" in
   8492 x|xyes)
   8493   # Assume -lc should be added
   8494   archive_cmds_need_lc=yes
   8495 
   8496   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8497     case $archive_cmds in
   8498     *'~'*)
   8499       # FIXME: we may have to deal with multi-command sequences.
   8500       ;;
   8501     '$CC '*)
   8502       # Test whether the compiler implicitly links with -lc since on some
   8503       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8504       # to ld, don't add -lc before -lgcc.
   8505       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8506 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8507       $rm conftest*
   8508       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8509 
   8510       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8511   (eval $ac_compile) 2>&5
   8512   ac_status=$?
   8513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8514   (exit $ac_status); } 2>conftest.err; then
   8515         soname=conftest
   8516         lib=conftest
   8517         libobjs=conftest.$ac_objext
   8518         deplibs=
   8519         wl=$lt_prog_compiler_wl
   8520 	pic_flag=$lt_prog_compiler_pic
   8521         compiler_flags=-v
   8522         linker_flags=-v
   8523         verstring=
   8524         output_objdir=.
   8525         libname=conftest
   8526         lt_save_allow_undefined_flag=$allow_undefined_flag
   8527         allow_undefined_flag=
   8528         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8529   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8530   ac_status=$?
   8531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8532   (exit $ac_status); }
   8533         then
   8534 	  archive_cmds_need_lc=no
   8535         else
   8536 	  archive_cmds_need_lc=yes
   8537         fi
   8538         allow_undefined_flag=$lt_save_allow_undefined_flag
   8539       else
   8540         cat conftest.err 1>&5
   8541       fi
   8542       $rm conftest*
   8543       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8544 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8545       ;;
   8546     esac
   8547   fi
   8548   ;;
   8549 esac
   8550 
   8551 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8552 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8553 library_names_spec=
   8554 libname_spec='lib$name'
   8555 soname_spec=
   8556 shrext_cmds=".so"
   8557 postinstall_cmds=
   8558 postuninstall_cmds=
   8559 finish_cmds=
   8560 finish_eval=
   8561 shlibpath_var=
   8562 shlibpath_overrides_runpath=unknown
   8563 version_type=none
   8564 dynamic_linker="$host_os ld.so"
   8565 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8566 if test "$GCC" = yes; then
   8567   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8568   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8569     # if the path contains ";" then we assume it to be the separator
   8570     # otherwise default to the standard path separator (i.e. ":") - it is
   8571     # assumed that no part of a normal pathname contains ";" but that should
   8572     # okay in the real world where ";" in dirpaths is itself problematic.
   8573     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8574   else
   8575     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8576   fi
   8577 else
   8578   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8579 fi
   8580 need_lib_prefix=unknown
   8581 hardcode_into_libs=no
   8582 
   8583 # when you set need_version to no, make sure it does not cause -set_version
   8584 # flags to be left without arguments
   8585 need_version=unknown
   8586 
   8587 case $host_os in
   8588 aix3*)
   8589   version_type=linux
   8590   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8591   shlibpath_var=LIBPATH
   8592 
   8593   # AIX 3 has no versioning support, so we append a major version to the name.
   8594   soname_spec='${libname}${release}${shared_ext}$major'
   8595   ;;
   8596 
   8597 aix4* | aix5*)
   8598   version_type=linux
   8599   need_lib_prefix=no
   8600   need_version=no
   8601   hardcode_into_libs=yes
   8602   if test "$host_cpu" = ia64; then
   8603     # AIX 5 supports IA64
   8604     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8605     shlibpath_var=LD_LIBRARY_PATH
   8606   else
   8607     # With GCC up to 2.95.x, collect2 would create an import file
   8608     # for dependence libraries.  The import file would start with
   8609     # the line `#! .'.  This would cause the generated library to
   8610     # depend on `.', always an invalid library.  This was fixed in
   8611     # development snapshots of GCC prior to 3.0.
   8612     case $host_os in
   8613       aix4 | aix4.[01] | aix4.[01].*)
   8614       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8615 	   echo ' yes '
   8616 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8617 	:
   8618       else
   8619 	can_build_shared=no
   8620       fi
   8621       ;;
   8622     esac
   8623     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8624     # soname into executable. Probably we can add versioning support to
   8625     # collect2, so additional links can be useful in future.
   8626     if test "$aix_use_runtimelinking" = yes; then
   8627       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8628       # instead of lib<name>.a to let people know that these are not
   8629       # typical AIX shared libraries.
   8630       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8631     else
   8632       # We preserve .a as extension for shared libraries through AIX4.2
   8633       # and later when we are not doing run time linking.
   8634       library_names_spec='${libname}${release}.a $libname.a'
   8635       soname_spec='${libname}${release}${shared_ext}$major'
   8636     fi
   8637     shlibpath_var=LIBPATH
   8638   fi
   8639   ;;
   8640 
   8641 amigaos*)
   8642   library_names_spec='$libname.ixlibrary $libname.a'
   8643   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8644   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'
   8645   ;;
   8646 
   8647 beos*)
   8648   library_names_spec='${libname}${shared_ext}'
   8649   dynamic_linker="$host_os ld.so"
   8650   shlibpath_var=LIBRARY_PATH
   8651   ;;
   8652 
   8653 bsdi[45]*)
   8654   version_type=linux
   8655   need_version=no
   8656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8657   soname_spec='${libname}${release}${shared_ext}$major'
   8658   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8659   shlibpath_var=LD_LIBRARY_PATH
   8660   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8661   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8662   # the default ld.so.conf also contains /usr/contrib/lib and
   8663   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8664   # libtool to hard-code these into programs
   8665   ;;
   8666 
   8667 cygwin* | mingw* | pw32*)
   8668   version_type=windows
   8669   shrext_cmds=".dll"
   8670   need_version=no
   8671   need_lib_prefix=no
   8672 
   8673   case $GCC,$host_os in
   8674   yes,cygwin* | yes,mingw* | yes,pw32*)
   8675     library_names_spec='$libname.dll.a'
   8676     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8677     postinstall_cmds='base_file=`basename \${file}`~
   8678       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8679       dldir=$destdir/`dirname \$dlpath`~
   8680       test -d \$dldir || mkdir -p \$dldir~
   8681       $install_prog $dir/$dlname \$dldir/$dlname~
   8682       chmod a+x \$dldir/$dlname'
   8683     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8684       dlpath=$dir/\$dldll~
   8685        $rm \$dlpath'
   8686     shlibpath_overrides_runpath=yes
   8687 
   8688     case $host_os in
   8689     cygwin*)
   8690       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8691       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8692       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8693       ;;
   8694     mingw*)
   8695       # MinGW DLLs use traditional 'lib' prefix
   8696       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8697       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8698       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8699         # It is most probably a Windows format PATH printed by
   8700         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8701         # path with ; separators, and with drive letters. We can handle the
   8702         # drive letters (cygwin fileutils understands them), so leave them,
   8703         # especially as we might pass files found there to a mingw objdump,
   8704         # which wouldn't understand a cygwinified path. Ahh.
   8705         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8706       else
   8707         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8708       fi
   8709       ;;
   8710     pw32*)
   8711       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8712       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8713       ;;
   8714     esac
   8715     ;;
   8716 
   8717   *)
   8718     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8719     ;;
   8720   esac
   8721   dynamic_linker='Win32 ld.exe'
   8722   # FIXME: first we should search . and the directory the executable is in
   8723   shlibpath_var=PATH
   8724   ;;
   8725 
   8726 darwin* | rhapsody*)
   8727   dynamic_linker="$host_os dyld"
   8728   version_type=darwin
   8729   need_lib_prefix=no
   8730   need_version=no
   8731   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8732   soname_spec='${libname}${release}${major}$shared_ext'
   8733   shlibpath_overrides_runpath=yes
   8734   shlibpath_var=DYLD_LIBRARY_PATH
   8735   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8736   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8737   if test "$GCC" = yes; then
   8738     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   8739   else
   8740     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8741   fi
   8742   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8743   ;;
   8744 
   8745 dgux*)
   8746   version_type=linux
   8747   need_lib_prefix=no
   8748   need_version=no
   8749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8750   soname_spec='${libname}${release}${shared_ext}$major'
   8751   shlibpath_var=LD_LIBRARY_PATH
   8752   ;;
   8753 
   8754 freebsd1*)
   8755   dynamic_linker=no
   8756   ;;
   8757 
   8758 freebsd* | dragonfly*)
   8759   # DragonFly does not have aout.  When/if they implement a new
   8760   # versioning mechanism, adjust this.
   8761   if test -x /usr/bin/objformat; then
   8762     objformat=`/usr/bin/objformat`
   8763   else
   8764     case $host_os in
   8765     freebsd[123]*) objformat=aout ;;
   8766     *) objformat=elf ;;
   8767     esac
   8768   fi
   8769   version_type=freebsd-$objformat
   8770   case $version_type in
   8771     freebsd-elf*)
   8772       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8773       need_version=no
   8774       need_lib_prefix=no
   8775       ;;
   8776     freebsd-*)
   8777       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8778       need_version=yes
   8779       ;;
   8780   esac
   8781   shlibpath_var=LD_LIBRARY_PATH
   8782   case $host_os in
   8783   freebsd2*)
   8784     shlibpath_overrides_runpath=yes
   8785     ;;
   8786   freebsd3.[01]* | freebsdelf3.[01]*)
   8787     shlibpath_overrides_runpath=yes
   8788     hardcode_into_libs=yes
   8789     ;;
   8790   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8791   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8792     shlibpath_overrides_runpath=no
   8793     hardcode_into_libs=yes
   8794     ;;
   8795   freebsd*) # from 4.6 on
   8796     shlibpath_overrides_runpath=yes
   8797     hardcode_into_libs=yes
   8798     ;;
   8799   esac
   8800   ;;
   8801 
   8802 gnu*)
   8803   version_type=linux
   8804   need_lib_prefix=no
   8805   need_version=no
   8806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8807   soname_spec='${libname}${release}${shared_ext}$major'
   8808   shlibpath_var=LD_LIBRARY_PATH
   8809   hardcode_into_libs=yes
   8810   ;;
   8811 
   8812 hpux9* | hpux10* | hpux11*)
   8813   # Give a soname corresponding to the major version so that dld.sl refuses to
   8814   # link against other versions.
   8815   version_type=sunos
   8816   need_lib_prefix=no
   8817   need_version=no
   8818   case $host_cpu in
   8819   ia64*)
   8820     shrext_cmds='.so'
   8821     hardcode_into_libs=yes
   8822     dynamic_linker="$host_os dld.so"
   8823     shlibpath_var=LD_LIBRARY_PATH
   8824     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8825     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8826     soname_spec='${libname}${release}${shared_ext}$major'
   8827     if test "X$HPUX_IA64_MODE" = X32; then
   8828       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8829     else
   8830       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8831     fi
   8832     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8833     ;;
   8834    hppa*64*)
   8835      shrext_cmds='.sl'
   8836      hardcode_into_libs=yes
   8837      dynamic_linker="$host_os dld.sl"
   8838      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8839      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8840      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8841      soname_spec='${libname}${release}${shared_ext}$major'
   8842      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8843      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8844      ;;
   8845    *)
   8846     shrext_cmds='.sl'
   8847     dynamic_linker="$host_os dld.sl"
   8848     shlibpath_var=SHLIB_PATH
   8849     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8850     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8851     soname_spec='${libname}${release}${shared_ext}$major'
   8852     ;;
   8853   esac
   8854   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8855   postinstall_cmds='chmod 555 $lib'
   8856   ;;
   8857 
   8858 interix3*)
   8859   version_type=linux
   8860   need_lib_prefix=no
   8861   need_version=no
   8862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8863   soname_spec='${libname}${release}${shared_ext}$major'
   8864   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8865   shlibpath_var=LD_LIBRARY_PATH
   8866   shlibpath_overrides_runpath=no
   8867   hardcode_into_libs=yes
   8868   ;;
   8869 
   8870 irix5* | irix6* | nonstopux*)
   8871   case $host_os in
   8872     nonstopux*) version_type=nonstopux ;;
   8873     *)
   8874 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8875 		version_type=linux
   8876 	else
   8877 		version_type=irix
   8878 	fi ;;
   8879   esac
   8880   need_lib_prefix=no
   8881   need_version=no
   8882   soname_spec='${libname}${release}${shared_ext}$major'
   8883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8884   case $host_os in
   8885   irix5* | nonstopux*)
   8886     libsuff= shlibsuff=
   8887     ;;
   8888   *)
   8889     case $LD in # libtool.m4 will add one of these switches to LD
   8890     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8891       libsuff= shlibsuff= libmagic=32-bit;;
   8892     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8893       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8894     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8895       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8896     *) libsuff= shlibsuff= libmagic=never-match;;
   8897     esac
   8898     ;;
   8899   esac
   8900   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8901   shlibpath_overrides_runpath=no
   8902   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8903   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8904   hardcode_into_libs=yes
   8905   ;;
   8906 
   8907 # No shared lib support for Linux oldld, aout, or coff.
   8908 linux*oldld* | linux*aout* | linux*coff*)
   8909   dynamic_linker=no
   8910   ;;
   8911 
   8912 # This must be Linux ELF.
   8913 linux* | k*bsd*-gnu)
   8914   version_type=linux
   8915   need_lib_prefix=no
   8916   need_version=no
   8917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8918   soname_spec='${libname}${release}${shared_ext}$major'
   8919   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8920   shlibpath_var=LD_LIBRARY_PATH
   8921   shlibpath_overrides_runpath=no
   8922   # This implies no fast_install, which is unacceptable.
   8923   # Some rework will be needed to allow for fast_install
   8924   # before this can be enabled.
   8925   hardcode_into_libs=yes
   8926 
   8927   # Append ld.so.conf contents to the search path
   8928   if test -f /etc/ld.so.conf; then
   8929     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   8930     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8931   fi
   8932 
   8933   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8934   # powerpc, because MkLinux only supported shared libraries with the
   8935   # GNU dynamic linker.  Since this was broken with cross compilers,
   8936   # most powerpc-linux boxes support dynamic linking these days and
   8937   # people can always --disable-shared, the test was removed, and we
   8938   # assume the GNU/Linux dynamic linker is in use.
   8939   dynamic_linker='GNU/Linux ld.so'
   8940   ;;
   8941 
   8942 netbsdelf*-gnu)
   8943   version_type=linux
   8944   need_lib_prefix=no
   8945   need_version=no
   8946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8947   soname_spec='${libname}${release}${shared_ext}$major'
   8948   shlibpath_var=LD_LIBRARY_PATH
   8949   shlibpath_overrides_runpath=no
   8950   hardcode_into_libs=yes
   8951   dynamic_linker='NetBSD ld.elf_so'
   8952   ;;
   8953 
   8954 netbsd*)
   8955   version_type=sunos
   8956   need_lib_prefix=no
   8957   need_version=no
   8958   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8959     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8960     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8961     dynamic_linker='NetBSD (a.out) ld.so'
   8962   else
   8963     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8964     soname_spec='${libname}${release}${shared_ext}$major'
   8965     dynamic_linker='NetBSD ld.elf_so'
   8966   fi
   8967   shlibpath_var=LD_LIBRARY_PATH
   8968   shlibpath_overrides_runpath=yes
   8969   hardcode_into_libs=yes
   8970   ;;
   8971 
   8972 newsos6)
   8973   version_type=linux
   8974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8975   shlibpath_var=LD_LIBRARY_PATH
   8976   shlibpath_overrides_runpath=yes
   8977   ;;
   8978 
   8979 nto-qnx*)
   8980   version_type=linux
   8981   need_lib_prefix=no
   8982   need_version=no
   8983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8984   soname_spec='${libname}${release}${shared_ext}$major'
   8985   shlibpath_var=LD_LIBRARY_PATH
   8986   shlibpath_overrides_runpath=yes
   8987   ;;
   8988 
   8989 openbsd*)
   8990   version_type=sunos
   8991   sys_lib_dlsearch_path_spec="/usr/lib"
   8992   need_lib_prefix=no
   8993   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   8994   case $host_os in
   8995     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   8996     *)                         need_version=no  ;;
   8997   esac
   8998   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8999   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9000   shlibpath_var=LD_LIBRARY_PATH
   9001   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9002     case $host_os in
   9003       openbsd2.[89] | openbsd2.[89].*)
   9004 	shlibpath_overrides_runpath=no
   9005 	;;
   9006       *)
   9007 	shlibpath_overrides_runpath=yes
   9008 	;;
   9009       esac
   9010   else
   9011     shlibpath_overrides_runpath=yes
   9012   fi
   9013   ;;
   9014 
   9015 os2*)
   9016   libname_spec='$name'
   9017   shrext_cmds=".dll"
   9018   need_lib_prefix=no
   9019   library_names_spec='$libname${shared_ext} $libname.a'
   9020   dynamic_linker='OS/2 ld.exe'
   9021   shlibpath_var=LIBPATH
   9022   ;;
   9023 
   9024 osf3* | osf4* | osf5*)
   9025   version_type=osf
   9026   need_lib_prefix=no
   9027   need_version=no
   9028   soname_spec='${libname}${release}${shared_ext}$major'
   9029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9030   shlibpath_var=LD_LIBRARY_PATH
   9031   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9032   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9033   ;;
   9034 
   9035 solaris*)
   9036   version_type=linux
   9037   need_lib_prefix=no
   9038   need_version=no
   9039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9040   soname_spec='${libname}${release}${shared_ext}$major'
   9041   shlibpath_var=LD_LIBRARY_PATH
   9042   shlibpath_overrides_runpath=yes
   9043   hardcode_into_libs=yes
   9044   # ldd complains unless libraries are executable
   9045   postinstall_cmds='chmod +x $lib'
   9046   ;;
   9047 
   9048 sunos4*)
   9049   version_type=sunos
   9050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9051   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9052   shlibpath_var=LD_LIBRARY_PATH
   9053   shlibpath_overrides_runpath=yes
   9054   if test "$with_gnu_ld" = yes; then
   9055     need_lib_prefix=no
   9056   fi
   9057   need_version=yes
   9058   ;;
   9059 
   9060 sysv4 | sysv4.3*)
   9061   version_type=linux
   9062   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9063   soname_spec='${libname}${release}${shared_ext}$major'
   9064   shlibpath_var=LD_LIBRARY_PATH
   9065   case $host_vendor in
   9066     sni)
   9067       shlibpath_overrides_runpath=no
   9068       need_lib_prefix=no
   9069       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9070       runpath_var=LD_RUN_PATH
   9071       ;;
   9072     siemens)
   9073       need_lib_prefix=no
   9074       ;;
   9075     motorola)
   9076       need_lib_prefix=no
   9077       need_version=no
   9078       shlibpath_overrides_runpath=no
   9079       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9080       ;;
   9081   esac
   9082   ;;
   9083 
   9084 sysv4*MP*)
   9085   if test -d /usr/nec ;then
   9086     version_type=linux
   9087     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9088     soname_spec='$libname${shared_ext}.$major'
   9089     shlibpath_var=LD_LIBRARY_PATH
   9090   fi
   9091   ;;
   9092 
   9093 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9094   version_type=freebsd-elf
   9095   need_lib_prefix=no
   9096   need_version=no
   9097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9098   soname_spec='${libname}${release}${shared_ext}$major'
   9099   shlibpath_var=LD_LIBRARY_PATH
   9100   hardcode_into_libs=yes
   9101   if test "$with_gnu_ld" = yes; then
   9102     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9103     shlibpath_overrides_runpath=no
   9104   else
   9105     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9106     shlibpath_overrides_runpath=yes
   9107     case $host_os in
   9108       sco3.2v5*)
   9109         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9110 	;;
   9111     esac
   9112   fi
   9113   sys_lib_dlsearch_path_spec='/usr/lib'
   9114   ;;
   9115 
   9116 uts4*)
   9117   version_type=linux
   9118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9119   soname_spec='${libname}${release}${shared_ext}$major'
   9120   shlibpath_var=LD_LIBRARY_PATH
   9121   ;;
   9122 
   9123 *)
   9124   dynamic_linker=no
   9125   ;;
   9126 esac
   9127 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9128 echo "${ECHO_T}$dynamic_linker" >&6; }
   9129 test "$dynamic_linker" = no && can_build_shared=no
   9130 
   9131 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9132 if test "$GCC" = yes; then
   9133   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9134 fi
   9135 
   9136 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9137 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9138 hardcode_action=
   9139 if test -n "$hardcode_libdir_flag_spec" || \
   9140    test -n "$runpath_var" || \
   9141    test "X$hardcode_automatic" = "Xyes" ; then
   9142 
   9143   # We can hardcode non-existant directories.
   9144   if test "$hardcode_direct" != no &&
   9145      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9146      # have to relink, otherwise we might link with an installed library
   9147      # when we should be linking with a yet-to-be-installed one
   9148      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9149      test "$hardcode_minus_L" != no; then
   9150     # Linking always hardcodes the temporary library directory.
   9151     hardcode_action=relink
   9152   else
   9153     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9154     hardcode_action=immediate
   9155   fi
   9156 else
   9157   # We cannot hardcode anything, or else we can only hardcode existing
   9158   # directories.
   9159   hardcode_action=unsupported
   9160 fi
   9161 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9162 echo "${ECHO_T}$hardcode_action" >&6; }
   9163 
   9164 if test "$hardcode_action" = relink; then
   9165   # Fast installation is not supported
   9166   enable_fast_install=no
   9167 elif test "$shlibpath_overrides_runpath" = yes ||
   9168      test "$enable_shared" = no; then
   9169   # Fast installation is not necessary
   9170   enable_fast_install=needless
   9171 fi
   9172 
   9173 striplib=
   9174 old_striplib=
   9175 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9176 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9177 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9178   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9179   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9180   { echo "$as_me:$LINENO: result: yes" >&5
   9181 echo "${ECHO_T}yes" >&6; }
   9182 else
   9183 # FIXME - insert some real tests, host_os isn't really good enough
   9184   case $host_os in
   9185    darwin*)
   9186        if test -n "$STRIP" ; then
   9187          striplib="$STRIP -x"
   9188          { echo "$as_me:$LINENO: result: yes" >&5
   9189 echo "${ECHO_T}yes" >&6; }
   9190        else
   9191   { echo "$as_me:$LINENO: result: no" >&5
   9192 echo "${ECHO_T}no" >&6; }
   9193 fi
   9194        ;;
   9195    *)
   9196   { echo "$as_me:$LINENO: result: no" >&5
   9197 echo "${ECHO_T}no" >&6; }
   9198     ;;
   9199   esac
   9200 fi
   9201 
   9202 if test "x$enable_dlopen" != xyes; then
   9203   enable_dlopen=unknown
   9204   enable_dlopen_self=unknown
   9205   enable_dlopen_self_static=unknown
   9206 else
   9207   lt_cv_dlopen=no
   9208   lt_cv_dlopen_libs=
   9209 
   9210   case $host_os in
   9211   beos*)
   9212     lt_cv_dlopen="load_add_on"
   9213     lt_cv_dlopen_libs=
   9214     lt_cv_dlopen_self=yes
   9215     ;;
   9216 
   9217   mingw* | pw32*)
   9218     lt_cv_dlopen="LoadLibrary"
   9219     lt_cv_dlopen_libs=
   9220    ;;
   9221 
   9222   cygwin*)
   9223     lt_cv_dlopen="dlopen"
   9224     lt_cv_dlopen_libs=
   9225    ;;
   9226 
   9227   darwin*)
   9228   # if libdl is installed we need to link against it
   9229     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9230 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9232   echo $ECHO_N "(cached) $ECHO_C" >&6
   9233 else
   9234   ac_check_lib_save_LIBS=$LIBS
   9235 LIBS="-ldl  $LIBS"
   9236 cat >conftest.$ac_ext <<_ACEOF
   9237 /* confdefs.h.  */
   9238 _ACEOF
   9239 cat confdefs.h >>conftest.$ac_ext
   9240 cat >>conftest.$ac_ext <<_ACEOF
   9241 /* end confdefs.h.  */
   9242 
   9243 /* Override any GCC internal prototype to avoid an error.
   9244    Use char because int might match the return type of a GCC
   9245    builtin and then its argument prototype would still apply.  */
   9246 #ifdef __cplusplus
   9247 extern "C"
   9248 #endif
   9249 char dlopen ();
   9250 int
   9251 main ()
   9252 {
   9253 return dlopen ();
   9254   ;
   9255   return 0;
   9256 }
   9257 _ACEOF
   9258 rm -f conftest.$ac_objext conftest$ac_exeext
   9259 if { (ac_try="$ac_link"
   9260 case "(($ac_try" in
   9261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9262   *) ac_try_echo=$ac_try;;
   9263 esac
   9264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9265   (eval "$ac_link") 2>conftest.er1
   9266   ac_status=$?
   9267   grep -v '^ *+' conftest.er1 >conftest.err
   9268   rm -f conftest.er1
   9269   cat conftest.err >&5
   9270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9271   (exit $ac_status); } && {
   9272 	 test -z "$ac_c_werror_flag" ||
   9273 	 test ! -s conftest.err
   9274        } && test -s conftest$ac_exeext &&
   9275        $as_test_x conftest$ac_exeext; then
   9276   ac_cv_lib_dl_dlopen=yes
   9277 else
   9278   echo "$as_me: failed program was:" >&5
   9279 sed 's/^/| /' conftest.$ac_ext >&5
   9280 
   9281 	ac_cv_lib_dl_dlopen=no
   9282 fi
   9283 
   9284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9285       conftest$ac_exeext conftest.$ac_ext
   9286 LIBS=$ac_check_lib_save_LIBS
   9287 fi
   9288 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9289 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9290 if test $ac_cv_lib_dl_dlopen = yes; then
   9291   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9292 else
   9293 
   9294     lt_cv_dlopen="dyld"
   9295     lt_cv_dlopen_libs=
   9296     lt_cv_dlopen_self=yes
   9297 
   9298 fi
   9299 
   9300    ;;
   9301 
   9302   *)
   9303     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9304 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9305 if test "${ac_cv_func_shl_load+set}" = set; then
   9306   echo $ECHO_N "(cached) $ECHO_C" >&6
   9307 else
   9308   cat >conftest.$ac_ext <<_ACEOF
   9309 /* confdefs.h.  */
   9310 _ACEOF
   9311 cat confdefs.h >>conftest.$ac_ext
   9312 cat >>conftest.$ac_ext <<_ACEOF
   9313 /* end confdefs.h.  */
   9314 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9316 #define shl_load innocuous_shl_load
   9317 
   9318 /* System header to define __stub macros and hopefully few prototypes,
   9319     which can conflict with char shl_load (); below.
   9320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9321     <limits.h> exists even on freestanding compilers.  */
   9322 
   9323 #ifdef __STDC__
   9324 # include <limits.h>
   9325 #else
   9326 # include <assert.h>
   9327 #endif
   9328 
   9329 #undef shl_load
   9330 
   9331 /* Override any GCC internal prototype to avoid an error.
   9332    Use char because int might match the return type of a GCC
   9333    builtin and then its argument prototype would still apply.  */
   9334 #ifdef __cplusplus
   9335 extern "C"
   9336 #endif
   9337 char shl_load ();
   9338 /* The GNU C library defines this for functions which it implements
   9339     to always fail with ENOSYS.  Some functions are actually named
   9340     something starting with __ and the normal name is an alias.  */
   9341 #if defined __stub_shl_load || defined __stub___shl_load
   9342 choke me
   9343 #endif
   9344 
   9345 int
   9346 main ()
   9347 {
   9348 return shl_load ();
   9349   ;
   9350   return 0;
   9351 }
   9352 _ACEOF
   9353 rm -f conftest.$ac_objext conftest$ac_exeext
   9354 if { (ac_try="$ac_link"
   9355 case "(($ac_try" in
   9356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9357   *) ac_try_echo=$ac_try;;
   9358 esac
   9359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9360   (eval "$ac_link") 2>conftest.er1
   9361   ac_status=$?
   9362   grep -v '^ *+' conftest.er1 >conftest.err
   9363   rm -f conftest.er1
   9364   cat conftest.err >&5
   9365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9366   (exit $ac_status); } && {
   9367 	 test -z "$ac_c_werror_flag" ||
   9368 	 test ! -s conftest.err
   9369        } && test -s conftest$ac_exeext &&
   9370        $as_test_x conftest$ac_exeext; then
   9371   ac_cv_func_shl_load=yes
   9372 else
   9373   echo "$as_me: failed program was:" >&5
   9374 sed 's/^/| /' conftest.$ac_ext >&5
   9375 
   9376 	ac_cv_func_shl_load=no
   9377 fi
   9378 
   9379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9380       conftest$ac_exeext conftest.$ac_ext
   9381 fi
   9382 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9383 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9384 if test $ac_cv_func_shl_load = yes; then
   9385   lt_cv_dlopen="shl_load"
   9386 else
   9387   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9388 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9389 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9390   echo $ECHO_N "(cached) $ECHO_C" >&6
   9391 else
   9392   ac_check_lib_save_LIBS=$LIBS
   9393 LIBS="-ldld  $LIBS"
   9394 cat >conftest.$ac_ext <<_ACEOF
   9395 /* confdefs.h.  */
   9396 _ACEOF
   9397 cat confdefs.h >>conftest.$ac_ext
   9398 cat >>conftest.$ac_ext <<_ACEOF
   9399 /* end confdefs.h.  */
   9400 
   9401 /* Override any GCC internal prototype to avoid an error.
   9402    Use char because int might match the return type of a GCC
   9403    builtin and then its argument prototype would still apply.  */
   9404 #ifdef __cplusplus
   9405 extern "C"
   9406 #endif
   9407 char shl_load ();
   9408 int
   9409 main ()
   9410 {
   9411 return shl_load ();
   9412   ;
   9413   return 0;
   9414 }
   9415 _ACEOF
   9416 rm -f conftest.$ac_objext conftest$ac_exeext
   9417 if { (ac_try="$ac_link"
   9418 case "(($ac_try" in
   9419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9420   *) ac_try_echo=$ac_try;;
   9421 esac
   9422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9423   (eval "$ac_link") 2>conftest.er1
   9424   ac_status=$?
   9425   grep -v '^ *+' conftest.er1 >conftest.err
   9426   rm -f conftest.er1
   9427   cat conftest.err >&5
   9428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9429   (exit $ac_status); } && {
   9430 	 test -z "$ac_c_werror_flag" ||
   9431 	 test ! -s conftest.err
   9432        } && test -s conftest$ac_exeext &&
   9433        $as_test_x conftest$ac_exeext; then
   9434   ac_cv_lib_dld_shl_load=yes
   9435 else
   9436   echo "$as_me: failed program was:" >&5
   9437 sed 's/^/| /' conftest.$ac_ext >&5
   9438 
   9439 	ac_cv_lib_dld_shl_load=no
   9440 fi
   9441 
   9442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9443       conftest$ac_exeext conftest.$ac_ext
   9444 LIBS=$ac_check_lib_save_LIBS
   9445 fi
   9446 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9447 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9448 if test $ac_cv_lib_dld_shl_load = yes; then
   9449   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9450 else
   9451   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9452 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9453 if test "${ac_cv_func_dlopen+set}" = set; then
   9454   echo $ECHO_N "(cached) $ECHO_C" >&6
   9455 else
   9456   cat >conftest.$ac_ext <<_ACEOF
   9457 /* confdefs.h.  */
   9458 _ACEOF
   9459 cat confdefs.h >>conftest.$ac_ext
   9460 cat >>conftest.$ac_ext <<_ACEOF
   9461 /* end confdefs.h.  */
   9462 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9464 #define dlopen innocuous_dlopen
   9465 
   9466 /* System header to define __stub macros and hopefully few prototypes,
   9467     which can conflict with char dlopen (); below.
   9468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9469     <limits.h> exists even on freestanding compilers.  */
   9470 
   9471 #ifdef __STDC__
   9472 # include <limits.h>
   9473 #else
   9474 # include <assert.h>
   9475 #endif
   9476 
   9477 #undef dlopen
   9478 
   9479 /* Override any GCC internal prototype to avoid an error.
   9480    Use char because int might match the return type of a GCC
   9481    builtin and then its argument prototype would still apply.  */
   9482 #ifdef __cplusplus
   9483 extern "C"
   9484 #endif
   9485 char dlopen ();
   9486 /* The GNU C library defines this for functions which it implements
   9487     to always fail with ENOSYS.  Some functions are actually named
   9488     something starting with __ and the normal name is an alias.  */
   9489 #if defined __stub_dlopen || defined __stub___dlopen
   9490 choke me
   9491 #endif
   9492 
   9493 int
   9494 main ()
   9495 {
   9496 return dlopen ();
   9497   ;
   9498   return 0;
   9499 }
   9500 _ACEOF
   9501 rm -f conftest.$ac_objext conftest$ac_exeext
   9502 if { (ac_try="$ac_link"
   9503 case "(($ac_try" in
   9504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9505   *) ac_try_echo=$ac_try;;
   9506 esac
   9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9508   (eval "$ac_link") 2>conftest.er1
   9509   ac_status=$?
   9510   grep -v '^ *+' conftest.er1 >conftest.err
   9511   rm -f conftest.er1
   9512   cat conftest.err >&5
   9513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9514   (exit $ac_status); } && {
   9515 	 test -z "$ac_c_werror_flag" ||
   9516 	 test ! -s conftest.err
   9517        } && test -s conftest$ac_exeext &&
   9518        $as_test_x conftest$ac_exeext; then
   9519   ac_cv_func_dlopen=yes
   9520 else
   9521   echo "$as_me: failed program was:" >&5
   9522 sed 's/^/| /' conftest.$ac_ext >&5
   9523 
   9524 	ac_cv_func_dlopen=no
   9525 fi
   9526 
   9527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9528       conftest$ac_exeext conftest.$ac_ext
   9529 fi
   9530 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9531 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9532 if test $ac_cv_func_dlopen = yes; then
   9533   lt_cv_dlopen="dlopen"
   9534 else
   9535   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9536 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9537 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9538   echo $ECHO_N "(cached) $ECHO_C" >&6
   9539 else
   9540   ac_check_lib_save_LIBS=$LIBS
   9541 LIBS="-ldl  $LIBS"
   9542 cat >conftest.$ac_ext <<_ACEOF
   9543 /* confdefs.h.  */
   9544 _ACEOF
   9545 cat confdefs.h >>conftest.$ac_ext
   9546 cat >>conftest.$ac_ext <<_ACEOF
   9547 /* end confdefs.h.  */
   9548 
   9549 /* Override any GCC internal prototype to avoid an error.
   9550    Use char because int might match the return type of a GCC
   9551    builtin and then its argument prototype would still apply.  */
   9552 #ifdef __cplusplus
   9553 extern "C"
   9554 #endif
   9555 char dlopen ();
   9556 int
   9557 main ()
   9558 {
   9559 return dlopen ();
   9560   ;
   9561   return 0;
   9562 }
   9563 _ACEOF
   9564 rm -f conftest.$ac_objext conftest$ac_exeext
   9565 if { (ac_try="$ac_link"
   9566 case "(($ac_try" in
   9567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9568   *) ac_try_echo=$ac_try;;
   9569 esac
   9570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9571   (eval "$ac_link") 2>conftest.er1
   9572   ac_status=$?
   9573   grep -v '^ *+' conftest.er1 >conftest.err
   9574   rm -f conftest.er1
   9575   cat conftest.err >&5
   9576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9577   (exit $ac_status); } && {
   9578 	 test -z "$ac_c_werror_flag" ||
   9579 	 test ! -s conftest.err
   9580        } && test -s conftest$ac_exeext &&
   9581        $as_test_x conftest$ac_exeext; then
   9582   ac_cv_lib_dl_dlopen=yes
   9583 else
   9584   echo "$as_me: failed program was:" >&5
   9585 sed 's/^/| /' conftest.$ac_ext >&5
   9586 
   9587 	ac_cv_lib_dl_dlopen=no
   9588 fi
   9589 
   9590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9591       conftest$ac_exeext conftest.$ac_ext
   9592 LIBS=$ac_check_lib_save_LIBS
   9593 fi
   9594 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9595 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9596 if test $ac_cv_lib_dl_dlopen = yes; then
   9597   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9598 else
   9599   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9600 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9601 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9602   echo $ECHO_N "(cached) $ECHO_C" >&6
   9603 else
   9604   ac_check_lib_save_LIBS=$LIBS
   9605 LIBS="-lsvld  $LIBS"
   9606 cat >conftest.$ac_ext <<_ACEOF
   9607 /* confdefs.h.  */
   9608 _ACEOF
   9609 cat confdefs.h >>conftest.$ac_ext
   9610 cat >>conftest.$ac_ext <<_ACEOF
   9611 /* end confdefs.h.  */
   9612 
   9613 /* Override any GCC internal prototype to avoid an error.
   9614    Use char because int might match the return type of a GCC
   9615    builtin and then its argument prototype would still apply.  */
   9616 #ifdef __cplusplus
   9617 extern "C"
   9618 #endif
   9619 char dlopen ();
   9620 int
   9621 main ()
   9622 {
   9623 return dlopen ();
   9624   ;
   9625   return 0;
   9626 }
   9627 _ACEOF
   9628 rm -f conftest.$ac_objext conftest$ac_exeext
   9629 if { (ac_try="$ac_link"
   9630 case "(($ac_try" in
   9631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9632   *) ac_try_echo=$ac_try;;
   9633 esac
   9634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9635   (eval "$ac_link") 2>conftest.er1
   9636   ac_status=$?
   9637   grep -v '^ *+' conftest.er1 >conftest.err
   9638   rm -f conftest.er1
   9639   cat conftest.err >&5
   9640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9641   (exit $ac_status); } && {
   9642 	 test -z "$ac_c_werror_flag" ||
   9643 	 test ! -s conftest.err
   9644        } && test -s conftest$ac_exeext &&
   9645        $as_test_x conftest$ac_exeext; then
   9646   ac_cv_lib_svld_dlopen=yes
   9647 else
   9648   echo "$as_me: failed program was:" >&5
   9649 sed 's/^/| /' conftest.$ac_ext >&5
   9650 
   9651 	ac_cv_lib_svld_dlopen=no
   9652 fi
   9653 
   9654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9655       conftest$ac_exeext conftest.$ac_ext
   9656 LIBS=$ac_check_lib_save_LIBS
   9657 fi
   9658 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9659 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9660 if test $ac_cv_lib_svld_dlopen = yes; then
   9661   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9662 else
   9663   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9664 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9665 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9666   echo $ECHO_N "(cached) $ECHO_C" >&6
   9667 else
   9668   ac_check_lib_save_LIBS=$LIBS
   9669 LIBS="-ldld  $LIBS"
   9670 cat >conftest.$ac_ext <<_ACEOF
   9671 /* confdefs.h.  */
   9672 _ACEOF
   9673 cat confdefs.h >>conftest.$ac_ext
   9674 cat >>conftest.$ac_ext <<_ACEOF
   9675 /* end confdefs.h.  */
   9676 
   9677 /* Override any GCC internal prototype to avoid an error.
   9678    Use char because int might match the return type of a GCC
   9679    builtin and then its argument prototype would still apply.  */
   9680 #ifdef __cplusplus
   9681 extern "C"
   9682 #endif
   9683 char dld_link ();
   9684 int
   9685 main ()
   9686 {
   9687 return dld_link ();
   9688   ;
   9689   return 0;
   9690 }
   9691 _ACEOF
   9692 rm -f conftest.$ac_objext conftest$ac_exeext
   9693 if { (ac_try="$ac_link"
   9694 case "(($ac_try" in
   9695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9696   *) ac_try_echo=$ac_try;;
   9697 esac
   9698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9699   (eval "$ac_link") 2>conftest.er1
   9700   ac_status=$?
   9701   grep -v '^ *+' conftest.er1 >conftest.err
   9702   rm -f conftest.er1
   9703   cat conftest.err >&5
   9704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9705   (exit $ac_status); } && {
   9706 	 test -z "$ac_c_werror_flag" ||
   9707 	 test ! -s conftest.err
   9708        } && test -s conftest$ac_exeext &&
   9709        $as_test_x conftest$ac_exeext; then
   9710   ac_cv_lib_dld_dld_link=yes
   9711 else
   9712   echo "$as_me: failed program was:" >&5
   9713 sed 's/^/| /' conftest.$ac_ext >&5
   9714 
   9715 	ac_cv_lib_dld_dld_link=no
   9716 fi
   9717 
   9718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9719       conftest$ac_exeext conftest.$ac_ext
   9720 LIBS=$ac_check_lib_save_LIBS
   9721 fi
   9722 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9723 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9724 if test $ac_cv_lib_dld_dld_link = yes; then
   9725   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9726 fi
   9727 
   9728 
   9729 fi
   9730 
   9731 
   9732 fi
   9733 
   9734 
   9735 fi
   9736 
   9737 
   9738 fi
   9739 
   9740 
   9741 fi
   9742 
   9743     ;;
   9744   esac
   9745 
   9746   if test "x$lt_cv_dlopen" != xno; then
   9747     enable_dlopen=yes
   9748   else
   9749     enable_dlopen=no
   9750   fi
   9751 
   9752   case $lt_cv_dlopen in
   9753   dlopen)
   9754     save_CPPFLAGS="$CPPFLAGS"
   9755     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9756 
   9757     save_LDFLAGS="$LDFLAGS"
   9758     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9759 
   9760     save_LIBS="$LIBS"
   9761     LIBS="$lt_cv_dlopen_libs $LIBS"
   9762 
   9763     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9764 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9765 if test "${lt_cv_dlopen_self+set}" = set; then
   9766   echo $ECHO_N "(cached) $ECHO_C" >&6
   9767 else
   9768   	  if test "$cross_compiling" = yes; then :
   9769   lt_cv_dlopen_self=cross
   9770 else
   9771   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9772   lt_status=$lt_dlunknown
   9773   cat > conftest.$ac_ext <<EOF
   9774 #line 9774 "configure"
   9775 #include "confdefs.h"
   9776 
   9777 #if HAVE_DLFCN_H
   9778 #include <dlfcn.h>
   9779 #endif
   9780 
   9781 #include <stdio.h>
   9782 
   9783 #ifdef RTLD_GLOBAL
   9784 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9785 #else
   9786 #  ifdef DL_GLOBAL
   9787 #    define LT_DLGLOBAL		DL_GLOBAL
   9788 #  else
   9789 #    define LT_DLGLOBAL		0
   9790 #  endif
   9791 #endif
   9792 
   9793 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9794    find out it does not work in some platform. */
   9795 #ifndef LT_DLLAZY_OR_NOW
   9796 #  ifdef RTLD_LAZY
   9797 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9798 #  else
   9799 #    ifdef DL_LAZY
   9800 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9801 #    else
   9802 #      ifdef RTLD_NOW
   9803 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9804 #      else
   9805 #        ifdef DL_NOW
   9806 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9807 #        else
   9808 #          define LT_DLLAZY_OR_NOW	0
   9809 #        endif
   9810 #      endif
   9811 #    endif
   9812 #  endif
   9813 #endif
   9814 
   9815 #ifdef __cplusplus
   9816 extern "C" void exit (int);
   9817 #endif
   9818 
   9819 void fnord() { int i=42;}
   9820 int main ()
   9821 {
   9822   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9823   int status = $lt_dlunknown;
   9824 
   9825   if (self)
   9826     {
   9827       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9828       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9829       /* dlclose (self); */
   9830     }
   9831   else
   9832     puts (dlerror ());
   9833 
   9834     exit (status);
   9835 }
   9836 EOF
   9837   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9838   (eval $ac_link) 2>&5
   9839   ac_status=$?
   9840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9841   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9842     (./conftest; exit; ) >&5 2>/dev/null
   9843     lt_status=$?
   9844     case x$lt_status in
   9845       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9846       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9847       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9848     esac
   9849   else :
   9850     # compilation failed
   9851     lt_cv_dlopen_self=no
   9852   fi
   9853 fi
   9854 rm -fr conftest*
   9855 
   9856 
   9857 fi
   9858 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9859 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9860 
   9861     if test "x$lt_cv_dlopen_self" = xyes; then
   9862       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9863       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9864 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9865 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9866   echo $ECHO_N "(cached) $ECHO_C" >&6
   9867 else
   9868   	  if test "$cross_compiling" = yes; then :
   9869   lt_cv_dlopen_self_static=cross
   9870 else
   9871   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9872   lt_status=$lt_dlunknown
   9873   cat > conftest.$ac_ext <<EOF
   9874 #line 9874 "configure"
   9875 #include "confdefs.h"
   9876 
   9877 #if HAVE_DLFCN_H
   9878 #include <dlfcn.h>
   9879 #endif
   9880 
   9881 #include <stdio.h>
   9882 
   9883 #ifdef RTLD_GLOBAL
   9884 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9885 #else
   9886 #  ifdef DL_GLOBAL
   9887 #    define LT_DLGLOBAL		DL_GLOBAL
   9888 #  else
   9889 #    define LT_DLGLOBAL		0
   9890 #  endif
   9891 #endif
   9892 
   9893 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9894    find out it does not work in some platform. */
   9895 #ifndef LT_DLLAZY_OR_NOW
   9896 #  ifdef RTLD_LAZY
   9897 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9898 #  else
   9899 #    ifdef DL_LAZY
   9900 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9901 #    else
   9902 #      ifdef RTLD_NOW
   9903 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9904 #      else
   9905 #        ifdef DL_NOW
   9906 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9907 #        else
   9908 #          define LT_DLLAZY_OR_NOW	0
   9909 #        endif
   9910 #      endif
   9911 #    endif
   9912 #  endif
   9913 #endif
   9914 
   9915 #ifdef __cplusplus
   9916 extern "C" void exit (int);
   9917 #endif
   9918 
   9919 void fnord() { int i=42;}
   9920 int main ()
   9921 {
   9922   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9923   int status = $lt_dlunknown;
   9924 
   9925   if (self)
   9926     {
   9927       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9928       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9929       /* dlclose (self); */
   9930     }
   9931   else
   9932     puts (dlerror ());
   9933 
   9934     exit (status);
   9935 }
   9936 EOF
   9937   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9938   (eval $ac_link) 2>&5
   9939   ac_status=$?
   9940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9941   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9942     (./conftest; exit; ) >&5 2>/dev/null
   9943     lt_status=$?
   9944     case x$lt_status in
   9945       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9946       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9947       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9948     esac
   9949   else :
   9950     # compilation failed
   9951     lt_cv_dlopen_self_static=no
   9952   fi
   9953 fi
   9954 rm -fr conftest*
   9955 
   9956 
   9957 fi
   9958 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9959 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   9960     fi
   9961 
   9962     CPPFLAGS="$save_CPPFLAGS"
   9963     LDFLAGS="$save_LDFLAGS"
   9964     LIBS="$save_LIBS"
   9965     ;;
   9966   esac
   9967 
   9968   case $lt_cv_dlopen_self in
   9969   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9970   *) enable_dlopen_self=unknown ;;
   9971   esac
   9972 
   9973   case $lt_cv_dlopen_self_static in
   9974   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9975   *) enable_dlopen_self_static=unknown ;;
   9976   esac
   9977 fi
   9978 
   9979 
   9980 # Report which library types will actually be built
   9981 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   9982 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   9983 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   9984 echo "${ECHO_T}$can_build_shared" >&6; }
   9985 
   9986 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   9987 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   9988 test "$can_build_shared" = "no" && enable_shared=no
   9989 
   9990 # On AIX, shared libraries and static libraries use the same namespace, and
   9991 # are all built from PIC.
   9992 case $host_os in
   9993 aix3*)
   9994   test "$enable_shared" = yes && enable_static=no
   9995   if test -n "$RANLIB"; then
   9996     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   9997     postinstall_cmds='$RANLIB $lib'
   9998   fi
   9999   ;;
   10000 
   10001 aix4* | aix5*)
   10002   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10003     test "$enable_shared" = yes && enable_static=no
   10004   fi
   10005     ;;
   10006 esac
   10007 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10008 echo "${ECHO_T}$enable_shared" >&6; }
   10009 
   10010 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10011 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10012 # Make sure either enable_shared or enable_static is yes.
   10013 test "$enable_shared" = yes || enable_static=yes
   10014 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10015 echo "${ECHO_T}$enable_static" >&6; }
   10016 
   10017 # The else clause should only fire when bootstrapping the
   10018 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10019 # with your package, and you will get complaints that there are
   10020 # no rules to generate ltmain.sh.
   10021 if test -f "$ltmain"; then
   10022   # See if we are running on zsh, and set the options which allow our commands through
   10023   # without removal of \ escapes.
   10024   if test -n "${ZSH_VERSION+set}" ; then
   10025     setopt NO_GLOB_SUBST
   10026   fi
   10027   # Now quote all the things that may contain metacharacters while being
   10028   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10029   # variables and quote the copies for generation of the libtool script.
   10030   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10031     SED SHELL STRIP \
   10032     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10033     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10034     deplibs_check_method reload_flag reload_cmds need_locks \
   10035     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10036     lt_cv_sys_global_symbol_to_c_name_address \
   10037     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10038     old_postinstall_cmds old_postuninstall_cmds \
   10039     compiler \
   10040     CC \
   10041     LD \
   10042     lt_prog_compiler_wl \
   10043     lt_prog_compiler_pic \
   10044     lt_prog_compiler_static \
   10045     lt_prog_compiler_no_builtin_flag \
   10046     export_dynamic_flag_spec \
   10047     thread_safe_flag_spec \
   10048     whole_archive_flag_spec \
   10049     enable_shared_with_static_runtimes \
   10050     old_archive_cmds \
   10051     old_archive_from_new_cmds \
   10052     predep_objects \
   10053     postdep_objects \
   10054     predeps \
   10055     postdeps \
   10056     compiler_lib_search_path \
   10057     archive_cmds \
   10058     archive_expsym_cmds \
   10059     postinstall_cmds \
   10060     postuninstall_cmds \
   10061     old_archive_from_expsyms_cmds \
   10062     allow_undefined_flag \
   10063     no_undefined_flag \
   10064     export_symbols_cmds \
   10065     hardcode_libdir_flag_spec \
   10066     hardcode_libdir_flag_spec_ld \
   10067     hardcode_libdir_separator \
   10068     hardcode_automatic \
   10069     module_cmds \
   10070     module_expsym_cmds \
   10071     lt_cv_prog_compiler_c_o \
   10072     exclude_expsyms \
   10073     include_expsyms; do
   10074 
   10075     case $var in
   10076     old_archive_cmds | \
   10077     old_archive_from_new_cmds | \
   10078     archive_cmds | \
   10079     archive_expsym_cmds | \
   10080     module_cmds | \
   10081     module_expsym_cmds | \
   10082     old_archive_from_expsyms_cmds | \
   10083     export_symbols_cmds | \
   10084     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10085     postinstall_cmds | postuninstall_cmds | \
   10086     old_postinstall_cmds | old_postuninstall_cmds | \
   10087     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10088       # Double-quote double-evaled strings.
   10089       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10090       ;;
   10091     *)
   10092       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10093       ;;
   10094     esac
   10095   done
   10096 
   10097   case $lt_echo in
   10098   *'\$0 --fallback-echo"')
   10099     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10100     ;;
   10101   esac
   10102 
   10103 cfgfile="${ofile}T"
   10104   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10105   $rm -f "$cfgfile"
   10106   { echo "$as_me:$LINENO: creating $ofile" >&5
   10107 echo "$as_me: creating $ofile" >&6;}
   10108 
   10109   cat <<__EOF__ >> "$cfgfile"
   10110 #! $SHELL
   10111 
   10112 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10113 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10114 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10115 #
   10116 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10117 # Free Software Foundation, Inc.
   10118 #
   10119 # This file is part of GNU Libtool:
   10120 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10121 #
   10122 # This program is free software; you can redistribute it and/or modify
   10123 # it under the terms of the GNU General Public License as published by
   10124 # the Free Software Foundation; either version 2 of the License, or
   10125 # (at your option) any later version.
   10126 #
   10127 # This program is distributed in the hope that it will be useful, but
   10128 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10129 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10130 # General Public License for more details.
   10131 #
   10132 # You should have received a copy of the GNU General Public License
   10133 # along with this program; if not, write to the Free Software
   10134 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10135 #
   10136 # As a special exception to the GNU General Public License, if you
   10137 # distribute this file as part of a program that contains a
   10138 # configuration script generated by Autoconf, you may include it under
   10139 # the same distribution terms that you use for the rest of that program.
   10140 
   10141 # A sed program that does not truncate output.
   10142 SED=$lt_SED
   10143 
   10144 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10145 Xsed="$SED -e 1s/^X//"
   10146 
   10147 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10148 # if CDPATH is set.
   10149 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10150 
   10151 # The names of the tagged configurations supported by this script.
   10152 available_tags=
   10153 
   10154 # ### BEGIN LIBTOOL CONFIG
   10155 
   10156 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10157 
   10158 # Shell to use when invoking shell scripts.
   10159 SHELL=$lt_SHELL
   10160 
   10161 # Whether or not to build shared libraries.
   10162 build_libtool_libs=$enable_shared
   10163 
   10164 # Whether or not to build static libraries.
   10165 build_old_libs=$enable_static
   10166 
   10167 # Whether or not to add -lc for building shared libraries.
   10168 build_libtool_need_lc=$archive_cmds_need_lc
   10169 
   10170 # Whether or not to disallow shared libs when runtime libs are static
   10171 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10172 
   10173 # Whether or not to optimize for fast installation.
   10174 fast_install=$enable_fast_install
   10175 
   10176 # The host system.
   10177 host_alias=$host_alias
   10178 host=$host
   10179 host_os=$host_os
   10180 
   10181 # The build system.
   10182 build_alias=$build_alias
   10183 build=$build
   10184 build_os=$build_os
   10185 
   10186 # An echo program that does not interpret backslashes.
   10187 echo=$lt_echo
   10188 
   10189 # The archiver.
   10190 AR=$lt_AR
   10191 AR_FLAGS=$lt_AR_FLAGS
   10192 
   10193 # A C compiler.
   10194 LTCC=$lt_LTCC
   10195 
   10196 # LTCC compiler flags.
   10197 LTCFLAGS=$lt_LTCFLAGS
   10198 
   10199 # A language-specific compiler.
   10200 CC=$lt_compiler
   10201 
   10202 # Is the compiler the GNU C compiler?
   10203 with_gcc=$GCC
   10204 
   10205 # An ERE matcher.
   10206 EGREP=$lt_EGREP
   10207 
   10208 # The linker used to build libraries.
   10209 LD=$lt_LD
   10210 
   10211 # Whether we need hard or soft links.
   10212 LN_S=$lt_LN_S
   10213 
   10214 # A BSD-compatible nm program.
   10215 NM=$lt_NM
   10216 
   10217 # A symbol stripping program
   10218 STRIP=$lt_STRIP
   10219 
   10220 # Used to examine libraries when file_magic_cmd begins "file"
   10221 MAGIC_CMD=$MAGIC_CMD
   10222 
   10223 # Used on cygwin: DLL creation program.
   10224 DLLTOOL="$DLLTOOL"
   10225 
   10226 # Used on cygwin: object dumper.
   10227 OBJDUMP="$OBJDUMP"
   10228 
   10229 # Used on cygwin: assembler.
   10230 AS="$AS"
   10231 
   10232 # The name of the directory that contains temporary libtool files.
   10233 objdir=$objdir
   10234 
   10235 # How to create reloadable object files.
   10236 reload_flag=$lt_reload_flag
   10237 reload_cmds=$lt_reload_cmds
   10238 
   10239 # How to pass a linker flag through the compiler.
   10240 wl=$lt_lt_prog_compiler_wl
   10241 
   10242 # Object file suffix (normally "o").
   10243 objext="$ac_objext"
   10244 
   10245 # Old archive suffix (normally "a").
   10246 libext="$libext"
   10247 
   10248 # Shared library suffix (normally ".so").
   10249 shrext_cmds='$shrext_cmds'
   10250 
   10251 # Executable file suffix (normally "").
   10252 exeext="$exeext"
   10253 
   10254 # Additional compiler flags for building library objects.
   10255 pic_flag=$lt_lt_prog_compiler_pic
   10256 pic_mode=$pic_mode
   10257 
   10258 # What is the maximum length of a command?
   10259 max_cmd_len=$lt_cv_sys_max_cmd_len
   10260 
   10261 # Does compiler simultaneously support -c and -o options?
   10262 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10263 
   10264 # Must we lock files when doing compilation?
   10265 need_locks=$lt_need_locks
   10266 
   10267 # Do we need the lib prefix for modules?
   10268 need_lib_prefix=$need_lib_prefix
   10269 
   10270 # Do we need a version for libraries?
   10271 need_version=$need_version
   10272 
   10273 # Whether dlopen is supported.
   10274 dlopen_support=$enable_dlopen
   10275 
   10276 # Whether dlopen of programs is supported.
   10277 dlopen_self=$enable_dlopen_self
   10278 
   10279 # Whether dlopen of statically linked programs is supported.
   10280 dlopen_self_static=$enable_dlopen_self_static
   10281 
   10282 # Compiler flag to prevent dynamic linking.
   10283 link_static_flag=$lt_lt_prog_compiler_static
   10284 
   10285 # Compiler flag to turn off builtin functions.
   10286 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10287 
   10288 # Compiler flag to allow reflexive dlopens.
   10289 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10290 
   10291 # Compiler flag to generate shared objects directly from archives.
   10292 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10293 
   10294 # Compiler flag to generate thread-safe objects.
   10295 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10296 
   10297 # Library versioning type.
   10298 version_type=$version_type
   10299 
   10300 # Format of library name prefix.
   10301 libname_spec=$lt_libname_spec
   10302 
   10303 # List of archive names.  First name is the real one, the rest are links.
   10304 # The last name is the one that the linker finds with -lNAME.
   10305 library_names_spec=$lt_library_names_spec
   10306 
   10307 # The coded name of the library, if different from the real name.
   10308 soname_spec=$lt_soname_spec
   10309 
   10310 # Commands used to build and install an old-style archive.
   10311 RANLIB=$lt_RANLIB
   10312 old_archive_cmds=$lt_old_archive_cmds
   10313 old_postinstall_cmds=$lt_old_postinstall_cmds
   10314 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10315 
   10316 # Create an old-style archive from a shared archive.
   10317 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10318 
   10319 # Create a temporary old-style archive to link instead of a shared archive.
   10320 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10321 
   10322 # Commands used to build and install a shared archive.
   10323 archive_cmds=$lt_archive_cmds
   10324 archive_expsym_cmds=$lt_archive_expsym_cmds
   10325 postinstall_cmds=$lt_postinstall_cmds
   10326 postuninstall_cmds=$lt_postuninstall_cmds
   10327 
   10328 # Commands used to build a loadable module (assumed same as above if empty)
   10329 module_cmds=$lt_module_cmds
   10330 module_expsym_cmds=$lt_module_expsym_cmds
   10331 
   10332 # Commands to strip libraries.
   10333 old_striplib=$lt_old_striplib
   10334 striplib=$lt_striplib
   10335 
   10336 # Dependencies to place before the objects being linked to create a
   10337 # shared library.
   10338 predep_objects=$lt_predep_objects
   10339 
   10340 # Dependencies to place after the objects being linked to create a
   10341 # shared library.
   10342 postdep_objects=$lt_postdep_objects
   10343 
   10344 # Dependencies to place before the objects being linked to create a
   10345 # shared library.
   10346 predeps=$lt_predeps
   10347 
   10348 # Dependencies to place after the objects being linked to create a
   10349 # shared library.
   10350 postdeps=$lt_postdeps
   10351 
   10352 # The library search path used internally by the compiler when linking
   10353 # a shared library.
   10354 compiler_lib_search_path=$lt_compiler_lib_search_path
   10355 
   10356 # Method to check whether dependent libraries are shared objects.
   10357 deplibs_check_method=$lt_deplibs_check_method
   10358 
   10359 # Command to use when deplibs_check_method == file_magic.
   10360 file_magic_cmd=$lt_file_magic_cmd
   10361 
   10362 # Flag that allows shared libraries with undefined symbols to be built.
   10363 allow_undefined_flag=$lt_allow_undefined_flag
   10364 
   10365 # Flag that forces no undefined symbols.
   10366 no_undefined_flag=$lt_no_undefined_flag
   10367 
   10368 # Commands used to finish a libtool library installation in a directory.
   10369 finish_cmds=$lt_finish_cmds
   10370 
   10371 # Same as above, but a single script fragment to be evaled but not shown.
   10372 finish_eval=$lt_finish_eval
   10373 
   10374 # Take the output of nm and produce a listing of raw symbols and C names.
   10375 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10376 
   10377 # Transform the output of nm in a proper C declaration
   10378 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10379 
   10380 # Transform the output of nm in a C name address pair
   10381 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10382 
   10383 # This is the shared library runtime path variable.
   10384 runpath_var=$runpath_var
   10385 
   10386 # This is the shared library path variable.
   10387 shlibpath_var=$shlibpath_var
   10388 
   10389 # Is shlibpath searched before the hard-coded library search path?
   10390 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10391 
   10392 # How to hardcode a shared library path into an executable.
   10393 hardcode_action=$hardcode_action
   10394 
   10395 # Whether we should hardcode library paths into libraries.
   10396 hardcode_into_libs=$hardcode_into_libs
   10397 
   10398 # Flag to hardcode \$libdir into a binary during linking.
   10399 # This must work even if \$libdir does not exist.
   10400 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10401 
   10402 # If ld is used when linking, flag to hardcode \$libdir into
   10403 # a binary during linking. This must work even if \$libdir does
   10404 # not exist.
   10405 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10406 
   10407 # Whether we need a single -rpath flag with a separated argument.
   10408 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10409 
   10410 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10411 # resulting binary.
   10412 hardcode_direct=$hardcode_direct
   10413 
   10414 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10415 # resulting binary.
   10416 hardcode_minus_L=$hardcode_minus_L
   10417 
   10418 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10419 # the resulting binary.
   10420 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10421 
   10422 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10423 # and all subsequent libraries and executables linked against it.
   10424 hardcode_automatic=$hardcode_automatic
   10425 
   10426 # Variables whose values should be saved in libtool wrapper scripts and
   10427 # restored at relink time.
   10428 variables_saved_for_relink="$variables_saved_for_relink"
   10429 
   10430 # Whether libtool must link a program against all its dependency libraries.
   10431 link_all_deplibs=$link_all_deplibs
   10432 
   10433 # Compile-time system search path for libraries
   10434 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10435 
   10436 # Run-time system search path for libraries
   10437 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10438 
   10439 # Fix the shell variable \$srcfile for the compiler.
   10440 fix_srcfile_path="$fix_srcfile_path"
   10441 
   10442 # Set to yes if exported symbols are required.
   10443 always_export_symbols=$always_export_symbols
   10444 
   10445 # The commands to list exported symbols.
   10446 export_symbols_cmds=$lt_export_symbols_cmds
   10447 
   10448 # The commands to extract the exported symbol list from a shared archive.
   10449 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10450 
   10451 # Symbols that should not be listed in the preloaded symbols.
   10452 exclude_expsyms=$lt_exclude_expsyms
   10453 
   10454 # Symbols that must always be exported.
   10455 include_expsyms=$lt_include_expsyms
   10456 
   10457 # ### END LIBTOOL CONFIG
   10458 
   10459 __EOF__
   10460 
   10461 
   10462   case $host_os in
   10463   aix3*)
   10464     cat <<\EOF >> "$cfgfile"
   10465 
   10466 # AIX sometimes has problems with the GCC collect2 program.  For some
   10467 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10468 # vanish in a puff of smoke.
   10469 if test "X${COLLECT_NAMES+set}" != Xset; then
   10470   COLLECT_NAMES=
   10471   export COLLECT_NAMES
   10472 fi
   10473 EOF
   10474     ;;
   10475   esac
   10476 
   10477   # We use sed instead of cat because bash on DJGPP gets confused if
   10478   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10479   # text mode, it properly converts lines to CR/LF.  This bash problem
   10480   # is reportedly fixed, but why not run on old versions too?
   10481   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10482 
   10483   mv -f "$cfgfile" "$ofile" || \
   10484     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10485   chmod +x "$ofile"
   10486 
   10487 else
   10488   # If there is no Makefile yet, we rely on a make rule to execute
   10489   # `config.status --recheck' to rerun these tests and create the
   10490   # libtool script then.
   10491   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10492   if test -f "$ltmain_in"; then
   10493     test -f Makefile && make "$ltmain"
   10494   fi
   10495 fi
   10496 
   10497 
   10498 ac_ext=c
   10499 ac_cpp='$CPP $CPPFLAGS'
   10500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10503 
   10504 CC="$lt_save_CC"
   10505 
   10506 
   10507 # Check whether --with-tags was given.
   10508 if test "${with_tags+set}" = set; then
   10509   withval=$with_tags; tagnames="$withval"
   10510 fi
   10511 
   10512 
   10513 if test -f "$ltmain" && test -n "$tagnames"; then
   10514   if test ! -f "${ofile}"; then
   10515     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10516 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10517   fi
   10518 
   10519   if test -z "$LTCC"; then
   10520     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10521     if test -z "$LTCC"; then
   10522       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10523 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10524     else
   10525       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10526 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10527     fi
   10528   fi
   10529   if test -z "$LTCFLAGS"; then
   10530     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10531   fi
   10532 
   10533   # Extract list of available tagged configurations in $ofile.
   10534   # Note that this assumes the entire list is on one line.
   10535   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10536 
   10537   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10538   for tagname in $tagnames; do
   10539     IFS="$lt_save_ifs"
   10540     # Check whether tagname contains only valid characters
   10541     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10542     "") ;;
   10543     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10544 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10545    { (exit 1); exit 1; }; }
   10546 	;;
   10547     esac
   10548 
   10549     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10550     then
   10551       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10552 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10553    { (exit 1); exit 1; }; }
   10554     fi
   10555 
   10556     # Update the list of available tags.
   10557     if test -n "$tagname"; then
   10558       echo appending configuration tag \"$tagname\" to $ofile
   10559 
   10560       case $tagname in
   10561       CXX)
   10562 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10563 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10564 	    (test "X$CXX" != "Xg++"))) ; then
   10565 	  ac_ext=cpp
   10566 ac_cpp='$CXXCPP $CPPFLAGS'
   10567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10570 
   10571 
   10572 
   10573 
   10574 archive_cmds_need_lc_CXX=no
   10575 allow_undefined_flag_CXX=
   10576 always_export_symbols_CXX=no
   10577 archive_expsym_cmds_CXX=
   10578 export_dynamic_flag_spec_CXX=
   10579 hardcode_direct_CXX=no
   10580 hardcode_libdir_flag_spec_CXX=
   10581 hardcode_libdir_flag_spec_ld_CXX=
   10582 hardcode_libdir_separator_CXX=
   10583 hardcode_minus_L_CXX=no
   10584 hardcode_shlibpath_var_CXX=unsupported
   10585 hardcode_automatic_CXX=no
   10586 module_cmds_CXX=
   10587 module_expsym_cmds_CXX=
   10588 link_all_deplibs_CXX=unknown
   10589 old_archive_cmds_CXX=$old_archive_cmds
   10590 no_undefined_flag_CXX=
   10591 whole_archive_flag_spec_CXX=
   10592 enable_shared_with_static_runtimes_CXX=no
   10593 
   10594 # Dependencies to place before and after the object being linked:
   10595 predep_objects_CXX=
   10596 postdep_objects_CXX=
   10597 predeps_CXX=
   10598 postdeps_CXX=
   10599 compiler_lib_search_path_CXX=
   10600 
   10601 # Source file extension for C++ test sources.
   10602 ac_ext=cpp
   10603 
   10604 # Object file extension for compiled C++ test sources.
   10605 objext=o
   10606 objext_CXX=$objext
   10607 
   10608 # Code to be used in simple compile tests
   10609 lt_simple_compile_test_code="int some_variable = 0;\n"
   10610 
   10611 # Code to be used in simple link tests
   10612 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10613 
   10614 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10615 
   10616 # If no C compiler was specified, use CC.
   10617 LTCC=${LTCC-"$CC"}
   10618 
   10619 # If no C compiler flags were specified, use CFLAGS.
   10620 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10621 
   10622 # Allow CC to be a program name with arguments.
   10623 compiler=$CC
   10624 
   10625 
   10626 # save warnings/boilerplate of simple test code
   10627 ac_outfile=conftest.$ac_objext
   10628 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10629 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10630 _lt_compiler_boilerplate=`cat conftest.err`
   10631 $rm conftest*
   10632 
   10633 ac_outfile=conftest.$ac_objext
   10634 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10635 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10636 _lt_linker_boilerplate=`cat conftest.err`
   10637 $rm conftest*
   10638 
   10639 
   10640 # Allow CC to be a program name with arguments.
   10641 lt_save_CC=$CC
   10642 lt_save_LD=$LD
   10643 lt_save_GCC=$GCC
   10644 GCC=$GXX
   10645 lt_save_with_gnu_ld=$with_gnu_ld
   10646 lt_save_path_LD=$lt_cv_path_LD
   10647 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10648   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10649 else
   10650   $as_unset lt_cv_prog_gnu_ld
   10651 fi
   10652 if test -n "${lt_cv_path_LDCXX+set}"; then
   10653   lt_cv_path_LD=$lt_cv_path_LDCXX
   10654 else
   10655   $as_unset lt_cv_path_LD
   10656 fi
   10657 test -z "${LDCXX+set}" || LD=$LDCXX
   10658 CC=${CXX-"c++"}
   10659 compiler=$CC
   10660 compiler_CXX=$CC
   10661 for cc_temp in $compiler""; do
   10662   case $cc_temp in
   10663     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10664     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10665     \-*) ;;
   10666     *) break;;
   10667   esac
   10668 done
   10669 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10670 
   10671 
   10672 # We don't want -fno-exception wen compiling C++ code, so set the
   10673 # no_builtin_flag separately
   10674 if test "$GXX" = yes; then
   10675   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10676 else
   10677   lt_prog_compiler_no_builtin_flag_CXX=
   10678 fi
   10679 
   10680 if test "$GXX" = yes; then
   10681   # Set up default GNU C++ configuration
   10682 
   10683 
   10684 # Check whether --with-gnu-ld was given.
   10685 if test "${with_gnu_ld+set}" = set; then
   10686   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10687 else
   10688   with_gnu_ld=no
   10689 fi
   10690 
   10691 ac_prog=ld
   10692 if test "$GCC" = yes; then
   10693   # Check if gcc -print-prog-name=ld gives a path.
   10694   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10695 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10696   case $host in
   10697   *-*-mingw*)
   10698     # gcc leaves a trailing carriage return which upsets mingw
   10699     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10700   *)
   10701     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10702   esac
   10703   case $ac_prog in
   10704     # Accept absolute paths.
   10705     [\\/]* | ?:[\\/]*)
   10706       re_direlt='/[^/][^/]*/\.\./'
   10707       # Canonicalize the pathname of ld
   10708       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10709       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10710 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10711       done
   10712       test -z "$LD" && LD="$ac_prog"
   10713       ;;
   10714   "")
   10715     # If it fails, then pretend we aren't using GCC.
   10716     ac_prog=ld
   10717     ;;
   10718   *)
   10719     # If it is relative, then search for the first ld in PATH.
   10720     with_gnu_ld=unknown
   10721     ;;
   10722   esac
   10723 elif test "$with_gnu_ld" = yes; then
   10724   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10725 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10726 else
   10727   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10728 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10729 fi
   10730 if test "${lt_cv_path_LD+set}" = set; then
   10731   echo $ECHO_N "(cached) $ECHO_C" >&6
   10732 else
   10733   if test -z "$LD"; then
   10734   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10735   for ac_dir in $PATH; do
   10736     IFS="$lt_save_ifs"
   10737     test -z "$ac_dir" && ac_dir=.
   10738     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10739       lt_cv_path_LD="$ac_dir/$ac_prog"
   10740       # Check to see if the program is GNU ld.  I'd rather use --version,
   10741       # but apparently some variants of GNU ld only accept -v.
   10742       # Break only if it was the GNU/non-GNU ld that we prefer.
   10743       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10744       *GNU* | *'with BFD'*)
   10745 	test "$with_gnu_ld" != no && break
   10746 	;;
   10747       *)
   10748 	test "$with_gnu_ld" != yes && break
   10749 	;;
   10750       esac
   10751     fi
   10752   done
   10753   IFS="$lt_save_ifs"
   10754 else
   10755   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10756 fi
   10757 fi
   10758 
   10759 LD="$lt_cv_path_LD"
   10760 if test -n "$LD"; then
   10761   { echo "$as_me:$LINENO: result: $LD" >&5
   10762 echo "${ECHO_T}$LD" >&6; }
   10763 else
   10764   { echo "$as_me:$LINENO: result: no" >&5
   10765 echo "${ECHO_T}no" >&6; }
   10766 fi
   10767 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10768 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10769    { (exit 1); exit 1; }; }
   10770 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10771 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10772 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10773   echo $ECHO_N "(cached) $ECHO_C" >&6
   10774 else
   10775   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10776 case `$LD -v 2>&1 </dev/null` in
   10777 *GNU* | *'with BFD'*)
   10778   lt_cv_prog_gnu_ld=yes
   10779   ;;
   10780 *)
   10781   lt_cv_prog_gnu_ld=no
   10782   ;;
   10783 esac
   10784 fi
   10785 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10786 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10787 with_gnu_ld=$lt_cv_prog_gnu_ld
   10788 
   10789 
   10790 
   10791   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10792   # archiving commands below assume that GNU ld is being used.
   10793   if test "$with_gnu_ld" = yes; then
   10794     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10795     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'
   10796 
   10797     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10798     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10799 
   10800     # If archive_cmds runs LD, not CC, wlarc should be empty
   10801     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10802     #     investigate it a little bit more. (MM)
   10803     wlarc='${wl}'
   10804 
   10805     # ancient GNU ld didn't support --whole-archive et. al.
   10806     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10807 	grep 'no-whole-archive' > /dev/null; then
   10808       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10809     else
   10810       whole_archive_flag_spec_CXX=
   10811     fi
   10812   else
   10813     with_gnu_ld=no
   10814     wlarc=
   10815 
   10816     # A generic and very simple default shared library creation
   10817     # command for GNU C++ for the case where it uses the native
   10818     # linker, instead of GNU ld.  If possible, this setting should
   10819     # overridden to take advantage of the native linker features on
   10820     # the platform it is being used on.
   10821     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10822   fi
   10823 
   10824   # Commands to make compiler produce verbose output that lists
   10825   # what "hidden" libraries, object files and flags are used when
   10826   # linking a shared library.
   10827   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10828 
   10829 else
   10830   GXX=no
   10831   with_gnu_ld=no
   10832   wlarc=
   10833 fi
   10834 
   10835 # PORTME: fill in a description of your system's C++ link characteristics
   10836 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10837 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10838 ld_shlibs_CXX=yes
   10839 case $host_os in
   10840   aix3*)
   10841     # FIXME: insert proper C++ library support
   10842     ld_shlibs_CXX=no
   10843     ;;
   10844   aix4* | aix5*)
   10845     if test "$host_cpu" = ia64; then
   10846       # On IA64, the linker does run time linking by default, so we don't
   10847       # have to do anything special.
   10848       aix_use_runtimelinking=no
   10849       exp_sym_flag='-Bexport'
   10850       no_entry_flag=""
   10851     else
   10852       aix_use_runtimelinking=no
   10853 
   10854       # Test if we are trying to use run time linking or normal
   10855       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10856       # need to do runtime linking.
   10857       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10858 	for ld_flag in $LDFLAGS; do
   10859 	  case $ld_flag in
   10860 	  *-brtl*)
   10861 	    aix_use_runtimelinking=yes
   10862 	    break
   10863 	    ;;
   10864 	  esac
   10865 	done
   10866 	;;
   10867       esac
   10868 
   10869       exp_sym_flag='-bexport'
   10870       no_entry_flag='-bnoentry'
   10871     fi
   10872 
   10873     # When large executables or shared objects are built, AIX ld can
   10874     # have problems creating the table of contents.  If linking a library
   10875     # or program results in "error TOC overflow" add -mminimal-toc to
   10876     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10877     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10878 
   10879     archive_cmds_CXX=''
   10880     hardcode_direct_CXX=yes
   10881     hardcode_libdir_separator_CXX=':'
   10882     link_all_deplibs_CXX=yes
   10883 
   10884     if test "$GXX" = yes; then
   10885       case $host_os in aix4.[012]|aix4.[012].*)
   10886       # We only want to do this on AIX 4.2 and lower, the check
   10887       # below for broken collect2 doesn't work under 4.3+
   10888 	collect2name=`${CC} -print-prog-name=collect2`
   10889 	if test -f "$collect2name" && \
   10890 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10891 	then
   10892 	  # We have reworked collect2
   10893 	  hardcode_direct_CXX=yes
   10894 	else
   10895 	  # We have old collect2
   10896 	  hardcode_direct_CXX=unsupported
   10897 	  # It fails to find uninstalled libraries when the uninstalled
   10898 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10899 	  # to unsupported forces relinking
   10900 	  hardcode_minus_L_CXX=yes
   10901 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10902 	  hardcode_libdir_separator_CXX=
   10903 	fi
   10904 	;;
   10905       esac
   10906       shared_flag='-shared'
   10907       if test "$aix_use_runtimelinking" = yes; then
   10908 	shared_flag="$shared_flag "'${wl}-G'
   10909       fi
   10910     else
   10911       # not using gcc
   10912       if test "$host_cpu" = ia64; then
   10913 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10914 	# chokes on -Wl,-G. The following line is correct:
   10915 	shared_flag='-G'
   10916       else
   10917 	if test "$aix_use_runtimelinking" = yes; then
   10918 	  shared_flag='${wl}-G'
   10919 	else
   10920 	  shared_flag='${wl}-bM:SRE'
   10921 	fi
   10922       fi
   10923     fi
   10924 
   10925     # It seems that -bexpall does not export symbols beginning with
   10926     # underscore (_), so it is better to generate a list of symbols to export.
   10927     always_export_symbols_CXX=yes
   10928     if test "$aix_use_runtimelinking" = yes; then
   10929       # Warning - without using the other runtime loading flags (-brtl),
   10930       # -berok will link without error, but may produce a broken library.
   10931       allow_undefined_flag_CXX='-berok'
   10932       # Determine the default libpath from the value encoded in an empty executable.
   10933       cat >conftest.$ac_ext <<_ACEOF
   10934 /* confdefs.h.  */
   10935 _ACEOF
   10936 cat confdefs.h >>conftest.$ac_ext
   10937 cat >>conftest.$ac_ext <<_ACEOF
   10938 /* end confdefs.h.  */
   10939 
   10940 int
   10941 main ()
   10942 {
   10943 
   10944   ;
   10945   return 0;
   10946 }
   10947 _ACEOF
   10948 rm -f conftest.$ac_objext conftest$ac_exeext
   10949 if { (ac_try="$ac_link"
   10950 case "(($ac_try" in
   10951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10952   *) ac_try_echo=$ac_try;;
   10953 esac
   10954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10955   (eval "$ac_link") 2>conftest.er1
   10956   ac_status=$?
   10957   grep -v '^ *+' conftest.er1 >conftest.err
   10958   rm -f conftest.er1
   10959   cat conftest.err >&5
   10960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10961   (exit $ac_status); } && {
   10962 	 test -z "$ac_cxx_werror_flag" ||
   10963 	 test ! -s conftest.err
   10964        } && test -s conftest$ac_exeext &&
   10965        $as_test_x conftest$ac_exeext; then
   10966 
   10967 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10968 }'`
   10969 # Check for a 64-bit object if we didn't find anything.
   10970 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10971 }'`; fi
   10972 else
   10973   echo "$as_me: failed program was:" >&5
   10974 sed 's/^/| /' conftest.$ac_ext >&5
   10975 
   10976 
   10977 fi
   10978 
   10979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10980       conftest$ac_exeext conftest.$ac_ext
   10981 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10982 
   10983       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10984 
   10985       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"
   10986      else
   10987       if test "$host_cpu" = ia64; then
   10988 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   10989 	allow_undefined_flag_CXX="-z nodefs"
   10990 	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"
   10991       else
   10992 	# Determine the default libpath from the value encoded in an empty executable.
   10993 	cat >conftest.$ac_ext <<_ACEOF
   10994 /* confdefs.h.  */
   10995 _ACEOF
   10996 cat confdefs.h >>conftest.$ac_ext
   10997 cat >>conftest.$ac_ext <<_ACEOF
   10998 /* end confdefs.h.  */
   10999 
   11000 int
   11001 main ()
   11002 {
   11003 
   11004   ;
   11005   return 0;
   11006 }
   11007 _ACEOF
   11008 rm -f conftest.$ac_objext conftest$ac_exeext
   11009 if { (ac_try="$ac_link"
   11010 case "(($ac_try" in
   11011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11012   *) ac_try_echo=$ac_try;;
   11013 esac
   11014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11015   (eval "$ac_link") 2>conftest.er1
   11016   ac_status=$?
   11017   grep -v '^ *+' conftest.er1 >conftest.err
   11018   rm -f conftest.er1
   11019   cat conftest.err >&5
   11020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11021   (exit $ac_status); } && {
   11022 	 test -z "$ac_cxx_werror_flag" ||
   11023 	 test ! -s conftest.err
   11024        } && test -s conftest$ac_exeext &&
   11025        $as_test_x conftest$ac_exeext; then
   11026 
   11027 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11028 }'`
   11029 # Check for a 64-bit object if we didn't find anything.
   11030 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11031 }'`; fi
   11032 else
   11033   echo "$as_me: failed program was:" >&5
   11034 sed 's/^/| /' conftest.$ac_ext >&5
   11035 
   11036 
   11037 fi
   11038 
   11039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11040       conftest$ac_exeext conftest.$ac_ext
   11041 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11042 
   11043 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11044 	# Warning - without using the other run time loading flags,
   11045 	# -berok will link without error, but may produce a broken library.
   11046 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11047 	allow_undefined_flag_CXX=' ${wl}-berok'
   11048 	# Exported symbols can be pulled into shared objects from archives
   11049 	whole_archive_flag_spec_CXX='$convenience'
   11050 	archive_cmds_need_lc_CXX=yes
   11051 	# This is similar to how AIX traditionally builds its shared libraries.
   11052 	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'
   11053       fi
   11054     fi
   11055     ;;
   11056 
   11057   beos*)
   11058     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11059       allow_undefined_flag_CXX=unsupported
   11060       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11061       # support --undefined.  This deserves some investigation.  FIXME
   11062       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11063     else
   11064       ld_shlibs_CXX=no
   11065     fi
   11066     ;;
   11067 
   11068   chorus*)
   11069     case $cc_basename in
   11070       *)
   11071 	# FIXME: insert proper C++ library support
   11072 	ld_shlibs_CXX=no
   11073 	;;
   11074     esac
   11075     ;;
   11076 
   11077   cygwin* | mingw* | pw32*)
   11078     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11079     # as there is no search path for DLLs.
   11080     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11081     allow_undefined_flag_CXX=unsupported
   11082     always_export_symbols_CXX=no
   11083     enable_shared_with_static_runtimes_CXX=yes
   11084 
   11085     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11086       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'
   11087       # If the export-symbols file already is a .def file (1st line
   11088       # is EXPORTS), use it as is; otherwise, prepend...
   11089       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11090 	cp $export_symbols $output_objdir/$soname.def;
   11091       else
   11092 	echo EXPORTS > $output_objdir/$soname.def;
   11093 	cat $export_symbols >> $output_objdir/$soname.def;
   11094       fi~
   11095       $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'
   11096     else
   11097       ld_shlibs_CXX=no
   11098     fi
   11099   ;;
   11100       darwin* | rhapsody*)
   11101         case $host_os in
   11102         rhapsody* | darwin1.[012])
   11103          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11104          ;;
   11105        *) # Darwin 1.3 on
   11106          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11107            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11108          else
   11109            case ${MACOSX_DEPLOYMENT_TARGET} in
   11110              10.[012])
   11111                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11112                ;;
   11113              10.*)
   11114                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11115                ;;
   11116            esac
   11117          fi
   11118          ;;
   11119         esac
   11120       archive_cmds_need_lc_CXX=no
   11121       hardcode_direct_CXX=no
   11122       hardcode_automatic_CXX=yes
   11123       hardcode_shlibpath_var_CXX=unsupported
   11124       whole_archive_flag_spec_CXX=''
   11125       link_all_deplibs_CXX=yes
   11126 
   11127     if test "$GXX" = yes ; then
   11128       lt_int_apple_cc_single_mod=no
   11129       output_verbose_link_cmd='echo'
   11130       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11131        lt_int_apple_cc_single_mod=yes
   11132       fi
   11133       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11134        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11135       else
   11136           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'
   11137         fi
   11138         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11139         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11140           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11141             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11142           else
   11143             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11144           fi
   11145             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}'
   11146       else
   11147       case $cc_basename in
   11148         xlc*)
   11149          output_verbose_link_cmd='echo'
   11150           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   11151           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11152           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11153           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11154           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}'
   11155           ;;
   11156        *)
   11157          ld_shlibs_CXX=no
   11158           ;;
   11159       esac
   11160       fi
   11161         ;;
   11162 
   11163   dgux*)
   11164     case $cc_basename in
   11165       ec++*)
   11166 	# FIXME: insert proper C++ library support
   11167 	ld_shlibs_CXX=no
   11168 	;;
   11169       ghcx*)
   11170 	# Green Hills C++ Compiler
   11171 	# FIXME: insert proper C++ library support
   11172 	ld_shlibs_CXX=no
   11173 	;;
   11174       *)
   11175 	# FIXME: insert proper C++ library support
   11176 	ld_shlibs_CXX=no
   11177 	;;
   11178     esac
   11179     ;;
   11180   freebsd[12]*)
   11181     # C++ shared libraries reported to be fairly broken before switch to ELF
   11182     ld_shlibs_CXX=no
   11183     ;;
   11184   freebsd-elf*)
   11185     archive_cmds_need_lc_CXX=no
   11186     ;;
   11187   freebsd* | dragonfly*)
   11188     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11189     # conventions
   11190     ld_shlibs_CXX=yes
   11191     ;;
   11192   gnu*)
   11193     ;;
   11194   hpux9*)
   11195     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11196     hardcode_libdir_separator_CXX=:
   11197     export_dynamic_flag_spec_CXX='${wl}-E'
   11198     hardcode_direct_CXX=yes
   11199     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11200 				# but as the default
   11201 				# location of the library.
   11202 
   11203     case $cc_basename in
   11204     CC*)
   11205       # FIXME: insert proper C++ library support
   11206       ld_shlibs_CXX=no
   11207       ;;
   11208     aCC*)
   11209       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'
   11210       # Commands to make compiler produce verbose output that lists
   11211       # what "hidden" libraries, object files and flags are used when
   11212       # linking a shared library.
   11213       #
   11214       # There doesn't appear to be a way to prevent this compiler from
   11215       # explicitly linking system object files so we need to strip them
   11216       # from the output so that they don't get included in the library
   11217       # dependencies.
   11218       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'
   11219       ;;
   11220     *)
   11221       if test "$GXX" = yes; then
   11222         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'
   11223       else
   11224         # FIXME: insert proper C++ library support
   11225         ld_shlibs_CXX=no
   11226       fi
   11227       ;;
   11228     esac
   11229     ;;
   11230   hpux10*|hpux11*)
   11231     if test $with_gnu_ld = no; then
   11232       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11233       hardcode_libdir_separator_CXX=:
   11234 
   11235       case $host_cpu in
   11236       hppa*64*|ia64*)
   11237 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11238         ;;
   11239       *)
   11240 	export_dynamic_flag_spec_CXX='${wl}-E'
   11241         ;;
   11242       esac
   11243     fi
   11244     case $host_cpu in
   11245     hppa*64*|ia64*)
   11246       hardcode_direct_CXX=no
   11247       hardcode_shlibpath_var_CXX=no
   11248       ;;
   11249     *)
   11250       hardcode_direct_CXX=yes
   11251       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11252 					      # but as the default
   11253 					      # location of the library.
   11254       ;;
   11255     esac
   11256 
   11257     case $cc_basename in
   11258       CC*)
   11259 	# FIXME: insert proper C++ library support
   11260 	ld_shlibs_CXX=no
   11261 	;;
   11262       aCC*)
   11263 	case $host_cpu in
   11264 	hppa*64*)
   11265 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11266 	  ;;
   11267 	ia64*)
   11268 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11269 	  ;;
   11270 	*)
   11271 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11272 	  ;;
   11273 	esac
   11274 	# Commands to make compiler produce verbose output that lists
   11275 	# what "hidden" libraries, object files and flags are used when
   11276 	# linking a shared library.
   11277 	#
   11278 	# There doesn't appear to be a way to prevent this compiler from
   11279 	# explicitly linking system object files so we need to strip them
   11280 	# from the output so that they don't get included in the library
   11281 	# dependencies.
   11282 	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'
   11283 	;;
   11284       *)
   11285 	if test "$GXX" = yes; then
   11286 	  if test $with_gnu_ld = no; then
   11287 	    case $host_cpu in
   11288 	    hppa*64*)
   11289 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11290 	      ;;
   11291 	    ia64*)
   11292 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11293 	      ;;
   11294 	    *)
   11295 	      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'
   11296 	      ;;
   11297 	    esac
   11298 	  fi
   11299 	else
   11300 	  # FIXME: insert proper C++ library support
   11301 	  ld_shlibs_CXX=no
   11302 	fi
   11303 	;;
   11304     esac
   11305     ;;
   11306   interix3*)
   11307     hardcode_direct_CXX=no
   11308     hardcode_shlibpath_var_CXX=no
   11309     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11310     export_dynamic_flag_spec_CXX='${wl}-E'
   11311     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11312     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11313     # default) and relocated if they conflict, which is a slow very memory
   11314     # consuming and fragmenting process.  To avoid this, we pick a random,
   11315     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11316     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11317     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'
   11318     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'
   11319     ;;
   11320   irix5* | irix6*)
   11321     case $cc_basename in
   11322       CC*)
   11323 	# SGI C++
   11324 	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'
   11325 
   11326 	# Archives containing C++ object files must be created using
   11327 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11328 	# necessary to make sure instantiated templates are included
   11329 	# in the archive.
   11330 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11331 	;;
   11332       *)
   11333 	if test "$GXX" = yes; then
   11334 	  if test "$with_gnu_ld" = no; then
   11335 	    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'
   11336 	  else
   11337 	    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'
   11338 	  fi
   11339 	fi
   11340 	link_all_deplibs_CXX=yes
   11341 	;;
   11342     esac
   11343     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11344     hardcode_libdir_separator_CXX=:
   11345     ;;
   11346   linux* | k*bsd*-gnu)
   11347     case $cc_basename in
   11348       KCC*)
   11349 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11350 
   11351 	# KCC will only create a shared library if the output file
   11352 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11353 	# to its proper name (with version) after linking.
   11354 	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'
   11355 	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'
   11356 	# Commands to make compiler produce verbose output that lists
   11357 	# what "hidden" libraries, object files and flags are used when
   11358 	# linking a shared library.
   11359 	#
   11360 	# There doesn't appear to be a way to prevent this compiler from
   11361 	# explicitly linking system object files so we need to strip them
   11362 	# from the output so that they don't get included in the library
   11363 	# dependencies.
   11364 	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'
   11365 
   11366 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11367 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11368 
   11369 	# Archives containing C++ object files must be created using
   11370 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11371 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11372 	;;
   11373       icpc*)
   11374 	# Intel C++
   11375 	with_gnu_ld=yes
   11376 	# version 8.0 and above of icpc choke on multiply defined symbols
   11377 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11378 	# earlier do not add the objects themselves.
   11379 	case `$CC -V 2>&1` in
   11380 	*"Version 7."*)
   11381   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11382   	  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'
   11383 	  ;;
   11384 	*)  # Version 8.0 or newer
   11385 	  tmp_idyn=
   11386 	  case $host_cpu in
   11387 	    ia64*) tmp_idyn=' -i_dynamic';;
   11388 	  esac
   11389   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11390 	  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'
   11391 	  ;;
   11392 	esac
   11393 	archive_cmds_need_lc_CXX=no
   11394 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11395 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11396 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11397 	;;
   11398       pgCC*)
   11399         # Portland Group C++ compiler
   11400 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11401   	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'
   11402 
   11403 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11404 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11405 	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'
   11406         ;;
   11407       cxx*)
   11408 	# Compaq C++
   11409 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11410 	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'
   11411 
   11412 	runpath_var=LD_RUN_PATH
   11413 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11414 	hardcode_libdir_separator_CXX=:
   11415 
   11416 	# Commands to make compiler produce verbose output that lists
   11417 	# what "hidden" libraries, object files and flags are used when
   11418 	# linking a shared library.
   11419 	#
   11420 	# There doesn't appear to be a way to prevent this compiler from
   11421 	# explicitly linking system object files so we need to strip them
   11422 	# from the output so that they don't get included in the library
   11423 	# dependencies.
   11424 	output_verbose_link_cmd='templist=`$CC -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'
   11425 	;;
   11426     esac
   11427     ;;
   11428   lynxos*)
   11429     # FIXME: insert proper C++ library support
   11430     ld_shlibs_CXX=no
   11431     ;;
   11432   m88k*)
   11433     # FIXME: insert proper C++ library support
   11434     ld_shlibs_CXX=no
   11435     ;;
   11436   mvs*)
   11437     case $cc_basename in
   11438       cxx*)
   11439 	# FIXME: insert proper C++ library support
   11440 	ld_shlibs_CXX=no
   11441 	;;
   11442       *)
   11443 	# FIXME: insert proper C++ library support
   11444 	ld_shlibs_CXX=no
   11445 	;;
   11446     esac
   11447     ;;
   11448   netbsd* | netbsdelf*-gnu)
   11449     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11450       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11451       wlarc=
   11452       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11453       hardcode_direct_CXX=yes
   11454       hardcode_shlibpath_var_CXX=no
   11455     fi
   11456     # Workaround some broken pre-1.5 toolchains
   11457     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11458     ;;
   11459   openbsd2*)
   11460     # C++ shared libraries are fairly broken
   11461     ld_shlibs_CXX=no
   11462     ;;
   11463   openbsd*)
   11464     hardcode_direct_CXX=yes
   11465     hardcode_shlibpath_var_CXX=no
   11466     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11467     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11468     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11469       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11470       export_dynamic_flag_spec_CXX='${wl}-E'
   11471       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11472     fi
   11473     output_verbose_link_cmd='echo'
   11474     ;;
   11475   osf3*)
   11476     case $cc_basename in
   11477       KCC*)
   11478 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11479 
   11480 	# KCC will only create a shared library if the output file
   11481 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11482 	# to its proper name (with version) after linking.
   11483 	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'
   11484 
   11485 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11486 	hardcode_libdir_separator_CXX=:
   11487 
   11488 	# Archives containing C++ object files must be created using
   11489 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11490 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11491 
   11492 	;;
   11493       RCC*)
   11494 	# Rational C++ 2.4.1
   11495 	# FIXME: insert proper C++ library support
   11496 	ld_shlibs_CXX=no
   11497 	;;
   11498       cxx*)
   11499 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11500 	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'
   11501 
   11502 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11503 	hardcode_libdir_separator_CXX=:
   11504 
   11505 	# Commands to make compiler produce verbose output that lists
   11506 	# what "hidden" libraries, object files and flags are used when
   11507 	# linking a shared library.
   11508 	#
   11509 	# There doesn't appear to be a way to prevent this compiler from
   11510 	# explicitly linking system object files so we need to strip them
   11511 	# from the output so that they don't get included in the library
   11512 	# dependencies.
   11513 	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'
   11514 	;;
   11515       *)
   11516 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11517 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11518 	  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'
   11519 
   11520 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11521 	  hardcode_libdir_separator_CXX=:
   11522 
   11523 	  # Commands to make compiler produce verbose output that lists
   11524 	  # what "hidden" libraries, object files and flags are used when
   11525 	  # linking a shared library.
   11526 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11527 
   11528 	else
   11529 	  # FIXME: insert proper C++ library support
   11530 	  ld_shlibs_CXX=no
   11531 	fi
   11532 	;;
   11533     esac
   11534     ;;
   11535   osf4* | osf5*)
   11536     case $cc_basename in
   11537       KCC*)
   11538 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11539 
   11540 	# KCC will only create a shared library if the output file
   11541 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11542 	# to its proper name (with version) after linking.
   11543 	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'
   11544 
   11545 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11546 	hardcode_libdir_separator_CXX=:
   11547 
   11548 	# Archives containing C++ object files must be created using
   11549 	# the KAI C++ compiler.
   11550 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11551 	;;
   11552       RCC*)
   11553 	# Rational C++ 2.4.1
   11554 	# FIXME: insert proper C++ library support
   11555 	ld_shlibs_CXX=no
   11556 	;;
   11557       cxx*)
   11558 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11559 	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'
   11560 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11561 	  echo "-hidden">> $lib.exp~
   11562 	  $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~
   11563 	  $rm $lib.exp'
   11564 
   11565 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11566 	hardcode_libdir_separator_CXX=:
   11567 
   11568 	# Commands to make compiler produce verbose output that lists
   11569 	# what "hidden" libraries, object files and flags are used when
   11570 	# linking a shared library.
   11571 	#
   11572 	# There doesn't appear to be a way to prevent this compiler from
   11573 	# explicitly linking system object files so we need to strip them
   11574 	# from the output so that they don't get included in the library
   11575 	# dependencies.
   11576 	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'
   11577 	;;
   11578       *)
   11579 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11580 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11581 	 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'
   11582 
   11583 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11584 	  hardcode_libdir_separator_CXX=:
   11585 
   11586 	  # Commands to make compiler produce verbose output that lists
   11587 	  # what "hidden" libraries, object files and flags are used when
   11588 	  # linking a shared library.
   11589 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11590 
   11591 	else
   11592 	  # FIXME: insert proper C++ library support
   11593 	  ld_shlibs_CXX=no
   11594 	fi
   11595 	;;
   11596     esac
   11597     ;;
   11598   psos*)
   11599     # FIXME: insert proper C++ library support
   11600     ld_shlibs_CXX=no
   11601     ;;
   11602   sunos4*)
   11603     case $cc_basename in
   11604       CC*)
   11605 	# Sun C++ 4.x
   11606 	# FIXME: insert proper C++ library support
   11607 	ld_shlibs_CXX=no
   11608 	;;
   11609       lcc*)
   11610 	# Lucid
   11611 	# FIXME: insert proper C++ library support
   11612 	ld_shlibs_CXX=no
   11613 	;;
   11614       *)
   11615 	# FIXME: insert proper C++ library support
   11616 	ld_shlibs_CXX=no
   11617 	;;
   11618     esac
   11619     ;;
   11620   solaris*)
   11621     case $cc_basename in
   11622       CC*)
   11623 	# Sun C++ 4.2, 5.x and Centerline C++
   11624         archive_cmds_need_lc_CXX=yes
   11625 	no_undefined_flag_CXX=' -zdefs'
   11626 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11627 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11628 	$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'
   11629 
   11630 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11631 	hardcode_shlibpath_var_CXX=no
   11632 	case $host_os in
   11633 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11634 	  *)
   11635 	    # The C++ compiler is used as linker so we must use $wl
   11636 	    # flag to pass the commands to the underlying system
   11637 	    # linker. We must also pass each convience library through
   11638 	    # to the system linker between allextract/defaultextract.
   11639 	    # The C++ compiler will combine linker options so we
   11640 	    # cannot just pass the convience library names through
   11641 	    # without $wl.
   11642 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11643 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
   11644 	    ;;
   11645 	esac
   11646 	link_all_deplibs_CXX=yes
   11647 
   11648 	output_verbose_link_cmd='echo'
   11649 
   11650 	# Archives containing C++ object files must be created using
   11651 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11652 	# necessary to make sure instantiated templates are included
   11653 	# in the archive.
   11654 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11655 	;;
   11656       gcx*)
   11657 	# Green Hills C++ Compiler
   11658 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11659 
   11660 	# The C++ compiler must be used to create the archive.
   11661 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11662 	;;
   11663       *)
   11664 	# GNU C++ compiler with Solaris linker
   11665 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11666 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11667 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11668 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11669 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11670 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11671 
   11672 	    # Commands to make compiler produce verbose output that lists
   11673 	    # what "hidden" libraries, object files and flags are used when
   11674 	    # linking a shared library.
   11675 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11676 	  else
   11677 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11678 	    # platform.
   11679 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11680 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11681 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11682 
   11683 	    # Commands to make compiler produce verbose output that lists
   11684 	    # what "hidden" libraries, object files and flags are used when
   11685 	    # linking a shared library.
   11686 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11687 	  fi
   11688 
   11689 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11690 	fi
   11691 	;;
   11692     esac
   11693     ;;
   11694   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11695     no_undefined_flag_CXX='${wl}-z,text'
   11696     archive_cmds_need_lc_CXX=no
   11697     hardcode_shlibpath_var_CXX=no
   11698     runpath_var='LD_RUN_PATH'
   11699 
   11700     case $cc_basename in
   11701       CC*)
   11702 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11703 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11704 	;;
   11705       *)
   11706 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11707 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11708 	;;
   11709     esac
   11710     ;;
   11711   sysv5* | sco3.2v5* | sco5v6*)
   11712     # Note: We can NOT use -z defs as we might desire, because we do not
   11713     # link with -lc, and that would cause any symbols used from libc to
   11714     # always be unresolved, which means just about no library would
   11715     # ever link correctly.  If we're not using GNU ld we use -z text
   11716     # though, which does catch some bad symbols but isn't as heavy-handed
   11717     # as -z defs.
   11718     # For security reasons, it is highly recommended that you always
   11719     # use absolute paths for naming shared libraries, and exclude the
   11720     # DT_RUNPATH tag from executables and libraries.  But doing so
   11721     # requires that you compile everything twice, which is a pain.
   11722     # So that behaviour is only enabled if SCOABSPATH is set to a
   11723     # non-empty value in the environment.  Most likely only useful for
   11724     # creating official distributions of packages.
   11725     # This is a hack until libtool officially supports absolute path
   11726     # names for shared libraries.
   11727     no_undefined_flag_CXX='${wl}-z,text'
   11728     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11729     archive_cmds_need_lc_CXX=no
   11730     hardcode_shlibpath_var_CXX=no
   11731     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11732     hardcode_libdir_separator_CXX=':'
   11733     link_all_deplibs_CXX=yes
   11734     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11735     runpath_var='LD_RUN_PATH'
   11736 
   11737     case $cc_basename in
   11738       CC*)
   11739 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11740 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11741 	;;
   11742       *)
   11743 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11744 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11745 	;;
   11746     esac
   11747     ;;
   11748   tandem*)
   11749     case $cc_basename in
   11750       NCC*)
   11751 	# NonStop-UX NCC 3.20
   11752 	# FIXME: insert proper C++ library support
   11753 	ld_shlibs_CXX=no
   11754 	;;
   11755       *)
   11756 	# FIXME: insert proper C++ library support
   11757 	ld_shlibs_CXX=no
   11758 	;;
   11759     esac
   11760     ;;
   11761   vxworks*)
   11762     # FIXME: insert proper C++ library support
   11763     ld_shlibs_CXX=no
   11764     ;;
   11765   *)
   11766     # FIXME: insert proper C++ library support
   11767     ld_shlibs_CXX=no
   11768     ;;
   11769 esac
   11770 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11771 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11772 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11773 
   11774 GCC_CXX="$GXX"
   11775 LD_CXX="$LD"
   11776 
   11777 
   11778 cat > conftest.$ac_ext <<EOF
   11779 class Foo
   11780 {
   11781 public:
   11782   Foo (void) { a = 0; }
   11783 private:
   11784   int a;
   11785 };
   11786 EOF
   11787 
   11788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11789   (eval $ac_compile) 2>&5
   11790   ac_status=$?
   11791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11792   (exit $ac_status); }; then
   11793   # Parse the compiler output and extract the necessary
   11794   # objects, libraries and library flags.
   11795 
   11796   # Sentinel used to keep track of whether or not we are before
   11797   # the conftest object file.
   11798   pre_test_object_deps_done=no
   11799 
   11800   # The `*' in the case matches for architectures that use `case' in
   11801   # $output_verbose_cmd can trigger glob expansion during the loop
   11802   # eval without this substitution.
   11803   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11804 
   11805   for p in `eval $output_verbose_link_cmd`; do
   11806     case $p in
   11807 
   11808     -L* | -R* | -l*)
   11809        # Some compilers place space between "-{L,R}" and the path.
   11810        # Remove the space.
   11811        if test $p = "-L" \
   11812 	  || test $p = "-R"; then
   11813 	 prev=$p
   11814 	 continue
   11815        else
   11816 	 prev=
   11817        fi
   11818 
   11819        if test "$pre_test_object_deps_done" = no; then
   11820 	 case $p in
   11821 	 -L* | -R*)
   11822 	   # Internal compiler library paths should come after those
   11823 	   # provided the user.  The postdeps already come after the
   11824 	   # user supplied libs so there is no need to process them.
   11825 	   if test -z "$compiler_lib_search_path_CXX"; then
   11826 	     compiler_lib_search_path_CXX="${prev}${p}"
   11827 	   else
   11828 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11829 	   fi
   11830 	   ;;
   11831 	 # The "-l" case would never come before the object being
   11832 	 # linked, so don't bother handling this case.
   11833 	 esac
   11834        else
   11835 	 if test -z "$postdeps_CXX"; then
   11836 	   postdeps_CXX="${prev}${p}"
   11837 	 else
   11838 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11839 	 fi
   11840        fi
   11841        ;;
   11842 
   11843     *.$objext)
   11844        # This assumes that the test object file only shows up
   11845        # once in the compiler output.
   11846        if test "$p" = "conftest.$objext"; then
   11847 	 pre_test_object_deps_done=yes
   11848 	 continue
   11849        fi
   11850 
   11851        if test "$pre_test_object_deps_done" = no; then
   11852 	 if test -z "$predep_objects_CXX"; then
   11853 	   predep_objects_CXX="$p"
   11854 	 else
   11855 	   predep_objects_CXX="$predep_objects_CXX $p"
   11856 	 fi
   11857        else
   11858 	 if test -z "$postdep_objects_CXX"; then
   11859 	   postdep_objects_CXX="$p"
   11860 	 else
   11861 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11862 	 fi
   11863        fi
   11864        ;;
   11865 
   11866     *) ;; # Ignore the rest.
   11867 
   11868     esac
   11869   done
   11870 
   11871   # Clean up.
   11872   rm -f a.out a.exe
   11873 else
   11874   echo "libtool.m4: error: problem compiling CXX test program"
   11875 fi
   11876 
   11877 $rm -f confest.$objext
   11878 
   11879 # PORTME: override above test on systems where it is broken
   11880 case $host_os in
   11881 interix3*)
   11882   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11883   # hack all around it, let's just trust "g++" to DTRT.
   11884   predep_objects_CXX=
   11885   postdep_objects_CXX=
   11886   postdeps_CXX=
   11887   ;;
   11888 
   11889 solaris*)
   11890   case $cc_basename in
   11891   CC*)
   11892     # Adding this requires a known-good setup of shared libraries for
   11893     # Sun compiler versions before 5.6, else PIC objects from an old
   11894     # archive will be linked into the output, leading to subtle bugs.
   11895     postdeps_CXX='-lCstd -lCrun'
   11896     ;;
   11897   esac
   11898   ;;
   11899 esac
   11900 
   11901 
   11902 case " $postdeps_CXX " in
   11903 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11904 esac
   11905 
   11906 lt_prog_compiler_wl_CXX=
   11907 lt_prog_compiler_pic_CXX=
   11908 lt_prog_compiler_static_CXX=
   11909 
   11910 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11911 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11912 
   11913   # C++ specific cases for pic, static, wl, etc.
   11914   if test "$GXX" = yes; then
   11915     lt_prog_compiler_wl_CXX='-Wl,'
   11916     lt_prog_compiler_static_CXX='-static'
   11917 
   11918     case $host_os in
   11919     aix*)
   11920       # All AIX code is PIC.
   11921       if test "$host_cpu" = ia64; then
   11922 	# AIX 5 now supports IA64 processor
   11923 	lt_prog_compiler_static_CXX='-Bstatic'
   11924       fi
   11925       ;;
   11926     amigaos*)
   11927       # FIXME: we need at least 68020 code to build shared libraries, but
   11928       # adding the `-m68020' flag to GCC prevents building anything better,
   11929       # like `-m68040'.
   11930       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11931       ;;
   11932     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11933       # PIC is the default for these OSes.
   11934       ;;
   11935     mingw* | os2* | pw32*)
   11936       # This hack is so that the source file can tell whether it is being
   11937       # built for inclusion in a dll (and should export symbols for example).
   11938       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11939       ;;
   11940     darwin* | rhapsody*)
   11941       # PIC is the default on this platform
   11942       # Common symbols not allowed in MH_DYLIB files
   11943       lt_prog_compiler_pic_CXX='-fno-common'
   11944       ;;
   11945     *djgpp*)
   11946       # DJGPP does not support shared libraries at all
   11947       lt_prog_compiler_pic_CXX=
   11948       ;;
   11949     interix3*)
   11950       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11951       # Instead, we relocate shared libraries at runtime.
   11952       ;;
   11953     sysv4*MP*)
   11954       if test -d /usr/nec; then
   11955 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11956       fi
   11957       ;;
   11958     hpux*)
   11959       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11960       # not for PA HP-UX.
   11961       case $host_cpu in
   11962       hppa*64*|ia64*)
   11963 	;;
   11964       *)
   11965 	lt_prog_compiler_pic_CXX='-fPIC'
   11966 	;;
   11967       esac
   11968       ;;
   11969     *)
   11970       lt_prog_compiler_pic_CXX='-fPIC'
   11971       ;;
   11972     esac
   11973   else
   11974     case $host_os in
   11975       aix4* | aix5*)
   11976 	# All AIX code is PIC.
   11977 	if test "$host_cpu" = ia64; then
   11978 	  # AIX 5 now supports IA64 processor
   11979 	  lt_prog_compiler_static_CXX='-Bstatic'
   11980 	else
   11981 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   11982 	fi
   11983 	;;
   11984       chorus*)
   11985 	case $cc_basename in
   11986 	cxch68*)
   11987 	  # Green Hills C++ Compiler
   11988 	  # _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"
   11989 	  ;;
   11990 	esac
   11991 	;;
   11992        darwin*)
   11993          # PIC is the default on this platform
   11994          # Common symbols not allowed in MH_DYLIB files
   11995          case $cc_basename in
   11996            xlc*)
   11997            lt_prog_compiler_pic_CXX='-qnocommon'
   11998            lt_prog_compiler_wl_CXX='-Wl,'
   11999            ;;
   12000          esac
   12001        ;;
   12002       dgux*)
   12003 	case $cc_basename in
   12004 	  ec++*)
   12005 	    lt_prog_compiler_pic_CXX='-KPIC'
   12006 	    ;;
   12007 	  ghcx*)
   12008 	    # Green Hills C++ Compiler
   12009 	    lt_prog_compiler_pic_CXX='-pic'
   12010 	    ;;
   12011 	  *)
   12012 	    ;;
   12013 	esac
   12014 	;;
   12015       freebsd* | dragonfly*)
   12016 	# FreeBSD uses GNU C++
   12017 	;;
   12018       hpux9* | hpux10* | hpux11*)
   12019 	case $cc_basename in
   12020 	  CC*)
   12021 	    lt_prog_compiler_wl_CXX='-Wl,'
   12022 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12023 	    if test "$host_cpu" != ia64; then
   12024 	      lt_prog_compiler_pic_CXX='+Z'
   12025 	    fi
   12026 	    ;;
   12027 	  aCC*)
   12028 	    lt_prog_compiler_wl_CXX='-Wl,'
   12029 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12030 	    case $host_cpu in
   12031 	    hppa*64*|ia64*)
   12032 	      # +Z the default
   12033 	      ;;
   12034 	    *)
   12035 	      lt_prog_compiler_pic_CXX='+Z'
   12036 	      ;;
   12037 	    esac
   12038 	    ;;
   12039 	  *)
   12040 	    ;;
   12041 	esac
   12042 	;;
   12043       interix*)
   12044 	# This is c89, which is MS Visual C++ (no shared libs)
   12045 	# Anyone wants to do a port?
   12046 	;;
   12047       irix5* | irix6* | nonstopux*)
   12048 	case $cc_basename in
   12049 	  CC*)
   12050 	    lt_prog_compiler_wl_CXX='-Wl,'
   12051 	    lt_prog_compiler_static_CXX='-non_shared'
   12052 	    # CC pic flag -KPIC is the default.
   12053 	    ;;
   12054 	  *)
   12055 	    ;;
   12056 	esac
   12057 	;;
   12058       linux* | k*bsd*-gnu)
   12059 	case $cc_basename in
   12060 	  KCC*)
   12061 	    # KAI C++ Compiler
   12062 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12063 	    lt_prog_compiler_pic_CXX='-fPIC'
   12064 	    ;;
   12065 	  icpc* | ecpc*)
   12066 	    # Intel C++
   12067 	    lt_prog_compiler_wl_CXX='-Wl,'
   12068 	    lt_prog_compiler_pic_CXX='-KPIC'
   12069 	    lt_prog_compiler_static_CXX='-static'
   12070 	    ;;
   12071 	  pgCC*)
   12072 	    # Portland Group C++ compiler.
   12073 	    lt_prog_compiler_wl_CXX='-Wl,'
   12074 	    lt_prog_compiler_pic_CXX='-fpic'
   12075 	    lt_prog_compiler_static_CXX='-Bstatic'
   12076 	    ;;
   12077 	  cxx*)
   12078 	    # Compaq C++
   12079 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12080 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12081 	    lt_prog_compiler_pic_CXX=
   12082 	    lt_prog_compiler_static_CXX='-non_shared'
   12083 	    ;;
   12084 	  *)
   12085 	    ;;
   12086 	esac
   12087 	;;
   12088       lynxos*)
   12089 	;;
   12090       m88k*)
   12091 	;;
   12092       mvs*)
   12093 	case $cc_basename in
   12094 	  cxx*)
   12095 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12096 	    ;;
   12097 	  *)
   12098 	    ;;
   12099 	esac
   12100 	;;
   12101       netbsd* | netbsdelf*-gnu)
   12102 	;;
   12103       osf3* | osf4* | osf5*)
   12104 	case $cc_basename in
   12105 	  KCC*)
   12106 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12107 	    ;;
   12108 	  RCC*)
   12109 	    # Rational C++ 2.4.1
   12110 	    lt_prog_compiler_pic_CXX='-pic'
   12111 	    ;;
   12112 	  cxx*)
   12113 	    # Digital/Compaq C++
   12114 	    lt_prog_compiler_wl_CXX='-Wl,'
   12115 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12116 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12117 	    lt_prog_compiler_pic_CXX=
   12118 	    lt_prog_compiler_static_CXX='-non_shared'
   12119 	    ;;
   12120 	  *)
   12121 	    ;;
   12122 	esac
   12123 	;;
   12124       psos*)
   12125 	;;
   12126       solaris*)
   12127 	case $cc_basename in
   12128 	  CC*)
   12129 	    # Sun C++ 4.2, 5.x and Centerline C++
   12130 	    lt_prog_compiler_pic_CXX='-KPIC'
   12131 	    lt_prog_compiler_static_CXX='-Bstatic'
   12132 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12133 	    ;;
   12134 	  gcx*)
   12135 	    # Green Hills C++ Compiler
   12136 	    lt_prog_compiler_pic_CXX='-PIC'
   12137 	    ;;
   12138 	  *)
   12139 	    ;;
   12140 	esac
   12141 	;;
   12142       sunos4*)
   12143 	case $cc_basename in
   12144 	  CC*)
   12145 	    # Sun C++ 4.x
   12146 	    lt_prog_compiler_pic_CXX='-pic'
   12147 	    lt_prog_compiler_static_CXX='-Bstatic'
   12148 	    ;;
   12149 	  lcc*)
   12150 	    # Lucid
   12151 	    lt_prog_compiler_pic_CXX='-pic'
   12152 	    ;;
   12153 	  *)
   12154 	    ;;
   12155 	esac
   12156 	;;
   12157       tandem*)
   12158 	case $cc_basename in
   12159 	  NCC*)
   12160 	    # NonStop-UX NCC 3.20
   12161 	    lt_prog_compiler_pic_CXX='-KPIC'
   12162 	    ;;
   12163 	  *)
   12164 	    ;;
   12165 	esac
   12166 	;;
   12167       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12168 	case $cc_basename in
   12169 	  CC*)
   12170 	    lt_prog_compiler_wl_CXX='-Wl,'
   12171 	    lt_prog_compiler_pic_CXX='-KPIC'
   12172 	    lt_prog_compiler_static_CXX='-Bstatic'
   12173 	    ;;
   12174 	esac
   12175 	;;
   12176       vxworks*)
   12177 	;;
   12178       *)
   12179 	lt_prog_compiler_can_build_shared_CXX=no
   12180 	;;
   12181     esac
   12182   fi
   12183 
   12184 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12185 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12186 
   12187 #
   12188 # Check to make sure the PIC flag actually works.
   12189 #
   12190 if test -n "$lt_prog_compiler_pic_CXX"; then
   12191 
   12192 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12193 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12194 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12195   echo $ECHO_N "(cached) $ECHO_C" >&6
   12196 else
   12197   lt_prog_compiler_pic_works_CXX=no
   12198   ac_outfile=conftest.$ac_objext
   12199    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12200    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12201    # Insert the option either (1) after the last *FLAGS variable, or
   12202    # (2) before a word containing "conftest.", or (3) at the end.
   12203    # Note that $ac_compile itself does not contain backslashes and begins
   12204    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12205    # The option is referenced via a variable to avoid confusing sed.
   12206    lt_compile=`echo "$ac_compile" | $SED \
   12207    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12208    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12209    -e 's:$: $lt_compiler_flag:'`
   12210    (eval echo "\"\$as_me:12210: $lt_compile\"" >&5)
   12211    (eval "$lt_compile" 2>conftest.err)
   12212    ac_status=$?
   12213    cat conftest.err >&5
   12214    echo "$as_me:12214: \$? = $ac_status" >&5
   12215    if (exit $ac_status) && test -s "$ac_outfile"; then
   12216      # The compiler can only warn and ignore the option if not recognized
   12217      # So say no if there are warnings other than the usual output.
   12218      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12219      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12220      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12221        lt_prog_compiler_pic_works_CXX=yes
   12222      fi
   12223    fi
   12224    $rm conftest*
   12225 
   12226 fi
   12227 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12228 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12229 
   12230 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12231     case $lt_prog_compiler_pic_CXX in
   12232      "" | " "*) ;;
   12233      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12234      esac
   12235 else
   12236     lt_prog_compiler_pic_CXX=
   12237      lt_prog_compiler_can_build_shared_CXX=no
   12238 fi
   12239 
   12240 fi
   12241 case $host_os in
   12242   # For platforms which do not support PIC, -DPIC is meaningless:
   12243   *djgpp*)
   12244     lt_prog_compiler_pic_CXX=
   12245     ;;
   12246   *)
   12247     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12248     ;;
   12249 esac
   12250 
   12251 #
   12252 # Check to make sure the static flag actually works.
   12253 #
   12254 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12255 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12256 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12257 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12258   echo $ECHO_N "(cached) $ECHO_C" >&6
   12259 else
   12260   lt_prog_compiler_static_works_CXX=no
   12261    save_LDFLAGS="$LDFLAGS"
   12262    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12263    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12264    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12265      # The linker can only warn and ignore the option if not recognized
   12266      # So say no if there are warnings
   12267      if test -s conftest.err; then
   12268        # Append any errors to the config.log.
   12269        cat conftest.err 1>&5
   12270        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12271        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12272        if diff conftest.exp conftest.er2 >/dev/null; then
   12273          lt_prog_compiler_static_works_CXX=yes
   12274        fi
   12275      else
   12276        lt_prog_compiler_static_works_CXX=yes
   12277      fi
   12278    fi
   12279    $rm conftest*
   12280    LDFLAGS="$save_LDFLAGS"
   12281 
   12282 fi
   12283 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12284 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12285 
   12286 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12287     :
   12288 else
   12289     lt_prog_compiler_static_CXX=
   12290 fi
   12291 
   12292 
   12293 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12294 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12295 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12296   echo $ECHO_N "(cached) $ECHO_C" >&6
   12297 else
   12298   lt_cv_prog_compiler_c_o_CXX=no
   12299    $rm -r conftest 2>/dev/null
   12300    mkdir conftest
   12301    cd conftest
   12302    mkdir out
   12303    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12304 
   12305    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12306    # Insert the option either (1) after the last *FLAGS variable, or
   12307    # (2) before a word containing "conftest.", or (3) at the end.
   12308    # Note that $ac_compile itself does not contain backslashes and begins
   12309    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12310    lt_compile=`echo "$ac_compile" | $SED \
   12311    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12312    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12313    -e 's:$: $lt_compiler_flag:'`
   12314    (eval echo "\"\$as_me:12314: $lt_compile\"" >&5)
   12315    (eval "$lt_compile" 2>out/conftest.err)
   12316    ac_status=$?
   12317    cat out/conftest.err >&5
   12318    echo "$as_me:12318: \$? = $ac_status" >&5
   12319    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12320    then
   12321      # The compiler can only warn and ignore the option if not recognized
   12322      # So say no if there are warnings
   12323      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12324      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12325      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12326        lt_cv_prog_compiler_c_o_CXX=yes
   12327      fi
   12328    fi
   12329    chmod u+w . 2>&5
   12330    $rm conftest*
   12331    # SGI C++ compiler will create directory out/ii_files/ for
   12332    # template instantiation
   12333    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12334    $rm out/* && rmdir out
   12335    cd ..
   12336    rmdir conftest
   12337    $rm conftest*
   12338 
   12339 fi
   12340 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12341 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12342 
   12343 
   12344 hard_links="nottested"
   12345 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12346   # do not overwrite the value of need_locks provided by the user
   12347   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12348 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12349   hard_links=yes
   12350   $rm conftest*
   12351   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12352   touch conftest.a
   12353   ln conftest.a conftest.b 2>&5 || hard_links=no
   12354   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12355   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12356 echo "${ECHO_T}$hard_links" >&6; }
   12357   if test "$hard_links" = no; then
   12358     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12359 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12360     need_locks=warn
   12361   fi
   12362 else
   12363   need_locks=no
   12364 fi
   12365 
   12366 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12367 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12368 
   12369   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12370   case $host_os in
   12371   aix4* | aix5*)
   12372     # If we're using GNU nm, then we don't want the "-C" option.
   12373     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12374     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12375       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'
   12376     else
   12377       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'
   12378     fi
   12379     ;;
   12380   pw32*)
   12381     export_symbols_cmds_CXX="$ltdll_cmds"
   12382   ;;
   12383   cygwin* | mingw*)
   12384     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'
   12385   ;;
   12386   linux* | k*bsd*-gnu)
   12387     link_all_deplibs_CXX=no
   12388   ;;
   12389   *)
   12390     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12391   ;;
   12392   esac
   12393 
   12394 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12395 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12396 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12397 
   12398 #
   12399 # Do we need to explicitly link libc?
   12400 #
   12401 case "x$archive_cmds_need_lc_CXX" in
   12402 x|xyes)
   12403   # Assume -lc should be added
   12404   archive_cmds_need_lc_CXX=yes
   12405 
   12406   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12407     case $archive_cmds_CXX in
   12408     *'~'*)
   12409       # FIXME: we may have to deal with multi-command sequences.
   12410       ;;
   12411     '$CC '*)
   12412       # Test whether the compiler implicitly links with -lc since on some
   12413       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12414       # to ld, don't add -lc before -lgcc.
   12415       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12416 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12417       $rm conftest*
   12418       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12419 
   12420       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12421   (eval $ac_compile) 2>&5
   12422   ac_status=$?
   12423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12424   (exit $ac_status); } 2>conftest.err; then
   12425         soname=conftest
   12426         lib=conftest
   12427         libobjs=conftest.$ac_objext
   12428         deplibs=
   12429         wl=$lt_prog_compiler_wl_CXX
   12430 	pic_flag=$lt_prog_compiler_pic_CXX
   12431         compiler_flags=-v
   12432         linker_flags=-v
   12433         verstring=
   12434         output_objdir=.
   12435         libname=conftest
   12436         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12437         allow_undefined_flag_CXX=
   12438         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12439   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12440   ac_status=$?
   12441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12442   (exit $ac_status); }
   12443         then
   12444 	  archive_cmds_need_lc_CXX=no
   12445         else
   12446 	  archive_cmds_need_lc_CXX=yes
   12447         fi
   12448         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12449       else
   12450         cat conftest.err 1>&5
   12451       fi
   12452       $rm conftest*
   12453       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12454 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12455       ;;
   12456     esac
   12457   fi
   12458   ;;
   12459 esac
   12460 
   12461 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12462 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12463 library_names_spec=
   12464 libname_spec='lib$name'
   12465 soname_spec=
   12466 shrext_cmds=".so"
   12467 postinstall_cmds=
   12468 postuninstall_cmds=
   12469 finish_cmds=
   12470 finish_eval=
   12471 shlibpath_var=
   12472 shlibpath_overrides_runpath=unknown
   12473 version_type=none
   12474 dynamic_linker="$host_os ld.so"
   12475 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12476 if test "$GCC" = yes; then
   12477   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12478   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12479     # if the path contains ";" then we assume it to be the separator
   12480     # otherwise default to the standard path separator (i.e. ":") - it is
   12481     # assumed that no part of a normal pathname contains ";" but that should
   12482     # okay in the real world where ";" in dirpaths is itself problematic.
   12483     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12484   else
   12485     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12486   fi
   12487 else
   12488   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12489 fi
   12490 need_lib_prefix=unknown
   12491 hardcode_into_libs=no
   12492 
   12493 # when you set need_version to no, make sure it does not cause -set_version
   12494 # flags to be left without arguments
   12495 need_version=unknown
   12496 
   12497 case $host_os in
   12498 aix3*)
   12499   version_type=linux
   12500   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12501   shlibpath_var=LIBPATH
   12502 
   12503   # AIX 3 has no versioning support, so we append a major version to the name.
   12504   soname_spec='${libname}${release}${shared_ext}$major'
   12505   ;;
   12506 
   12507 aix4* | aix5*)
   12508   version_type=linux
   12509   need_lib_prefix=no
   12510   need_version=no
   12511   hardcode_into_libs=yes
   12512   if test "$host_cpu" = ia64; then
   12513     # AIX 5 supports IA64
   12514     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12515     shlibpath_var=LD_LIBRARY_PATH
   12516   else
   12517     # With GCC up to 2.95.x, collect2 would create an import file
   12518     # for dependence libraries.  The import file would start with
   12519     # the line `#! .'.  This would cause the generated library to
   12520     # depend on `.', always an invalid library.  This was fixed in
   12521     # development snapshots of GCC prior to 3.0.
   12522     case $host_os in
   12523       aix4 | aix4.[01] | aix4.[01].*)
   12524       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12525 	   echo ' yes '
   12526 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12527 	:
   12528       else
   12529 	can_build_shared=no
   12530       fi
   12531       ;;
   12532     esac
   12533     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12534     # soname into executable. Probably we can add versioning support to
   12535     # collect2, so additional links can be useful in future.
   12536     if test "$aix_use_runtimelinking" = yes; then
   12537       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12538       # instead of lib<name>.a to let people know that these are not
   12539       # typical AIX shared libraries.
   12540       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12541     else
   12542       # We preserve .a as extension for shared libraries through AIX4.2
   12543       # and later when we are not doing run time linking.
   12544       library_names_spec='${libname}${release}.a $libname.a'
   12545       soname_spec='${libname}${release}${shared_ext}$major'
   12546     fi
   12547     shlibpath_var=LIBPATH
   12548   fi
   12549   ;;
   12550 
   12551 amigaos*)
   12552   library_names_spec='$libname.ixlibrary $libname.a'
   12553   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12554   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'
   12555   ;;
   12556 
   12557 beos*)
   12558   library_names_spec='${libname}${shared_ext}'
   12559   dynamic_linker="$host_os ld.so"
   12560   shlibpath_var=LIBRARY_PATH
   12561   ;;
   12562 
   12563 bsdi[45]*)
   12564   version_type=linux
   12565   need_version=no
   12566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12567   soname_spec='${libname}${release}${shared_ext}$major'
   12568   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12569   shlibpath_var=LD_LIBRARY_PATH
   12570   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12571   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12572   # the default ld.so.conf also contains /usr/contrib/lib and
   12573   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12574   # libtool to hard-code these into programs
   12575   ;;
   12576 
   12577 cygwin* | mingw* | pw32*)
   12578   version_type=windows
   12579   shrext_cmds=".dll"
   12580   need_version=no
   12581   need_lib_prefix=no
   12582 
   12583   case $GCC,$host_os in
   12584   yes,cygwin* | yes,mingw* | yes,pw32*)
   12585     library_names_spec='$libname.dll.a'
   12586     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12587     postinstall_cmds='base_file=`basename \${file}`~
   12588       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12589       dldir=$destdir/`dirname \$dlpath`~
   12590       test -d \$dldir || mkdir -p \$dldir~
   12591       $install_prog $dir/$dlname \$dldir/$dlname~
   12592       chmod a+x \$dldir/$dlname'
   12593     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12594       dlpath=$dir/\$dldll~
   12595        $rm \$dlpath'
   12596     shlibpath_overrides_runpath=yes
   12597 
   12598     case $host_os in
   12599     cygwin*)
   12600       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12601       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12602       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12603       ;;
   12604     mingw*)
   12605       # MinGW DLLs use traditional 'lib' prefix
   12606       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12607       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12608       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12609         # It is most probably a Windows format PATH printed by
   12610         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12611         # path with ; separators, and with drive letters. We can handle the
   12612         # drive letters (cygwin fileutils understands them), so leave them,
   12613         # especially as we might pass files found there to a mingw objdump,
   12614         # which wouldn't understand a cygwinified path. Ahh.
   12615         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12616       else
   12617         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12618       fi
   12619       ;;
   12620     pw32*)
   12621       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12622       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12623       ;;
   12624     esac
   12625     ;;
   12626 
   12627   *)
   12628     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12629     ;;
   12630   esac
   12631   dynamic_linker='Win32 ld.exe'
   12632   # FIXME: first we should search . and the directory the executable is in
   12633   shlibpath_var=PATH
   12634   ;;
   12635 
   12636 darwin* | rhapsody*)
   12637   dynamic_linker="$host_os dyld"
   12638   version_type=darwin
   12639   need_lib_prefix=no
   12640   need_version=no
   12641   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12642   soname_spec='${libname}${release}${major}$shared_ext'
   12643   shlibpath_overrides_runpath=yes
   12644   shlibpath_var=DYLD_LIBRARY_PATH
   12645   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12646   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12647   if test "$GCC" = yes; then
   12648     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   12649   else
   12650     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12651   fi
   12652   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12653   ;;
   12654 
   12655 dgux*)
   12656   version_type=linux
   12657   need_lib_prefix=no
   12658   need_version=no
   12659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12660   soname_spec='${libname}${release}${shared_ext}$major'
   12661   shlibpath_var=LD_LIBRARY_PATH
   12662   ;;
   12663 
   12664 freebsd1*)
   12665   dynamic_linker=no
   12666   ;;
   12667 
   12668 freebsd* | dragonfly*)
   12669   # DragonFly does not have aout.  When/if they implement a new
   12670   # versioning mechanism, adjust this.
   12671   if test -x /usr/bin/objformat; then
   12672     objformat=`/usr/bin/objformat`
   12673   else
   12674     case $host_os in
   12675     freebsd[123]*) objformat=aout ;;
   12676     *) objformat=elf ;;
   12677     esac
   12678   fi
   12679   version_type=freebsd-$objformat
   12680   case $version_type in
   12681     freebsd-elf*)
   12682       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12683       need_version=no
   12684       need_lib_prefix=no
   12685       ;;
   12686     freebsd-*)
   12687       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12688       need_version=yes
   12689       ;;
   12690   esac
   12691   shlibpath_var=LD_LIBRARY_PATH
   12692   case $host_os in
   12693   freebsd2*)
   12694     shlibpath_overrides_runpath=yes
   12695     ;;
   12696   freebsd3.[01]* | freebsdelf3.[01]*)
   12697     shlibpath_overrides_runpath=yes
   12698     hardcode_into_libs=yes
   12699     ;;
   12700   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12701   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12702     shlibpath_overrides_runpath=no
   12703     hardcode_into_libs=yes
   12704     ;;
   12705   freebsd*) # from 4.6 on
   12706     shlibpath_overrides_runpath=yes
   12707     hardcode_into_libs=yes
   12708     ;;
   12709   esac
   12710   ;;
   12711 
   12712 gnu*)
   12713   version_type=linux
   12714   need_lib_prefix=no
   12715   need_version=no
   12716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12717   soname_spec='${libname}${release}${shared_ext}$major'
   12718   shlibpath_var=LD_LIBRARY_PATH
   12719   hardcode_into_libs=yes
   12720   ;;
   12721 
   12722 hpux9* | hpux10* | hpux11*)
   12723   # Give a soname corresponding to the major version so that dld.sl refuses to
   12724   # link against other versions.
   12725   version_type=sunos
   12726   need_lib_prefix=no
   12727   need_version=no
   12728   case $host_cpu in
   12729   ia64*)
   12730     shrext_cmds='.so'
   12731     hardcode_into_libs=yes
   12732     dynamic_linker="$host_os dld.so"
   12733     shlibpath_var=LD_LIBRARY_PATH
   12734     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12735     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12736     soname_spec='${libname}${release}${shared_ext}$major'
   12737     if test "X$HPUX_IA64_MODE" = X32; then
   12738       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12739     else
   12740       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12741     fi
   12742     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12743     ;;
   12744    hppa*64*)
   12745      shrext_cmds='.sl'
   12746      hardcode_into_libs=yes
   12747      dynamic_linker="$host_os dld.sl"
   12748      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12749      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12750      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12751      soname_spec='${libname}${release}${shared_ext}$major'
   12752      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12753      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12754      ;;
   12755    *)
   12756     shrext_cmds='.sl'
   12757     dynamic_linker="$host_os dld.sl"
   12758     shlibpath_var=SHLIB_PATH
   12759     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12760     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12761     soname_spec='${libname}${release}${shared_ext}$major'
   12762     ;;
   12763   esac
   12764   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12765   postinstall_cmds='chmod 555 $lib'
   12766   ;;
   12767 
   12768 interix3*)
   12769   version_type=linux
   12770   need_lib_prefix=no
   12771   need_version=no
   12772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12773   soname_spec='${libname}${release}${shared_ext}$major'
   12774   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12775   shlibpath_var=LD_LIBRARY_PATH
   12776   shlibpath_overrides_runpath=no
   12777   hardcode_into_libs=yes
   12778   ;;
   12779 
   12780 irix5* | irix6* | nonstopux*)
   12781   case $host_os in
   12782     nonstopux*) version_type=nonstopux ;;
   12783     *)
   12784 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12785 		version_type=linux
   12786 	else
   12787 		version_type=irix
   12788 	fi ;;
   12789   esac
   12790   need_lib_prefix=no
   12791   need_version=no
   12792   soname_spec='${libname}${release}${shared_ext}$major'
   12793   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12794   case $host_os in
   12795   irix5* | nonstopux*)
   12796     libsuff= shlibsuff=
   12797     ;;
   12798   *)
   12799     case $LD in # libtool.m4 will add one of these switches to LD
   12800     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12801       libsuff= shlibsuff= libmagic=32-bit;;
   12802     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12803       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12804     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12805       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12806     *) libsuff= shlibsuff= libmagic=never-match;;
   12807     esac
   12808     ;;
   12809   esac
   12810   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12811   shlibpath_overrides_runpath=no
   12812   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12813   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12814   hardcode_into_libs=yes
   12815   ;;
   12816 
   12817 # No shared lib support for Linux oldld, aout, or coff.
   12818 linux*oldld* | linux*aout* | linux*coff*)
   12819   dynamic_linker=no
   12820   ;;
   12821 
   12822 # This must be Linux ELF.
   12823 linux* | k*bsd*-gnu)
   12824   version_type=linux
   12825   need_lib_prefix=no
   12826   need_version=no
   12827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12828   soname_spec='${libname}${release}${shared_ext}$major'
   12829   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12830   shlibpath_var=LD_LIBRARY_PATH
   12831   shlibpath_overrides_runpath=no
   12832   # This implies no fast_install, which is unacceptable.
   12833   # Some rework will be needed to allow for fast_install
   12834   # before this can be enabled.
   12835   hardcode_into_libs=yes
   12836 
   12837   # Append ld.so.conf contents to the search path
   12838   if test -f /etc/ld.so.conf; then
   12839     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   12840     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12841   fi
   12842 
   12843   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12844   # powerpc, because MkLinux only supported shared libraries with the
   12845   # GNU dynamic linker.  Since this was broken with cross compilers,
   12846   # most powerpc-linux boxes support dynamic linking these days and
   12847   # people can always --disable-shared, the test was removed, and we
   12848   # assume the GNU/Linux dynamic linker is in use.
   12849   dynamic_linker='GNU/Linux ld.so'
   12850   ;;
   12851 
   12852 netbsdelf*-gnu)
   12853   version_type=linux
   12854   need_lib_prefix=no
   12855   need_version=no
   12856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12857   soname_spec='${libname}${release}${shared_ext}$major'
   12858   shlibpath_var=LD_LIBRARY_PATH
   12859   shlibpath_overrides_runpath=no
   12860   hardcode_into_libs=yes
   12861   dynamic_linker='NetBSD ld.elf_so'
   12862   ;;
   12863 
   12864 netbsd*)
   12865   version_type=sunos
   12866   need_lib_prefix=no
   12867   need_version=no
   12868   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12869     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12870     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12871     dynamic_linker='NetBSD (a.out) ld.so'
   12872   else
   12873     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12874     soname_spec='${libname}${release}${shared_ext}$major'
   12875     dynamic_linker='NetBSD ld.elf_so'
   12876   fi
   12877   shlibpath_var=LD_LIBRARY_PATH
   12878   shlibpath_overrides_runpath=yes
   12879   hardcode_into_libs=yes
   12880   ;;
   12881 
   12882 newsos6)
   12883   version_type=linux
   12884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12885   shlibpath_var=LD_LIBRARY_PATH
   12886   shlibpath_overrides_runpath=yes
   12887   ;;
   12888 
   12889 nto-qnx*)
   12890   version_type=linux
   12891   need_lib_prefix=no
   12892   need_version=no
   12893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12894   soname_spec='${libname}${release}${shared_ext}$major'
   12895   shlibpath_var=LD_LIBRARY_PATH
   12896   shlibpath_overrides_runpath=yes
   12897   ;;
   12898 
   12899 openbsd*)
   12900   version_type=sunos
   12901   sys_lib_dlsearch_path_spec="/usr/lib"
   12902   need_lib_prefix=no
   12903   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12904   case $host_os in
   12905     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12906     *)                         need_version=no  ;;
   12907   esac
   12908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12909   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12910   shlibpath_var=LD_LIBRARY_PATH
   12911   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12912     case $host_os in
   12913       openbsd2.[89] | openbsd2.[89].*)
   12914 	shlibpath_overrides_runpath=no
   12915 	;;
   12916       *)
   12917 	shlibpath_overrides_runpath=yes
   12918 	;;
   12919       esac
   12920   else
   12921     shlibpath_overrides_runpath=yes
   12922   fi
   12923   ;;
   12924 
   12925 os2*)
   12926   libname_spec='$name'
   12927   shrext_cmds=".dll"
   12928   need_lib_prefix=no
   12929   library_names_spec='$libname${shared_ext} $libname.a'
   12930   dynamic_linker='OS/2 ld.exe'
   12931   shlibpath_var=LIBPATH
   12932   ;;
   12933 
   12934 osf3* | osf4* | osf5*)
   12935   version_type=osf
   12936   need_lib_prefix=no
   12937   need_version=no
   12938   soname_spec='${libname}${release}${shared_ext}$major'
   12939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12940   shlibpath_var=LD_LIBRARY_PATH
   12941   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12942   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12943   ;;
   12944 
   12945 solaris*)
   12946   version_type=linux
   12947   need_lib_prefix=no
   12948   need_version=no
   12949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12950   soname_spec='${libname}${release}${shared_ext}$major'
   12951   shlibpath_var=LD_LIBRARY_PATH
   12952   shlibpath_overrides_runpath=yes
   12953   hardcode_into_libs=yes
   12954   # ldd complains unless libraries are executable
   12955   postinstall_cmds='chmod +x $lib'
   12956   ;;
   12957 
   12958 sunos4*)
   12959   version_type=sunos
   12960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12961   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12962   shlibpath_var=LD_LIBRARY_PATH
   12963   shlibpath_overrides_runpath=yes
   12964   if test "$with_gnu_ld" = yes; then
   12965     need_lib_prefix=no
   12966   fi
   12967   need_version=yes
   12968   ;;
   12969 
   12970 sysv4 | sysv4.3*)
   12971   version_type=linux
   12972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12973   soname_spec='${libname}${release}${shared_ext}$major'
   12974   shlibpath_var=LD_LIBRARY_PATH
   12975   case $host_vendor in
   12976     sni)
   12977       shlibpath_overrides_runpath=no
   12978       need_lib_prefix=no
   12979       export_dynamic_flag_spec='${wl}-Blargedynsym'
   12980       runpath_var=LD_RUN_PATH
   12981       ;;
   12982     siemens)
   12983       need_lib_prefix=no
   12984       ;;
   12985     motorola)
   12986       need_lib_prefix=no
   12987       need_version=no
   12988       shlibpath_overrides_runpath=no
   12989       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12990       ;;
   12991   esac
   12992   ;;
   12993 
   12994 sysv4*MP*)
   12995   if test -d /usr/nec ;then
   12996     version_type=linux
   12997     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12998     soname_spec='$libname${shared_ext}.$major'
   12999     shlibpath_var=LD_LIBRARY_PATH
   13000   fi
   13001   ;;
   13002 
   13003 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13004   version_type=freebsd-elf
   13005   need_lib_prefix=no
   13006   need_version=no
   13007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13008   soname_spec='${libname}${release}${shared_ext}$major'
   13009   shlibpath_var=LD_LIBRARY_PATH
   13010   hardcode_into_libs=yes
   13011   if test "$with_gnu_ld" = yes; then
   13012     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13013     shlibpath_overrides_runpath=no
   13014   else
   13015     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13016     shlibpath_overrides_runpath=yes
   13017     case $host_os in
   13018       sco3.2v5*)
   13019         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13020 	;;
   13021     esac
   13022   fi
   13023   sys_lib_dlsearch_path_spec='/usr/lib'
   13024   ;;
   13025 
   13026 uts4*)
   13027   version_type=linux
   13028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13029   soname_spec='${libname}${release}${shared_ext}$major'
   13030   shlibpath_var=LD_LIBRARY_PATH
   13031   ;;
   13032 
   13033 *)
   13034   dynamic_linker=no
   13035   ;;
   13036 esac
   13037 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13038 echo "${ECHO_T}$dynamic_linker" >&6; }
   13039 test "$dynamic_linker" = no && can_build_shared=no
   13040 
   13041 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13042 if test "$GCC" = yes; then
   13043   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13044 fi
   13045 
   13046 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13047 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13048 hardcode_action_CXX=
   13049 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13050    test -n "$runpath_var_CXX" || \
   13051    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13052 
   13053   # We can hardcode non-existant directories.
   13054   if test "$hardcode_direct_CXX" != no &&
   13055      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13056      # have to relink, otherwise we might link with an installed library
   13057      # when we should be linking with a yet-to-be-installed one
   13058      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13059      test "$hardcode_minus_L_CXX" != no; then
   13060     # Linking always hardcodes the temporary library directory.
   13061     hardcode_action_CXX=relink
   13062   else
   13063     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13064     hardcode_action_CXX=immediate
   13065   fi
   13066 else
   13067   # We cannot hardcode anything, or else we can only hardcode existing
   13068   # directories.
   13069   hardcode_action_CXX=unsupported
   13070 fi
   13071 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13072 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13073 
   13074 if test "$hardcode_action_CXX" = relink; then
   13075   # Fast installation is not supported
   13076   enable_fast_install=no
   13077 elif test "$shlibpath_overrides_runpath" = yes ||
   13078      test "$enable_shared" = no; then
   13079   # Fast installation is not necessary
   13080   enable_fast_install=needless
   13081 fi
   13082 
   13083 
   13084 # The else clause should only fire when bootstrapping the
   13085 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13086 # with your package, and you will get complaints that there are
   13087 # no rules to generate ltmain.sh.
   13088 if test -f "$ltmain"; then
   13089   # See if we are running on zsh, and set the options which allow our commands through
   13090   # without removal of \ escapes.
   13091   if test -n "${ZSH_VERSION+set}" ; then
   13092     setopt NO_GLOB_SUBST
   13093   fi
   13094   # Now quote all the things that may contain metacharacters while being
   13095   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13096   # variables and quote the copies for generation of the libtool script.
   13097   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13098     SED SHELL STRIP \
   13099     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13100     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13101     deplibs_check_method reload_flag reload_cmds need_locks \
   13102     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13103     lt_cv_sys_global_symbol_to_c_name_address \
   13104     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13105     old_postinstall_cmds old_postuninstall_cmds \
   13106     compiler_CXX \
   13107     CC_CXX \
   13108     LD_CXX \
   13109     lt_prog_compiler_wl_CXX \
   13110     lt_prog_compiler_pic_CXX \
   13111     lt_prog_compiler_static_CXX \
   13112     lt_prog_compiler_no_builtin_flag_CXX \
   13113     export_dynamic_flag_spec_CXX \
   13114     thread_safe_flag_spec_CXX \
   13115     whole_archive_flag_spec_CXX \
   13116     enable_shared_with_static_runtimes_CXX \
   13117     old_archive_cmds_CXX \
   13118     old_archive_from_new_cmds_CXX \
   13119     predep_objects_CXX \
   13120     postdep_objects_CXX \
   13121     predeps_CXX \
   13122     postdeps_CXX \
   13123     compiler_lib_search_path_CXX \
   13124     archive_cmds_CXX \
   13125     archive_expsym_cmds_CXX \
   13126     postinstall_cmds_CXX \
   13127     postuninstall_cmds_CXX \
   13128     old_archive_from_expsyms_cmds_CXX \
   13129     allow_undefined_flag_CXX \
   13130     no_undefined_flag_CXX \
   13131     export_symbols_cmds_CXX \
   13132     hardcode_libdir_flag_spec_CXX \
   13133     hardcode_libdir_flag_spec_ld_CXX \
   13134     hardcode_libdir_separator_CXX \
   13135     hardcode_automatic_CXX \
   13136     module_cmds_CXX \
   13137     module_expsym_cmds_CXX \
   13138     lt_cv_prog_compiler_c_o_CXX \
   13139     exclude_expsyms_CXX \
   13140     include_expsyms_CXX; do
   13141 
   13142     case $var in
   13143     old_archive_cmds_CXX | \
   13144     old_archive_from_new_cmds_CXX | \
   13145     archive_cmds_CXX | \
   13146     archive_expsym_cmds_CXX | \
   13147     module_cmds_CXX | \
   13148     module_expsym_cmds_CXX | \
   13149     old_archive_from_expsyms_cmds_CXX | \
   13150     export_symbols_cmds_CXX | \
   13151     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13152     postinstall_cmds | postuninstall_cmds | \
   13153     old_postinstall_cmds | old_postuninstall_cmds | \
   13154     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13155       # Double-quote double-evaled strings.
   13156       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13157       ;;
   13158     *)
   13159       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13160       ;;
   13161     esac
   13162   done
   13163 
   13164   case $lt_echo in
   13165   *'\$0 --fallback-echo"')
   13166     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13167     ;;
   13168   esac
   13169 
   13170 cfgfile="$ofile"
   13171 
   13172   cat <<__EOF__ >> "$cfgfile"
   13173 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13174 
   13175 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13176 
   13177 # Shell to use when invoking shell scripts.
   13178 SHELL=$lt_SHELL
   13179 
   13180 # Whether or not to build shared libraries.
   13181 build_libtool_libs=$enable_shared
   13182 
   13183 # Whether or not to build static libraries.
   13184 build_old_libs=$enable_static
   13185 
   13186 # Whether or not to add -lc for building shared libraries.
   13187 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13188 
   13189 # Whether or not to disallow shared libs when runtime libs are static
   13190 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13191 
   13192 # Whether or not to optimize for fast installation.
   13193 fast_install=$enable_fast_install
   13194 
   13195 # The host system.
   13196 host_alias=$host_alias
   13197 host=$host
   13198 host_os=$host_os
   13199 
   13200 # The build system.
   13201 build_alias=$build_alias
   13202 build=$build
   13203 build_os=$build_os
   13204 
   13205 # An echo program that does not interpret backslashes.
   13206 echo=$lt_echo
   13207 
   13208 # The archiver.
   13209 AR=$lt_AR
   13210 AR_FLAGS=$lt_AR_FLAGS
   13211 
   13212 # A C compiler.
   13213 LTCC=$lt_LTCC
   13214 
   13215 # LTCC compiler flags.
   13216 LTCFLAGS=$lt_LTCFLAGS
   13217 
   13218 # A language-specific compiler.
   13219 CC=$lt_compiler_CXX
   13220 
   13221 # Is the compiler the GNU C compiler?
   13222 with_gcc=$GCC_CXX
   13223 
   13224 # An ERE matcher.
   13225 EGREP=$lt_EGREP
   13226 
   13227 # The linker used to build libraries.
   13228 LD=$lt_LD_CXX
   13229 
   13230 # Whether we need hard or soft links.
   13231 LN_S=$lt_LN_S
   13232 
   13233 # A BSD-compatible nm program.
   13234 NM=$lt_NM
   13235 
   13236 # A symbol stripping program
   13237 STRIP=$lt_STRIP
   13238 
   13239 # Used to examine libraries when file_magic_cmd begins "file"
   13240 MAGIC_CMD=$MAGIC_CMD
   13241 
   13242 # Used on cygwin: DLL creation program.
   13243 DLLTOOL="$DLLTOOL"
   13244 
   13245 # Used on cygwin: object dumper.
   13246 OBJDUMP="$OBJDUMP"
   13247 
   13248 # Used on cygwin: assembler.
   13249 AS="$AS"
   13250 
   13251 # The name of the directory that contains temporary libtool files.
   13252 objdir=$objdir
   13253 
   13254 # How to create reloadable object files.
   13255 reload_flag=$lt_reload_flag
   13256 reload_cmds=$lt_reload_cmds
   13257 
   13258 # How to pass a linker flag through the compiler.
   13259 wl=$lt_lt_prog_compiler_wl_CXX
   13260 
   13261 # Object file suffix (normally "o").
   13262 objext="$ac_objext"
   13263 
   13264 # Old archive suffix (normally "a").
   13265 libext="$libext"
   13266 
   13267 # Shared library suffix (normally ".so").
   13268 shrext_cmds='$shrext_cmds'
   13269 
   13270 # Executable file suffix (normally "").
   13271 exeext="$exeext"
   13272 
   13273 # Additional compiler flags for building library objects.
   13274 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13275 pic_mode=$pic_mode
   13276 
   13277 # What is the maximum length of a command?
   13278 max_cmd_len=$lt_cv_sys_max_cmd_len
   13279 
   13280 # Does compiler simultaneously support -c and -o options?
   13281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13282 
   13283 # Must we lock files when doing compilation?
   13284 need_locks=$lt_need_locks
   13285 
   13286 # Do we need the lib prefix for modules?
   13287 need_lib_prefix=$need_lib_prefix
   13288 
   13289 # Do we need a version for libraries?
   13290 need_version=$need_version
   13291 
   13292 # Whether dlopen is supported.
   13293 dlopen_support=$enable_dlopen
   13294 
   13295 # Whether dlopen of programs is supported.
   13296 dlopen_self=$enable_dlopen_self
   13297 
   13298 # Whether dlopen of statically linked programs is supported.
   13299 dlopen_self_static=$enable_dlopen_self_static
   13300 
   13301 # Compiler flag to prevent dynamic linking.
   13302 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13303 
   13304 # Compiler flag to turn off builtin functions.
   13305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13306 
   13307 # Compiler flag to allow reflexive dlopens.
   13308 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13309 
   13310 # Compiler flag to generate shared objects directly from archives.
   13311 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13312 
   13313 # Compiler flag to generate thread-safe objects.
   13314 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13315 
   13316 # Library versioning type.
   13317 version_type=$version_type
   13318 
   13319 # Format of library name prefix.
   13320 libname_spec=$lt_libname_spec
   13321 
   13322 # List of archive names.  First name is the real one, the rest are links.
   13323 # The last name is the one that the linker finds with -lNAME.
   13324 library_names_spec=$lt_library_names_spec
   13325 
   13326 # The coded name of the library, if different from the real name.
   13327 soname_spec=$lt_soname_spec
   13328 
   13329 # Commands used to build and install an old-style archive.
   13330 RANLIB=$lt_RANLIB
   13331 old_archive_cmds=$lt_old_archive_cmds_CXX
   13332 old_postinstall_cmds=$lt_old_postinstall_cmds
   13333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13334 
   13335 # Create an old-style archive from a shared archive.
   13336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13337 
   13338 # Create a temporary old-style archive to link instead of a shared archive.
   13339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13340 
   13341 # Commands used to build and install a shared archive.
   13342 archive_cmds=$lt_archive_cmds_CXX
   13343 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13344 postinstall_cmds=$lt_postinstall_cmds
   13345 postuninstall_cmds=$lt_postuninstall_cmds
   13346 
   13347 # Commands used to build a loadable module (assumed same as above if empty)
   13348 module_cmds=$lt_module_cmds_CXX
   13349 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13350 
   13351 # Commands to strip libraries.
   13352 old_striplib=$lt_old_striplib
   13353 striplib=$lt_striplib
   13354 
   13355 # Dependencies to place before the objects being linked to create a
   13356 # shared library.
   13357 predep_objects=$lt_predep_objects_CXX
   13358 
   13359 # Dependencies to place after the objects being linked to create a
   13360 # shared library.
   13361 postdep_objects=$lt_postdep_objects_CXX
   13362 
   13363 # Dependencies to place before the objects being linked to create a
   13364 # shared library.
   13365 predeps=$lt_predeps_CXX
   13366 
   13367 # Dependencies to place after the objects being linked to create a
   13368 # shared library.
   13369 postdeps=$lt_postdeps_CXX
   13370 
   13371 # The library search path used internally by the compiler when linking
   13372 # a shared library.
   13373 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13374 
   13375 # Method to check whether dependent libraries are shared objects.
   13376 deplibs_check_method=$lt_deplibs_check_method
   13377 
   13378 # Command to use when deplibs_check_method == file_magic.
   13379 file_magic_cmd=$lt_file_magic_cmd
   13380 
   13381 # Flag that allows shared libraries with undefined symbols to be built.
   13382 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13383 
   13384 # Flag that forces no undefined symbols.
   13385 no_undefined_flag=$lt_no_undefined_flag_CXX
   13386 
   13387 # Commands used to finish a libtool library installation in a directory.
   13388 finish_cmds=$lt_finish_cmds
   13389 
   13390 # Same as above, but a single script fragment to be evaled but not shown.
   13391 finish_eval=$lt_finish_eval
   13392 
   13393 # Take the output of nm and produce a listing of raw symbols and C names.
   13394 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13395 
   13396 # Transform the output of nm in a proper C declaration
   13397 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13398 
   13399 # Transform the output of nm in a C name address pair
   13400 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13401 
   13402 # This is the shared library runtime path variable.
   13403 runpath_var=$runpath_var
   13404 
   13405 # This is the shared library path variable.
   13406 shlibpath_var=$shlibpath_var
   13407 
   13408 # Is shlibpath searched before the hard-coded library search path?
   13409 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13410 
   13411 # How to hardcode a shared library path into an executable.
   13412 hardcode_action=$hardcode_action_CXX
   13413 
   13414 # Whether we should hardcode library paths into libraries.
   13415 hardcode_into_libs=$hardcode_into_libs
   13416 
   13417 # Flag to hardcode \$libdir into a binary during linking.
   13418 # This must work even if \$libdir does not exist.
   13419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13420 
   13421 # If ld is used when linking, flag to hardcode \$libdir into
   13422 # a binary during linking. This must work even if \$libdir does
   13423 # not exist.
   13424 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13425 
   13426 # Whether we need a single -rpath flag with a separated argument.
   13427 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13428 
   13429 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13430 # resulting binary.
   13431 hardcode_direct=$hardcode_direct_CXX
   13432 
   13433 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13434 # resulting binary.
   13435 hardcode_minus_L=$hardcode_minus_L_CXX
   13436 
   13437 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13438 # the resulting binary.
   13439 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13440 
   13441 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13442 # and all subsequent libraries and executables linked against it.
   13443 hardcode_automatic=$hardcode_automatic_CXX
   13444 
   13445 # Variables whose values should be saved in libtool wrapper scripts and
   13446 # restored at relink time.
   13447 variables_saved_for_relink="$variables_saved_for_relink"
   13448 
   13449 # Whether libtool must link a program against all its dependency libraries.
   13450 link_all_deplibs=$link_all_deplibs_CXX
   13451 
   13452 # Compile-time system search path for libraries
   13453 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13454 
   13455 # Run-time system search path for libraries
   13456 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13457 
   13458 # Fix the shell variable \$srcfile for the compiler.
   13459 fix_srcfile_path="$fix_srcfile_path_CXX"
   13460 
   13461 # Set to yes if exported symbols are required.
   13462 always_export_symbols=$always_export_symbols_CXX
   13463 
   13464 # The commands to list exported symbols.
   13465 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13466 
   13467 # The commands to extract the exported symbol list from a shared archive.
   13468 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13469 
   13470 # Symbols that should not be listed in the preloaded symbols.
   13471 exclude_expsyms=$lt_exclude_expsyms_CXX
   13472 
   13473 # Symbols that must always be exported.
   13474 include_expsyms=$lt_include_expsyms_CXX
   13475 
   13476 # ### END LIBTOOL TAG CONFIG: $tagname
   13477 
   13478 __EOF__
   13479 
   13480 
   13481 else
   13482   # If there is no Makefile yet, we rely on a make rule to execute
   13483   # `config.status --recheck' to rerun these tests and create the
   13484   # libtool script then.
   13485   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13486   if test -f "$ltmain_in"; then
   13487     test -f Makefile && make "$ltmain"
   13488   fi
   13489 fi
   13490 
   13491 
   13492 ac_ext=c
   13493 ac_cpp='$CPP $CPPFLAGS'
   13494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13497 
   13498 CC=$lt_save_CC
   13499 LDCXX=$LD
   13500 LD=$lt_save_LD
   13501 GCC=$lt_save_GCC
   13502 with_gnu_ldcxx=$with_gnu_ld
   13503 with_gnu_ld=$lt_save_with_gnu_ld
   13504 lt_cv_path_LDCXX=$lt_cv_path_LD
   13505 lt_cv_path_LD=$lt_save_path_LD
   13506 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13507 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13508 
   13509 	else
   13510 	  tagname=""
   13511 	fi
   13512 	;;
   13513 
   13514       F77)
   13515 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13516 
   13517 ac_ext=f
   13518 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13519 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13520 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13521 
   13522 
   13523 archive_cmds_need_lc_F77=no
   13524 allow_undefined_flag_F77=
   13525 always_export_symbols_F77=no
   13526 archive_expsym_cmds_F77=
   13527 export_dynamic_flag_spec_F77=
   13528 hardcode_direct_F77=no
   13529 hardcode_libdir_flag_spec_F77=
   13530 hardcode_libdir_flag_spec_ld_F77=
   13531 hardcode_libdir_separator_F77=
   13532 hardcode_minus_L_F77=no
   13533 hardcode_automatic_F77=no
   13534 module_cmds_F77=
   13535 module_expsym_cmds_F77=
   13536 link_all_deplibs_F77=unknown
   13537 old_archive_cmds_F77=$old_archive_cmds
   13538 no_undefined_flag_F77=
   13539 whole_archive_flag_spec_F77=
   13540 enable_shared_with_static_runtimes_F77=no
   13541 
   13542 # Source file extension for f77 test sources.
   13543 ac_ext=f
   13544 
   13545 # Object file extension for compiled f77 test sources.
   13546 objext=o
   13547 objext_F77=$objext
   13548 
   13549 # Code to be used in simple compile tests
   13550 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13551 
   13552 # Code to be used in simple link tests
   13553 lt_simple_link_test_code="      program t\n      end\n"
   13554 
   13555 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13556 
   13557 # If no C compiler was specified, use CC.
   13558 LTCC=${LTCC-"$CC"}
   13559 
   13560 # If no C compiler flags were specified, use CFLAGS.
   13561 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13562 
   13563 # Allow CC to be a program name with arguments.
   13564 compiler=$CC
   13565 
   13566 
   13567 # save warnings/boilerplate of simple test code
   13568 ac_outfile=conftest.$ac_objext
   13569 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13570 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13571 _lt_compiler_boilerplate=`cat conftest.err`
   13572 $rm conftest*
   13573 
   13574 ac_outfile=conftest.$ac_objext
   13575 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13576 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13577 _lt_linker_boilerplate=`cat conftest.err`
   13578 $rm conftest*
   13579 
   13580 
   13581 # Allow CC to be a program name with arguments.
   13582 lt_save_CC="$CC"
   13583 CC=${F77-"f77"}
   13584 compiler=$CC
   13585 compiler_F77=$CC
   13586 for cc_temp in $compiler""; do
   13587   case $cc_temp in
   13588     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13589     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13590     \-*) ;;
   13591     *) break;;
   13592   esac
   13593 done
   13594 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13595 
   13596 
   13597 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13598 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13599 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13600 echo "${ECHO_T}$can_build_shared" >&6; }
   13601 
   13602 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13603 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13604 test "$can_build_shared" = "no" && enable_shared=no
   13605 
   13606 # On AIX, shared libraries and static libraries use the same namespace, and
   13607 # are all built from PIC.
   13608 case $host_os in
   13609 aix3*)
   13610   test "$enable_shared" = yes && enable_static=no
   13611   if test -n "$RANLIB"; then
   13612     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13613     postinstall_cmds='$RANLIB $lib'
   13614   fi
   13615   ;;
   13616 aix4* | aix5*)
   13617   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13618     test "$enable_shared" = yes && enable_static=no
   13619   fi
   13620   ;;
   13621 esac
   13622 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13623 echo "${ECHO_T}$enable_shared" >&6; }
   13624 
   13625 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13626 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13627 # Make sure either enable_shared or enable_static is yes.
   13628 test "$enable_shared" = yes || enable_static=yes
   13629 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13630 echo "${ECHO_T}$enable_static" >&6; }
   13631 
   13632 GCC_F77="$G77"
   13633 LD_F77="$LD"
   13634 
   13635 lt_prog_compiler_wl_F77=
   13636 lt_prog_compiler_pic_F77=
   13637 lt_prog_compiler_static_F77=
   13638 
   13639 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13640 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13641 
   13642   if test "$GCC" = yes; then
   13643     lt_prog_compiler_wl_F77='-Wl,'
   13644     lt_prog_compiler_static_F77='-static'
   13645 
   13646     case $host_os in
   13647       aix*)
   13648       # All AIX code is PIC.
   13649       if test "$host_cpu" = ia64; then
   13650 	# AIX 5 now supports IA64 processor
   13651 	lt_prog_compiler_static_F77='-Bstatic'
   13652       fi
   13653       ;;
   13654 
   13655     amigaos*)
   13656       # FIXME: we need at least 68020 code to build shared libraries, but
   13657       # adding the `-m68020' flag to GCC prevents building anything better,
   13658       # like `-m68040'.
   13659       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13660       ;;
   13661 
   13662     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13663       # PIC is the default for these OSes.
   13664       ;;
   13665 
   13666     mingw* | pw32* | os2*)
   13667       # This hack is so that the source file can tell whether it is being
   13668       # built for inclusion in a dll (and should export symbols for example).
   13669       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13670       ;;
   13671 
   13672     darwin* | rhapsody*)
   13673       # PIC is the default on this platform
   13674       # Common symbols not allowed in MH_DYLIB files
   13675       lt_prog_compiler_pic_F77='-fno-common'
   13676       ;;
   13677 
   13678     interix3*)
   13679       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13680       # Instead, we relocate shared libraries at runtime.
   13681       ;;
   13682 
   13683     msdosdjgpp*)
   13684       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13685       # on systems that don't support them.
   13686       lt_prog_compiler_can_build_shared_F77=no
   13687       enable_shared=no
   13688       ;;
   13689 
   13690     sysv4*MP*)
   13691       if test -d /usr/nec; then
   13692 	lt_prog_compiler_pic_F77=-Kconform_pic
   13693       fi
   13694       ;;
   13695 
   13696     hpux*)
   13697       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13698       # not for PA HP-UX.
   13699       case $host_cpu in
   13700       hppa*64*|ia64*)
   13701 	# +Z the default
   13702 	;;
   13703       *)
   13704 	lt_prog_compiler_pic_F77='-fPIC'
   13705 	;;
   13706       esac
   13707       ;;
   13708 
   13709     *)
   13710       lt_prog_compiler_pic_F77='-fPIC'
   13711       ;;
   13712     esac
   13713   else
   13714     # PORTME Check for flag to pass linker flags through the system compiler.
   13715     case $host_os in
   13716     aix*)
   13717       lt_prog_compiler_wl_F77='-Wl,'
   13718       if test "$host_cpu" = ia64; then
   13719 	# AIX 5 now supports IA64 processor
   13720 	lt_prog_compiler_static_F77='-Bstatic'
   13721       else
   13722 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13723       fi
   13724       ;;
   13725       darwin*)
   13726         # PIC is the default on this platform
   13727         # Common symbols not allowed in MH_DYLIB files
   13728        case $cc_basename in
   13729          xlc*)
   13730          lt_prog_compiler_pic_F77='-qnocommon'
   13731          lt_prog_compiler_wl_F77='-Wl,'
   13732          ;;
   13733        esac
   13734        ;;
   13735 
   13736     mingw* | pw32* | os2*)
   13737       # This hack is so that the source file can tell whether it is being
   13738       # built for inclusion in a dll (and should export symbols for example).
   13739       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13740       ;;
   13741 
   13742     hpux9* | hpux10* | hpux11*)
   13743       lt_prog_compiler_wl_F77='-Wl,'
   13744       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13745       # not for PA HP-UX.
   13746       case $host_cpu in
   13747       hppa*64*|ia64*)
   13748 	# +Z the default
   13749 	;;
   13750       *)
   13751 	lt_prog_compiler_pic_F77='+Z'
   13752 	;;
   13753       esac
   13754       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13755       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13756       ;;
   13757 
   13758     irix5* | irix6* | nonstopux*)
   13759       lt_prog_compiler_wl_F77='-Wl,'
   13760       # PIC (with -KPIC) is the default.
   13761       lt_prog_compiler_static_F77='-non_shared'
   13762       ;;
   13763 
   13764     newsos6)
   13765       lt_prog_compiler_pic_F77='-KPIC'
   13766       lt_prog_compiler_static_F77='-Bstatic'
   13767       ;;
   13768 
   13769     linux* | k*bsd*-gnu)
   13770       case $cc_basename in
   13771       icc* | ecc*)
   13772 	lt_prog_compiler_wl_F77='-Wl,'
   13773 	lt_prog_compiler_pic_F77='-KPIC'
   13774 	lt_prog_compiler_static_F77='-static'
   13775         ;;
   13776       pgcc* | pgf77* | pgf90* | pgf95*)
   13777         # Portland Group compilers (*not* the Pentium gcc compiler,
   13778 	# which looks to be a dead project)
   13779 	lt_prog_compiler_wl_F77='-Wl,'
   13780 	lt_prog_compiler_pic_F77='-fpic'
   13781 	lt_prog_compiler_static_F77='-Bstatic'
   13782         ;;
   13783       ccc*)
   13784         lt_prog_compiler_wl_F77='-Wl,'
   13785         # All Alpha code is PIC.
   13786         lt_prog_compiler_static_F77='-non_shared'
   13787         ;;
   13788       esac
   13789       ;;
   13790 
   13791     osf3* | osf4* | osf5*)
   13792       lt_prog_compiler_wl_F77='-Wl,'
   13793       # All OSF/1 code is PIC.
   13794       lt_prog_compiler_static_F77='-non_shared'
   13795       ;;
   13796 
   13797     solaris*)
   13798       lt_prog_compiler_pic_F77='-KPIC'
   13799       lt_prog_compiler_static_F77='-Bstatic'
   13800       case $cc_basename in
   13801       f77* | f90* | f95*)
   13802 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13803       *)
   13804 	lt_prog_compiler_wl_F77='-Wl,';;
   13805       esac
   13806       ;;
   13807 
   13808     sunos4*)
   13809       lt_prog_compiler_wl_F77='-Qoption ld '
   13810       lt_prog_compiler_pic_F77='-PIC'
   13811       lt_prog_compiler_static_F77='-Bstatic'
   13812       ;;
   13813 
   13814     sysv4 | sysv4.2uw2* | sysv4.3*)
   13815       lt_prog_compiler_wl_F77='-Wl,'
   13816       lt_prog_compiler_pic_F77='-KPIC'
   13817       lt_prog_compiler_static_F77='-Bstatic'
   13818       ;;
   13819 
   13820     sysv4*MP*)
   13821       if test -d /usr/nec ;then
   13822 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13823 	lt_prog_compiler_static_F77='-Bstatic'
   13824       fi
   13825       ;;
   13826 
   13827     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13828       lt_prog_compiler_wl_F77='-Wl,'
   13829       lt_prog_compiler_pic_F77='-KPIC'
   13830       lt_prog_compiler_static_F77='-Bstatic'
   13831       ;;
   13832 
   13833     unicos*)
   13834       lt_prog_compiler_wl_F77='-Wl,'
   13835       lt_prog_compiler_can_build_shared_F77=no
   13836       ;;
   13837 
   13838     uts4*)
   13839       lt_prog_compiler_pic_F77='-pic'
   13840       lt_prog_compiler_static_F77='-Bstatic'
   13841       ;;
   13842 
   13843     *)
   13844       lt_prog_compiler_can_build_shared_F77=no
   13845       ;;
   13846     esac
   13847   fi
   13848 
   13849 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13850 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13851 
   13852 #
   13853 # Check to make sure the PIC flag actually works.
   13854 #
   13855 if test -n "$lt_prog_compiler_pic_F77"; then
   13856 
   13857 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13858 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13859 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13860   echo $ECHO_N "(cached) $ECHO_C" >&6
   13861 else
   13862   lt_prog_compiler_pic_works_F77=no
   13863   ac_outfile=conftest.$ac_objext
   13864    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13865    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13866    # Insert the option either (1) after the last *FLAGS variable, or
   13867    # (2) before a word containing "conftest.", or (3) at the end.
   13868    # Note that $ac_compile itself does not contain backslashes and begins
   13869    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13870    # The option is referenced via a variable to avoid confusing sed.
   13871    lt_compile=`echo "$ac_compile" | $SED \
   13872    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13873    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13874    -e 's:$: $lt_compiler_flag:'`
   13875    (eval echo "\"\$as_me:13875: $lt_compile\"" >&5)
   13876    (eval "$lt_compile" 2>conftest.err)
   13877    ac_status=$?
   13878    cat conftest.err >&5
   13879    echo "$as_me:13879: \$? = $ac_status" >&5
   13880    if (exit $ac_status) && test -s "$ac_outfile"; then
   13881      # The compiler can only warn and ignore the option if not recognized
   13882      # So say no if there are warnings other than the usual output.
   13883      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13884      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13885      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13886        lt_prog_compiler_pic_works_F77=yes
   13887      fi
   13888    fi
   13889    $rm conftest*
   13890 
   13891 fi
   13892 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13893 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13894 
   13895 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13896     case $lt_prog_compiler_pic_F77 in
   13897      "" | " "*) ;;
   13898      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13899      esac
   13900 else
   13901     lt_prog_compiler_pic_F77=
   13902      lt_prog_compiler_can_build_shared_F77=no
   13903 fi
   13904 
   13905 fi
   13906 case $host_os in
   13907   # For platforms which do not support PIC, -DPIC is meaningless:
   13908   *djgpp*)
   13909     lt_prog_compiler_pic_F77=
   13910     ;;
   13911   *)
   13912     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13913     ;;
   13914 esac
   13915 
   13916 #
   13917 # Check to make sure the static flag actually works.
   13918 #
   13919 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13920 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13921 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13922 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13923   echo $ECHO_N "(cached) $ECHO_C" >&6
   13924 else
   13925   lt_prog_compiler_static_works_F77=no
   13926    save_LDFLAGS="$LDFLAGS"
   13927    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13928    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13929    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13930      # The linker can only warn and ignore the option if not recognized
   13931      # So say no if there are warnings
   13932      if test -s conftest.err; then
   13933        # Append any errors to the config.log.
   13934        cat conftest.err 1>&5
   13935        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13936        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13937        if diff conftest.exp conftest.er2 >/dev/null; then
   13938          lt_prog_compiler_static_works_F77=yes
   13939        fi
   13940      else
   13941        lt_prog_compiler_static_works_F77=yes
   13942      fi
   13943    fi
   13944    $rm conftest*
   13945    LDFLAGS="$save_LDFLAGS"
   13946 
   13947 fi
   13948 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13949 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   13950 
   13951 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13952     :
   13953 else
   13954     lt_prog_compiler_static_F77=
   13955 fi
   13956 
   13957 
   13958 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13959 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   13960 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13961   echo $ECHO_N "(cached) $ECHO_C" >&6
   13962 else
   13963   lt_cv_prog_compiler_c_o_F77=no
   13964    $rm -r conftest 2>/dev/null
   13965    mkdir conftest
   13966    cd conftest
   13967    mkdir out
   13968    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13969 
   13970    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13971    # Insert the option either (1) after the last *FLAGS variable, or
   13972    # (2) before a word containing "conftest.", or (3) at the end.
   13973    # Note that $ac_compile itself does not contain backslashes and begins
   13974    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13975    lt_compile=`echo "$ac_compile" | $SED \
   13976    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13977    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13978    -e 's:$: $lt_compiler_flag:'`
   13979    (eval echo "\"\$as_me:13979: $lt_compile\"" >&5)
   13980    (eval "$lt_compile" 2>out/conftest.err)
   13981    ac_status=$?
   13982    cat out/conftest.err >&5
   13983    echo "$as_me:13983: \$? = $ac_status" >&5
   13984    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13985    then
   13986      # The compiler can only warn and ignore the option if not recognized
   13987      # So say no if there are warnings
   13988      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13989      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13990      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13991        lt_cv_prog_compiler_c_o_F77=yes
   13992      fi
   13993    fi
   13994    chmod u+w . 2>&5
   13995    $rm conftest*
   13996    # SGI C++ compiler will create directory out/ii_files/ for
   13997    # template instantiation
   13998    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13999    $rm out/* && rmdir out
   14000    cd ..
   14001    rmdir conftest
   14002    $rm conftest*
   14003 
   14004 fi
   14005 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14006 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14007 
   14008 
   14009 hard_links="nottested"
   14010 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14011   # do not overwrite the value of need_locks provided by the user
   14012   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14013 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14014   hard_links=yes
   14015   $rm conftest*
   14016   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14017   touch conftest.a
   14018   ln conftest.a conftest.b 2>&5 || hard_links=no
   14019   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14020   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14021 echo "${ECHO_T}$hard_links" >&6; }
   14022   if test "$hard_links" = no; then
   14023     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14024 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14025     need_locks=warn
   14026   fi
   14027 else
   14028   need_locks=no
   14029 fi
   14030 
   14031 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14032 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14033 
   14034   runpath_var=
   14035   allow_undefined_flag_F77=
   14036   enable_shared_with_static_runtimes_F77=no
   14037   archive_cmds_F77=
   14038   archive_expsym_cmds_F77=
   14039   old_archive_From_new_cmds_F77=
   14040   old_archive_from_expsyms_cmds_F77=
   14041   export_dynamic_flag_spec_F77=
   14042   whole_archive_flag_spec_F77=
   14043   thread_safe_flag_spec_F77=
   14044   hardcode_libdir_flag_spec_F77=
   14045   hardcode_libdir_flag_spec_ld_F77=
   14046   hardcode_libdir_separator_F77=
   14047   hardcode_direct_F77=no
   14048   hardcode_minus_L_F77=no
   14049   hardcode_shlibpath_var_F77=unsupported
   14050   link_all_deplibs_F77=unknown
   14051   hardcode_automatic_F77=no
   14052   module_cmds_F77=
   14053   module_expsym_cmds_F77=
   14054   always_export_symbols_F77=no
   14055   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14056   # include_expsyms should be a list of space-separated symbols to be *always*
   14057   # included in the symbol list
   14058   include_expsyms_F77=
   14059   # exclude_expsyms can be an extended regexp of symbols to exclude
   14060   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14061   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14062   # as well as any symbol that contains `d'.
   14063   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14064   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14065   # platforms (ab)use it in PIC code, but their linkers get confused if
   14066   # the symbol is explicitly referenced.  Since portable code cannot
   14067   # rely on this symbol name, it's probably fine to never include it in
   14068   # preloaded symbol tables.
   14069   extract_expsyms_cmds=
   14070   # Just being paranoid about ensuring that cc_basename is set.
   14071   for cc_temp in $compiler""; do
   14072   case $cc_temp in
   14073     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14074     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14075     \-*) ;;
   14076     *) break;;
   14077   esac
   14078 done
   14079 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14080 
   14081   case $host_os in
   14082   cygwin* | mingw* | pw32*)
   14083     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14084     # When not using gcc, we currently assume that we are using
   14085     # Microsoft Visual C++.
   14086     if test "$GCC" != yes; then
   14087       with_gnu_ld=no
   14088     fi
   14089     ;;
   14090   interix*)
   14091     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14092     with_gnu_ld=yes
   14093     ;;
   14094   openbsd*)
   14095     with_gnu_ld=no
   14096     ;;
   14097   esac
   14098 
   14099   ld_shlibs_F77=yes
   14100   if test "$with_gnu_ld" = yes; then
   14101     # If archive_cmds runs LD, not CC, wlarc should be empty
   14102     wlarc='${wl}'
   14103 
   14104     # Set some defaults for GNU ld with shared library support. These
   14105     # are reset later if shared libraries are not supported. Putting them
   14106     # here allows them to be overridden if necessary.
   14107     runpath_var=LD_RUN_PATH
   14108     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14109     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14110     # ancient GNU ld didn't support --whole-archive et. al.
   14111     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14112 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14113       else
   14114   	whole_archive_flag_spec_F77=
   14115     fi
   14116     supports_anon_versioning=no
   14117     case `$LD -v 2>/dev/null` in
   14118       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14119       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14120       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14121       *\ 2.11.*) ;; # other 2.11 versions
   14122       *) supports_anon_versioning=yes ;;
   14123     esac
   14124 
   14125     # See if GNU ld supports shared libraries.
   14126     case $host_os in
   14127     aix3* | aix4* | aix5*)
   14128       # On AIX/PPC, the GNU linker is very broken
   14129       if test "$host_cpu" != ia64; then
   14130 	ld_shlibs_F77=no
   14131 	cat <<EOF 1>&2
   14132 
   14133 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14134 *** to be unable to reliably create shared libraries on AIX.
   14135 *** Therefore, libtool is disabling shared libraries support.  If you
   14136 *** really care for shared libraries, you may want to modify your PATH
   14137 *** so that a non-GNU linker is found, and then restart.
   14138 
   14139 EOF
   14140       fi
   14141       ;;
   14142 
   14143     amigaos*)
   14144       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)'
   14145       hardcode_libdir_flag_spec_F77='-L$libdir'
   14146       hardcode_minus_L_F77=yes
   14147 
   14148       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14149       # that the semantics of dynamic libraries on AmigaOS, at least up
   14150       # to version 4, is to share data among multiple programs linked
   14151       # with the same dynamic library.  Since this doesn't match the
   14152       # behavior of shared libraries on other platforms, we can't use
   14153       # them.
   14154       ld_shlibs_F77=no
   14155       ;;
   14156 
   14157     beos*)
   14158       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14159 	allow_undefined_flag_F77=unsupported
   14160 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14161 	# support --undefined.  This deserves some investigation.  FIXME
   14162 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14163       else
   14164 	ld_shlibs_F77=no
   14165       fi
   14166       ;;
   14167 
   14168     cygwin* | mingw* | pw32*)
   14169       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14170       # as there is no search path for DLLs.
   14171       hardcode_libdir_flag_spec_F77='-L$libdir'
   14172       allow_undefined_flag_F77=unsupported
   14173       always_export_symbols_F77=no
   14174       enable_shared_with_static_runtimes_F77=yes
   14175       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14176 
   14177       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14178         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14179 	# If the export-symbols file already is a .def file (1st line
   14180 	# is EXPORTS), use it as is; otherwise, prepend...
   14181 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14182 	  cp $export_symbols $output_objdir/$soname.def;
   14183 	else
   14184 	  echo EXPORTS > $output_objdir/$soname.def;
   14185 	  cat $export_symbols >> $output_objdir/$soname.def;
   14186 	fi~
   14187 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14188       else
   14189 	ld_shlibs_F77=no
   14190       fi
   14191       ;;
   14192 
   14193     interix3*)
   14194       hardcode_direct_F77=no
   14195       hardcode_shlibpath_var_F77=no
   14196       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14197       export_dynamic_flag_spec_F77='${wl}-E'
   14198       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14199       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14200       # default) and relocated if they conflict, which is a slow very memory
   14201       # consuming and fragmenting process.  To avoid this, we pick a random,
   14202       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14203       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14204       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'
   14205       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'
   14206       ;;
   14207 
   14208     linux* | k*bsd*-gnu)
   14209       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14210 	tmp_addflag=
   14211 	case $cc_basename,$host_cpu in
   14212 	pgcc*)				# Portland Group C compiler
   14213 	  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'
   14214 	  tmp_addflag=' $pic_flag'
   14215 	  ;;
   14216 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14217 	  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'
   14218 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14219 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14220 	  tmp_addflag=' -i_dynamic' ;;
   14221 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14222 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14223 	ifc* | ifort*)			# Intel Fortran compiler
   14224 	  tmp_addflag=' -nofor_main' ;;
   14225 	esac
   14226 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14227 
   14228 	if test $supports_anon_versioning = yes; then
   14229 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14230   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14231   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14232 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14233 	fi
   14234 	link_all_deplibs_F77=no
   14235       else
   14236 	ld_shlibs_F77=no
   14237       fi
   14238       ;;
   14239 
   14240     netbsd* | netbsdelf*-gnu)
   14241       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14242 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14243 	wlarc=
   14244       else
   14245 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14246 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14247       fi
   14248       ;;
   14249 
   14250     solaris*)
   14251       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14252 	ld_shlibs_F77=no
   14253 	cat <<EOF 1>&2
   14254 
   14255 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14256 *** create shared libraries on Solaris systems.  Therefore, libtool
   14257 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14258 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14259 *** your PATH or compiler configuration so that the native linker is
   14260 *** used, and then restart.
   14261 
   14262 EOF
   14263       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14264 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14265 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14266       else
   14267 	ld_shlibs_F77=no
   14268       fi
   14269       ;;
   14270 
   14271     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14272       case `$LD -v 2>&1` in
   14273         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14274 	ld_shlibs_F77=no
   14275 	cat <<_LT_EOF 1>&2
   14276 
   14277 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14278 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14279 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14280 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14281 *** your PATH or compiler configuration so that the native linker is
   14282 *** used, and then restart.
   14283 
   14284 _LT_EOF
   14285 	;;
   14286 	*)
   14287 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14288 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14289 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14290 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14291 	  else
   14292 	    ld_shlibs_F77=no
   14293 	  fi
   14294 	;;
   14295       esac
   14296       ;;
   14297 
   14298     sunos4*)
   14299       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14300       wlarc=
   14301       hardcode_direct_F77=yes
   14302       hardcode_shlibpath_var_F77=no
   14303       ;;
   14304 
   14305     *)
   14306       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14307 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14308 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14309       else
   14310 	ld_shlibs_F77=no
   14311       fi
   14312       ;;
   14313     esac
   14314 
   14315     if test "$ld_shlibs_F77" = no; then
   14316       runpath_var=
   14317       hardcode_libdir_flag_spec_F77=
   14318       export_dynamic_flag_spec_F77=
   14319       whole_archive_flag_spec_F77=
   14320     fi
   14321   else
   14322     # PORTME fill in a description of your system's linker (not GNU ld)
   14323     case $host_os in
   14324     aix3*)
   14325       allow_undefined_flag_F77=unsupported
   14326       always_export_symbols_F77=yes
   14327       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'
   14328       # Note: this linker hardcodes the directories in LIBPATH if there
   14329       # are no directories specified by -L.
   14330       hardcode_minus_L_F77=yes
   14331       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14332 	# Neither direct hardcoding nor static linking is supported with a
   14333 	# broken collect2.
   14334 	hardcode_direct_F77=unsupported
   14335       fi
   14336       ;;
   14337 
   14338     aix4* | aix5*)
   14339       if test "$host_cpu" = ia64; then
   14340 	# On IA64, the linker does run time linking by default, so we don't
   14341 	# have to do anything special.
   14342 	aix_use_runtimelinking=no
   14343 	exp_sym_flag='-Bexport'
   14344 	no_entry_flag=""
   14345       else
   14346 	# If we're using GNU nm, then we don't want the "-C" option.
   14347 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14348 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14349 	  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'
   14350 	else
   14351 	  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'
   14352 	fi
   14353 	aix_use_runtimelinking=no
   14354 
   14355 	# Test if we are trying to use run time linking or normal
   14356 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14357 	# need to do runtime linking.
   14358 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14359 	  for ld_flag in $LDFLAGS; do
   14360   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14361   	    aix_use_runtimelinking=yes
   14362   	    break
   14363   	  fi
   14364 	  done
   14365 	  ;;
   14366 	esac
   14367 
   14368 	exp_sym_flag='-bexport'
   14369 	no_entry_flag='-bnoentry'
   14370       fi
   14371 
   14372       # When large executables or shared objects are built, AIX ld can
   14373       # have problems creating the table of contents.  If linking a library
   14374       # or program results in "error TOC overflow" add -mminimal-toc to
   14375       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14376       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14377 
   14378       archive_cmds_F77=''
   14379       hardcode_direct_F77=yes
   14380       hardcode_libdir_separator_F77=':'
   14381       link_all_deplibs_F77=yes
   14382 
   14383       if test "$GCC" = yes; then
   14384 	case $host_os in aix4.[012]|aix4.[012].*)
   14385 	# We only want to do this on AIX 4.2 and lower, the check
   14386 	# below for broken collect2 doesn't work under 4.3+
   14387 	  collect2name=`${CC} -print-prog-name=collect2`
   14388 	  if test -f "$collect2name" && \
   14389   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14390 	  then
   14391   	  # We have reworked collect2
   14392   	  hardcode_direct_F77=yes
   14393 	  else
   14394   	  # We have old collect2
   14395   	  hardcode_direct_F77=unsupported
   14396   	  # It fails to find uninstalled libraries when the uninstalled
   14397   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14398   	  # to unsupported forces relinking
   14399   	  hardcode_minus_L_F77=yes
   14400   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14401   	  hardcode_libdir_separator_F77=
   14402 	  fi
   14403 	  ;;
   14404 	esac
   14405 	shared_flag='-shared'
   14406 	if test "$aix_use_runtimelinking" = yes; then
   14407 	  shared_flag="$shared_flag "'${wl}-G'
   14408 	fi
   14409       else
   14410 	# not using gcc
   14411 	if test "$host_cpu" = ia64; then
   14412   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14413   	# chokes on -Wl,-G. The following line is correct:
   14414 	  shared_flag='-G'
   14415 	else
   14416 	  if test "$aix_use_runtimelinking" = yes; then
   14417 	    shared_flag='${wl}-G'
   14418 	  else
   14419 	    shared_flag='${wl}-bM:SRE'
   14420 	  fi
   14421 	fi
   14422       fi
   14423 
   14424       # It seems that -bexpall does not export symbols beginning with
   14425       # underscore (_), so it is better to generate a list of symbols to export.
   14426       always_export_symbols_F77=yes
   14427       if test "$aix_use_runtimelinking" = yes; then
   14428 	# Warning - without using the other runtime loading flags (-brtl),
   14429 	# -berok will link without error, but may produce a broken library.
   14430 	allow_undefined_flag_F77='-berok'
   14431        # Determine the default libpath from the value encoded in an empty executable.
   14432        cat >conftest.$ac_ext <<_ACEOF
   14433       program main
   14434 
   14435       end
   14436 _ACEOF
   14437 rm -f conftest.$ac_objext conftest$ac_exeext
   14438 if { (ac_try="$ac_link"
   14439 case "(($ac_try" in
   14440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14441   *) ac_try_echo=$ac_try;;
   14442 esac
   14443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14444   (eval "$ac_link") 2>conftest.er1
   14445   ac_status=$?
   14446   grep -v '^ *+' conftest.er1 >conftest.err
   14447   rm -f conftest.er1
   14448   cat conftest.err >&5
   14449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14450   (exit $ac_status); } && {
   14451 	 test -z "$ac_f77_werror_flag" ||
   14452 	 test ! -s conftest.err
   14453        } && test -s conftest$ac_exeext &&
   14454        $as_test_x conftest$ac_exeext; then
   14455 
   14456 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14457 }'`
   14458 # Check for a 64-bit object if we didn't find anything.
   14459 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14460 }'`; fi
   14461 else
   14462   echo "$as_me: failed program was:" >&5
   14463 sed 's/^/| /' conftest.$ac_ext >&5
   14464 
   14465 
   14466 fi
   14467 
   14468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14469       conftest$ac_exeext conftest.$ac_ext
   14470 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14471 
   14472        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14473 	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"
   14474        else
   14475 	if test "$host_cpu" = ia64; then
   14476 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14477 	  allow_undefined_flag_F77="-z nodefs"
   14478 	  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"
   14479 	else
   14480 	 # Determine the default libpath from the value encoded in an empty executable.
   14481 	 cat >conftest.$ac_ext <<_ACEOF
   14482       program main
   14483 
   14484       end
   14485 _ACEOF
   14486 rm -f conftest.$ac_objext conftest$ac_exeext
   14487 if { (ac_try="$ac_link"
   14488 case "(($ac_try" in
   14489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14490   *) ac_try_echo=$ac_try;;
   14491 esac
   14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14493   (eval "$ac_link") 2>conftest.er1
   14494   ac_status=$?
   14495   grep -v '^ *+' conftest.er1 >conftest.err
   14496   rm -f conftest.er1
   14497   cat conftest.err >&5
   14498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14499   (exit $ac_status); } && {
   14500 	 test -z "$ac_f77_werror_flag" ||
   14501 	 test ! -s conftest.err
   14502        } && test -s conftest$ac_exeext &&
   14503        $as_test_x conftest$ac_exeext; then
   14504 
   14505 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14506 }'`
   14507 # Check for a 64-bit object if we didn't find anything.
   14508 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14509 }'`; fi
   14510 else
   14511   echo "$as_me: failed program was:" >&5
   14512 sed 's/^/| /' conftest.$ac_ext >&5
   14513 
   14514 
   14515 fi
   14516 
   14517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14518       conftest$ac_exeext conftest.$ac_ext
   14519 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14520 
   14521 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14522 	  # Warning - without using the other run time loading flags,
   14523 	  # -berok will link without error, but may produce a broken library.
   14524 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14525 	  allow_undefined_flag_F77=' ${wl}-berok'
   14526 	  # Exported symbols can be pulled into shared objects from archives
   14527 	  whole_archive_flag_spec_F77='$convenience'
   14528 	  archive_cmds_need_lc_F77=yes
   14529 	  # This is similar to how AIX traditionally builds its shared libraries.
   14530 	  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'
   14531 	fi
   14532       fi
   14533       ;;
   14534 
   14535     amigaos*)
   14536       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)'
   14537       hardcode_libdir_flag_spec_F77='-L$libdir'
   14538       hardcode_minus_L_F77=yes
   14539       # see comment about different semantics on the GNU ld section
   14540       ld_shlibs_F77=no
   14541       ;;
   14542 
   14543     bsdi[45]*)
   14544       export_dynamic_flag_spec_F77=-rdynamic
   14545       ;;
   14546 
   14547     cygwin* | mingw* | pw32*)
   14548       # When not using gcc, we currently assume that we are using
   14549       # Microsoft Visual C++.
   14550       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14551       # no search path for DLLs.
   14552       hardcode_libdir_flag_spec_F77=' '
   14553       allow_undefined_flag_F77=unsupported
   14554       # Tell ltmain to make .lib files, not .a files.
   14555       libext=lib
   14556       # Tell ltmain to make .dll files, not .so files.
   14557       shrext_cmds=".dll"
   14558       # FIXME: Setting linknames here is a bad hack.
   14559       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14560       # The linker will automatically build a .lib file if we build a DLL.
   14561       old_archive_From_new_cmds_F77='true'
   14562       # FIXME: Should let the user specify the lib program.
   14563       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14564       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14565       enable_shared_with_static_runtimes_F77=yes
   14566       ;;
   14567 
   14568     darwin* | rhapsody*)
   14569       case $host_os in
   14570         rhapsody* | darwin1.[012])
   14571          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14572          ;;
   14573        *) # Darwin 1.3 on
   14574          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14575            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14576          else
   14577            case ${MACOSX_DEPLOYMENT_TARGET} in
   14578              10.[012])
   14579                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14580                ;;
   14581              10.*)
   14582                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14583                ;;
   14584            esac
   14585          fi
   14586          ;;
   14587       esac
   14588       archive_cmds_need_lc_F77=no
   14589       hardcode_direct_F77=no
   14590       hardcode_automatic_F77=yes
   14591       hardcode_shlibpath_var_F77=unsupported
   14592       whole_archive_flag_spec_F77=''
   14593       link_all_deplibs_F77=yes
   14594     if test "$GCC" = yes ; then
   14595     	output_verbose_link_cmd='echo'
   14596         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14597       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14598       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14599       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14600       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}'
   14601     else
   14602       case $cc_basename in
   14603         xlc*)
   14604          output_verbose_link_cmd='echo'
   14605          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14606          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14607           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14608          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14609           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}'
   14610           ;;
   14611        *)
   14612          ld_shlibs_F77=no
   14613           ;;
   14614       esac
   14615     fi
   14616       ;;
   14617 
   14618     dgux*)
   14619       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14620       hardcode_libdir_flag_spec_F77='-L$libdir'
   14621       hardcode_shlibpath_var_F77=no
   14622       ;;
   14623 
   14624     freebsd1*)
   14625       ld_shlibs_F77=no
   14626       ;;
   14627 
   14628     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14629     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14630     # does not break anything, and helps significantly (at the cost of a little
   14631     # extra space).
   14632     freebsd2.2*)
   14633       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14634       hardcode_libdir_flag_spec_F77='-R$libdir'
   14635       hardcode_direct_F77=yes
   14636       hardcode_shlibpath_var_F77=no
   14637       ;;
   14638 
   14639     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14640     freebsd2*)
   14641       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14642       hardcode_direct_F77=yes
   14643       hardcode_minus_L_F77=yes
   14644       hardcode_shlibpath_var_F77=no
   14645       ;;
   14646 
   14647     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14648     freebsd* | dragonfly*)
   14649       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14650       hardcode_libdir_flag_spec_F77='-R$libdir'
   14651       hardcode_direct_F77=yes
   14652       hardcode_shlibpath_var_F77=no
   14653       ;;
   14654 
   14655     hpux9*)
   14656       if test "$GCC" = yes; then
   14657 	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'
   14658       else
   14659 	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'
   14660       fi
   14661       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14662       hardcode_libdir_separator_F77=:
   14663       hardcode_direct_F77=yes
   14664 
   14665       # hardcode_minus_L: Not really in the search PATH,
   14666       # but as the default location of the library.
   14667       hardcode_minus_L_F77=yes
   14668       export_dynamic_flag_spec_F77='${wl}-E'
   14669       ;;
   14670 
   14671     hpux10*)
   14672       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14673 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14674       else
   14675 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14676       fi
   14677       if test "$with_gnu_ld" = no; then
   14678 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14679 	hardcode_libdir_separator_F77=:
   14680 
   14681 	hardcode_direct_F77=yes
   14682 	export_dynamic_flag_spec_F77='${wl}-E'
   14683 
   14684 	# hardcode_minus_L: Not really in the search PATH,
   14685 	# but as the default location of the library.
   14686 	hardcode_minus_L_F77=yes
   14687       fi
   14688       ;;
   14689 
   14690     hpux11*)
   14691       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14692 	case $host_cpu in
   14693 	hppa*64*)
   14694 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14695 	  ;;
   14696 	ia64*)
   14697 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14698 	  ;;
   14699 	*)
   14700 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14701 	  ;;
   14702 	esac
   14703       else
   14704 	case $host_cpu in
   14705 	hppa*64*)
   14706 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14707 	  ;;
   14708 	ia64*)
   14709 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14710 	  ;;
   14711 	*)
   14712 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14713 	  ;;
   14714 	esac
   14715       fi
   14716       if test "$with_gnu_ld" = no; then
   14717 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14718 	hardcode_libdir_separator_F77=:
   14719 
   14720 	case $host_cpu in
   14721 	hppa*64*|ia64*)
   14722 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14723 	  hardcode_direct_F77=no
   14724 	  hardcode_shlibpath_var_F77=no
   14725 	  ;;
   14726 	*)
   14727 	  hardcode_direct_F77=yes
   14728 	  export_dynamic_flag_spec_F77='${wl}-E'
   14729 
   14730 	  # hardcode_minus_L: Not really in the search PATH,
   14731 	  # but as the default location of the library.
   14732 	  hardcode_minus_L_F77=yes
   14733 	  ;;
   14734 	esac
   14735       fi
   14736       ;;
   14737 
   14738     irix5* | irix6* | nonstopux*)
   14739       if test "$GCC" = yes; then
   14740 	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'
   14741       else
   14742 	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'
   14743 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14744       fi
   14745       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14746       hardcode_libdir_separator_F77=:
   14747       link_all_deplibs_F77=yes
   14748       ;;
   14749 
   14750     netbsd* | netbsdelf*-gnu)
   14751       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14752 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14753       else
   14754 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14755       fi
   14756       hardcode_libdir_flag_spec_F77='-R$libdir'
   14757       hardcode_direct_F77=yes
   14758       hardcode_shlibpath_var_F77=no
   14759       ;;
   14760 
   14761     newsos6)
   14762       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14763       hardcode_direct_F77=yes
   14764       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14765       hardcode_libdir_separator_F77=:
   14766       hardcode_shlibpath_var_F77=no
   14767       ;;
   14768 
   14769     openbsd*)
   14770       hardcode_direct_F77=yes
   14771       hardcode_shlibpath_var_F77=no
   14772       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14773 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14774 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14775 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14776 	export_dynamic_flag_spec_F77='${wl}-E'
   14777       else
   14778        case $host_os in
   14779 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14780 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14781 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14782 	   ;;
   14783 	 *)
   14784 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14785 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14786 	   ;;
   14787        esac
   14788       fi
   14789       ;;
   14790 
   14791     os2*)
   14792       hardcode_libdir_flag_spec_F77='-L$libdir'
   14793       hardcode_minus_L_F77=yes
   14794       allow_undefined_flag_F77=unsupported
   14795       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'
   14796       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14797       ;;
   14798 
   14799     osf3*)
   14800       if test "$GCC" = yes; then
   14801 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14802 	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'
   14803       else
   14804 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14805 	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'
   14806       fi
   14807       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14808       hardcode_libdir_separator_F77=:
   14809       ;;
   14810 
   14811     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14812       if test "$GCC" = yes; then
   14813 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14814 	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'
   14815 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14816       else
   14817 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14818 	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'
   14819 	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~
   14820 	$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'
   14821 
   14822 	# Both c and cxx compiler support -rpath directly
   14823 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14824       fi
   14825       hardcode_libdir_separator_F77=:
   14826       ;;
   14827 
   14828     solaris*)
   14829       no_undefined_flag_F77=' -z text'
   14830       if test "$GCC" = yes; then
   14831 	wlarc='${wl}'
   14832 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14833 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14834 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14835       else
   14836 	wlarc=''
   14837 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14838 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14839   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14840       fi
   14841       hardcode_libdir_flag_spec_F77='-R$libdir'
   14842       hardcode_shlibpath_var_F77=no
   14843       case $host_os in
   14844       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14845       *)
   14846  	# The compiler driver will combine linker options so we
   14847  	# cannot just pass the convience library names through
   14848  	# without $wl, iff we do not link with $LD.
   14849  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14850  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14851  	case $wlarc in
   14852  	'')
   14853  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14854  	*)
   14855  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   14856  	esac ;;
   14857       esac
   14858       link_all_deplibs_F77=yes
   14859       ;;
   14860 
   14861     sunos4*)
   14862       if test "x$host_vendor" = xsequent; then
   14863 	# Use $CC to link under sequent, because it throws in some extra .o
   14864 	# files that make .init and .fini sections work.
   14865 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14866       else
   14867 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14868       fi
   14869       hardcode_libdir_flag_spec_F77='-L$libdir'
   14870       hardcode_direct_F77=yes
   14871       hardcode_minus_L_F77=yes
   14872       hardcode_shlibpath_var_F77=no
   14873       ;;
   14874 
   14875     sysv4)
   14876       case $host_vendor in
   14877 	sni)
   14878 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14879 	  hardcode_direct_F77=yes # is this really true???
   14880 	;;
   14881 	siemens)
   14882 	  ## LD is ld it makes a PLAMLIB
   14883 	  ## CC just makes a GrossModule.
   14884 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14885 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14886 	  hardcode_direct_F77=no
   14887         ;;
   14888 	motorola)
   14889 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14890 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14891 	;;
   14892       esac
   14893       runpath_var='LD_RUN_PATH'
   14894       hardcode_shlibpath_var_F77=no
   14895       ;;
   14896 
   14897     sysv4.3*)
   14898       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14899       hardcode_shlibpath_var_F77=no
   14900       export_dynamic_flag_spec_F77='-Bexport'
   14901       ;;
   14902 
   14903     sysv4*MP*)
   14904       if test -d /usr/nec; then
   14905 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14906 	hardcode_shlibpath_var_F77=no
   14907 	runpath_var=LD_RUN_PATH
   14908 	hardcode_runpath_var=yes
   14909 	ld_shlibs_F77=yes
   14910       fi
   14911       ;;
   14912 
   14913     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14914       no_undefined_flag_F77='${wl}-z,text'
   14915       archive_cmds_need_lc_F77=no
   14916       hardcode_shlibpath_var_F77=no
   14917       runpath_var='LD_RUN_PATH'
   14918 
   14919       if test "$GCC" = yes; then
   14920 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14921 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14922       else
   14923 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14924 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14925       fi
   14926       ;;
   14927 
   14928     sysv5* | sco3.2v5* | sco5v6*)
   14929       # Note: We can NOT use -z defs as we might desire, because we do not
   14930       # link with -lc, and that would cause any symbols used from libc to
   14931       # always be unresolved, which means just about no library would
   14932       # ever link correctly.  If we're not using GNU ld we use -z text
   14933       # though, which does catch some bad symbols but isn't as heavy-handed
   14934       # as -z defs.
   14935       no_undefined_flag_F77='${wl}-z,text'
   14936       allow_undefined_flag_F77='${wl}-z,nodefs'
   14937       archive_cmds_need_lc_F77=no
   14938       hardcode_shlibpath_var_F77=no
   14939       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14940       hardcode_libdir_separator_F77=':'
   14941       link_all_deplibs_F77=yes
   14942       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14943       runpath_var='LD_RUN_PATH'
   14944 
   14945       if test "$GCC" = yes; then
   14946 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14947 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14948       else
   14949 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14950 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14951       fi
   14952       ;;
   14953 
   14954     uts4*)
   14955       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14956       hardcode_libdir_flag_spec_F77='-L$libdir'
   14957       hardcode_shlibpath_var_F77=no
   14958       ;;
   14959 
   14960     *)
   14961       ld_shlibs_F77=no
   14962       ;;
   14963     esac
   14964   fi
   14965 
   14966 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14967 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   14968 test "$ld_shlibs_F77" = no && can_build_shared=no
   14969 
   14970 #
   14971 # Do we need to explicitly link libc?
   14972 #
   14973 case "x$archive_cmds_need_lc_F77" in
   14974 x|xyes)
   14975   # Assume -lc should be added
   14976   archive_cmds_need_lc_F77=yes
   14977 
   14978   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14979     case $archive_cmds_F77 in
   14980     *'~'*)
   14981       # FIXME: we may have to deal with multi-command sequences.
   14982       ;;
   14983     '$CC '*)
   14984       # Test whether the compiler implicitly links with -lc since on some
   14985       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14986       # to ld, don't add -lc before -lgcc.
   14987       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   14988 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   14989       $rm conftest*
   14990       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14991 
   14992       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14993   (eval $ac_compile) 2>&5
   14994   ac_status=$?
   14995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14996   (exit $ac_status); } 2>conftest.err; then
   14997         soname=conftest
   14998         lib=conftest
   14999         libobjs=conftest.$ac_objext
   15000         deplibs=
   15001         wl=$lt_prog_compiler_wl_F77
   15002 	pic_flag=$lt_prog_compiler_pic_F77
   15003         compiler_flags=-v
   15004         linker_flags=-v
   15005         verstring=
   15006         output_objdir=.
   15007         libname=conftest
   15008         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15009         allow_undefined_flag_F77=
   15010         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15011   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15012   ac_status=$?
   15013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15014   (exit $ac_status); }
   15015         then
   15016 	  archive_cmds_need_lc_F77=no
   15017         else
   15018 	  archive_cmds_need_lc_F77=yes
   15019         fi
   15020         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15021       else
   15022         cat conftest.err 1>&5
   15023       fi
   15024       $rm conftest*
   15025       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15026 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15027       ;;
   15028     esac
   15029   fi
   15030   ;;
   15031 esac
   15032 
   15033 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15035 library_names_spec=
   15036 libname_spec='lib$name'
   15037 soname_spec=
   15038 shrext_cmds=".so"
   15039 postinstall_cmds=
   15040 postuninstall_cmds=
   15041 finish_cmds=
   15042 finish_eval=
   15043 shlibpath_var=
   15044 shlibpath_overrides_runpath=unknown
   15045 version_type=none
   15046 dynamic_linker="$host_os ld.so"
   15047 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15048 if test "$GCC" = yes; then
   15049   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15050   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15051     # if the path contains ";" then we assume it to be the separator
   15052     # otherwise default to the standard path separator (i.e. ":") - it is
   15053     # assumed that no part of a normal pathname contains ";" but that should
   15054     # okay in the real world where ";" in dirpaths is itself problematic.
   15055     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15056   else
   15057     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15058   fi
   15059 else
   15060   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15061 fi
   15062 need_lib_prefix=unknown
   15063 hardcode_into_libs=no
   15064 
   15065 # when you set need_version to no, make sure it does not cause -set_version
   15066 # flags to be left without arguments
   15067 need_version=unknown
   15068 
   15069 case $host_os in
   15070 aix3*)
   15071   version_type=linux
   15072   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15073   shlibpath_var=LIBPATH
   15074 
   15075   # AIX 3 has no versioning support, so we append a major version to the name.
   15076   soname_spec='${libname}${release}${shared_ext}$major'
   15077   ;;
   15078 
   15079 aix4* | aix5*)
   15080   version_type=linux
   15081   need_lib_prefix=no
   15082   need_version=no
   15083   hardcode_into_libs=yes
   15084   if test "$host_cpu" = ia64; then
   15085     # AIX 5 supports IA64
   15086     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15087     shlibpath_var=LD_LIBRARY_PATH
   15088   else
   15089     # With GCC up to 2.95.x, collect2 would create an import file
   15090     # for dependence libraries.  The import file would start with
   15091     # the line `#! .'.  This would cause the generated library to
   15092     # depend on `.', always an invalid library.  This was fixed in
   15093     # development snapshots of GCC prior to 3.0.
   15094     case $host_os in
   15095       aix4 | aix4.[01] | aix4.[01].*)
   15096       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15097 	   echo ' yes '
   15098 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15099 	:
   15100       else
   15101 	can_build_shared=no
   15102       fi
   15103       ;;
   15104     esac
   15105     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15106     # soname into executable. Probably we can add versioning support to
   15107     # collect2, so additional links can be useful in future.
   15108     if test "$aix_use_runtimelinking" = yes; then
   15109       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15110       # instead of lib<name>.a to let people know that these are not
   15111       # typical AIX shared libraries.
   15112       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15113     else
   15114       # We preserve .a as extension for shared libraries through AIX4.2
   15115       # and later when we are not doing run time linking.
   15116       library_names_spec='${libname}${release}.a $libname.a'
   15117       soname_spec='${libname}${release}${shared_ext}$major'
   15118     fi
   15119     shlibpath_var=LIBPATH
   15120   fi
   15121   ;;
   15122 
   15123 amigaos*)
   15124   library_names_spec='$libname.ixlibrary $libname.a'
   15125   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15126   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'
   15127   ;;
   15128 
   15129 beos*)
   15130   library_names_spec='${libname}${shared_ext}'
   15131   dynamic_linker="$host_os ld.so"
   15132   shlibpath_var=LIBRARY_PATH
   15133   ;;
   15134 
   15135 bsdi[45]*)
   15136   version_type=linux
   15137   need_version=no
   15138   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15139   soname_spec='${libname}${release}${shared_ext}$major'
   15140   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15141   shlibpath_var=LD_LIBRARY_PATH
   15142   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15143   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15144   # the default ld.so.conf also contains /usr/contrib/lib and
   15145   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15146   # libtool to hard-code these into programs
   15147   ;;
   15148 
   15149 cygwin* | mingw* | pw32*)
   15150   version_type=windows
   15151   shrext_cmds=".dll"
   15152   need_version=no
   15153   need_lib_prefix=no
   15154 
   15155   case $GCC,$host_os in
   15156   yes,cygwin* | yes,mingw* | yes,pw32*)
   15157     library_names_spec='$libname.dll.a'
   15158     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15159     postinstall_cmds='base_file=`basename \${file}`~
   15160       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15161       dldir=$destdir/`dirname \$dlpath`~
   15162       test -d \$dldir || mkdir -p \$dldir~
   15163       $install_prog $dir/$dlname \$dldir/$dlname~
   15164       chmod a+x \$dldir/$dlname'
   15165     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15166       dlpath=$dir/\$dldll~
   15167        $rm \$dlpath'
   15168     shlibpath_overrides_runpath=yes
   15169 
   15170     case $host_os in
   15171     cygwin*)
   15172       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15173       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15174       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15175       ;;
   15176     mingw*)
   15177       # MinGW DLLs use traditional 'lib' prefix
   15178       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15179       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15180       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15181         # It is most probably a Windows format PATH printed by
   15182         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15183         # path with ; separators, and with drive letters. We can handle the
   15184         # drive letters (cygwin fileutils understands them), so leave them,
   15185         # especially as we might pass files found there to a mingw objdump,
   15186         # which wouldn't understand a cygwinified path. Ahh.
   15187         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15188       else
   15189         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15190       fi
   15191       ;;
   15192     pw32*)
   15193       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15194       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15195       ;;
   15196     esac
   15197     ;;
   15198 
   15199   *)
   15200     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15201     ;;
   15202   esac
   15203   dynamic_linker='Win32 ld.exe'
   15204   # FIXME: first we should search . and the directory the executable is in
   15205   shlibpath_var=PATH
   15206   ;;
   15207 
   15208 darwin* | rhapsody*)
   15209   dynamic_linker="$host_os dyld"
   15210   version_type=darwin
   15211   need_lib_prefix=no
   15212   need_version=no
   15213   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15214   soname_spec='${libname}${release}${major}$shared_ext'
   15215   shlibpath_overrides_runpath=yes
   15216   shlibpath_var=DYLD_LIBRARY_PATH
   15217   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15218   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15219   if test "$GCC" = yes; then
   15220     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   15221   else
   15222     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15223   fi
   15224   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15225   ;;
   15226 
   15227 dgux*)
   15228   version_type=linux
   15229   need_lib_prefix=no
   15230   need_version=no
   15231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15232   soname_spec='${libname}${release}${shared_ext}$major'
   15233   shlibpath_var=LD_LIBRARY_PATH
   15234   ;;
   15235 
   15236 freebsd1*)
   15237   dynamic_linker=no
   15238   ;;
   15239 
   15240 freebsd* | dragonfly*)
   15241   # DragonFly does not have aout.  When/if they implement a new
   15242   # versioning mechanism, adjust this.
   15243   if test -x /usr/bin/objformat; then
   15244     objformat=`/usr/bin/objformat`
   15245   else
   15246     case $host_os in
   15247     freebsd[123]*) objformat=aout ;;
   15248     *) objformat=elf ;;
   15249     esac
   15250   fi
   15251   version_type=freebsd-$objformat
   15252   case $version_type in
   15253     freebsd-elf*)
   15254       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15255       need_version=no
   15256       need_lib_prefix=no
   15257       ;;
   15258     freebsd-*)
   15259       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15260       need_version=yes
   15261       ;;
   15262   esac
   15263   shlibpath_var=LD_LIBRARY_PATH
   15264   case $host_os in
   15265   freebsd2*)
   15266     shlibpath_overrides_runpath=yes
   15267     ;;
   15268   freebsd3.[01]* | freebsdelf3.[01]*)
   15269     shlibpath_overrides_runpath=yes
   15270     hardcode_into_libs=yes
   15271     ;;
   15272   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15273   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15274     shlibpath_overrides_runpath=no
   15275     hardcode_into_libs=yes
   15276     ;;
   15277   freebsd*) # from 4.6 on
   15278     shlibpath_overrides_runpath=yes
   15279     hardcode_into_libs=yes
   15280     ;;
   15281   esac
   15282   ;;
   15283 
   15284 gnu*)
   15285   version_type=linux
   15286   need_lib_prefix=no
   15287   need_version=no
   15288   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15289   soname_spec='${libname}${release}${shared_ext}$major'
   15290   shlibpath_var=LD_LIBRARY_PATH
   15291   hardcode_into_libs=yes
   15292   ;;
   15293 
   15294 hpux9* | hpux10* | hpux11*)
   15295   # Give a soname corresponding to the major version so that dld.sl refuses to
   15296   # link against other versions.
   15297   version_type=sunos
   15298   need_lib_prefix=no
   15299   need_version=no
   15300   case $host_cpu in
   15301   ia64*)
   15302     shrext_cmds='.so'
   15303     hardcode_into_libs=yes
   15304     dynamic_linker="$host_os dld.so"
   15305     shlibpath_var=LD_LIBRARY_PATH
   15306     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15307     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15308     soname_spec='${libname}${release}${shared_ext}$major'
   15309     if test "X$HPUX_IA64_MODE" = X32; then
   15310       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15311     else
   15312       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15313     fi
   15314     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15315     ;;
   15316    hppa*64*)
   15317      shrext_cmds='.sl'
   15318      hardcode_into_libs=yes
   15319      dynamic_linker="$host_os dld.sl"
   15320      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15321      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15322      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15323      soname_spec='${libname}${release}${shared_ext}$major'
   15324      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15325      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15326      ;;
   15327    *)
   15328     shrext_cmds='.sl'
   15329     dynamic_linker="$host_os dld.sl"
   15330     shlibpath_var=SHLIB_PATH
   15331     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15333     soname_spec='${libname}${release}${shared_ext}$major'
   15334     ;;
   15335   esac
   15336   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15337   postinstall_cmds='chmod 555 $lib'
   15338   ;;
   15339 
   15340 interix3*)
   15341   version_type=linux
   15342   need_lib_prefix=no
   15343   need_version=no
   15344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15345   soname_spec='${libname}${release}${shared_ext}$major'
   15346   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15347   shlibpath_var=LD_LIBRARY_PATH
   15348   shlibpath_overrides_runpath=no
   15349   hardcode_into_libs=yes
   15350   ;;
   15351 
   15352 irix5* | irix6* | nonstopux*)
   15353   case $host_os in
   15354     nonstopux*) version_type=nonstopux ;;
   15355     *)
   15356 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15357 		version_type=linux
   15358 	else
   15359 		version_type=irix
   15360 	fi ;;
   15361   esac
   15362   need_lib_prefix=no
   15363   need_version=no
   15364   soname_spec='${libname}${release}${shared_ext}$major'
   15365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15366   case $host_os in
   15367   irix5* | nonstopux*)
   15368     libsuff= shlibsuff=
   15369     ;;
   15370   *)
   15371     case $LD in # libtool.m4 will add one of these switches to LD
   15372     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15373       libsuff= shlibsuff= libmagic=32-bit;;
   15374     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15375       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15376     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15377       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15378     *) libsuff= shlibsuff= libmagic=never-match;;
   15379     esac
   15380     ;;
   15381   esac
   15382   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15383   shlibpath_overrides_runpath=no
   15384   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15385   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15386   hardcode_into_libs=yes
   15387   ;;
   15388 
   15389 # No shared lib support for Linux oldld, aout, or coff.
   15390 linux*oldld* | linux*aout* | linux*coff*)
   15391   dynamic_linker=no
   15392   ;;
   15393 
   15394 # This must be Linux ELF.
   15395 linux* | k*bsd*-gnu)
   15396   version_type=linux
   15397   need_lib_prefix=no
   15398   need_version=no
   15399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15400   soname_spec='${libname}${release}${shared_ext}$major'
   15401   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15402   shlibpath_var=LD_LIBRARY_PATH
   15403   shlibpath_overrides_runpath=no
   15404   # This implies no fast_install, which is unacceptable.
   15405   # Some rework will be needed to allow for fast_install
   15406   # before this can be enabled.
   15407   hardcode_into_libs=yes
   15408 
   15409   # Append ld.so.conf contents to the search path
   15410   if test -f /etc/ld.so.conf; then
   15411     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   15412     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15413   fi
   15414 
   15415   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15416   # powerpc, because MkLinux only supported shared libraries with the
   15417   # GNU dynamic linker.  Since this was broken with cross compilers,
   15418   # most powerpc-linux boxes support dynamic linking these days and
   15419   # people can always --disable-shared, the test was removed, and we
   15420   # assume the GNU/Linux dynamic linker is in use.
   15421   dynamic_linker='GNU/Linux ld.so'
   15422   ;;
   15423 
   15424 netbsdelf*-gnu)
   15425   version_type=linux
   15426   need_lib_prefix=no
   15427   need_version=no
   15428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15429   soname_spec='${libname}${release}${shared_ext}$major'
   15430   shlibpath_var=LD_LIBRARY_PATH
   15431   shlibpath_overrides_runpath=no
   15432   hardcode_into_libs=yes
   15433   dynamic_linker='NetBSD ld.elf_so'
   15434   ;;
   15435 
   15436 netbsd*)
   15437   version_type=sunos
   15438   need_lib_prefix=no
   15439   need_version=no
   15440   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15441     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15442     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15443     dynamic_linker='NetBSD (a.out) ld.so'
   15444   else
   15445     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15446     soname_spec='${libname}${release}${shared_ext}$major'
   15447     dynamic_linker='NetBSD ld.elf_so'
   15448   fi
   15449   shlibpath_var=LD_LIBRARY_PATH
   15450   shlibpath_overrides_runpath=yes
   15451   hardcode_into_libs=yes
   15452   ;;
   15453 
   15454 newsos6)
   15455   version_type=linux
   15456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15457   shlibpath_var=LD_LIBRARY_PATH
   15458   shlibpath_overrides_runpath=yes
   15459   ;;
   15460 
   15461 nto-qnx*)
   15462   version_type=linux
   15463   need_lib_prefix=no
   15464   need_version=no
   15465   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15466   soname_spec='${libname}${release}${shared_ext}$major'
   15467   shlibpath_var=LD_LIBRARY_PATH
   15468   shlibpath_overrides_runpath=yes
   15469   ;;
   15470 
   15471 openbsd*)
   15472   version_type=sunos
   15473   sys_lib_dlsearch_path_spec="/usr/lib"
   15474   need_lib_prefix=no
   15475   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15476   case $host_os in
   15477     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15478     *)                         need_version=no  ;;
   15479   esac
   15480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15481   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15482   shlibpath_var=LD_LIBRARY_PATH
   15483   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15484     case $host_os in
   15485       openbsd2.[89] | openbsd2.[89].*)
   15486 	shlibpath_overrides_runpath=no
   15487 	;;
   15488       *)
   15489 	shlibpath_overrides_runpath=yes
   15490 	;;
   15491       esac
   15492   else
   15493     shlibpath_overrides_runpath=yes
   15494   fi
   15495   ;;
   15496 
   15497 os2*)
   15498   libname_spec='$name'
   15499   shrext_cmds=".dll"
   15500   need_lib_prefix=no
   15501   library_names_spec='$libname${shared_ext} $libname.a'
   15502   dynamic_linker='OS/2 ld.exe'
   15503   shlibpath_var=LIBPATH
   15504   ;;
   15505 
   15506 osf3* | osf4* | osf5*)
   15507   version_type=osf
   15508   need_lib_prefix=no
   15509   need_version=no
   15510   soname_spec='${libname}${release}${shared_ext}$major'
   15511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15512   shlibpath_var=LD_LIBRARY_PATH
   15513   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15514   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15515   ;;
   15516 
   15517 solaris*)
   15518   version_type=linux
   15519   need_lib_prefix=no
   15520   need_version=no
   15521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15522   soname_spec='${libname}${release}${shared_ext}$major'
   15523   shlibpath_var=LD_LIBRARY_PATH
   15524   shlibpath_overrides_runpath=yes
   15525   hardcode_into_libs=yes
   15526   # ldd complains unless libraries are executable
   15527   postinstall_cmds='chmod +x $lib'
   15528   ;;
   15529 
   15530 sunos4*)
   15531   version_type=sunos
   15532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15533   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15534   shlibpath_var=LD_LIBRARY_PATH
   15535   shlibpath_overrides_runpath=yes
   15536   if test "$with_gnu_ld" = yes; then
   15537     need_lib_prefix=no
   15538   fi
   15539   need_version=yes
   15540   ;;
   15541 
   15542 sysv4 | sysv4.3*)
   15543   version_type=linux
   15544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15545   soname_spec='${libname}${release}${shared_ext}$major'
   15546   shlibpath_var=LD_LIBRARY_PATH
   15547   case $host_vendor in
   15548     sni)
   15549       shlibpath_overrides_runpath=no
   15550       need_lib_prefix=no
   15551       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15552       runpath_var=LD_RUN_PATH
   15553       ;;
   15554     siemens)
   15555       need_lib_prefix=no
   15556       ;;
   15557     motorola)
   15558       need_lib_prefix=no
   15559       need_version=no
   15560       shlibpath_overrides_runpath=no
   15561       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15562       ;;
   15563   esac
   15564   ;;
   15565 
   15566 sysv4*MP*)
   15567   if test -d /usr/nec ;then
   15568     version_type=linux
   15569     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15570     soname_spec='$libname${shared_ext}.$major'
   15571     shlibpath_var=LD_LIBRARY_PATH
   15572   fi
   15573   ;;
   15574 
   15575 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15576   version_type=freebsd-elf
   15577   need_lib_prefix=no
   15578   need_version=no
   15579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15580   soname_spec='${libname}${release}${shared_ext}$major'
   15581   shlibpath_var=LD_LIBRARY_PATH
   15582   hardcode_into_libs=yes
   15583   if test "$with_gnu_ld" = yes; then
   15584     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15585     shlibpath_overrides_runpath=no
   15586   else
   15587     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15588     shlibpath_overrides_runpath=yes
   15589     case $host_os in
   15590       sco3.2v5*)
   15591         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15592 	;;
   15593     esac
   15594   fi
   15595   sys_lib_dlsearch_path_spec='/usr/lib'
   15596   ;;
   15597 
   15598 uts4*)
   15599   version_type=linux
   15600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15601   soname_spec='${libname}${release}${shared_ext}$major'
   15602   shlibpath_var=LD_LIBRARY_PATH
   15603   ;;
   15604 
   15605 *)
   15606   dynamic_linker=no
   15607   ;;
   15608 esac
   15609 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15610 echo "${ECHO_T}$dynamic_linker" >&6; }
   15611 test "$dynamic_linker" = no && can_build_shared=no
   15612 
   15613 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15614 if test "$GCC" = yes; then
   15615   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15616 fi
   15617 
   15618 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15619 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15620 hardcode_action_F77=
   15621 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15622    test -n "$runpath_var_F77" || \
   15623    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15624 
   15625   # We can hardcode non-existant directories.
   15626   if test "$hardcode_direct_F77" != no &&
   15627      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15628      # have to relink, otherwise we might link with an installed library
   15629      # when we should be linking with a yet-to-be-installed one
   15630      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15631      test "$hardcode_minus_L_F77" != no; then
   15632     # Linking always hardcodes the temporary library directory.
   15633     hardcode_action_F77=relink
   15634   else
   15635     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15636     hardcode_action_F77=immediate
   15637   fi
   15638 else
   15639   # We cannot hardcode anything, or else we can only hardcode existing
   15640   # directories.
   15641   hardcode_action_F77=unsupported
   15642 fi
   15643 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15644 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15645 
   15646 if test "$hardcode_action_F77" = relink; then
   15647   # Fast installation is not supported
   15648   enable_fast_install=no
   15649 elif test "$shlibpath_overrides_runpath" = yes ||
   15650      test "$enable_shared" = no; then
   15651   # Fast installation is not necessary
   15652   enable_fast_install=needless
   15653 fi
   15654 
   15655 
   15656 # The else clause should only fire when bootstrapping the
   15657 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15658 # with your package, and you will get complaints that there are
   15659 # no rules to generate ltmain.sh.
   15660 if test -f "$ltmain"; then
   15661   # See if we are running on zsh, and set the options which allow our commands through
   15662   # without removal of \ escapes.
   15663   if test -n "${ZSH_VERSION+set}" ; then
   15664     setopt NO_GLOB_SUBST
   15665   fi
   15666   # Now quote all the things that may contain metacharacters while being
   15667   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15668   # variables and quote the copies for generation of the libtool script.
   15669   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15670     SED SHELL STRIP \
   15671     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15672     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15673     deplibs_check_method reload_flag reload_cmds need_locks \
   15674     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15675     lt_cv_sys_global_symbol_to_c_name_address \
   15676     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15677     old_postinstall_cmds old_postuninstall_cmds \
   15678     compiler_F77 \
   15679     CC_F77 \
   15680     LD_F77 \
   15681     lt_prog_compiler_wl_F77 \
   15682     lt_prog_compiler_pic_F77 \
   15683     lt_prog_compiler_static_F77 \
   15684     lt_prog_compiler_no_builtin_flag_F77 \
   15685     export_dynamic_flag_spec_F77 \
   15686     thread_safe_flag_spec_F77 \
   15687     whole_archive_flag_spec_F77 \
   15688     enable_shared_with_static_runtimes_F77 \
   15689     old_archive_cmds_F77 \
   15690     old_archive_from_new_cmds_F77 \
   15691     predep_objects_F77 \
   15692     postdep_objects_F77 \
   15693     predeps_F77 \
   15694     postdeps_F77 \
   15695     compiler_lib_search_path_F77 \
   15696     archive_cmds_F77 \
   15697     archive_expsym_cmds_F77 \
   15698     postinstall_cmds_F77 \
   15699     postuninstall_cmds_F77 \
   15700     old_archive_from_expsyms_cmds_F77 \
   15701     allow_undefined_flag_F77 \
   15702     no_undefined_flag_F77 \
   15703     export_symbols_cmds_F77 \
   15704     hardcode_libdir_flag_spec_F77 \
   15705     hardcode_libdir_flag_spec_ld_F77 \
   15706     hardcode_libdir_separator_F77 \
   15707     hardcode_automatic_F77 \
   15708     module_cmds_F77 \
   15709     module_expsym_cmds_F77 \
   15710     lt_cv_prog_compiler_c_o_F77 \
   15711     exclude_expsyms_F77 \
   15712     include_expsyms_F77; do
   15713 
   15714     case $var in
   15715     old_archive_cmds_F77 | \
   15716     old_archive_from_new_cmds_F77 | \
   15717     archive_cmds_F77 | \
   15718     archive_expsym_cmds_F77 | \
   15719     module_cmds_F77 | \
   15720     module_expsym_cmds_F77 | \
   15721     old_archive_from_expsyms_cmds_F77 | \
   15722     export_symbols_cmds_F77 | \
   15723     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15724     postinstall_cmds | postuninstall_cmds | \
   15725     old_postinstall_cmds | old_postuninstall_cmds | \
   15726     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15727       # Double-quote double-evaled strings.
   15728       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15729       ;;
   15730     *)
   15731       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15732       ;;
   15733     esac
   15734   done
   15735 
   15736   case $lt_echo in
   15737   *'\$0 --fallback-echo"')
   15738     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15739     ;;
   15740   esac
   15741 
   15742 cfgfile="$ofile"
   15743 
   15744   cat <<__EOF__ >> "$cfgfile"
   15745 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15746 
   15747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15748 
   15749 # Shell to use when invoking shell scripts.
   15750 SHELL=$lt_SHELL
   15751 
   15752 # Whether or not to build shared libraries.
   15753 build_libtool_libs=$enable_shared
   15754 
   15755 # Whether or not to build static libraries.
   15756 build_old_libs=$enable_static
   15757 
   15758 # Whether or not to add -lc for building shared libraries.
   15759 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15760 
   15761 # Whether or not to disallow shared libs when runtime libs are static
   15762 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15763 
   15764 # Whether or not to optimize for fast installation.
   15765 fast_install=$enable_fast_install
   15766 
   15767 # The host system.
   15768 host_alias=$host_alias
   15769 host=$host
   15770 host_os=$host_os
   15771 
   15772 # The build system.
   15773 build_alias=$build_alias
   15774 build=$build
   15775 build_os=$build_os
   15776 
   15777 # An echo program that does not interpret backslashes.
   15778 echo=$lt_echo
   15779 
   15780 # The archiver.
   15781 AR=$lt_AR
   15782 AR_FLAGS=$lt_AR_FLAGS
   15783 
   15784 # A C compiler.
   15785 LTCC=$lt_LTCC
   15786 
   15787 # LTCC compiler flags.
   15788 LTCFLAGS=$lt_LTCFLAGS
   15789 
   15790 # A language-specific compiler.
   15791 CC=$lt_compiler_F77
   15792 
   15793 # Is the compiler the GNU C compiler?
   15794 with_gcc=$GCC_F77
   15795 
   15796 # An ERE matcher.
   15797 EGREP=$lt_EGREP
   15798 
   15799 # The linker used to build libraries.
   15800 LD=$lt_LD_F77
   15801 
   15802 # Whether we need hard or soft links.
   15803 LN_S=$lt_LN_S
   15804 
   15805 # A BSD-compatible nm program.
   15806 NM=$lt_NM
   15807 
   15808 # A symbol stripping program
   15809 STRIP=$lt_STRIP
   15810 
   15811 # Used to examine libraries when file_magic_cmd begins "file"
   15812 MAGIC_CMD=$MAGIC_CMD
   15813 
   15814 # Used on cygwin: DLL creation program.
   15815 DLLTOOL="$DLLTOOL"
   15816 
   15817 # Used on cygwin: object dumper.
   15818 OBJDUMP="$OBJDUMP"
   15819 
   15820 # Used on cygwin: assembler.
   15821 AS="$AS"
   15822 
   15823 # The name of the directory that contains temporary libtool files.
   15824 objdir=$objdir
   15825 
   15826 # How to create reloadable object files.
   15827 reload_flag=$lt_reload_flag
   15828 reload_cmds=$lt_reload_cmds
   15829 
   15830 # How to pass a linker flag through the compiler.
   15831 wl=$lt_lt_prog_compiler_wl_F77
   15832 
   15833 # Object file suffix (normally "o").
   15834 objext="$ac_objext"
   15835 
   15836 # Old archive suffix (normally "a").
   15837 libext="$libext"
   15838 
   15839 # Shared library suffix (normally ".so").
   15840 shrext_cmds='$shrext_cmds'
   15841 
   15842 # Executable file suffix (normally "").
   15843 exeext="$exeext"
   15844 
   15845 # Additional compiler flags for building library objects.
   15846 pic_flag=$lt_lt_prog_compiler_pic_F77
   15847 pic_mode=$pic_mode
   15848 
   15849 # What is the maximum length of a command?
   15850 max_cmd_len=$lt_cv_sys_max_cmd_len
   15851 
   15852 # Does compiler simultaneously support -c and -o options?
   15853 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15854 
   15855 # Must we lock files when doing compilation?
   15856 need_locks=$lt_need_locks
   15857 
   15858 # Do we need the lib prefix for modules?
   15859 need_lib_prefix=$need_lib_prefix
   15860 
   15861 # Do we need a version for libraries?
   15862 need_version=$need_version
   15863 
   15864 # Whether dlopen is supported.
   15865 dlopen_support=$enable_dlopen
   15866 
   15867 # Whether dlopen of programs is supported.
   15868 dlopen_self=$enable_dlopen_self
   15869 
   15870 # Whether dlopen of statically linked programs is supported.
   15871 dlopen_self_static=$enable_dlopen_self_static
   15872 
   15873 # Compiler flag to prevent dynamic linking.
   15874 link_static_flag=$lt_lt_prog_compiler_static_F77
   15875 
   15876 # Compiler flag to turn off builtin functions.
   15877 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15878 
   15879 # Compiler flag to allow reflexive dlopens.
   15880 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15881 
   15882 # Compiler flag to generate shared objects directly from archives.
   15883 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15884 
   15885 # Compiler flag to generate thread-safe objects.
   15886 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15887 
   15888 # Library versioning type.
   15889 version_type=$version_type
   15890 
   15891 # Format of library name prefix.
   15892 libname_spec=$lt_libname_spec
   15893 
   15894 # List of archive names.  First name is the real one, the rest are links.
   15895 # The last name is the one that the linker finds with -lNAME.
   15896 library_names_spec=$lt_library_names_spec
   15897 
   15898 # The coded name of the library, if different from the real name.
   15899 soname_spec=$lt_soname_spec
   15900 
   15901 # Commands used to build and install an old-style archive.
   15902 RANLIB=$lt_RANLIB
   15903 old_archive_cmds=$lt_old_archive_cmds_F77
   15904 old_postinstall_cmds=$lt_old_postinstall_cmds
   15905 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15906 
   15907 # Create an old-style archive from a shared archive.
   15908 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15909 
   15910 # Create a temporary old-style archive to link instead of a shared archive.
   15911 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15912 
   15913 # Commands used to build and install a shared archive.
   15914 archive_cmds=$lt_archive_cmds_F77
   15915 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15916 postinstall_cmds=$lt_postinstall_cmds
   15917 postuninstall_cmds=$lt_postuninstall_cmds
   15918 
   15919 # Commands used to build a loadable module (assumed same as above if empty)
   15920 module_cmds=$lt_module_cmds_F77
   15921 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15922 
   15923 # Commands to strip libraries.
   15924 old_striplib=$lt_old_striplib
   15925 striplib=$lt_striplib
   15926 
   15927 # Dependencies to place before the objects being linked to create a
   15928 # shared library.
   15929 predep_objects=$lt_predep_objects_F77
   15930 
   15931 # Dependencies to place after the objects being linked to create a
   15932 # shared library.
   15933 postdep_objects=$lt_postdep_objects_F77
   15934 
   15935 # Dependencies to place before the objects being linked to create a
   15936 # shared library.
   15937 predeps=$lt_predeps_F77
   15938 
   15939 # Dependencies to place after the objects being linked to create a
   15940 # shared library.
   15941 postdeps=$lt_postdeps_F77
   15942 
   15943 # The library search path used internally by the compiler when linking
   15944 # a shared library.
   15945 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15946 
   15947 # Method to check whether dependent libraries are shared objects.
   15948 deplibs_check_method=$lt_deplibs_check_method
   15949 
   15950 # Command to use when deplibs_check_method == file_magic.
   15951 file_magic_cmd=$lt_file_magic_cmd
   15952 
   15953 # Flag that allows shared libraries with undefined symbols to be built.
   15954 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15955 
   15956 # Flag that forces no undefined symbols.
   15957 no_undefined_flag=$lt_no_undefined_flag_F77
   15958 
   15959 # Commands used to finish a libtool library installation in a directory.
   15960 finish_cmds=$lt_finish_cmds
   15961 
   15962 # Same as above, but a single script fragment to be evaled but not shown.
   15963 finish_eval=$lt_finish_eval
   15964 
   15965 # Take the output of nm and produce a listing of raw symbols and C names.
   15966 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15967 
   15968 # Transform the output of nm in a proper C declaration
   15969 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15970 
   15971 # Transform the output of nm in a C name address pair
   15972 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15973 
   15974 # This is the shared library runtime path variable.
   15975 runpath_var=$runpath_var
   15976 
   15977 # This is the shared library path variable.
   15978 shlibpath_var=$shlibpath_var
   15979 
   15980 # Is shlibpath searched before the hard-coded library search path?
   15981 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15982 
   15983 # How to hardcode a shared library path into an executable.
   15984 hardcode_action=$hardcode_action_F77
   15985 
   15986 # Whether we should hardcode library paths into libraries.
   15987 hardcode_into_libs=$hardcode_into_libs
   15988 
   15989 # Flag to hardcode \$libdir into a binary during linking.
   15990 # This must work even if \$libdir does not exist.
   15991 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   15992 
   15993 # If ld is used when linking, flag to hardcode \$libdir into
   15994 # a binary during linking. This must work even if \$libdir does
   15995 # not exist.
   15996 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   15997 
   15998 # Whether we need a single -rpath flag with a separated argument.
   15999 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16000 
   16001 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16002 # resulting binary.
   16003 hardcode_direct=$hardcode_direct_F77
   16004 
   16005 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16006 # resulting binary.
   16007 hardcode_minus_L=$hardcode_minus_L_F77
   16008 
   16009 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16010 # the resulting binary.
   16011 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16012 
   16013 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16014 # and all subsequent libraries and executables linked against it.
   16015 hardcode_automatic=$hardcode_automatic_F77
   16016 
   16017 # Variables whose values should be saved in libtool wrapper scripts and
   16018 # restored at relink time.
   16019 variables_saved_for_relink="$variables_saved_for_relink"
   16020 
   16021 # Whether libtool must link a program against all its dependency libraries.
   16022 link_all_deplibs=$link_all_deplibs_F77
   16023 
   16024 # Compile-time system search path for libraries
   16025 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16026 
   16027 # Run-time system search path for libraries
   16028 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16029 
   16030 # Fix the shell variable \$srcfile for the compiler.
   16031 fix_srcfile_path="$fix_srcfile_path_F77"
   16032 
   16033 # Set to yes if exported symbols are required.
   16034 always_export_symbols=$always_export_symbols_F77
   16035 
   16036 # The commands to list exported symbols.
   16037 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16038 
   16039 # The commands to extract the exported symbol list from a shared archive.
   16040 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16041 
   16042 # Symbols that should not be listed in the preloaded symbols.
   16043 exclude_expsyms=$lt_exclude_expsyms_F77
   16044 
   16045 # Symbols that must always be exported.
   16046 include_expsyms=$lt_include_expsyms_F77
   16047 
   16048 # ### END LIBTOOL TAG CONFIG: $tagname
   16049 
   16050 __EOF__
   16051 
   16052 
   16053 else
   16054   # If there is no Makefile yet, we rely on a make rule to execute
   16055   # `config.status --recheck' to rerun these tests and create the
   16056   # libtool script then.
   16057   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16058   if test -f "$ltmain_in"; then
   16059     test -f Makefile && make "$ltmain"
   16060   fi
   16061 fi
   16062 
   16063 
   16064 ac_ext=c
   16065 ac_cpp='$CPP $CPPFLAGS'
   16066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16069 
   16070 CC="$lt_save_CC"
   16071 
   16072 	else
   16073 	  tagname=""
   16074 	fi
   16075 	;;
   16076 
   16077       GCJ)
   16078 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16079 
   16080 
   16081 # Source file extension for Java test sources.
   16082 ac_ext=java
   16083 
   16084 # Object file extension for compiled Java test sources.
   16085 objext=o
   16086 objext_GCJ=$objext
   16087 
   16088 # Code to be used in simple compile tests
   16089 lt_simple_compile_test_code="class foo {}\n"
   16090 
   16091 # Code to be used in simple link tests
   16092 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16093 
   16094 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16095 
   16096 # If no C compiler was specified, use CC.
   16097 LTCC=${LTCC-"$CC"}
   16098 
   16099 # If no C compiler flags were specified, use CFLAGS.
   16100 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16101 
   16102 # Allow CC to be a program name with arguments.
   16103 compiler=$CC
   16104 
   16105 
   16106 # save warnings/boilerplate of simple test code
   16107 ac_outfile=conftest.$ac_objext
   16108 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16109 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16110 _lt_compiler_boilerplate=`cat conftest.err`
   16111 $rm conftest*
   16112 
   16113 ac_outfile=conftest.$ac_objext
   16114 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16115 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16116 _lt_linker_boilerplate=`cat conftest.err`
   16117 $rm conftest*
   16118 
   16119 
   16120 # Allow CC to be a program name with arguments.
   16121 lt_save_CC="$CC"
   16122 CC=${GCJ-"gcj"}
   16123 compiler=$CC
   16124 compiler_GCJ=$CC
   16125 for cc_temp in $compiler""; do
   16126   case $cc_temp in
   16127     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16128     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16129     \-*) ;;
   16130     *) break;;
   16131   esac
   16132 done
   16133 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16134 
   16135 
   16136 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16137 archive_cmds_need_lc_GCJ=no
   16138 
   16139 old_archive_cmds_GCJ=$old_archive_cmds
   16140 
   16141 
   16142 lt_prog_compiler_no_builtin_flag_GCJ=
   16143 
   16144 if test "$GCC" = yes; then
   16145   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16146 
   16147 
   16148 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16149 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16150 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16151   echo $ECHO_N "(cached) $ECHO_C" >&6
   16152 else
   16153   lt_cv_prog_compiler_rtti_exceptions=no
   16154   ac_outfile=conftest.$ac_objext
   16155    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16156    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16157    # Insert the option either (1) after the last *FLAGS variable, or
   16158    # (2) before a word containing "conftest.", or (3) at the end.
   16159    # Note that $ac_compile itself does not contain backslashes and begins
   16160    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16161    # The option is referenced via a variable to avoid confusing sed.
   16162    lt_compile=`echo "$ac_compile" | $SED \
   16163    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16164    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16165    -e 's:$: $lt_compiler_flag:'`
   16166    (eval echo "\"\$as_me:16166: $lt_compile\"" >&5)
   16167    (eval "$lt_compile" 2>conftest.err)
   16168    ac_status=$?
   16169    cat conftest.err >&5
   16170    echo "$as_me:16170: \$? = $ac_status" >&5
   16171    if (exit $ac_status) && test -s "$ac_outfile"; then
   16172      # The compiler can only warn and ignore the option if not recognized
   16173      # So say no if there are warnings other than the usual output.
   16174      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16175      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16176      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16177        lt_cv_prog_compiler_rtti_exceptions=yes
   16178      fi
   16179    fi
   16180    $rm conftest*
   16181 
   16182 fi
   16183 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16184 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16185 
   16186 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16187     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16188 else
   16189     :
   16190 fi
   16191 
   16192 fi
   16193 
   16194 lt_prog_compiler_wl_GCJ=
   16195 lt_prog_compiler_pic_GCJ=
   16196 lt_prog_compiler_static_GCJ=
   16197 
   16198 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16199 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16200 
   16201   if test "$GCC" = yes; then
   16202     lt_prog_compiler_wl_GCJ='-Wl,'
   16203     lt_prog_compiler_static_GCJ='-static'
   16204 
   16205     case $host_os in
   16206       aix*)
   16207       # All AIX code is PIC.
   16208       if test "$host_cpu" = ia64; then
   16209 	# AIX 5 now supports IA64 processor
   16210 	lt_prog_compiler_static_GCJ='-Bstatic'
   16211       fi
   16212       ;;
   16213 
   16214     amigaos*)
   16215       # FIXME: we need at least 68020 code to build shared libraries, but
   16216       # adding the `-m68020' flag to GCC prevents building anything better,
   16217       # like `-m68040'.
   16218       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16219       ;;
   16220 
   16221     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16222       # PIC is the default for these OSes.
   16223       ;;
   16224 
   16225     mingw* | pw32* | os2*)
   16226       # This hack is so that the source file can tell whether it is being
   16227       # built for inclusion in a dll (and should export symbols for example).
   16228       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16229       ;;
   16230 
   16231     darwin* | rhapsody*)
   16232       # PIC is the default on this platform
   16233       # Common symbols not allowed in MH_DYLIB files
   16234       lt_prog_compiler_pic_GCJ='-fno-common'
   16235       ;;
   16236 
   16237     interix3*)
   16238       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16239       # Instead, we relocate shared libraries at runtime.
   16240       ;;
   16241 
   16242     msdosdjgpp*)
   16243       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16244       # on systems that don't support them.
   16245       lt_prog_compiler_can_build_shared_GCJ=no
   16246       enable_shared=no
   16247       ;;
   16248 
   16249     sysv4*MP*)
   16250       if test -d /usr/nec; then
   16251 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16252       fi
   16253       ;;
   16254 
   16255     hpux*)
   16256       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16257       # not for PA HP-UX.
   16258       case $host_cpu in
   16259       hppa*64*|ia64*)
   16260 	# +Z the default
   16261 	;;
   16262       *)
   16263 	lt_prog_compiler_pic_GCJ='-fPIC'
   16264 	;;
   16265       esac
   16266       ;;
   16267 
   16268     *)
   16269       lt_prog_compiler_pic_GCJ='-fPIC'
   16270       ;;
   16271     esac
   16272   else
   16273     # PORTME Check for flag to pass linker flags through the system compiler.
   16274     case $host_os in
   16275     aix*)
   16276       lt_prog_compiler_wl_GCJ='-Wl,'
   16277       if test "$host_cpu" = ia64; then
   16278 	# AIX 5 now supports IA64 processor
   16279 	lt_prog_compiler_static_GCJ='-Bstatic'
   16280       else
   16281 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16282       fi
   16283       ;;
   16284       darwin*)
   16285         # PIC is the default on this platform
   16286         # Common symbols not allowed in MH_DYLIB files
   16287        case $cc_basename in
   16288          xlc*)
   16289          lt_prog_compiler_pic_GCJ='-qnocommon'
   16290          lt_prog_compiler_wl_GCJ='-Wl,'
   16291          ;;
   16292        esac
   16293        ;;
   16294 
   16295     mingw* | pw32* | os2*)
   16296       # This hack is so that the source file can tell whether it is being
   16297       # built for inclusion in a dll (and should export symbols for example).
   16298       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16299       ;;
   16300 
   16301     hpux9* | hpux10* | hpux11*)
   16302       lt_prog_compiler_wl_GCJ='-Wl,'
   16303       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16304       # not for PA HP-UX.
   16305       case $host_cpu in
   16306       hppa*64*|ia64*)
   16307 	# +Z the default
   16308 	;;
   16309       *)
   16310 	lt_prog_compiler_pic_GCJ='+Z'
   16311 	;;
   16312       esac
   16313       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16314       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16315       ;;
   16316 
   16317     irix5* | irix6* | nonstopux*)
   16318       lt_prog_compiler_wl_GCJ='-Wl,'
   16319       # PIC (with -KPIC) is the default.
   16320       lt_prog_compiler_static_GCJ='-non_shared'
   16321       ;;
   16322 
   16323     newsos6)
   16324       lt_prog_compiler_pic_GCJ='-KPIC'
   16325       lt_prog_compiler_static_GCJ='-Bstatic'
   16326       ;;
   16327 
   16328     linux* | k*bsd*-gnu)
   16329       case $cc_basename in
   16330       icc* | ecc*)
   16331 	lt_prog_compiler_wl_GCJ='-Wl,'
   16332 	lt_prog_compiler_pic_GCJ='-KPIC'
   16333 	lt_prog_compiler_static_GCJ='-static'
   16334         ;;
   16335       pgcc* | pgf77* | pgf90* | pgf95*)
   16336         # Portland Group compilers (*not* the Pentium gcc compiler,
   16337 	# which looks to be a dead project)
   16338 	lt_prog_compiler_wl_GCJ='-Wl,'
   16339 	lt_prog_compiler_pic_GCJ='-fpic'
   16340 	lt_prog_compiler_static_GCJ='-Bstatic'
   16341         ;;
   16342       ccc*)
   16343         lt_prog_compiler_wl_GCJ='-Wl,'
   16344         # All Alpha code is PIC.
   16345         lt_prog_compiler_static_GCJ='-non_shared'
   16346         ;;
   16347       esac
   16348       ;;
   16349 
   16350     osf3* | osf4* | osf5*)
   16351       lt_prog_compiler_wl_GCJ='-Wl,'
   16352       # All OSF/1 code is PIC.
   16353       lt_prog_compiler_static_GCJ='-non_shared'
   16354       ;;
   16355 
   16356     solaris*)
   16357       lt_prog_compiler_pic_GCJ='-KPIC'
   16358       lt_prog_compiler_static_GCJ='-Bstatic'
   16359       case $cc_basename in
   16360       f77* | f90* | f95*)
   16361 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16362       *)
   16363 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16364       esac
   16365       ;;
   16366 
   16367     sunos4*)
   16368       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16369       lt_prog_compiler_pic_GCJ='-PIC'
   16370       lt_prog_compiler_static_GCJ='-Bstatic'
   16371       ;;
   16372 
   16373     sysv4 | sysv4.2uw2* | sysv4.3*)
   16374       lt_prog_compiler_wl_GCJ='-Wl,'
   16375       lt_prog_compiler_pic_GCJ='-KPIC'
   16376       lt_prog_compiler_static_GCJ='-Bstatic'
   16377       ;;
   16378 
   16379     sysv4*MP*)
   16380       if test -d /usr/nec ;then
   16381 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16382 	lt_prog_compiler_static_GCJ='-Bstatic'
   16383       fi
   16384       ;;
   16385 
   16386     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16387       lt_prog_compiler_wl_GCJ='-Wl,'
   16388       lt_prog_compiler_pic_GCJ='-KPIC'
   16389       lt_prog_compiler_static_GCJ='-Bstatic'
   16390       ;;
   16391 
   16392     unicos*)
   16393       lt_prog_compiler_wl_GCJ='-Wl,'
   16394       lt_prog_compiler_can_build_shared_GCJ=no
   16395       ;;
   16396 
   16397     uts4*)
   16398       lt_prog_compiler_pic_GCJ='-pic'
   16399       lt_prog_compiler_static_GCJ='-Bstatic'
   16400       ;;
   16401 
   16402     *)
   16403       lt_prog_compiler_can_build_shared_GCJ=no
   16404       ;;
   16405     esac
   16406   fi
   16407 
   16408 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16409 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16410 
   16411 #
   16412 # Check to make sure the PIC flag actually works.
   16413 #
   16414 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16415 
   16416 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16417 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16418 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16419   echo $ECHO_N "(cached) $ECHO_C" >&6
   16420 else
   16421   lt_prog_compiler_pic_works_GCJ=no
   16422   ac_outfile=conftest.$ac_objext
   16423    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16424    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16425    # Insert the option either (1) after the last *FLAGS variable, or
   16426    # (2) before a word containing "conftest.", or (3) at the end.
   16427    # Note that $ac_compile itself does not contain backslashes and begins
   16428    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16429    # The option is referenced via a variable to avoid confusing sed.
   16430    lt_compile=`echo "$ac_compile" | $SED \
   16431    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16432    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16433    -e 's:$: $lt_compiler_flag:'`
   16434    (eval echo "\"\$as_me:16434: $lt_compile\"" >&5)
   16435    (eval "$lt_compile" 2>conftest.err)
   16436    ac_status=$?
   16437    cat conftest.err >&5
   16438    echo "$as_me:16438: \$? = $ac_status" >&5
   16439    if (exit $ac_status) && test -s "$ac_outfile"; then
   16440      # The compiler can only warn and ignore the option if not recognized
   16441      # So say no if there are warnings other than the usual output.
   16442      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16443      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16444      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16445        lt_prog_compiler_pic_works_GCJ=yes
   16446      fi
   16447    fi
   16448    $rm conftest*
   16449 
   16450 fi
   16451 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16452 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16453 
   16454 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16455     case $lt_prog_compiler_pic_GCJ in
   16456      "" | " "*) ;;
   16457      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16458      esac
   16459 else
   16460     lt_prog_compiler_pic_GCJ=
   16461      lt_prog_compiler_can_build_shared_GCJ=no
   16462 fi
   16463 
   16464 fi
   16465 case $host_os in
   16466   # For platforms which do not support PIC, -DPIC is meaningless:
   16467   *djgpp*)
   16468     lt_prog_compiler_pic_GCJ=
   16469     ;;
   16470   *)
   16471     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16472     ;;
   16473 esac
   16474 
   16475 #
   16476 # Check to make sure the static flag actually works.
   16477 #
   16478 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16479 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16480 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16481 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16482   echo $ECHO_N "(cached) $ECHO_C" >&6
   16483 else
   16484   lt_prog_compiler_static_works_GCJ=no
   16485    save_LDFLAGS="$LDFLAGS"
   16486    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16487    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16488    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16489      # The linker can only warn and ignore the option if not recognized
   16490      # So say no if there are warnings
   16491      if test -s conftest.err; then
   16492        # Append any errors to the config.log.
   16493        cat conftest.err 1>&5
   16494        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16495        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16496        if diff conftest.exp conftest.er2 >/dev/null; then
   16497          lt_prog_compiler_static_works_GCJ=yes
   16498        fi
   16499      else
   16500        lt_prog_compiler_static_works_GCJ=yes
   16501      fi
   16502    fi
   16503    $rm conftest*
   16504    LDFLAGS="$save_LDFLAGS"
   16505 
   16506 fi
   16507 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16508 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16509 
   16510 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16511     :
   16512 else
   16513     lt_prog_compiler_static_GCJ=
   16514 fi
   16515 
   16516 
   16517 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16518 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16519 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16520   echo $ECHO_N "(cached) $ECHO_C" >&6
   16521 else
   16522   lt_cv_prog_compiler_c_o_GCJ=no
   16523    $rm -r conftest 2>/dev/null
   16524    mkdir conftest
   16525    cd conftest
   16526    mkdir out
   16527    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16528 
   16529    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16530    # Insert the option either (1) after the last *FLAGS variable, or
   16531    # (2) before a word containing "conftest.", or (3) at the end.
   16532    # Note that $ac_compile itself does not contain backslashes and begins
   16533    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16534    lt_compile=`echo "$ac_compile" | $SED \
   16535    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16536    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16537    -e 's:$: $lt_compiler_flag:'`
   16538    (eval echo "\"\$as_me:16538: $lt_compile\"" >&5)
   16539    (eval "$lt_compile" 2>out/conftest.err)
   16540    ac_status=$?
   16541    cat out/conftest.err >&5
   16542    echo "$as_me:16542: \$? = $ac_status" >&5
   16543    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16544    then
   16545      # The compiler can only warn and ignore the option if not recognized
   16546      # So say no if there are warnings
   16547      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16548      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16549      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16550        lt_cv_prog_compiler_c_o_GCJ=yes
   16551      fi
   16552    fi
   16553    chmod u+w . 2>&5
   16554    $rm conftest*
   16555    # SGI C++ compiler will create directory out/ii_files/ for
   16556    # template instantiation
   16557    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16558    $rm out/* && rmdir out
   16559    cd ..
   16560    rmdir conftest
   16561    $rm conftest*
   16562 
   16563 fi
   16564 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16565 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16566 
   16567 
   16568 hard_links="nottested"
   16569 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16570   # do not overwrite the value of need_locks provided by the user
   16571   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16572 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16573   hard_links=yes
   16574   $rm conftest*
   16575   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16576   touch conftest.a
   16577   ln conftest.a conftest.b 2>&5 || hard_links=no
   16578   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16579   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16580 echo "${ECHO_T}$hard_links" >&6; }
   16581   if test "$hard_links" = no; then
   16582     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16583 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16584     need_locks=warn
   16585   fi
   16586 else
   16587   need_locks=no
   16588 fi
   16589 
   16590 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16591 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16592 
   16593   runpath_var=
   16594   allow_undefined_flag_GCJ=
   16595   enable_shared_with_static_runtimes_GCJ=no
   16596   archive_cmds_GCJ=
   16597   archive_expsym_cmds_GCJ=
   16598   old_archive_From_new_cmds_GCJ=
   16599   old_archive_from_expsyms_cmds_GCJ=
   16600   export_dynamic_flag_spec_GCJ=
   16601   whole_archive_flag_spec_GCJ=
   16602   thread_safe_flag_spec_GCJ=
   16603   hardcode_libdir_flag_spec_GCJ=
   16604   hardcode_libdir_flag_spec_ld_GCJ=
   16605   hardcode_libdir_separator_GCJ=
   16606   hardcode_direct_GCJ=no
   16607   hardcode_minus_L_GCJ=no
   16608   hardcode_shlibpath_var_GCJ=unsupported
   16609   link_all_deplibs_GCJ=unknown
   16610   hardcode_automatic_GCJ=no
   16611   module_cmds_GCJ=
   16612   module_expsym_cmds_GCJ=
   16613   always_export_symbols_GCJ=no
   16614   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16615   # include_expsyms should be a list of space-separated symbols to be *always*
   16616   # included in the symbol list
   16617   include_expsyms_GCJ=
   16618   # exclude_expsyms can be an extended regexp of symbols to exclude
   16619   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16620   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16621   # as well as any symbol that contains `d'.
   16622   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16623   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16624   # platforms (ab)use it in PIC code, but their linkers get confused if
   16625   # the symbol is explicitly referenced.  Since portable code cannot
   16626   # rely on this symbol name, it's probably fine to never include it in
   16627   # preloaded symbol tables.
   16628   extract_expsyms_cmds=
   16629   # Just being paranoid about ensuring that cc_basename is set.
   16630   for cc_temp in $compiler""; do
   16631   case $cc_temp in
   16632     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16633     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16634     \-*) ;;
   16635     *) break;;
   16636   esac
   16637 done
   16638 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16639 
   16640   case $host_os in
   16641   cygwin* | mingw* | pw32*)
   16642     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16643     # When not using gcc, we currently assume that we are using
   16644     # Microsoft Visual C++.
   16645     if test "$GCC" != yes; then
   16646       with_gnu_ld=no
   16647     fi
   16648     ;;
   16649   interix*)
   16650     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16651     with_gnu_ld=yes
   16652     ;;
   16653   openbsd*)
   16654     with_gnu_ld=no
   16655     ;;
   16656   esac
   16657 
   16658   ld_shlibs_GCJ=yes
   16659   if test "$with_gnu_ld" = yes; then
   16660     # If archive_cmds runs LD, not CC, wlarc should be empty
   16661     wlarc='${wl}'
   16662 
   16663     # Set some defaults for GNU ld with shared library support. These
   16664     # are reset later if shared libraries are not supported. Putting them
   16665     # here allows them to be overridden if necessary.
   16666     runpath_var=LD_RUN_PATH
   16667     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16668     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16669     # ancient GNU ld didn't support --whole-archive et. al.
   16670     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16671 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16672       else
   16673   	whole_archive_flag_spec_GCJ=
   16674     fi
   16675     supports_anon_versioning=no
   16676     case `$LD -v 2>/dev/null` in
   16677       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16678       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16679       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16680       *\ 2.11.*) ;; # other 2.11 versions
   16681       *) supports_anon_versioning=yes ;;
   16682     esac
   16683 
   16684     # See if GNU ld supports shared libraries.
   16685     case $host_os in
   16686     aix3* | aix4* | aix5*)
   16687       # On AIX/PPC, the GNU linker is very broken
   16688       if test "$host_cpu" != ia64; then
   16689 	ld_shlibs_GCJ=no
   16690 	cat <<EOF 1>&2
   16691 
   16692 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16693 *** to be unable to reliably create shared libraries on AIX.
   16694 *** Therefore, libtool is disabling shared libraries support.  If you
   16695 *** really care for shared libraries, you may want to modify your PATH
   16696 *** so that a non-GNU linker is found, and then restart.
   16697 
   16698 EOF
   16699       fi
   16700       ;;
   16701 
   16702     amigaos*)
   16703       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)'
   16704       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16705       hardcode_minus_L_GCJ=yes
   16706 
   16707       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16708       # that the semantics of dynamic libraries on AmigaOS, at least up
   16709       # to version 4, is to share data among multiple programs linked
   16710       # with the same dynamic library.  Since this doesn't match the
   16711       # behavior of shared libraries on other platforms, we can't use
   16712       # them.
   16713       ld_shlibs_GCJ=no
   16714       ;;
   16715 
   16716     beos*)
   16717       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16718 	allow_undefined_flag_GCJ=unsupported
   16719 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16720 	# support --undefined.  This deserves some investigation.  FIXME
   16721 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16722       else
   16723 	ld_shlibs_GCJ=no
   16724       fi
   16725       ;;
   16726 
   16727     cygwin* | mingw* | pw32*)
   16728       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16729       # as there is no search path for DLLs.
   16730       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16731       allow_undefined_flag_GCJ=unsupported
   16732       always_export_symbols_GCJ=no
   16733       enable_shared_with_static_runtimes_GCJ=yes
   16734       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16735 
   16736       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16737         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16738 	# If the export-symbols file already is a .def file (1st line
   16739 	# is EXPORTS), use it as is; otherwise, prepend...
   16740 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16741 	  cp $export_symbols $output_objdir/$soname.def;
   16742 	else
   16743 	  echo EXPORTS > $output_objdir/$soname.def;
   16744 	  cat $export_symbols >> $output_objdir/$soname.def;
   16745 	fi~
   16746 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16747       else
   16748 	ld_shlibs_GCJ=no
   16749       fi
   16750       ;;
   16751 
   16752     interix3*)
   16753       hardcode_direct_GCJ=no
   16754       hardcode_shlibpath_var_GCJ=no
   16755       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16756       export_dynamic_flag_spec_GCJ='${wl}-E'
   16757       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16758       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16759       # default) and relocated if they conflict, which is a slow very memory
   16760       # consuming and fragmenting process.  To avoid this, we pick a random,
   16761       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16762       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16763       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'
   16764       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'
   16765       ;;
   16766 
   16767     linux* | k*bsd*-gnu)
   16768       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16769 	tmp_addflag=
   16770 	case $cc_basename,$host_cpu in
   16771 	pgcc*)				# Portland Group C compiler
   16772 	  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'
   16773 	  tmp_addflag=' $pic_flag'
   16774 	  ;;
   16775 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16776 	  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'
   16777 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16778 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16779 	  tmp_addflag=' -i_dynamic' ;;
   16780 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16781 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16782 	ifc* | ifort*)			# Intel Fortran compiler
   16783 	  tmp_addflag=' -nofor_main' ;;
   16784 	esac
   16785 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16786 
   16787 	if test $supports_anon_versioning = yes; then
   16788 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16789   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16790   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16791 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16792 	fi
   16793 	link_all_deplibs_GCJ=no
   16794       else
   16795 	ld_shlibs_GCJ=no
   16796       fi
   16797       ;;
   16798 
   16799     netbsd* | netbsdelf*-gnu)
   16800       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16801 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16802 	wlarc=
   16803       else
   16804 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16805 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16806       fi
   16807       ;;
   16808 
   16809     solaris*)
   16810       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16811 	ld_shlibs_GCJ=no
   16812 	cat <<EOF 1>&2
   16813 
   16814 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16815 *** create shared libraries on Solaris systems.  Therefore, libtool
   16816 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16817 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16818 *** your PATH or compiler configuration so that the native linker is
   16819 *** used, and then restart.
   16820 
   16821 EOF
   16822       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16823 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16824 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16825       else
   16826 	ld_shlibs_GCJ=no
   16827       fi
   16828       ;;
   16829 
   16830     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16831       case `$LD -v 2>&1` in
   16832         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16833 	ld_shlibs_GCJ=no
   16834 	cat <<_LT_EOF 1>&2
   16835 
   16836 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16837 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16838 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16839 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16840 *** your PATH or compiler configuration so that the native linker is
   16841 *** used, and then restart.
   16842 
   16843 _LT_EOF
   16844 	;;
   16845 	*)
   16846 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16847 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16848 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16849 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16850 	  else
   16851 	    ld_shlibs_GCJ=no
   16852 	  fi
   16853 	;;
   16854       esac
   16855       ;;
   16856 
   16857     sunos4*)
   16858       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16859       wlarc=
   16860       hardcode_direct_GCJ=yes
   16861       hardcode_shlibpath_var_GCJ=no
   16862       ;;
   16863 
   16864     *)
   16865       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16866 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16867 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16868       else
   16869 	ld_shlibs_GCJ=no
   16870       fi
   16871       ;;
   16872     esac
   16873 
   16874     if test "$ld_shlibs_GCJ" = no; then
   16875       runpath_var=
   16876       hardcode_libdir_flag_spec_GCJ=
   16877       export_dynamic_flag_spec_GCJ=
   16878       whole_archive_flag_spec_GCJ=
   16879     fi
   16880   else
   16881     # PORTME fill in a description of your system's linker (not GNU ld)
   16882     case $host_os in
   16883     aix3*)
   16884       allow_undefined_flag_GCJ=unsupported
   16885       always_export_symbols_GCJ=yes
   16886       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'
   16887       # Note: this linker hardcodes the directories in LIBPATH if there
   16888       # are no directories specified by -L.
   16889       hardcode_minus_L_GCJ=yes
   16890       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16891 	# Neither direct hardcoding nor static linking is supported with a
   16892 	# broken collect2.
   16893 	hardcode_direct_GCJ=unsupported
   16894       fi
   16895       ;;
   16896 
   16897     aix4* | aix5*)
   16898       if test "$host_cpu" = ia64; then
   16899 	# On IA64, the linker does run time linking by default, so we don't
   16900 	# have to do anything special.
   16901 	aix_use_runtimelinking=no
   16902 	exp_sym_flag='-Bexport'
   16903 	no_entry_flag=""
   16904       else
   16905 	# If we're using GNU nm, then we don't want the "-C" option.
   16906 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16907 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16908 	  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'
   16909 	else
   16910 	  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'
   16911 	fi
   16912 	aix_use_runtimelinking=no
   16913 
   16914 	# Test if we are trying to use run time linking or normal
   16915 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16916 	# need to do runtime linking.
   16917 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16918 	  for ld_flag in $LDFLAGS; do
   16919   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16920   	    aix_use_runtimelinking=yes
   16921   	    break
   16922   	  fi
   16923 	  done
   16924 	  ;;
   16925 	esac
   16926 
   16927 	exp_sym_flag='-bexport'
   16928 	no_entry_flag='-bnoentry'
   16929       fi
   16930 
   16931       # When large executables or shared objects are built, AIX ld can
   16932       # have problems creating the table of contents.  If linking a library
   16933       # or program results in "error TOC overflow" add -mminimal-toc to
   16934       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16935       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16936 
   16937       archive_cmds_GCJ=''
   16938       hardcode_direct_GCJ=yes
   16939       hardcode_libdir_separator_GCJ=':'
   16940       link_all_deplibs_GCJ=yes
   16941 
   16942       if test "$GCC" = yes; then
   16943 	case $host_os in aix4.[012]|aix4.[012].*)
   16944 	# We only want to do this on AIX 4.2 and lower, the check
   16945 	# below for broken collect2 doesn't work under 4.3+
   16946 	  collect2name=`${CC} -print-prog-name=collect2`
   16947 	  if test -f "$collect2name" && \
   16948   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16949 	  then
   16950   	  # We have reworked collect2
   16951   	  hardcode_direct_GCJ=yes
   16952 	  else
   16953   	  # We have old collect2
   16954   	  hardcode_direct_GCJ=unsupported
   16955   	  # It fails to find uninstalled libraries when the uninstalled
   16956   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16957   	  # to unsupported forces relinking
   16958   	  hardcode_minus_L_GCJ=yes
   16959   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16960   	  hardcode_libdir_separator_GCJ=
   16961 	  fi
   16962 	  ;;
   16963 	esac
   16964 	shared_flag='-shared'
   16965 	if test "$aix_use_runtimelinking" = yes; then
   16966 	  shared_flag="$shared_flag "'${wl}-G'
   16967 	fi
   16968       else
   16969 	# not using gcc
   16970 	if test "$host_cpu" = ia64; then
   16971   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16972   	# chokes on -Wl,-G. The following line is correct:
   16973 	  shared_flag='-G'
   16974 	else
   16975 	  if test "$aix_use_runtimelinking" = yes; then
   16976 	    shared_flag='${wl}-G'
   16977 	  else
   16978 	    shared_flag='${wl}-bM:SRE'
   16979 	  fi
   16980 	fi
   16981       fi
   16982 
   16983       # It seems that -bexpall does not export symbols beginning with
   16984       # underscore (_), so it is better to generate a list of symbols to export.
   16985       always_export_symbols_GCJ=yes
   16986       if test "$aix_use_runtimelinking" = yes; then
   16987 	# Warning - without using the other runtime loading flags (-brtl),
   16988 	# -berok will link without error, but may produce a broken library.
   16989 	allow_undefined_flag_GCJ='-berok'
   16990        # Determine the default libpath from the value encoded in an empty executable.
   16991        cat >conftest.$ac_ext <<_ACEOF
   16992 /* confdefs.h.  */
   16993 _ACEOF
   16994 cat confdefs.h >>conftest.$ac_ext
   16995 cat >>conftest.$ac_ext <<_ACEOF
   16996 /* end confdefs.h.  */
   16997 
   16998 int
   16999 main ()
   17000 {
   17001 
   17002   ;
   17003   return 0;
   17004 }
   17005 _ACEOF
   17006 rm -f conftest.$ac_objext conftest$ac_exeext
   17007 if { (ac_try="$ac_link"
   17008 case "(($ac_try" in
   17009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17010   *) ac_try_echo=$ac_try;;
   17011 esac
   17012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17013   (eval "$ac_link") 2>conftest.er1
   17014   ac_status=$?
   17015   grep -v '^ *+' conftest.er1 >conftest.err
   17016   rm -f conftest.er1
   17017   cat conftest.err >&5
   17018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17019   (exit $ac_status); } && {
   17020 	 test -z "$ac_c_werror_flag" ||
   17021 	 test ! -s conftest.err
   17022        } && test -s conftest$ac_exeext &&
   17023        $as_test_x conftest$ac_exeext; then
   17024 
   17025 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17026 }'`
   17027 # Check for a 64-bit object if we didn't find anything.
   17028 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17029 }'`; fi
   17030 else
   17031   echo "$as_me: failed program was:" >&5
   17032 sed 's/^/| /' conftest.$ac_ext >&5
   17033 
   17034 
   17035 fi
   17036 
   17037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17038       conftest$ac_exeext conftest.$ac_ext
   17039 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17040 
   17041        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17042 	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"
   17043        else
   17044 	if test "$host_cpu" = ia64; then
   17045 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17046 	  allow_undefined_flag_GCJ="-z nodefs"
   17047 	  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"
   17048 	else
   17049 	 # Determine the default libpath from the value encoded in an empty executable.
   17050 	 cat >conftest.$ac_ext <<_ACEOF
   17051 /* confdefs.h.  */
   17052 _ACEOF
   17053 cat confdefs.h >>conftest.$ac_ext
   17054 cat >>conftest.$ac_ext <<_ACEOF
   17055 /* end confdefs.h.  */
   17056 
   17057 int
   17058 main ()
   17059 {
   17060 
   17061   ;
   17062   return 0;
   17063 }
   17064 _ACEOF
   17065 rm -f conftest.$ac_objext conftest$ac_exeext
   17066 if { (ac_try="$ac_link"
   17067 case "(($ac_try" in
   17068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17069   *) ac_try_echo=$ac_try;;
   17070 esac
   17071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17072   (eval "$ac_link") 2>conftest.er1
   17073   ac_status=$?
   17074   grep -v '^ *+' conftest.er1 >conftest.err
   17075   rm -f conftest.er1
   17076   cat conftest.err >&5
   17077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17078   (exit $ac_status); } && {
   17079 	 test -z "$ac_c_werror_flag" ||
   17080 	 test ! -s conftest.err
   17081        } && test -s conftest$ac_exeext &&
   17082        $as_test_x conftest$ac_exeext; then
   17083 
   17084 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17085 }'`
   17086 # Check for a 64-bit object if we didn't find anything.
   17087 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17088 }'`; fi
   17089 else
   17090   echo "$as_me: failed program was:" >&5
   17091 sed 's/^/| /' conftest.$ac_ext >&5
   17092 
   17093 
   17094 fi
   17095 
   17096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17097       conftest$ac_exeext conftest.$ac_ext
   17098 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17099 
   17100 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17101 	  # Warning - without using the other run time loading flags,
   17102 	  # -berok will link without error, but may produce a broken library.
   17103 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17104 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17105 	  # Exported symbols can be pulled into shared objects from archives
   17106 	  whole_archive_flag_spec_GCJ='$convenience'
   17107 	  archive_cmds_need_lc_GCJ=yes
   17108 	  # This is similar to how AIX traditionally builds its shared libraries.
   17109 	  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'
   17110 	fi
   17111       fi
   17112       ;;
   17113 
   17114     amigaos*)
   17115       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)'
   17116       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17117       hardcode_minus_L_GCJ=yes
   17118       # see comment about different semantics on the GNU ld section
   17119       ld_shlibs_GCJ=no
   17120       ;;
   17121 
   17122     bsdi[45]*)
   17123       export_dynamic_flag_spec_GCJ=-rdynamic
   17124       ;;
   17125 
   17126     cygwin* | mingw* | pw32*)
   17127       # When not using gcc, we currently assume that we are using
   17128       # Microsoft Visual C++.
   17129       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17130       # no search path for DLLs.
   17131       hardcode_libdir_flag_spec_GCJ=' '
   17132       allow_undefined_flag_GCJ=unsupported
   17133       # Tell ltmain to make .lib files, not .a files.
   17134       libext=lib
   17135       # Tell ltmain to make .dll files, not .so files.
   17136       shrext_cmds=".dll"
   17137       # FIXME: Setting linknames here is a bad hack.
   17138       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17139       # The linker will automatically build a .lib file if we build a DLL.
   17140       old_archive_From_new_cmds_GCJ='true'
   17141       # FIXME: Should let the user specify the lib program.
   17142       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17143       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17144       enable_shared_with_static_runtimes_GCJ=yes
   17145       ;;
   17146 
   17147     darwin* | rhapsody*)
   17148       case $host_os in
   17149         rhapsody* | darwin1.[012])
   17150          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17151          ;;
   17152        *) # Darwin 1.3 on
   17153          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17154            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17155          else
   17156            case ${MACOSX_DEPLOYMENT_TARGET} in
   17157              10.[012])
   17158                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17159                ;;
   17160              10.*)
   17161                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17162                ;;
   17163            esac
   17164          fi
   17165          ;;
   17166       esac
   17167       archive_cmds_need_lc_GCJ=no
   17168       hardcode_direct_GCJ=no
   17169       hardcode_automatic_GCJ=yes
   17170       hardcode_shlibpath_var_GCJ=unsupported
   17171       whole_archive_flag_spec_GCJ=''
   17172       link_all_deplibs_GCJ=yes
   17173     if test "$GCC" = yes ; then
   17174     	output_verbose_link_cmd='echo'
   17175         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17176       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17177       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17178       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17179       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}'
   17180     else
   17181       case $cc_basename in
   17182         xlc*)
   17183          output_verbose_link_cmd='echo'
   17184          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17185          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17186           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17187          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17188           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}'
   17189           ;;
   17190        *)
   17191          ld_shlibs_GCJ=no
   17192           ;;
   17193       esac
   17194     fi
   17195       ;;
   17196 
   17197     dgux*)
   17198       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17199       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17200       hardcode_shlibpath_var_GCJ=no
   17201       ;;
   17202 
   17203     freebsd1*)
   17204       ld_shlibs_GCJ=no
   17205       ;;
   17206 
   17207     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17208     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17209     # does not break anything, and helps significantly (at the cost of a little
   17210     # extra space).
   17211     freebsd2.2*)
   17212       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17213       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17214       hardcode_direct_GCJ=yes
   17215       hardcode_shlibpath_var_GCJ=no
   17216       ;;
   17217 
   17218     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17219     freebsd2*)
   17220       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17221       hardcode_direct_GCJ=yes
   17222       hardcode_minus_L_GCJ=yes
   17223       hardcode_shlibpath_var_GCJ=no
   17224       ;;
   17225 
   17226     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17227     freebsd* | dragonfly*)
   17228       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17229       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17230       hardcode_direct_GCJ=yes
   17231       hardcode_shlibpath_var_GCJ=no
   17232       ;;
   17233 
   17234     hpux9*)
   17235       if test "$GCC" = yes; then
   17236 	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'
   17237       else
   17238 	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'
   17239       fi
   17240       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17241       hardcode_libdir_separator_GCJ=:
   17242       hardcode_direct_GCJ=yes
   17243 
   17244       # hardcode_minus_L: Not really in the search PATH,
   17245       # but as the default location of the library.
   17246       hardcode_minus_L_GCJ=yes
   17247       export_dynamic_flag_spec_GCJ='${wl}-E'
   17248       ;;
   17249 
   17250     hpux10*)
   17251       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17252 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17253       else
   17254 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17255       fi
   17256       if test "$with_gnu_ld" = no; then
   17257 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17258 	hardcode_libdir_separator_GCJ=:
   17259 
   17260 	hardcode_direct_GCJ=yes
   17261 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17262 
   17263 	# hardcode_minus_L: Not really in the search PATH,
   17264 	# but as the default location of the library.
   17265 	hardcode_minus_L_GCJ=yes
   17266       fi
   17267       ;;
   17268 
   17269     hpux11*)
   17270       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17271 	case $host_cpu in
   17272 	hppa*64*)
   17273 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17274 	  ;;
   17275 	ia64*)
   17276 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17277 	  ;;
   17278 	*)
   17279 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17280 	  ;;
   17281 	esac
   17282       else
   17283 	case $host_cpu in
   17284 	hppa*64*)
   17285 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17286 	  ;;
   17287 	ia64*)
   17288 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17289 	  ;;
   17290 	*)
   17291 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17292 	  ;;
   17293 	esac
   17294       fi
   17295       if test "$with_gnu_ld" = no; then
   17296 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17297 	hardcode_libdir_separator_GCJ=:
   17298 
   17299 	case $host_cpu in
   17300 	hppa*64*|ia64*)
   17301 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17302 	  hardcode_direct_GCJ=no
   17303 	  hardcode_shlibpath_var_GCJ=no
   17304 	  ;;
   17305 	*)
   17306 	  hardcode_direct_GCJ=yes
   17307 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17308 
   17309 	  # hardcode_minus_L: Not really in the search PATH,
   17310 	  # but as the default location of the library.
   17311 	  hardcode_minus_L_GCJ=yes
   17312 	  ;;
   17313 	esac
   17314       fi
   17315       ;;
   17316 
   17317     irix5* | irix6* | nonstopux*)
   17318       if test "$GCC" = yes; then
   17319 	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'
   17320       else
   17321 	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'
   17322 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17323       fi
   17324       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17325       hardcode_libdir_separator_GCJ=:
   17326       link_all_deplibs_GCJ=yes
   17327       ;;
   17328 
   17329     netbsd* | netbsdelf*-gnu)
   17330       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17331 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17332       else
   17333 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17334       fi
   17335       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17336       hardcode_direct_GCJ=yes
   17337       hardcode_shlibpath_var_GCJ=no
   17338       ;;
   17339 
   17340     newsos6)
   17341       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17342       hardcode_direct_GCJ=yes
   17343       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17344       hardcode_libdir_separator_GCJ=:
   17345       hardcode_shlibpath_var_GCJ=no
   17346       ;;
   17347 
   17348     openbsd*)
   17349       hardcode_direct_GCJ=yes
   17350       hardcode_shlibpath_var_GCJ=no
   17351       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17352 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17353 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17354 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17355 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17356       else
   17357        case $host_os in
   17358 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17359 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17360 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17361 	   ;;
   17362 	 *)
   17363 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17364 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17365 	   ;;
   17366        esac
   17367       fi
   17368       ;;
   17369 
   17370     os2*)
   17371       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17372       hardcode_minus_L_GCJ=yes
   17373       allow_undefined_flag_GCJ=unsupported
   17374       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'
   17375       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17376       ;;
   17377 
   17378     osf3*)
   17379       if test "$GCC" = yes; then
   17380 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17381 	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'
   17382       else
   17383 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17384 	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'
   17385       fi
   17386       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17387       hardcode_libdir_separator_GCJ=:
   17388       ;;
   17389 
   17390     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17391       if test "$GCC" = yes; then
   17392 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17393 	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'
   17394 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17395       else
   17396 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17397 	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'
   17398 	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~
   17399 	$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'
   17400 
   17401 	# Both c and cxx compiler support -rpath directly
   17402 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17403       fi
   17404       hardcode_libdir_separator_GCJ=:
   17405       ;;
   17406 
   17407     solaris*)
   17408       no_undefined_flag_GCJ=' -z text'
   17409       if test "$GCC" = yes; then
   17410 	wlarc='${wl}'
   17411 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17412 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17413 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17414       else
   17415 	wlarc=''
   17416 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17417 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17418   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17419       fi
   17420       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17421       hardcode_shlibpath_var_GCJ=no
   17422       case $host_os in
   17423       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17424       *)
   17425  	# The compiler driver will combine linker options so we
   17426  	# cannot just pass the convience library names through
   17427  	# without $wl, iff we do not link with $LD.
   17428  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17429  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17430  	case $wlarc in
   17431  	'')
   17432  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17433  	*)
   17434  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   17435  	esac ;;
   17436       esac
   17437       link_all_deplibs_GCJ=yes
   17438       ;;
   17439 
   17440     sunos4*)
   17441       if test "x$host_vendor" = xsequent; then
   17442 	# Use $CC to link under sequent, because it throws in some extra .o
   17443 	# files that make .init and .fini sections work.
   17444 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17445       else
   17446 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17447       fi
   17448       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17449       hardcode_direct_GCJ=yes
   17450       hardcode_minus_L_GCJ=yes
   17451       hardcode_shlibpath_var_GCJ=no
   17452       ;;
   17453 
   17454     sysv4)
   17455       case $host_vendor in
   17456 	sni)
   17457 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17458 	  hardcode_direct_GCJ=yes # is this really true???
   17459 	;;
   17460 	siemens)
   17461 	  ## LD is ld it makes a PLAMLIB
   17462 	  ## CC just makes a GrossModule.
   17463 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17464 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17465 	  hardcode_direct_GCJ=no
   17466         ;;
   17467 	motorola)
   17468 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17469 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17470 	;;
   17471       esac
   17472       runpath_var='LD_RUN_PATH'
   17473       hardcode_shlibpath_var_GCJ=no
   17474       ;;
   17475 
   17476     sysv4.3*)
   17477       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17478       hardcode_shlibpath_var_GCJ=no
   17479       export_dynamic_flag_spec_GCJ='-Bexport'
   17480       ;;
   17481 
   17482     sysv4*MP*)
   17483       if test -d /usr/nec; then
   17484 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17485 	hardcode_shlibpath_var_GCJ=no
   17486 	runpath_var=LD_RUN_PATH
   17487 	hardcode_runpath_var=yes
   17488 	ld_shlibs_GCJ=yes
   17489       fi
   17490       ;;
   17491 
   17492     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17493       no_undefined_flag_GCJ='${wl}-z,text'
   17494       archive_cmds_need_lc_GCJ=no
   17495       hardcode_shlibpath_var_GCJ=no
   17496       runpath_var='LD_RUN_PATH'
   17497 
   17498       if test "$GCC" = yes; then
   17499 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17500 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17501       else
   17502 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17503 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17504       fi
   17505       ;;
   17506 
   17507     sysv5* | sco3.2v5* | sco5v6*)
   17508       # Note: We can NOT use -z defs as we might desire, because we do not
   17509       # link with -lc, and that would cause any symbols used from libc to
   17510       # always be unresolved, which means just about no library would
   17511       # ever link correctly.  If we're not using GNU ld we use -z text
   17512       # though, which does catch some bad symbols but isn't as heavy-handed
   17513       # as -z defs.
   17514       no_undefined_flag_GCJ='${wl}-z,text'
   17515       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17516       archive_cmds_need_lc_GCJ=no
   17517       hardcode_shlibpath_var_GCJ=no
   17518       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17519       hardcode_libdir_separator_GCJ=':'
   17520       link_all_deplibs_GCJ=yes
   17521       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17522       runpath_var='LD_RUN_PATH'
   17523 
   17524       if test "$GCC" = yes; then
   17525 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17526 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17527       else
   17528 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17529 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17530       fi
   17531       ;;
   17532 
   17533     uts4*)
   17534       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17535       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17536       hardcode_shlibpath_var_GCJ=no
   17537       ;;
   17538 
   17539     *)
   17540       ld_shlibs_GCJ=no
   17541       ;;
   17542     esac
   17543   fi
   17544 
   17545 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17546 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17547 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17548 
   17549 #
   17550 # Do we need to explicitly link libc?
   17551 #
   17552 case "x$archive_cmds_need_lc_GCJ" in
   17553 x|xyes)
   17554   # Assume -lc should be added
   17555   archive_cmds_need_lc_GCJ=yes
   17556 
   17557   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17558     case $archive_cmds_GCJ in
   17559     *'~'*)
   17560       # FIXME: we may have to deal with multi-command sequences.
   17561       ;;
   17562     '$CC '*)
   17563       # Test whether the compiler implicitly links with -lc since on some
   17564       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17565       # to ld, don't add -lc before -lgcc.
   17566       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17567 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17568       $rm conftest*
   17569       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17570 
   17571       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17572   (eval $ac_compile) 2>&5
   17573   ac_status=$?
   17574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17575   (exit $ac_status); } 2>conftest.err; then
   17576         soname=conftest
   17577         lib=conftest
   17578         libobjs=conftest.$ac_objext
   17579         deplibs=
   17580         wl=$lt_prog_compiler_wl_GCJ
   17581 	pic_flag=$lt_prog_compiler_pic_GCJ
   17582         compiler_flags=-v
   17583         linker_flags=-v
   17584         verstring=
   17585         output_objdir=.
   17586         libname=conftest
   17587         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17588         allow_undefined_flag_GCJ=
   17589         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17590   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17591   ac_status=$?
   17592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17593   (exit $ac_status); }
   17594         then
   17595 	  archive_cmds_need_lc_GCJ=no
   17596         else
   17597 	  archive_cmds_need_lc_GCJ=yes
   17598         fi
   17599         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17600       else
   17601         cat conftest.err 1>&5
   17602       fi
   17603       $rm conftest*
   17604       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17605 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17606       ;;
   17607     esac
   17608   fi
   17609   ;;
   17610 esac
   17611 
   17612 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17613 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17614 library_names_spec=
   17615 libname_spec='lib$name'
   17616 soname_spec=
   17617 shrext_cmds=".so"
   17618 postinstall_cmds=
   17619 postuninstall_cmds=
   17620 finish_cmds=
   17621 finish_eval=
   17622 shlibpath_var=
   17623 shlibpath_overrides_runpath=unknown
   17624 version_type=none
   17625 dynamic_linker="$host_os ld.so"
   17626 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17627 if test "$GCC" = yes; then
   17628   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17629   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17630     # if the path contains ";" then we assume it to be the separator
   17631     # otherwise default to the standard path separator (i.e. ":") - it is
   17632     # assumed that no part of a normal pathname contains ";" but that should
   17633     # okay in the real world where ";" in dirpaths is itself problematic.
   17634     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17635   else
   17636     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17637   fi
   17638 else
   17639   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17640 fi
   17641 need_lib_prefix=unknown
   17642 hardcode_into_libs=no
   17643 
   17644 # when you set need_version to no, make sure it does not cause -set_version
   17645 # flags to be left without arguments
   17646 need_version=unknown
   17647 
   17648 case $host_os in
   17649 aix3*)
   17650   version_type=linux
   17651   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17652   shlibpath_var=LIBPATH
   17653 
   17654   # AIX 3 has no versioning support, so we append a major version to the name.
   17655   soname_spec='${libname}${release}${shared_ext}$major'
   17656   ;;
   17657 
   17658 aix4* | aix5*)
   17659   version_type=linux
   17660   need_lib_prefix=no
   17661   need_version=no
   17662   hardcode_into_libs=yes
   17663   if test "$host_cpu" = ia64; then
   17664     # AIX 5 supports IA64
   17665     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17666     shlibpath_var=LD_LIBRARY_PATH
   17667   else
   17668     # With GCC up to 2.95.x, collect2 would create an import file
   17669     # for dependence libraries.  The import file would start with
   17670     # the line `#! .'.  This would cause the generated library to
   17671     # depend on `.', always an invalid library.  This was fixed in
   17672     # development snapshots of GCC prior to 3.0.
   17673     case $host_os in
   17674       aix4 | aix4.[01] | aix4.[01].*)
   17675       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17676 	   echo ' yes '
   17677 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17678 	:
   17679       else
   17680 	can_build_shared=no
   17681       fi
   17682       ;;
   17683     esac
   17684     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17685     # soname into executable. Probably we can add versioning support to
   17686     # collect2, so additional links can be useful in future.
   17687     if test "$aix_use_runtimelinking" = yes; then
   17688       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17689       # instead of lib<name>.a to let people know that these are not
   17690       # typical AIX shared libraries.
   17691       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17692     else
   17693       # We preserve .a as extension for shared libraries through AIX4.2
   17694       # and later when we are not doing run time linking.
   17695       library_names_spec='${libname}${release}.a $libname.a'
   17696       soname_spec='${libname}${release}${shared_ext}$major'
   17697     fi
   17698     shlibpath_var=LIBPATH
   17699   fi
   17700   ;;
   17701 
   17702 amigaos*)
   17703   library_names_spec='$libname.ixlibrary $libname.a'
   17704   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17705   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'
   17706   ;;
   17707 
   17708 beos*)
   17709   library_names_spec='${libname}${shared_ext}'
   17710   dynamic_linker="$host_os ld.so"
   17711   shlibpath_var=LIBRARY_PATH
   17712   ;;
   17713 
   17714 bsdi[45]*)
   17715   version_type=linux
   17716   need_version=no
   17717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17718   soname_spec='${libname}${release}${shared_ext}$major'
   17719   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17720   shlibpath_var=LD_LIBRARY_PATH
   17721   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17722   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17723   # the default ld.so.conf also contains /usr/contrib/lib and
   17724   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17725   # libtool to hard-code these into programs
   17726   ;;
   17727 
   17728 cygwin* | mingw* | pw32*)
   17729   version_type=windows
   17730   shrext_cmds=".dll"
   17731   need_version=no
   17732   need_lib_prefix=no
   17733 
   17734   case $GCC,$host_os in
   17735   yes,cygwin* | yes,mingw* | yes,pw32*)
   17736     library_names_spec='$libname.dll.a'
   17737     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17738     postinstall_cmds='base_file=`basename \${file}`~
   17739       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17740       dldir=$destdir/`dirname \$dlpath`~
   17741       test -d \$dldir || mkdir -p \$dldir~
   17742       $install_prog $dir/$dlname \$dldir/$dlname~
   17743       chmod a+x \$dldir/$dlname'
   17744     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17745       dlpath=$dir/\$dldll~
   17746        $rm \$dlpath'
   17747     shlibpath_overrides_runpath=yes
   17748 
   17749     case $host_os in
   17750     cygwin*)
   17751       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17752       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17753       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17754       ;;
   17755     mingw*)
   17756       # MinGW DLLs use traditional 'lib' prefix
   17757       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17758       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17759       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17760         # It is most probably a Windows format PATH printed by
   17761         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17762         # path with ; separators, and with drive letters. We can handle the
   17763         # drive letters (cygwin fileutils understands them), so leave them,
   17764         # especially as we might pass files found there to a mingw objdump,
   17765         # which wouldn't understand a cygwinified path. Ahh.
   17766         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17767       else
   17768         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17769       fi
   17770       ;;
   17771     pw32*)
   17772       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17773       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17774       ;;
   17775     esac
   17776     ;;
   17777 
   17778   *)
   17779     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17780     ;;
   17781   esac
   17782   dynamic_linker='Win32 ld.exe'
   17783   # FIXME: first we should search . and the directory the executable is in
   17784   shlibpath_var=PATH
   17785   ;;
   17786 
   17787 darwin* | rhapsody*)
   17788   dynamic_linker="$host_os dyld"
   17789   version_type=darwin
   17790   need_lib_prefix=no
   17791   need_version=no
   17792   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17793   soname_spec='${libname}${release}${major}$shared_ext'
   17794   shlibpath_overrides_runpath=yes
   17795   shlibpath_var=DYLD_LIBRARY_PATH
   17796   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17797   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17798   if test "$GCC" = yes; then
   17799     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   17800   else
   17801     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17802   fi
   17803   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17804   ;;
   17805 
   17806 dgux*)
   17807   version_type=linux
   17808   need_lib_prefix=no
   17809   need_version=no
   17810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17811   soname_spec='${libname}${release}${shared_ext}$major'
   17812   shlibpath_var=LD_LIBRARY_PATH
   17813   ;;
   17814 
   17815 freebsd1*)
   17816   dynamic_linker=no
   17817   ;;
   17818 
   17819 freebsd* | dragonfly*)
   17820   # DragonFly does not have aout.  When/if they implement a new
   17821   # versioning mechanism, adjust this.
   17822   if test -x /usr/bin/objformat; then
   17823     objformat=`/usr/bin/objformat`
   17824   else
   17825     case $host_os in
   17826     freebsd[123]*) objformat=aout ;;
   17827     *) objformat=elf ;;
   17828     esac
   17829   fi
   17830   version_type=freebsd-$objformat
   17831   case $version_type in
   17832     freebsd-elf*)
   17833       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17834       need_version=no
   17835       need_lib_prefix=no
   17836       ;;
   17837     freebsd-*)
   17838       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17839       need_version=yes
   17840       ;;
   17841   esac
   17842   shlibpath_var=LD_LIBRARY_PATH
   17843   case $host_os in
   17844   freebsd2*)
   17845     shlibpath_overrides_runpath=yes
   17846     ;;
   17847   freebsd3.[01]* | freebsdelf3.[01]*)
   17848     shlibpath_overrides_runpath=yes
   17849     hardcode_into_libs=yes
   17850     ;;
   17851   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17852   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17853     shlibpath_overrides_runpath=no
   17854     hardcode_into_libs=yes
   17855     ;;
   17856   freebsd*) # from 4.6 on
   17857     shlibpath_overrides_runpath=yes
   17858     hardcode_into_libs=yes
   17859     ;;
   17860   esac
   17861   ;;
   17862 
   17863 gnu*)
   17864   version_type=linux
   17865   need_lib_prefix=no
   17866   need_version=no
   17867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17868   soname_spec='${libname}${release}${shared_ext}$major'
   17869   shlibpath_var=LD_LIBRARY_PATH
   17870   hardcode_into_libs=yes
   17871   ;;
   17872 
   17873 hpux9* | hpux10* | hpux11*)
   17874   # Give a soname corresponding to the major version so that dld.sl refuses to
   17875   # link against other versions.
   17876   version_type=sunos
   17877   need_lib_prefix=no
   17878   need_version=no
   17879   case $host_cpu in
   17880   ia64*)
   17881     shrext_cmds='.so'
   17882     hardcode_into_libs=yes
   17883     dynamic_linker="$host_os dld.so"
   17884     shlibpath_var=LD_LIBRARY_PATH
   17885     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17886     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17887     soname_spec='${libname}${release}${shared_ext}$major'
   17888     if test "X$HPUX_IA64_MODE" = X32; then
   17889       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17890     else
   17891       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17892     fi
   17893     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17894     ;;
   17895    hppa*64*)
   17896      shrext_cmds='.sl'
   17897      hardcode_into_libs=yes
   17898      dynamic_linker="$host_os dld.sl"
   17899      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17900      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17901      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17902      soname_spec='${libname}${release}${shared_ext}$major'
   17903      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17904      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17905      ;;
   17906    *)
   17907     shrext_cmds='.sl'
   17908     dynamic_linker="$host_os dld.sl"
   17909     shlibpath_var=SHLIB_PATH
   17910     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17911     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17912     soname_spec='${libname}${release}${shared_ext}$major'
   17913     ;;
   17914   esac
   17915   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17916   postinstall_cmds='chmod 555 $lib'
   17917   ;;
   17918 
   17919 interix3*)
   17920   version_type=linux
   17921   need_lib_prefix=no
   17922   need_version=no
   17923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17924   soname_spec='${libname}${release}${shared_ext}$major'
   17925   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17926   shlibpath_var=LD_LIBRARY_PATH
   17927   shlibpath_overrides_runpath=no
   17928   hardcode_into_libs=yes
   17929   ;;
   17930 
   17931 irix5* | irix6* | nonstopux*)
   17932   case $host_os in
   17933     nonstopux*) version_type=nonstopux ;;
   17934     *)
   17935 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17936 		version_type=linux
   17937 	else
   17938 		version_type=irix
   17939 	fi ;;
   17940   esac
   17941   need_lib_prefix=no
   17942   need_version=no
   17943   soname_spec='${libname}${release}${shared_ext}$major'
   17944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17945   case $host_os in
   17946   irix5* | nonstopux*)
   17947     libsuff= shlibsuff=
   17948     ;;
   17949   *)
   17950     case $LD in # libtool.m4 will add one of these switches to LD
   17951     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17952       libsuff= shlibsuff= libmagic=32-bit;;
   17953     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17954       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17955     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17956       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17957     *) libsuff= shlibsuff= libmagic=never-match;;
   17958     esac
   17959     ;;
   17960   esac
   17961   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17962   shlibpath_overrides_runpath=no
   17963   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   17964   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   17965   hardcode_into_libs=yes
   17966   ;;
   17967 
   17968 # No shared lib support for Linux oldld, aout, or coff.
   17969 linux*oldld* | linux*aout* | linux*coff*)
   17970   dynamic_linker=no
   17971   ;;
   17972 
   17973 # This must be Linux ELF.
   17974 linux* | k*bsd*-gnu)
   17975   version_type=linux
   17976   need_lib_prefix=no
   17977   need_version=no
   17978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17979   soname_spec='${libname}${release}${shared_ext}$major'
   17980   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17981   shlibpath_var=LD_LIBRARY_PATH
   17982   shlibpath_overrides_runpath=no
   17983   # This implies no fast_install, which is unacceptable.
   17984   # Some rework will be needed to allow for fast_install
   17985   # before this can be enabled.
   17986   hardcode_into_libs=yes
   17987 
   17988   # Append ld.so.conf contents to the search path
   17989   if test -f /etc/ld.so.conf; then
   17990     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   17991     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17992   fi
   17993 
   17994   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17995   # powerpc, because MkLinux only supported shared libraries with the
   17996   # GNU dynamic linker.  Since this was broken with cross compilers,
   17997   # most powerpc-linux boxes support dynamic linking these days and
   17998   # people can always --disable-shared, the test was removed, and we
   17999   # assume the GNU/Linux dynamic linker is in use.
   18000   dynamic_linker='GNU/Linux ld.so'
   18001   ;;
   18002 
   18003 netbsdelf*-gnu)
   18004   version_type=linux
   18005   need_lib_prefix=no
   18006   need_version=no
   18007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18008   soname_spec='${libname}${release}${shared_ext}$major'
   18009   shlibpath_var=LD_LIBRARY_PATH
   18010   shlibpath_overrides_runpath=no
   18011   hardcode_into_libs=yes
   18012   dynamic_linker='NetBSD ld.elf_so'
   18013   ;;
   18014 
   18015 netbsd*)
   18016   version_type=sunos
   18017   need_lib_prefix=no
   18018   need_version=no
   18019   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18020     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18021     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18022     dynamic_linker='NetBSD (a.out) ld.so'
   18023   else
   18024     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18025     soname_spec='${libname}${release}${shared_ext}$major'
   18026     dynamic_linker='NetBSD ld.elf_so'
   18027   fi
   18028   shlibpath_var=LD_LIBRARY_PATH
   18029   shlibpath_overrides_runpath=yes
   18030   hardcode_into_libs=yes
   18031   ;;
   18032 
   18033 newsos6)
   18034   version_type=linux
   18035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18036   shlibpath_var=LD_LIBRARY_PATH
   18037   shlibpath_overrides_runpath=yes
   18038   ;;
   18039 
   18040 nto-qnx*)
   18041   version_type=linux
   18042   need_lib_prefix=no
   18043   need_version=no
   18044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18045   soname_spec='${libname}${release}${shared_ext}$major'
   18046   shlibpath_var=LD_LIBRARY_PATH
   18047   shlibpath_overrides_runpath=yes
   18048   ;;
   18049 
   18050 openbsd*)
   18051   version_type=sunos
   18052   sys_lib_dlsearch_path_spec="/usr/lib"
   18053   need_lib_prefix=no
   18054   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18055   case $host_os in
   18056     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18057     *)                         need_version=no  ;;
   18058   esac
   18059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18060   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18061   shlibpath_var=LD_LIBRARY_PATH
   18062   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18063     case $host_os in
   18064       openbsd2.[89] | openbsd2.[89].*)
   18065 	shlibpath_overrides_runpath=no
   18066 	;;
   18067       *)
   18068 	shlibpath_overrides_runpath=yes
   18069 	;;
   18070       esac
   18071   else
   18072     shlibpath_overrides_runpath=yes
   18073   fi
   18074   ;;
   18075 
   18076 os2*)
   18077   libname_spec='$name'
   18078   shrext_cmds=".dll"
   18079   need_lib_prefix=no
   18080   library_names_spec='$libname${shared_ext} $libname.a'
   18081   dynamic_linker='OS/2 ld.exe'
   18082   shlibpath_var=LIBPATH
   18083   ;;
   18084 
   18085 osf3* | osf4* | osf5*)
   18086   version_type=osf
   18087   need_lib_prefix=no
   18088   need_version=no
   18089   soname_spec='${libname}${release}${shared_ext}$major'
   18090   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18091   shlibpath_var=LD_LIBRARY_PATH
   18092   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18093   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18094   ;;
   18095 
   18096 solaris*)
   18097   version_type=linux
   18098   need_lib_prefix=no
   18099   need_version=no
   18100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18101   soname_spec='${libname}${release}${shared_ext}$major'
   18102   shlibpath_var=LD_LIBRARY_PATH
   18103   shlibpath_overrides_runpath=yes
   18104   hardcode_into_libs=yes
   18105   # ldd complains unless libraries are executable
   18106   postinstall_cmds='chmod +x $lib'
   18107   ;;
   18108 
   18109 sunos4*)
   18110   version_type=sunos
   18111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18112   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18113   shlibpath_var=LD_LIBRARY_PATH
   18114   shlibpath_overrides_runpath=yes
   18115   if test "$with_gnu_ld" = yes; then
   18116     need_lib_prefix=no
   18117   fi
   18118   need_version=yes
   18119   ;;
   18120 
   18121 sysv4 | sysv4.3*)
   18122   version_type=linux
   18123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18124   soname_spec='${libname}${release}${shared_ext}$major'
   18125   shlibpath_var=LD_LIBRARY_PATH
   18126   case $host_vendor in
   18127     sni)
   18128       shlibpath_overrides_runpath=no
   18129       need_lib_prefix=no
   18130       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18131       runpath_var=LD_RUN_PATH
   18132       ;;
   18133     siemens)
   18134       need_lib_prefix=no
   18135       ;;
   18136     motorola)
   18137       need_lib_prefix=no
   18138       need_version=no
   18139       shlibpath_overrides_runpath=no
   18140       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18141       ;;
   18142   esac
   18143   ;;
   18144 
   18145 sysv4*MP*)
   18146   if test -d /usr/nec ;then
   18147     version_type=linux
   18148     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18149     soname_spec='$libname${shared_ext}.$major'
   18150     shlibpath_var=LD_LIBRARY_PATH
   18151   fi
   18152   ;;
   18153 
   18154 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18155   version_type=freebsd-elf
   18156   need_lib_prefix=no
   18157   need_version=no
   18158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18159   soname_spec='${libname}${release}${shared_ext}$major'
   18160   shlibpath_var=LD_LIBRARY_PATH
   18161   hardcode_into_libs=yes
   18162   if test "$with_gnu_ld" = yes; then
   18163     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18164     shlibpath_overrides_runpath=no
   18165   else
   18166     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18167     shlibpath_overrides_runpath=yes
   18168     case $host_os in
   18169       sco3.2v5*)
   18170         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18171 	;;
   18172     esac
   18173   fi
   18174   sys_lib_dlsearch_path_spec='/usr/lib'
   18175   ;;
   18176 
   18177 uts4*)
   18178   version_type=linux
   18179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18180   soname_spec='${libname}${release}${shared_ext}$major'
   18181   shlibpath_var=LD_LIBRARY_PATH
   18182   ;;
   18183 
   18184 *)
   18185   dynamic_linker=no
   18186   ;;
   18187 esac
   18188 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18189 echo "${ECHO_T}$dynamic_linker" >&6; }
   18190 test "$dynamic_linker" = no && can_build_shared=no
   18191 
   18192 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18193 if test "$GCC" = yes; then
   18194   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18195 fi
   18196 
   18197 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18198 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18199 hardcode_action_GCJ=
   18200 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18201    test -n "$runpath_var_GCJ" || \
   18202    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18203 
   18204   # We can hardcode non-existant directories.
   18205   if test "$hardcode_direct_GCJ" != no &&
   18206      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18207      # have to relink, otherwise we might link with an installed library
   18208      # when we should be linking with a yet-to-be-installed one
   18209      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18210      test "$hardcode_minus_L_GCJ" != no; then
   18211     # Linking always hardcodes the temporary library directory.
   18212     hardcode_action_GCJ=relink
   18213   else
   18214     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18215     hardcode_action_GCJ=immediate
   18216   fi
   18217 else
   18218   # We cannot hardcode anything, or else we can only hardcode existing
   18219   # directories.
   18220   hardcode_action_GCJ=unsupported
   18221 fi
   18222 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18223 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18224 
   18225 if test "$hardcode_action_GCJ" = relink; then
   18226   # Fast installation is not supported
   18227   enable_fast_install=no
   18228 elif test "$shlibpath_overrides_runpath" = yes ||
   18229      test "$enable_shared" = no; then
   18230   # Fast installation is not necessary
   18231   enable_fast_install=needless
   18232 fi
   18233 
   18234 
   18235 # The else clause should only fire when bootstrapping the
   18236 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18237 # with your package, and you will get complaints that there are
   18238 # no rules to generate ltmain.sh.
   18239 if test -f "$ltmain"; then
   18240   # See if we are running on zsh, and set the options which allow our commands through
   18241   # without removal of \ escapes.
   18242   if test -n "${ZSH_VERSION+set}" ; then
   18243     setopt NO_GLOB_SUBST
   18244   fi
   18245   # Now quote all the things that may contain metacharacters while being
   18246   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18247   # variables and quote the copies for generation of the libtool script.
   18248   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18249     SED SHELL STRIP \
   18250     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18251     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18252     deplibs_check_method reload_flag reload_cmds need_locks \
   18253     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18254     lt_cv_sys_global_symbol_to_c_name_address \
   18255     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18256     old_postinstall_cmds old_postuninstall_cmds \
   18257     compiler_GCJ \
   18258     CC_GCJ \
   18259     LD_GCJ \
   18260     lt_prog_compiler_wl_GCJ \
   18261     lt_prog_compiler_pic_GCJ \
   18262     lt_prog_compiler_static_GCJ \
   18263     lt_prog_compiler_no_builtin_flag_GCJ \
   18264     export_dynamic_flag_spec_GCJ \
   18265     thread_safe_flag_spec_GCJ \
   18266     whole_archive_flag_spec_GCJ \
   18267     enable_shared_with_static_runtimes_GCJ \
   18268     old_archive_cmds_GCJ \
   18269     old_archive_from_new_cmds_GCJ \
   18270     predep_objects_GCJ \
   18271     postdep_objects_GCJ \
   18272     predeps_GCJ \
   18273     postdeps_GCJ \
   18274     compiler_lib_search_path_GCJ \
   18275     archive_cmds_GCJ \
   18276     archive_expsym_cmds_GCJ \
   18277     postinstall_cmds_GCJ \
   18278     postuninstall_cmds_GCJ \
   18279     old_archive_from_expsyms_cmds_GCJ \
   18280     allow_undefined_flag_GCJ \
   18281     no_undefined_flag_GCJ \
   18282     export_symbols_cmds_GCJ \
   18283     hardcode_libdir_flag_spec_GCJ \
   18284     hardcode_libdir_flag_spec_ld_GCJ \
   18285     hardcode_libdir_separator_GCJ \
   18286     hardcode_automatic_GCJ \
   18287     module_cmds_GCJ \
   18288     module_expsym_cmds_GCJ \
   18289     lt_cv_prog_compiler_c_o_GCJ \
   18290     exclude_expsyms_GCJ \
   18291     include_expsyms_GCJ; do
   18292 
   18293     case $var in
   18294     old_archive_cmds_GCJ | \
   18295     old_archive_from_new_cmds_GCJ | \
   18296     archive_cmds_GCJ | \
   18297     archive_expsym_cmds_GCJ | \
   18298     module_cmds_GCJ | \
   18299     module_expsym_cmds_GCJ | \
   18300     old_archive_from_expsyms_cmds_GCJ | \
   18301     export_symbols_cmds_GCJ | \
   18302     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18303     postinstall_cmds | postuninstall_cmds | \
   18304     old_postinstall_cmds | old_postuninstall_cmds | \
   18305     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18306       # Double-quote double-evaled strings.
   18307       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18308       ;;
   18309     *)
   18310       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18311       ;;
   18312     esac
   18313   done
   18314 
   18315   case $lt_echo in
   18316   *'\$0 --fallback-echo"')
   18317     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18318     ;;
   18319   esac
   18320 
   18321 cfgfile="$ofile"
   18322 
   18323   cat <<__EOF__ >> "$cfgfile"
   18324 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18325 
   18326 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18327 
   18328 # Shell to use when invoking shell scripts.
   18329 SHELL=$lt_SHELL
   18330 
   18331 # Whether or not to build shared libraries.
   18332 build_libtool_libs=$enable_shared
   18333 
   18334 # Whether or not to build static libraries.
   18335 build_old_libs=$enable_static
   18336 
   18337 # Whether or not to add -lc for building shared libraries.
   18338 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18339 
   18340 # Whether or not to disallow shared libs when runtime libs are static
   18341 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18342 
   18343 # Whether or not to optimize for fast installation.
   18344 fast_install=$enable_fast_install
   18345 
   18346 # The host system.
   18347 host_alias=$host_alias
   18348 host=$host
   18349 host_os=$host_os
   18350 
   18351 # The build system.
   18352 build_alias=$build_alias
   18353 build=$build
   18354 build_os=$build_os
   18355 
   18356 # An echo program that does not interpret backslashes.
   18357 echo=$lt_echo
   18358 
   18359 # The archiver.
   18360 AR=$lt_AR
   18361 AR_FLAGS=$lt_AR_FLAGS
   18362 
   18363 # A C compiler.
   18364 LTCC=$lt_LTCC
   18365 
   18366 # LTCC compiler flags.
   18367 LTCFLAGS=$lt_LTCFLAGS
   18368 
   18369 # A language-specific compiler.
   18370 CC=$lt_compiler_GCJ
   18371 
   18372 # Is the compiler the GNU C compiler?
   18373 with_gcc=$GCC_GCJ
   18374 
   18375 # An ERE matcher.
   18376 EGREP=$lt_EGREP
   18377 
   18378 # The linker used to build libraries.
   18379 LD=$lt_LD_GCJ
   18380 
   18381 # Whether we need hard or soft links.
   18382 LN_S=$lt_LN_S
   18383 
   18384 # A BSD-compatible nm program.
   18385 NM=$lt_NM
   18386 
   18387 # A symbol stripping program
   18388 STRIP=$lt_STRIP
   18389 
   18390 # Used to examine libraries when file_magic_cmd begins "file"
   18391 MAGIC_CMD=$MAGIC_CMD
   18392 
   18393 # Used on cygwin: DLL creation program.
   18394 DLLTOOL="$DLLTOOL"
   18395 
   18396 # Used on cygwin: object dumper.
   18397 OBJDUMP="$OBJDUMP"
   18398 
   18399 # Used on cygwin: assembler.
   18400 AS="$AS"
   18401 
   18402 # The name of the directory that contains temporary libtool files.
   18403 objdir=$objdir
   18404 
   18405 # How to create reloadable object files.
   18406 reload_flag=$lt_reload_flag
   18407 reload_cmds=$lt_reload_cmds
   18408 
   18409 # How to pass a linker flag through the compiler.
   18410 wl=$lt_lt_prog_compiler_wl_GCJ
   18411 
   18412 # Object file suffix (normally "o").
   18413 objext="$ac_objext"
   18414 
   18415 # Old archive suffix (normally "a").
   18416 libext="$libext"
   18417 
   18418 # Shared library suffix (normally ".so").
   18419 shrext_cmds='$shrext_cmds'
   18420 
   18421 # Executable file suffix (normally "").
   18422 exeext="$exeext"
   18423 
   18424 # Additional compiler flags for building library objects.
   18425 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18426 pic_mode=$pic_mode
   18427 
   18428 # What is the maximum length of a command?
   18429 max_cmd_len=$lt_cv_sys_max_cmd_len
   18430 
   18431 # Does compiler simultaneously support -c and -o options?
   18432 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18433 
   18434 # Must we lock files when doing compilation?
   18435 need_locks=$lt_need_locks
   18436 
   18437 # Do we need the lib prefix for modules?
   18438 need_lib_prefix=$need_lib_prefix
   18439 
   18440 # Do we need a version for libraries?
   18441 need_version=$need_version
   18442 
   18443 # Whether dlopen is supported.
   18444 dlopen_support=$enable_dlopen
   18445 
   18446 # Whether dlopen of programs is supported.
   18447 dlopen_self=$enable_dlopen_self
   18448 
   18449 # Whether dlopen of statically linked programs is supported.
   18450 dlopen_self_static=$enable_dlopen_self_static
   18451 
   18452 # Compiler flag to prevent dynamic linking.
   18453 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18454 
   18455 # Compiler flag to turn off builtin functions.
   18456 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18457 
   18458 # Compiler flag to allow reflexive dlopens.
   18459 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18460 
   18461 # Compiler flag to generate shared objects directly from archives.
   18462 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18463 
   18464 # Compiler flag to generate thread-safe objects.
   18465 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18466 
   18467 # Library versioning type.
   18468 version_type=$version_type
   18469 
   18470 # Format of library name prefix.
   18471 libname_spec=$lt_libname_spec
   18472 
   18473 # List of archive names.  First name is the real one, the rest are links.
   18474 # The last name is the one that the linker finds with -lNAME.
   18475 library_names_spec=$lt_library_names_spec
   18476 
   18477 # The coded name of the library, if different from the real name.
   18478 soname_spec=$lt_soname_spec
   18479 
   18480 # Commands used to build and install an old-style archive.
   18481 RANLIB=$lt_RANLIB
   18482 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18483 old_postinstall_cmds=$lt_old_postinstall_cmds
   18484 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18485 
   18486 # Create an old-style archive from a shared archive.
   18487 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18488 
   18489 # Create a temporary old-style archive to link instead of a shared archive.
   18490 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18491 
   18492 # Commands used to build and install a shared archive.
   18493 archive_cmds=$lt_archive_cmds_GCJ
   18494 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18495 postinstall_cmds=$lt_postinstall_cmds
   18496 postuninstall_cmds=$lt_postuninstall_cmds
   18497 
   18498 # Commands used to build a loadable module (assumed same as above if empty)
   18499 module_cmds=$lt_module_cmds_GCJ
   18500 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18501 
   18502 # Commands to strip libraries.
   18503 old_striplib=$lt_old_striplib
   18504 striplib=$lt_striplib
   18505 
   18506 # Dependencies to place before the objects being linked to create a
   18507 # shared library.
   18508 predep_objects=$lt_predep_objects_GCJ
   18509 
   18510 # Dependencies to place after the objects being linked to create a
   18511 # shared library.
   18512 postdep_objects=$lt_postdep_objects_GCJ
   18513 
   18514 # Dependencies to place before the objects being linked to create a
   18515 # shared library.
   18516 predeps=$lt_predeps_GCJ
   18517 
   18518 # Dependencies to place after the objects being linked to create a
   18519 # shared library.
   18520 postdeps=$lt_postdeps_GCJ
   18521 
   18522 # The library search path used internally by the compiler when linking
   18523 # a shared library.
   18524 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18525 
   18526 # Method to check whether dependent libraries are shared objects.
   18527 deplibs_check_method=$lt_deplibs_check_method
   18528 
   18529 # Command to use when deplibs_check_method == file_magic.
   18530 file_magic_cmd=$lt_file_magic_cmd
   18531 
   18532 # Flag that allows shared libraries with undefined symbols to be built.
   18533 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18534 
   18535 # Flag that forces no undefined symbols.
   18536 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18537 
   18538 # Commands used to finish a libtool library installation in a directory.
   18539 finish_cmds=$lt_finish_cmds
   18540 
   18541 # Same as above, but a single script fragment to be evaled but not shown.
   18542 finish_eval=$lt_finish_eval
   18543 
   18544 # Take the output of nm and produce a listing of raw symbols and C names.
   18545 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18546 
   18547 # Transform the output of nm in a proper C declaration
   18548 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18549 
   18550 # Transform the output of nm in a C name address pair
   18551 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18552 
   18553 # This is the shared library runtime path variable.
   18554 runpath_var=$runpath_var
   18555 
   18556 # This is the shared library path variable.
   18557 shlibpath_var=$shlibpath_var
   18558 
   18559 # Is shlibpath searched before the hard-coded library search path?
   18560 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18561 
   18562 # How to hardcode a shared library path into an executable.
   18563 hardcode_action=$hardcode_action_GCJ
   18564 
   18565 # Whether we should hardcode library paths into libraries.
   18566 hardcode_into_libs=$hardcode_into_libs
   18567 
   18568 # Flag to hardcode \$libdir into a binary during linking.
   18569 # This must work even if \$libdir does not exist.
   18570 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18571 
   18572 # If ld is used when linking, flag to hardcode \$libdir into
   18573 # a binary during linking. This must work even if \$libdir does
   18574 # not exist.
   18575 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18576 
   18577 # Whether we need a single -rpath flag with a separated argument.
   18578 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18579 
   18580 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18581 # resulting binary.
   18582 hardcode_direct=$hardcode_direct_GCJ
   18583 
   18584 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18585 # resulting binary.
   18586 hardcode_minus_L=$hardcode_minus_L_GCJ
   18587 
   18588 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18589 # the resulting binary.
   18590 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18591 
   18592 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18593 # and all subsequent libraries and executables linked against it.
   18594 hardcode_automatic=$hardcode_automatic_GCJ
   18595 
   18596 # Variables whose values should be saved in libtool wrapper scripts and
   18597 # restored at relink time.
   18598 variables_saved_for_relink="$variables_saved_for_relink"
   18599 
   18600 # Whether libtool must link a program against all its dependency libraries.
   18601 link_all_deplibs=$link_all_deplibs_GCJ
   18602 
   18603 # Compile-time system search path for libraries
   18604 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18605 
   18606 # Run-time system search path for libraries
   18607 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18608 
   18609 # Fix the shell variable \$srcfile for the compiler.
   18610 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18611 
   18612 # Set to yes if exported symbols are required.
   18613 always_export_symbols=$always_export_symbols_GCJ
   18614 
   18615 # The commands to list exported symbols.
   18616 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18617 
   18618 # The commands to extract the exported symbol list from a shared archive.
   18619 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18620 
   18621 # Symbols that should not be listed in the preloaded symbols.
   18622 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18623 
   18624 # Symbols that must always be exported.
   18625 include_expsyms=$lt_include_expsyms_GCJ
   18626 
   18627 # ### END LIBTOOL TAG CONFIG: $tagname
   18628 
   18629 __EOF__
   18630 
   18631 
   18632 else
   18633   # If there is no Makefile yet, we rely on a make rule to execute
   18634   # `config.status --recheck' to rerun these tests and create the
   18635   # libtool script then.
   18636   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18637   if test -f "$ltmain_in"; then
   18638     test -f Makefile && make "$ltmain"
   18639   fi
   18640 fi
   18641 
   18642 
   18643 ac_ext=c
   18644 ac_cpp='$CPP $CPPFLAGS'
   18645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18648 
   18649 CC="$lt_save_CC"
   18650 
   18651 	else
   18652 	  tagname=""
   18653 	fi
   18654 	;;
   18655 
   18656       RC)
   18657 
   18658 
   18659 # Source file extension for RC test sources.
   18660 ac_ext=rc
   18661 
   18662 # Object file extension for compiled RC test sources.
   18663 objext=o
   18664 objext_RC=$objext
   18665 
   18666 # Code to be used in simple compile tests
   18667 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18668 
   18669 # Code to be used in simple link tests
   18670 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18671 
   18672 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18673 
   18674 # If no C compiler was specified, use CC.
   18675 LTCC=${LTCC-"$CC"}
   18676 
   18677 # If no C compiler flags were specified, use CFLAGS.
   18678 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18679 
   18680 # Allow CC to be a program name with arguments.
   18681 compiler=$CC
   18682 
   18683 
   18684 # save warnings/boilerplate of simple test code
   18685 ac_outfile=conftest.$ac_objext
   18686 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18687 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18688 _lt_compiler_boilerplate=`cat conftest.err`
   18689 $rm conftest*
   18690 
   18691 ac_outfile=conftest.$ac_objext
   18692 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18693 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18694 _lt_linker_boilerplate=`cat conftest.err`
   18695 $rm conftest*
   18696 
   18697 
   18698 # Allow CC to be a program name with arguments.
   18699 lt_save_CC="$CC"
   18700 CC=${RC-"windres"}
   18701 compiler=$CC
   18702 compiler_RC=$CC
   18703 for cc_temp in $compiler""; do
   18704   case $cc_temp in
   18705     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18706     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18707     \-*) ;;
   18708     *) break;;
   18709   esac
   18710 done
   18711 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18712 
   18713 lt_cv_prog_compiler_c_o_RC=yes
   18714 
   18715 # The else clause should only fire when bootstrapping the
   18716 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18717 # with your package, and you will get complaints that there are
   18718 # no rules to generate ltmain.sh.
   18719 if test -f "$ltmain"; then
   18720   # See if we are running on zsh, and set the options which allow our commands through
   18721   # without removal of \ escapes.
   18722   if test -n "${ZSH_VERSION+set}" ; then
   18723     setopt NO_GLOB_SUBST
   18724   fi
   18725   # Now quote all the things that may contain metacharacters while being
   18726   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18727   # variables and quote the copies for generation of the libtool script.
   18728   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18729     SED SHELL STRIP \
   18730     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18731     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18732     deplibs_check_method reload_flag reload_cmds need_locks \
   18733     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18734     lt_cv_sys_global_symbol_to_c_name_address \
   18735     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18736     old_postinstall_cmds old_postuninstall_cmds \
   18737     compiler_RC \
   18738     CC_RC \
   18739     LD_RC \
   18740     lt_prog_compiler_wl_RC \
   18741     lt_prog_compiler_pic_RC \
   18742     lt_prog_compiler_static_RC \
   18743     lt_prog_compiler_no_builtin_flag_RC \
   18744     export_dynamic_flag_spec_RC \
   18745     thread_safe_flag_spec_RC \
   18746     whole_archive_flag_spec_RC \
   18747     enable_shared_with_static_runtimes_RC \
   18748     old_archive_cmds_RC \
   18749     old_archive_from_new_cmds_RC \
   18750     predep_objects_RC \
   18751     postdep_objects_RC \
   18752     predeps_RC \
   18753     postdeps_RC \
   18754     compiler_lib_search_path_RC \
   18755     archive_cmds_RC \
   18756     archive_expsym_cmds_RC \
   18757     postinstall_cmds_RC \
   18758     postuninstall_cmds_RC \
   18759     old_archive_from_expsyms_cmds_RC \
   18760     allow_undefined_flag_RC \
   18761     no_undefined_flag_RC \
   18762     export_symbols_cmds_RC \
   18763     hardcode_libdir_flag_spec_RC \
   18764     hardcode_libdir_flag_spec_ld_RC \
   18765     hardcode_libdir_separator_RC \
   18766     hardcode_automatic_RC \
   18767     module_cmds_RC \
   18768     module_expsym_cmds_RC \
   18769     lt_cv_prog_compiler_c_o_RC \
   18770     exclude_expsyms_RC \
   18771     include_expsyms_RC; do
   18772 
   18773     case $var in
   18774     old_archive_cmds_RC | \
   18775     old_archive_from_new_cmds_RC | \
   18776     archive_cmds_RC | \
   18777     archive_expsym_cmds_RC | \
   18778     module_cmds_RC | \
   18779     module_expsym_cmds_RC | \
   18780     old_archive_from_expsyms_cmds_RC | \
   18781     export_symbols_cmds_RC | \
   18782     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18783     postinstall_cmds | postuninstall_cmds | \
   18784     old_postinstall_cmds | old_postuninstall_cmds | \
   18785     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18786       # Double-quote double-evaled strings.
   18787       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18788       ;;
   18789     *)
   18790       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18791       ;;
   18792     esac
   18793   done
   18794 
   18795   case $lt_echo in
   18796   *'\$0 --fallback-echo"')
   18797     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18798     ;;
   18799   esac
   18800 
   18801 cfgfile="$ofile"
   18802 
   18803   cat <<__EOF__ >> "$cfgfile"
   18804 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18805 
   18806 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18807 
   18808 # Shell to use when invoking shell scripts.
   18809 SHELL=$lt_SHELL
   18810 
   18811 # Whether or not to build shared libraries.
   18812 build_libtool_libs=$enable_shared
   18813 
   18814 # Whether or not to build static libraries.
   18815 build_old_libs=$enable_static
   18816 
   18817 # Whether or not to add -lc for building shared libraries.
   18818 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18819 
   18820 # Whether or not to disallow shared libs when runtime libs are static
   18821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18822 
   18823 # Whether or not to optimize for fast installation.
   18824 fast_install=$enable_fast_install
   18825 
   18826 # The host system.
   18827 host_alias=$host_alias
   18828 host=$host
   18829 host_os=$host_os
   18830 
   18831 # The build system.
   18832 build_alias=$build_alias
   18833 build=$build
   18834 build_os=$build_os
   18835 
   18836 # An echo program that does not interpret backslashes.
   18837 echo=$lt_echo
   18838 
   18839 # The archiver.
   18840 AR=$lt_AR
   18841 AR_FLAGS=$lt_AR_FLAGS
   18842 
   18843 # A C compiler.
   18844 LTCC=$lt_LTCC
   18845 
   18846 # LTCC compiler flags.
   18847 LTCFLAGS=$lt_LTCFLAGS
   18848 
   18849 # A language-specific compiler.
   18850 CC=$lt_compiler_RC
   18851 
   18852 # Is the compiler the GNU C compiler?
   18853 with_gcc=$GCC_RC
   18854 
   18855 # An ERE matcher.
   18856 EGREP=$lt_EGREP
   18857 
   18858 # The linker used to build libraries.
   18859 LD=$lt_LD_RC
   18860 
   18861 # Whether we need hard or soft links.
   18862 LN_S=$lt_LN_S
   18863 
   18864 # A BSD-compatible nm program.
   18865 NM=$lt_NM
   18866 
   18867 # A symbol stripping program
   18868 STRIP=$lt_STRIP
   18869 
   18870 # Used to examine libraries when file_magic_cmd begins "file"
   18871 MAGIC_CMD=$MAGIC_CMD
   18872 
   18873 # Used on cygwin: DLL creation program.
   18874 DLLTOOL="$DLLTOOL"
   18875 
   18876 # Used on cygwin: object dumper.
   18877 OBJDUMP="$OBJDUMP"
   18878 
   18879 # Used on cygwin: assembler.
   18880 AS="$AS"
   18881 
   18882 # The name of the directory that contains temporary libtool files.
   18883 objdir=$objdir
   18884 
   18885 # How to create reloadable object files.
   18886 reload_flag=$lt_reload_flag
   18887 reload_cmds=$lt_reload_cmds
   18888 
   18889 # How to pass a linker flag through the compiler.
   18890 wl=$lt_lt_prog_compiler_wl_RC
   18891 
   18892 # Object file suffix (normally "o").
   18893 objext="$ac_objext"
   18894 
   18895 # Old archive suffix (normally "a").
   18896 libext="$libext"
   18897 
   18898 # Shared library suffix (normally ".so").
   18899 shrext_cmds='$shrext_cmds'
   18900 
   18901 # Executable file suffix (normally "").
   18902 exeext="$exeext"
   18903 
   18904 # Additional compiler flags for building library objects.
   18905 pic_flag=$lt_lt_prog_compiler_pic_RC
   18906 pic_mode=$pic_mode
   18907 
   18908 # What is the maximum length of a command?
   18909 max_cmd_len=$lt_cv_sys_max_cmd_len
   18910 
   18911 # Does compiler simultaneously support -c and -o options?
   18912 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18913 
   18914 # Must we lock files when doing compilation?
   18915 need_locks=$lt_need_locks
   18916 
   18917 # Do we need the lib prefix for modules?
   18918 need_lib_prefix=$need_lib_prefix
   18919 
   18920 # Do we need a version for libraries?
   18921 need_version=$need_version
   18922 
   18923 # Whether dlopen is supported.
   18924 dlopen_support=$enable_dlopen
   18925 
   18926 # Whether dlopen of programs is supported.
   18927 dlopen_self=$enable_dlopen_self
   18928 
   18929 # Whether dlopen of statically linked programs is supported.
   18930 dlopen_self_static=$enable_dlopen_self_static
   18931 
   18932 # Compiler flag to prevent dynamic linking.
   18933 link_static_flag=$lt_lt_prog_compiler_static_RC
   18934 
   18935 # Compiler flag to turn off builtin functions.
   18936 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18937 
   18938 # Compiler flag to allow reflexive dlopens.
   18939 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18940 
   18941 # Compiler flag to generate shared objects directly from archives.
   18942 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18943 
   18944 # Compiler flag to generate thread-safe objects.
   18945 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18946 
   18947 # Library versioning type.
   18948 version_type=$version_type
   18949 
   18950 # Format of library name prefix.
   18951 libname_spec=$lt_libname_spec
   18952 
   18953 # List of archive names.  First name is the real one, the rest are links.
   18954 # The last name is the one that the linker finds with -lNAME.
   18955 library_names_spec=$lt_library_names_spec
   18956 
   18957 # The coded name of the library, if different from the real name.
   18958 soname_spec=$lt_soname_spec
   18959 
   18960 # Commands used to build and install an old-style archive.
   18961 RANLIB=$lt_RANLIB
   18962 old_archive_cmds=$lt_old_archive_cmds_RC
   18963 old_postinstall_cmds=$lt_old_postinstall_cmds
   18964 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18965 
   18966 # Create an old-style archive from a shared archive.
   18967 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   18968 
   18969 # Create a temporary old-style archive to link instead of a shared archive.
   18970 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   18971 
   18972 # Commands used to build and install a shared archive.
   18973 archive_cmds=$lt_archive_cmds_RC
   18974 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   18975 postinstall_cmds=$lt_postinstall_cmds
   18976 postuninstall_cmds=$lt_postuninstall_cmds
   18977 
   18978 # Commands used to build a loadable module (assumed same as above if empty)
   18979 module_cmds=$lt_module_cmds_RC
   18980 module_expsym_cmds=$lt_module_expsym_cmds_RC
   18981 
   18982 # Commands to strip libraries.
   18983 old_striplib=$lt_old_striplib
   18984 striplib=$lt_striplib
   18985 
   18986 # Dependencies to place before the objects being linked to create a
   18987 # shared library.
   18988 predep_objects=$lt_predep_objects_RC
   18989 
   18990 # Dependencies to place after the objects being linked to create a
   18991 # shared library.
   18992 postdep_objects=$lt_postdep_objects_RC
   18993 
   18994 # Dependencies to place before the objects being linked to create a
   18995 # shared library.
   18996 predeps=$lt_predeps_RC
   18997 
   18998 # Dependencies to place after the objects being linked to create a
   18999 # shared library.
   19000 postdeps=$lt_postdeps_RC
   19001 
   19002 # The library search path used internally by the compiler when linking
   19003 # a shared library.
   19004 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19005 
   19006 # Method to check whether dependent libraries are shared objects.
   19007 deplibs_check_method=$lt_deplibs_check_method
   19008 
   19009 # Command to use when deplibs_check_method == file_magic.
   19010 file_magic_cmd=$lt_file_magic_cmd
   19011 
   19012 # Flag that allows shared libraries with undefined symbols to be built.
   19013 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19014 
   19015 # Flag that forces no undefined symbols.
   19016 no_undefined_flag=$lt_no_undefined_flag_RC
   19017 
   19018 # Commands used to finish a libtool library installation in a directory.
   19019 finish_cmds=$lt_finish_cmds
   19020 
   19021 # Same as above, but a single script fragment to be evaled but not shown.
   19022 finish_eval=$lt_finish_eval
   19023 
   19024 # Take the output of nm and produce a listing of raw symbols and C names.
   19025 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19026 
   19027 # Transform the output of nm in a proper C declaration
   19028 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19029 
   19030 # Transform the output of nm in a C name address pair
   19031 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19032 
   19033 # This is the shared library runtime path variable.
   19034 runpath_var=$runpath_var
   19035 
   19036 # This is the shared library path variable.
   19037 shlibpath_var=$shlibpath_var
   19038 
   19039 # Is shlibpath searched before the hard-coded library search path?
   19040 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19041 
   19042 # How to hardcode a shared library path into an executable.
   19043 hardcode_action=$hardcode_action_RC
   19044 
   19045 # Whether we should hardcode library paths into libraries.
   19046 hardcode_into_libs=$hardcode_into_libs
   19047 
   19048 # Flag to hardcode \$libdir into a binary during linking.
   19049 # This must work even if \$libdir does not exist.
   19050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19051 
   19052 # If ld is used when linking, flag to hardcode \$libdir into
   19053 # a binary during linking. This must work even if \$libdir does
   19054 # not exist.
   19055 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19056 
   19057 # Whether we need a single -rpath flag with a separated argument.
   19058 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19059 
   19060 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19061 # resulting binary.
   19062 hardcode_direct=$hardcode_direct_RC
   19063 
   19064 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19065 # resulting binary.
   19066 hardcode_minus_L=$hardcode_minus_L_RC
   19067 
   19068 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19069 # the resulting binary.
   19070 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19071 
   19072 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19073 # and all subsequent libraries and executables linked against it.
   19074 hardcode_automatic=$hardcode_automatic_RC
   19075 
   19076 # Variables whose values should be saved in libtool wrapper scripts and
   19077 # restored at relink time.
   19078 variables_saved_for_relink="$variables_saved_for_relink"
   19079 
   19080 # Whether libtool must link a program against all its dependency libraries.
   19081 link_all_deplibs=$link_all_deplibs_RC
   19082 
   19083 # Compile-time system search path for libraries
   19084 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19085 
   19086 # Run-time system search path for libraries
   19087 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19088 
   19089 # Fix the shell variable \$srcfile for the compiler.
   19090 fix_srcfile_path="$fix_srcfile_path_RC"
   19091 
   19092 # Set to yes if exported symbols are required.
   19093 always_export_symbols=$always_export_symbols_RC
   19094 
   19095 # The commands to list exported symbols.
   19096 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19097 
   19098 # The commands to extract the exported symbol list from a shared archive.
   19099 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19100 
   19101 # Symbols that should not be listed in the preloaded symbols.
   19102 exclude_expsyms=$lt_exclude_expsyms_RC
   19103 
   19104 # Symbols that must always be exported.
   19105 include_expsyms=$lt_include_expsyms_RC
   19106 
   19107 # ### END LIBTOOL TAG CONFIG: $tagname
   19108 
   19109 __EOF__
   19110 
   19111 
   19112 else
   19113   # If there is no Makefile yet, we rely on a make rule to execute
   19114   # `config.status --recheck' to rerun these tests and create the
   19115   # libtool script then.
   19116   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19117   if test -f "$ltmain_in"; then
   19118     test -f Makefile && make "$ltmain"
   19119   fi
   19120 fi
   19121 
   19122 
   19123 ac_ext=c
   19124 ac_cpp='$CPP $CPPFLAGS'
   19125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19128 
   19129 CC="$lt_save_CC"
   19130 
   19131 	;;
   19132 
   19133       *)
   19134 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19135 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19136    { (exit 1); exit 1; }; }
   19137 	;;
   19138       esac
   19139 
   19140       # Append the new tag name to the list of available tags.
   19141       if test -n "$tagname" ; then
   19142       available_tags="$available_tags $tagname"
   19143     fi
   19144     fi
   19145   done
   19146   IFS="$lt_save_ifs"
   19147 
   19148   # Now substitute the updated list of available tags.
   19149   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19150     mv "${ofile}T" "$ofile"
   19151     chmod +x "$ofile"
   19152   else
   19153     rm -f "${ofile}T"
   19154     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19155 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19156    { (exit 1); exit 1; }; }
   19157   fi
   19158 fi
   19159 
   19160 
   19161 
   19162 # This can be used to rebuild libtool when needed
   19163 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19164 
   19165 # Always use our own libtool.
   19166 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19167 
   19168 # Prevent multiple expansion
   19169 
   19170 
   19171 
   19172 
   19173 
   19174 
   19175 
   19176 
   19177 
   19178 
   19179 
   19180 
   19181 
   19182 
   19183 
   19184 
   19185 
   19186 
   19187 
   19188 
   19189 ac_ext=c
   19190 ac_cpp='$CPP $CPPFLAGS'
   19191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19194 if test -n "$ac_tool_prefix"; then
   19195   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19196 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19199 if test "${ac_cv_prog_CC+set}" = set; then
   19200   echo $ECHO_N "(cached) $ECHO_C" >&6
   19201 else
   19202   if test -n "$CC"; then
   19203   ac_cv_prog_CC="$CC" # Let the user override the test.
   19204 else
   19205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19206 for as_dir in $PATH
   19207 do
   19208   IFS=$as_save_IFS
   19209   test -z "$as_dir" && as_dir=.
   19210   for ac_exec_ext in '' $ac_executable_extensions; do
   19211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19212     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19213     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19214     break 2
   19215   fi
   19216 done
   19217 done
   19218 IFS=$as_save_IFS
   19219 
   19220 fi
   19221 fi
   19222 CC=$ac_cv_prog_CC
   19223 if test -n "$CC"; then
   19224   { echo "$as_me:$LINENO: result: $CC" >&5
   19225 echo "${ECHO_T}$CC" >&6; }
   19226 else
   19227   { echo "$as_me:$LINENO: result: no" >&5
   19228 echo "${ECHO_T}no" >&6; }
   19229 fi
   19230 
   19231 
   19232 fi
   19233 if test -z "$ac_cv_prog_CC"; then
   19234   ac_ct_CC=$CC
   19235   # Extract the first word of "gcc", so it can be a program name with args.
   19236 set dummy gcc; ac_word=$2
   19237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19240   echo $ECHO_N "(cached) $ECHO_C" >&6
   19241 else
   19242   if test -n "$ac_ct_CC"; then
   19243   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19244 else
   19245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19246 for as_dir in $PATH
   19247 do
   19248   IFS=$as_save_IFS
   19249   test -z "$as_dir" && as_dir=.
   19250   for ac_exec_ext in '' $ac_executable_extensions; do
   19251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19252     ac_cv_prog_ac_ct_CC="gcc"
   19253     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19254     break 2
   19255   fi
   19256 done
   19257 done
   19258 IFS=$as_save_IFS
   19259 
   19260 fi
   19261 fi
   19262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19263 if test -n "$ac_ct_CC"; then
   19264   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19265 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19266 else
   19267   { echo "$as_me:$LINENO: result: no" >&5
   19268 echo "${ECHO_T}no" >&6; }
   19269 fi
   19270 
   19271   if test "x$ac_ct_CC" = x; then
   19272     CC=""
   19273   else
   19274     case $cross_compiling:$ac_tool_warned in
   19275 yes:)
   19276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19277 whose name does not start with the host triplet.  If you think this
   19278 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19280 whose name does not start with the host triplet.  If you think this
   19281 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19282 ac_tool_warned=yes ;;
   19283 esac
   19284     CC=$ac_ct_CC
   19285   fi
   19286 else
   19287   CC="$ac_cv_prog_CC"
   19288 fi
   19289 
   19290 if test -z "$CC"; then
   19291           if test -n "$ac_tool_prefix"; then
   19292     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19293 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19296 if test "${ac_cv_prog_CC+set}" = set; then
   19297   echo $ECHO_N "(cached) $ECHO_C" >&6
   19298 else
   19299   if test -n "$CC"; then
   19300   ac_cv_prog_CC="$CC" # Let the user override the test.
   19301 else
   19302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19303 for as_dir in $PATH
   19304 do
   19305   IFS=$as_save_IFS
   19306   test -z "$as_dir" && as_dir=.
   19307   for ac_exec_ext in '' $ac_executable_extensions; do
   19308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19309     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19310     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19311     break 2
   19312   fi
   19313 done
   19314 done
   19315 IFS=$as_save_IFS
   19316 
   19317 fi
   19318 fi
   19319 CC=$ac_cv_prog_CC
   19320 if test -n "$CC"; then
   19321   { echo "$as_me:$LINENO: result: $CC" >&5
   19322 echo "${ECHO_T}$CC" >&6; }
   19323 else
   19324   { echo "$as_me:$LINENO: result: no" >&5
   19325 echo "${ECHO_T}no" >&6; }
   19326 fi
   19327 
   19328 
   19329   fi
   19330 fi
   19331 if test -z "$CC"; then
   19332   # Extract the first word of "cc", so it can be a program name with args.
   19333 set dummy cc; ac_word=$2
   19334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19336 if test "${ac_cv_prog_CC+set}" = set; then
   19337   echo $ECHO_N "(cached) $ECHO_C" >&6
   19338 else
   19339   if test -n "$CC"; then
   19340   ac_cv_prog_CC="$CC" # Let the user override the test.
   19341 else
   19342   ac_prog_rejected=no
   19343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19344 for as_dir in $PATH
   19345 do
   19346   IFS=$as_save_IFS
   19347   test -z "$as_dir" && as_dir=.
   19348   for ac_exec_ext in '' $ac_executable_extensions; do
   19349   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19350     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19351        ac_prog_rejected=yes
   19352        continue
   19353      fi
   19354     ac_cv_prog_CC="cc"
   19355     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19356     break 2
   19357   fi
   19358 done
   19359 done
   19360 IFS=$as_save_IFS
   19361 
   19362 if test $ac_prog_rejected = yes; then
   19363   # We found a bogon in the path, so make sure we never use it.
   19364   set dummy $ac_cv_prog_CC
   19365   shift
   19366   if test $# != 0; then
   19367     # We chose a different compiler from the bogus one.
   19368     # However, it has the same basename, so the bogon will be chosen
   19369     # first if we set CC to just the basename; use the full file name.
   19370     shift
   19371     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   19372   fi
   19373 fi
   19374 fi
   19375 fi
   19376 CC=$ac_cv_prog_CC
   19377 if test -n "$CC"; then
   19378   { echo "$as_me:$LINENO: result: $CC" >&5
   19379 echo "${ECHO_T}$CC" >&6; }
   19380 else
   19381   { echo "$as_me:$LINENO: result: no" >&5
   19382 echo "${ECHO_T}no" >&6; }
   19383 fi
   19384 
   19385 
   19386 fi
   19387 if test -z "$CC"; then
   19388   if test -n "$ac_tool_prefix"; then
   19389   for ac_prog in cl.exe
   19390   do
   19391     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19395 if test "${ac_cv_prog_CC+set}" = set; then
   19396   echo $ECHO_N "(cached) $ECHO_C" >&6
   19397 else
   19398   if test -n "$CC"; then
   19399   ac_cv_prog_CC="$CC" # Let the user override the test.
   19400 else
   19401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19402 for as_dir in $PATH
   19403 do
   19404   IFS=$as_save_IFS
   19405   test -z "$as_dir" && as_dir=.
   19406   for ac_exec_ext in '' $ac_executable_extensions; do
   19407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19408     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19409     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19410     break 2
   19411   fi
   19412 done
   19413 done
   19414 IFS=$as_save_IFS
   19415 
   19416 fi
   19417 fi
   19418 CC=$ac_cv_prog_CC
   19419 if test -n "$CC"; then
   19420   { echo "$as_me:$LINENO: result: $CC" >&5
   19421 echo "${ECHO_T}$CC" >&6; }
   19422 else
   19423   { echo "$as_me:$LINENO: result: no" >&5
   19424 echo "${ECHO_T}no" >&6; }
   19425 fi
   19426 
   19427 
   19428     test -n "$CC" && break
   19429   done
   19430 fi
   19431 if test -z "$CC"; then
   19432   ac_ct_CC=$CC
   19433   for ac_prog in cl.exe
   19434 do
   19435   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19436 set dummy $ac_prog; ac_word=$2
   19437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19439 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19440   echo $ECHO_N "(cached) $ECHO_C" >&6
   19441 else
   19442   if test -n "$ac_ct_CC"; then
   19443   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19444 else
   19445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19446 for as_dir in $PATH
   19447 do
   19448   IFS=$as_save_IFS
   19449   test -z "$as_dir" && as_dir=.
   19450   for ac_exec_ext in '' $ac_executable_extensions; do
   19451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19452     ac_cv_prog_ac_ct_CC="$ac_prog"
   19453     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19454     break 2
   19455   fi
   19456 done
   19457 done
   19458 IFS=$as_save_IFS
   19459 
   19460 fi
   19461 fi
   19462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19463 if test -n "$ac_ct_CC"; then
   19464   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19465 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19466 else
   19467   { echo "$as_me:$LINENO: result: no" >&5
   19468 echo "${ECHO_T}no" >&6; }
   19469 fi
   19470 
   19471 
   19472   test -n "$ac_ct_CC" && break
   19473 done
   19474 
   19475   if test "x$ac_ct_CC" = x; then
   19476     CC=""
   19477   else
   19478     case $cross_compiling:$ac_tool_warned in
   19479 yes:)
   19480 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19481 whose name does not start with the host triplet.  If you think this
   19482 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19483 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19484 whose name does not start with the host triplet.  If you think this
   19485 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19486 ac_tool_warned=yes ;;
   19487 esac
   19488     CC=$ac_ct_CC
   19489   fi
   19490 fi
   19491 
   19492 fi
   19493 
   19494 
   19495 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   19496 See \`config.log' for more details." >&5
   19497 echo "$as_me: error: no acceptable C compiler found in \$PATH
   19498 See \`config.log' for more details." >&2;}
   19499    { (exit 1); exit 1; }; }
   19500 
   19501 # Provide some information about the compiler.
   19502 echo "$as_me:$LINENO: checking for C compiler version" >&5
   19503 ac_compiler=`set X $ac_compile; echo $2`
   19504 { (ac_try="$ac_compiler --version >&5"
   19505 case "(($ac_try" in
   19506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19507   *) ac_try_echo=$ac_try;;
   19508 esac
   19509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19510   (eval "$ac_compiler --version >&5") 2>&5
   19511   ac_status=$?
   19512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19513   (exit $ac_status); }
   19514 { (ac_try="$ac_compiler -v >&5"
   19515 case "(($ac_try" in
   19516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19517   *) ac_try_echo=$ac_try;;
   19518 esac
   19519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19520   (eval "$ac_compiler -v >&5") 2>&5
   19521   ac_status=$?
   19522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19523   (exit $ac_status); }
   19524 { (ac_try="$ac_compiler -V >&5"
   19525 case "(($ac_try" in
   19526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19527   *) ac_try_echo=$ac_try;;
   19528 esac
   19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19530   (eval "$ac_compiler -V >&5") 2>&5
   19531   ac_status=$?
   19532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19533   (exit $ac_status); }
   19534 
   19535 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19536 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   19537 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19538   echo $ECHO_N "(cached) $ECHO_C" >&6
   19539 else
   19540   cat >conftest.$ac_ext <<_ACEOF
   19541 /* confdefs.h.  */
   19542 _ACEOF
   19543 cat confdefs.h >>conftest.$ac_ext
   19544 cat >>conftest.$ac_ext <<_ACEOF
   19545 /* end confdefs.h.  */
   19546 
   19547 int
   19548 main ()
   19549 {
   19550 #ifndef __GNUC__
   19551        choke me
   19552 #endif
   19553 
   19554   ;
   19555   return 0;
   19556 }
   19557 _ACEOF
   19558 rm -f conftest.$ac_objext
   19559 if { (ac_try="$ac_compile"
   19560 case "(($ac_try" in
   19561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19562   *) ac_try_echo=$ac_try;;
   19563 esac
   19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19565   (eval "$ac_compile") 2>conftest.er1
   19566   ac_status=$?
   19567   grep -v '^ *+' conftest.er1 >conftest.err
   19568   rm -f conftest.er1
   19569   cat conftest.err >&5
   19570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19571   (exit $ac_status); } && {
   19572 	 test -z "$ac_c_werror_flag" ||
   19573 	 test ! -s conftest.err
   19574        } && test -s conftest.$ac_objext; then
   19575   ac_compiler_gnu=yes
   19576 else
   19577   echo "$as_me: failed program was:" >&5
   19578 sed 's/^/| /' conftest.$ac_ext >&5
   19579 
   19580 	ac_compiler_gnu=no
   19581 fi
   19582 
   19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19584 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19585 
   19586 fi
   19587 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19588 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   19589 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19590 ac_test_CFLAGS=${CFLAGS+set}
   19591 ac_save_CFLAGS=$CFLAGS
   19592 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19593 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   19594 if test "${ac_cv_prog_cc_g+set}" = set; then
   19595   echo $ECHO_N "(cached) $ECHO_C" >&6
   19596 else
   19597   ac_save_c_werror_flag=$ac_c_werror_flag
   19598    ac_c_werror_flag=yes
   19599    ac_cv_prog_cc_g=no
   19600    CFLAGS="-g"
   19601    cat >conftest.$ac_ext <<_ACEOF
   19602 /* confdefs.h.  */
   19603 _ACEOF
   19604 cat confdefs.h >>conftest.$ac_ext
   19605 cat >>conftest.$ac_ext <<_ACEOF
   19606 /* end confdefs.h.  */
   19607 
   19608 int
   19609 main ()
   19610 {
   19611 
   19612   ;
   19613   return 0;
   19614 }
   19615 _ACEOF
   19616 rm -f conftest.$ac_objext
   19617 if { (ac_try="$ac_compile"
   19618 case "(($ac_try" in
   19619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19620   *) ac_try_echo=$ac_try;;
   19621 esac
   19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19623   (eval "$ac_compile") 2>conftest.er1
   19624   ac_status=$?
   19625   grep -v '^ *+' conftest.er1 >conftest.err
   19626   rm -f conftest.er1
   19627   cat conftest.err >&5
   19628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19629   (exit $ac_status); } && {
   19630 	 test -z "$ac_c_werror_flag" ||
   19631 	 test ! -s conftest.err
   19632        } && test -s conftest.$ac_objext; then
   19633   ac_cv_prog_cc_g=yes
   19634 else
   19635   echo "$as_me: failed program was:" >&5
   19636 sed 's/^/| /' conftest.$ac_ext >&5
   19637 
   19638 	CFLAGS=""
   19639       cat >conftest.$ac_ext <<_ACEOF
   19640 /* confdefs.h.  */
   19641 _ACEOF
   19642 cat confdefs.h >>conftest.$ac_ext
   19643 cat >>conftest.$ac_ext <<_ACEOF
   19644 /* end confdefs.h.  */
   19645 
   19646 int
   19647 main ()
   19648 {
   19649 
   19650   ;
   19651   return 0;
   19652 }
   19653 _ACEOF
   19654 rm -f conftest.$ac_objext
   19655 if { (ac_try="$ac_compile"
   19656 case "(($ac_try" in
   19657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19658   *) ac_try_echo=$ac_try;;
   19659 esac
   19660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19661   (eval "$ac_compile") 2>conftest.er1
   19662   ac_status=$?
   19663   grep -v '^ *+' conftest.er1 >conftest.err
   19664   rm -f conftest.er1
   19665   cat conftest.err >&5
   19666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19667   (exit $ac_status); } && {
   19668 	 test -z "$ac_c_werror_flag" ||
   19669 	 test ! -s conftest.err
   19670        } && test -s conftest.$ac_objext; then
   19671   :
   19672 else
   19673   echo "$as_me: failed program was:" >&5
   19674 sed 's/^/| /' conftest.$ac_ext >&5
   19675 
   19676 	ac_c_werror_flag=$ac_save_c_werror_flag
   19677 	 CFLAGS="-g"
   19678 	 cat >conftest.$ac_ext <<_ACEOF
   19679 /* confdefs.h.  */
   19680 _ACEOF
   19681 cat confdefs.h >>conftest.$ac_ext
   19682 cat >>conftest.$ac_ext <<_ACEOF
   19683 /* end confdefs.h.  */
   19684 
   19685 int
   19686 main ()
   19687 {
   19688 
   19689   ;
   19690   return 0;
   19691 }
   19692 _ACEOF
   19693 rm -f conftest.$ac_objext
   19694 if { (ac_try="$ac_compile"
   19695 case "(($ac_try" in
   19696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19697   *) ac_try_echo=$ac_try;;
   19698 esac
   19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19700   (eval "$ac_compile") 2>conftest.er1
   19701   ac_status=$?
   19702   grep -v '^ *+' conftest.er1 >conftest.err
   19703   rm -f conftest.er1
   19704   cat conftest.err >&5
   19705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19706   (exit $ac_status); } && {
   19707 	 test -z "$ac_c_werror_flag" ||
   19708 	 test ! -s conftest.err
   19709        } && test -s conftest.$ac_objext; then
   19710   ac_cv_prog_cc_g=yes
   19711 else
   19712   echo "$as_me: failed program was:" >&5
   19713 sed 's/^/| /' conftest.$ac_ext >&5
   19714 
   19715 
   19716 fi
   19717 
   19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19719 fi
   19720 
   19721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19722 fi
   19723 
   19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19725    ac_c_werror_flag=$ac_save_c_werror_flag
   19726 fi
   19727 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19728 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   19729 if test "$ac_test_CFLAGS" = set; then
   19730   CFLAGS=$ac_save_CFLAGS
   19731 elif test $ac_cv_prog_cc_g = yes; then
   19732   if test "$GCC" = yes; then
   19733     CFLAGS="-g -O2"
   19734   else
   19735     CFLAGS="-g"
   19736   fi
   19737 else
   19738   if test "$GCC" = yes; then
   19739     CFLAGS="-O2"
   19740   else
   19741     CFLAGS=
   19742   fi
   19743 fi
   19744 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   19745 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   19746 if test "${ac_cv_prog_cc_c89+set}" = set; then
   19747   echo $ECHO_N "(cached) $ECHO_C" >&6
   19748 else
   19749   ac_cv_prog_cc_c89=no
   19750 ac_save_CC=$CC
   19751 cat >conftest.$ac_ext <<_ACEOF
   19752 /* confdefs.h.  */
   19753 _ACEOF
   19754 cat confdefs.h >>conftest.$ac_ext
   19755 cat >>conftest.$ac_ext <<_ACEOF
   19756 /* end confdefs.h.  */
   19757 #include <stdarg.h>
   19758 #include <stdio.h>
   19759 #include <sys/types.h>
   19760 #include <sys/stat.h>
   19761 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   19762 struct buf { int x; };
   19763 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   19764 static char *e (p, i)
   19765      char **p;
   19766      int i;
   19767 {
   19768   return p[i];
   19769 }
   19770 static char *f (char * (*g) (char **, int), char **p, ...)
   19771 {
   19772   char *s;
   19773   va_list v;
   19774   va_start (v,p);
   19775   s = g (p, va_arg (v,int));
   19776   va_end (v);
   19777   return s;
   19778 }
   19779 
   19780 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   19781    function prototypes and stuff, but not '\xHH' hex character constants.
   19782    These don't provoke an error unfortunately, instead are silently treated
   19783    as 'x'.  The following induces an error, until -std is added to get
   19784    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   19785    array size at least.  It's necessary to write '\x00'==0 to get something
   19786    that's true only with -std.  */
   19787 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   19788 
   19789 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   19790    inside strings and character constants.  */
   19791 #define FOO(x) 'x'
   19792 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   19793 
   19794 int test (int i, double x);
   19795 struct s1 {int (*f) (int a);};
   19796 struct s2 {int (*f) (double a);};
   19797 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   19798 int argc;
   19799 char **argv;
   19800 int
   19801 main ()
   19802 {
   19803 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   19804   ;
   19805   return 0;
   19806 }
   19807 _ACEOF
   19808 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   19809 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   19810 do
   19811   CC="$ac_save_CC $ac_arg"
   19812   rm -f conftest.$ac_objext
   19813 if { (ac_try="$ac_compile"
   19814 case "(($ac_try" in
   19815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19816   *) ac_try_echo=$ac_try;;
   19817 esac
   19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19819   (eval "$ac_compile") 2>conftest.er1
   19820   ac_status=$?
   19821   grep -v '^ *+' conftest.er1 >conftest.err
   19822   rm -f conftest.er1
   19823   cat conftest.err >&5
   19824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19825   (exit $ac_status); } && {
   19826 	 test -z "$ac_c_werror_flag" ||
   19827 	 test ! -s conftest.err
   19828        } && test -s conftest.$ac_objext; then
   19829   ac_cv_prog_cc_c89=$ac_arg
   19830 else
   19831   echo "$as_me: failed program was:" >&5
   19832 sed 's/^/| /' conftest.$ac_ext >&5
   19833 
   19834 
   19835 fi
   19836 
   19837 rm -f core conftest.err conftest.$ac_objext
   19838   test "x$ac_cv_prog_cc_c89" != "xno" && break
   19839 done
   19840 rm -f conftest.$ac_ext
   19841 CC=$ac_save_CC
   19842 
   19843 fi
   19844 # AC_CACHE_VAL
   19845 case "x$ac_cv_prog_cc_c89" in
   19846   x)
   19847     { echo "$as_me:$LINENO: result: none needed" >&5
   19848 echo "${ECHO_T}none needed" >&6; } ;;
   19849   xno)
   19850     { echo "$as_me:$LINENO: result: unsupported" >&5
   19851 echo "${ECHO_T}unsupported" >&6; } ;;
   19852   *)
   19853     CC="$CC $ac_cv_prog_cc_c89"
   19854     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   19855 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   19856 esac
   19857 
   19858 
   19859 ac_ext=c
   19860 ac_cpp='$CPP $CPPFLAGS'
   19861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19864 
   19865 depcc="$CC"   am_compiler_list=
   19866 
   19867 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   19868 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   19869 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   19870   echo $ECHO_N "(cached) $ECHO_C" >&6
   19871 else
   19872   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   19873   # We make a subdir and do the tests there.  Otherwise we can end up
   19874   # making bogus files that we don't know about and never remove.  For
   19875   # instance it was reported that on HP-UX the gcc test will end up
   19876   # making a dummy file named `D' -- because `-MD' means `put the output
   19877   # in D'.
   19878   mkdir conftest.dir
   19879   # Copy depcomp to subdir because otherwise we won't find it if we're
   19880   # using a relative directory.
   19881   cp "$am_depcomp" conftest.dir
   19882   cd conftest.dir
   19883   # We will build objects and dependencies in a subdirectory because
   19884   # it helps to detect inapplicable dependency modes.  For instance
   19885   # both Tru64's cc and ICC support -MD to output dependencies as a
   19886   # side effect of compilation, but ICC will put the dependencies in
   19887   # the current directory while Tru64 will put them in the object
   19888   # directory.
   19889   mkdir sub
   19890 
   19891   am_cv_CC_dependencies_compiler_type=none
   19892   if test "$am_compiler_list" = ""; then
   19893      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   19894   fi
   19895   for depmode in $am_compiler_list; do
   19896     # Setup a source with many dependencies, because some compilers
   19897     # like to wrap large dependency lists on column 80 (with \), and
   19898     # we should not choose a depcomp mode which is confused by this.
   19899     #
   19900     # We need to recreate these files for each test, as the compiler may
   19901     # overwrite some of them when testing with obscure command lines.
   19902     # This happens at least with the AIX C compiler.
   19903     : > sub/conftest.c
   19904     for i in 1 2 3 4 5 6; do
   19905       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   19906       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   19907       # Solaris 8's {/usr,}/bin/sh.
   19908       touch sub/conftst$i.h
   19909     done
   19910     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   19911 
   19912     case $depmode in
   19913     nosideeffect)
   19914       # after this tag, mechanisms are not by side-effect, so they'll
   19915       # only be used when explicitly requested
   19916       if test "x$enable_dependency_tracking" = xyes; then
   19917 	continue
   19918       else
   19919 	break
   19920       fi
   19921       ;;
   19922     none) break ;;
   19923     esac
   19924     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   19925     # mode.  It turns out that the SunPro C++ compiler does not properly
   19926     # handle `-M -o', and we need to detect this.
   19927     if depmode=$depmode \
   19928        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   19929        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   19930        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   19931          >/dev/null 2>conftest.err &&
   19932        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   19933        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   19934        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   19935        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   19936       # icc doesn't choke on unknown options, it will just issue warnings
   19937       # or remarks (even with -Werror).  So we grep stderr for any message
   19938       # that says an option was ignored or not supported.
   19939       # When given -MP, icc 7.0 and 7.1 complain thusly:
   19940       #   icc: Command line warning: ignoring option '-M'; no argument required
   19941       # The diagnosis changed in icc 8.0:
   19942       #   icc: Command line remark: option '-MP' not supported
   19943       if (grep 'ignoring option' conftest.err ||
   19944           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   19945         am_cv_CC_dependencies_compiler_type=$depmode
   19946         break
   19947       fi
   19948     fi
   19949   done
   19950 
   19951   cd ..
   19952   rm -rf conftest.dir
   19953 else
   19954   am_cv_CC_dependencies_compiler_type=none
   19955 fi
   19956 
   19957 fi
   19958 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   19959 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   19960 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   19961 
   19962  if
   19963   test "x$enable_dependency_tracking" != xno \
   19964   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   19965   am__fastdepCC_TRUE=
   19966   am__fastdepCC_FALSE='#'
   19967 else
   19968   am__fastdepCC_TRUE='#'
   19969   am__fastdepCC_FALSE=
   19970 fi
   19971 
   19972 
   19973 
   19974 
   19975 
   19976 
   19977 
   19978 # Check whether --with-xorg-module-dir was given.
   19979 if test "${with_xorg_module_dir+set}" = set; then
   19980   withval=$with_xorg_module_dir; moduledir="$withval"
   19981 else
   19982   moduledir="$libdir/xorg/modules"
   19983 fi
   19984 
   19985 
   19986 # Checks for extensions
   19987 
   19988 	SAVE_CFLAGS="$CFLAGS"
   19989 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   19990 	cat >conftest.$ac_ext <<_ACEOF
   19991 /* confdefs.h.  */
   19992 _ACEOF
   19993 cat confdefs.h >>conftest.$ac_ext
   19994 cat >>conftest.$ac_ext <<_ACEOF
   19995 /* end confdefs.h.  */
   19996 
   19997 #include "xorg-server.h"
   19998 #if !defined RANDR
   19999 #error RANDR not defined
   20000 #endif
   20001 
   20002 int
   20003 main ()
   20004 {
   20005 
   20006   ;
   20007   return 0;
   20008 }
   20009 _ACEOF
   20010 rm -f conftest.$ac_objext
   20011 if { (ac_try="$ac_compile"
   20012 case "(($ac_try" in
   20013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20014   *) ac_try_echo=$ac_try;;
   20015 esac
   20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20017   (eval "$ac_compile") 2>conftest.er1
   20018   ac_status=$?
   20019   grep -v '^ *+' conftest.er1 >conftest.err
   20020   rm -f conftest.er1
   20021   cat conftest.err >&5
   20022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20023   (exit $ac_status); } && {
   20024 	 test -z "$ac_c_werror_flag" ||
   20025 	 test ! -s conftest.err
   20026        } && test -s conftest.$ac_objext; then
   20027   _EXT_CHECK=yes
   20028 else
   20029   echo "$as_me: failed program was:" >&5
   20030 sed 's/^/| /' conftest.$ac_ext >&5
   20031 
   20032 	_EXT_CHECK=no
   20033 fi
   20034 
   20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20036 	CFLAGS="$SAVE_CFLAGS"
   20037 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20038 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20039 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20040 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20041 	if test "$_EXT_CHECK" != no; then
   20042 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20043 	fi
   20044 
   20045 
   20046 	SAVE_CFLAGS="$CFLAGS"
   20047 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20048 	cat >conftest.$ac_ext <<_ACEOF
   20049 /* confdefs.h.  */
   20050 _ACEOF
   20051 cat confdefs.h >>conftest.$ac_ext
   20052 cat >>conftest.$ac_ext <<_ACEOF
   20053 /* end confdefs.h.  */
   20054 
   20055 #include "xorg-server.h"
   20056 #if !defined RENDER
   20057 #error RENDER not defined
   20058 #endif
   20059 
   20060 int
   20061 main ()
   20062 {
   20063 
   20064   ;
   20065   return 0;
   20066 }
   20067 _ACEOF
   20068 rm -f conftest.$ac_objext
   20069 if { (ac_try="$ac_compile"
   20070 case "(($ac_try" in
   20071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20072   *) ac_try_echo=$ac_try;;
   20073 esac
   20074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20075   (eval "$ac_compile") 2>conftest.er1
   20076   ac_status=$?
   20077   grep -v '^ *+' conftest.er1 >conftest.err
   20078   rm -f conftest.er1
   20079   cat conftest.err >&5
   20080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20081   (exit $ac_status); } && {
   20082 	 test -z "$ac_c_werror_flag" ||
   20083 	 test ! -s conftest.err
   20084        } && test -s conftest.$ac_objext; then
   20085   _EXT_CHECK=yes
   20086 else
   20087   echo "$as_me: failed program was:" >&5
   20088 sed 's/^/| /' conftest.$ac_ext >&5
   20089 
   20090 	_EXT_CHECK=no
   20091 fi
   20092 
   20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20094 	CFLAGS="$SAVE_CFLAGS"
   20095 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20096 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20097 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20098 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20099 	if test "$_EXT_CHECK" != no; then
   20100 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20101 	fi
   20102 
   20103 
   20104 	SAVE_CFLAGS="$CFLAGS"
   20105 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20106 	cat >conftest.$ac_ext <<_ACEOF
   20107 /* confdefs.h.  */
   20108 _ACEOF
   20109 cat confdefs.h >>conftest.$ac_ext
   20110 cat >>conftest.$ac_ext <<_ACEOF
   20111 /* end confdefs.h.  */
   20112 
   20113 #include "xorg-server.h"
   20114 #if !defined DPMSExtension
   20115 #error DPMSExtension not defined
   20116 #endif
   20117 
   20118 int
   20119 main ()
   20120 {
   20121 
   20122   ;
   20123   return 0;
   20124 }
   20125 _ACEOF
   20126 rm -f conftest.$ac_objext
   20127 if { (ac_try="$ac_compile"
   20128 case "(($ac_try" in
   20129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20130   *) ac_try_echo=$ac_try;;
   20131 esac
   20132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20133   (eval "$ac_compile") 2>conftest.er1
   20134   ac_status=$?
   20135   grep -v '^ *+' conftest.er1 >conftest.err
   20136   rm -f conftest.er1
   20137   cat conftest.err >&5
   20138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20139   (exit $ac_status); } && {
   20140 	 test -z "$ac_c_werror_flag" ||
   20141 	 test ! -s conftest.err
   20142        } && test -s conftest.$ac_objext; then
   20143   _EXT_CHECK=yes
   20144 else
   20145   echo "$as_me: failed program was:" >&5
   20146 sed 's/^/| /' conftest.$ac_ext >&5
   20147 
   20148 	_EXT_CHECK=no
   20149 fi
   20150 
   20151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20152 	CFLAGS="$SAVE_CFLAGS"
   20153 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   20154 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   20155 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20156 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20157 	if test "$_EXT_CHECK" != no; then
   20158 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20159 	fi
   20160 
   20161 
   20162 	SAVE_CFLAGS="$CFLAGS"
   20163 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20164 	cat >conftest.$ac_ext <<_ACEOF
   20165 /* confdefs.h.  */
   20166 _ACEOF
   20167 cat confdefs.h >>conftest.$ac_ext
   20168 cat >>conftest.$ac_ext <<_ACEOF
   20169 /* end confdefs.h.  */
   20170 
   20171 #include "xorg-server.h"
   20172 #if !defined XINERAMA
   20173 #error XINERAMA not defined
   20174 #endif
   20175 
   20176 int
   20177 main ()
   20178 {
   20179 
   20180   ;
   20181   return 0;
   20182 }
   20183 _ACEOF
   20184 rm -f conftest.$ac_objext
   20185 if { (ac_try="$ac_compile"
   20186 case "(($ac_try" in
   20187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20188   *) ac_try_echo=$ac_try;;
   20189 esac
   20190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20191   (eval "$ac_compile") 2>conftest.er1
   20192   ac_status=$?
   20193   grep -v '^ *+' conftest.er1 >conftest.err
   20194   rm -f conftest.er1
   20195   cat conftest.err >&5
   20196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20197   (exit $ac_status); } && {
   20198 	 test -z "$ac_c_werror_flag" ||
   20199 	 test ! -s conftest.err
   20200        } && test -s conftest.$ac_objext; then
   20201   _EXT_CHECK=yes
   20202 else
   20203   echo "$as_me: failed program was:" >&5
   20204 sed 's/^/| /' conftest.$ac_ext >&5
   20205 
   20206 	_EXT_CHECK=no
   20207 fi
   20208 
   20209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20210 	CFLAGS="$SAVE_CFLAGS"
   20211 	{ echo "$as_me:$LINENO: checking if XINERAMA is defined" >&5
   20212 echo $ECHO_N "checking if XINERAMA is defined... $ECHO_C" >&6; }
   20213 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20214 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20215 	if test "$_EXT_CHECK" != no; then
   20216 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   20217 	fi
   20218 
   20219 
   20220 	SAVE_CFLAGS="$CFLAGS"
   20221 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20222 	cat >conftest.$ac_ext <<_ACEOF
   20223 /* confdefs.h.  */
   20224 _ACEOF
   20225 cat confdefs.h >>conftest.$ac_ext
   20226 cat >>conftest.$ac_ext <<_ACEOF
   20227 /* end confdefs.h.  */
   20228 
   20229 #include "xorg-server.h"
   20230 #if !defined XV
   20231 #error XV not defined
   20232 #endif
   20233 
   20234 int
   20235 main ()
   20236 {
   20237 
   20238   ;
   20239   return 0;
   20240 }
   20241 _ACEOF
   20242 rm -f conftest.$ac_objext
   20243 if { (ac_try="$ac_compile"
   20244 case "(($ac_try" in
   20245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20246   *) ac_try_echo=$ac_try;;
   20247 esac
   20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20249   (eval "$ac_compile") 2>conftest.er1
   20250   ac_status=$?
   20251   grep -v '^ *+' conftest.er1 >conftest.err
   20252   rm -f conftest.er1
   20253   cat conftest.err >&5
   20254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20255   (exit $ac_status); } && {
   20256 	 test -z "$ac_c_werror_flag" ||
   20257 	 test ! -s conftest.err
   20258        } && test -s conftest.$ac_objext; then
   20259   _EXT_CHECK=yes
   20260 else
   20261   echo "$as_me: failed program was:" >&5
   20262 sed 's/^/| /' conftest.$ac_ext >&5
   20263 
   20264 	_EXT_CHECK=no
   20265 fi
   20266 
   20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20268 	CFLAGS="$SAVE_CFLAGS"
   20269 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   20270 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   20271 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20272 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20273 	if test "$_EXT_CHECK" != no; then
   20274 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20275 	fi
   20276 
   20277 
   20278 # Checks for pkg-config packages
   20279 
   20280 
   20281 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20282 	if test -n "$ac_tool_prefix"; then
   20283   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20284 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20287 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20288   echo $ECHO_N "(cached) $ECHO_C" >&6
   20289 else
   20290   case $PKG_CONFIG in
   20291   [\\/]* | ?:[\\/]*)
   20292   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20293   ;;
   20294   *)
   20295   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20296 for as_dir in $PATH
   20297 do
   20298   IFS=$as_save_IFS
   20299   test -z "$as_dir" && as_dir=.
   20300   for ac_exec_ext in '' $ac_executable_extensions; do
   20301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20302     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20303     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20304     break 2
   20305   fi
   20306 done
   20307 done
   20308 IFS=$as_save_IFS
   20309 
   20310   ;;
   20311 esac
   20312 fi
   20313 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20314 if test -n "$PKG_CONFIG"; then
   20315   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20316 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20317 else
   20318   { echo "$as_me:$LINENO: result: no" >&5
   20319 echo "${ECHO_T}no" >&6; }
   20320 fi
   20321 
   20322 
   20323 fi
   20324 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20325   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20326   # Extract the first word of "pkg-config", so it can be a program name with args.
   20327 set dummy pkg-config; ac_word=$2
   20328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20330 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20331   echo $ECHO_N "(cached) $ECHO_C" >&6
   20332 else
   20333   case $ac_pt_PKG_CONFIG in
   20334   [\\/]* | ?:[\\/]*)
   20335   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20336   ;;
   20337   *)
   20338   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20339 for as_dir in $PATH
   20340 do
   20341   IFS=$as_save_IFS
   20342   test -z "$as_dir" && as_dir=.
   20343   for ac_exec_ext in '' $ac_executable_extensions; do
   20344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20345     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20346     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20347     break 2
   20348   fi
   20349 done
   20350 done
   20351 IFS=$as_save_IFS
   20352 
   20353   ;;
   20354 esac
   20355 fi
   20356 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20357 if test -n "$ac_pt_PKG_CONFIG"; then
   20358   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20359 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20360 else
   20361   { echo "$as_me:$LINENO: result: no" >&5
   20362 echo "${ECHO_T}no" >&6; }
   20363 fi
   20364 
   20365   if test "x$ac_pt_PKG_CONFIG" = x; then
   20366     PKG_CONFIG=""
   20367   else
   20368     case $cross_compiling:$ac_tool_warned in
   20369 yes:)
   20370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20371 whose name does not start with the host triplet.  If you think this
   20372 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20374 whose name does not start with the host triplet.  If you think this
   20375 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20376 ac_tool_warned=yes ;;
   20377 esac
   20378     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20379   fi
   20380 else
   20381   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20382 fi
   20383 
   20384 fi
   20385 if test -n "$PKG_CONFIG"; then
   20386 	_pkg_min_version=0.9.0
   20387 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20388 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20389 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20390 		{ echo "$as_me:$LINENO: result: yes" >&5
   20391 echo "${ECHO_T}yes" >&6; }
   20392 	else
   20393 		{ echo "$as_me:$LINENO: result: no" >&5
   20394 echo "${ECHO_T}no" >&6; }
   20395 		PKG_CONFIG=""
   20396 	fi
   20397 
   20398 fi
   20399 
   20400 pkg_failed=no
   20401 { echo "$as_me:$LINENO: checking for XORG" >&5
   20402 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   20403 
   20404 if test -n "$PKG_CONFIG"; then
   20405     if test -n "$XORG_CFLAGS"; then
   20406         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20407     else
   20408         if test -n "$PKG_CONFIG" && \
   20409     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20410   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20411   ac_status=$?
   20412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20413   (exit $ac_status); }; then
   20414   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20415 else
   20416   pkg_failed=yes
   20417 fi
   20418     fi
   20419 else
   20420 	pkg_failed=untried
   20421 fi
   20422 if test -n "$PKG_CONFIG"; then
   20423     if test -n "$XORG_LIBS"; then
   20424         pkg_cv_XORG_LIBS="$XORG_LIBS"
   20425     else
   20426         if test -n "$PKG_CONFIG" && \
   20427     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   20428   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20429   ac_status=$?
   20430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20431   (exit $ac_status); }; then
   20432   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20433 else
   20434   pkg_failed=yes
   20435 fi
   20436     fi
   20437 else
   20438 	pkg_failed=untried
   20439 fi
   20440 
   20441 
   20442 
   20443 if test $pkg_failed = yes; then
   20444 
   20445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20446         _pkg_short_errors_supported=yes
   20447 else
   20448         _pkg_short_errors_supported=no
   20449 fi
   20450         if test $_pkg_short_errors_supported = yes; then
   20451 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES"`
   20452         else
   20453 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES"`
   20454         fi
   20455 	# Put the nasty error message in config.log where it belongs
   20456 	echo "$XORG_PKG_ERRORS" >&5
   20457 
   20458 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES) were not met:
   20459 
   20460 $XORG_PKG_ERRORS
   20461 
   20462 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20463 installed software in a non-standard prefix.
   20464 
   20465 Alternatively, you may set the environment variables XORG_CFLAGS
   20466 and XORG_LIBS to avoid the need to call pkg-config.
   20467 See the pkg-config man page for more details.
   20468 " >&5
   20469 echo "$as_me: error: Package requirements (xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES) were not met:
   20470 
   20471 $XORG_PKG_ERRORS
   20472 
   20473 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20474 installed software in a non-standard prefix.
   20475 
   20476 Alternatively, you may set the environment variables XORG_CFLAGS
   20477 and XORG_LIBS to avoid the need to call pkg-config.
   20478 See the pkg-config man page for more details.
   20479 " >&2;}
   20480    { (exit 1); exit 1; }; }
   20481 elif test $pkg_failed = untried; then
   20482 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20483 is in your PATH or set the PKG_CONFIG environment variable to the full
   20484 path to pkg-config.
   20485 
   20486 Alternatively, you may set the environment variables XORG_CFLAGS
   20487 and XORG_LIBS to avoid the need to call pkg-config.
   20488 See the pkg-config man page for more details.
   20489 
   20490 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20491 See \`config.log' for more details." >&5
   20492 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20493 is in your PATH or set the PKG_CONFIG environment variable to the full
   20494 path to pkg-config.
   20495 
   20496 Alternatively, you may set the environment variables XORG_CFLAGS
   20497 and XORG_LIBS to avoid the need to call pkg-config.
   20498 See the pkg-config man page for more details.
   20499 
   20500 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20501 See \`config.log' for more details." >&2;}
   20502    { (exit 1); exit 1; }; }
   20503 else
   20504 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20505 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20506         { echo "$as_me:$LINENO: result: yes" >&5
   20507 echo "${ECHO_T}yes" >&6; }
   20508 	:
   20509 fi
   20510 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   20511 
   20512 # Checks for libraries.
   20513 
   20514 # Checks for header files.
   20515 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   20517 if test "${ac_cv_header_stdc+set}" = set; then
   20518   echo $ECHO_N "(cached) $ECHO_C" >&6
   20519 else
   20520   cat >conftest.$ac_ext <<_ACEOF
   20521 /* confdefs.h.  */
   20522 _ACEOF
   20523 cat confdefs.h >>conftest.$ac_ext
   20524 cat >>conftest.$ac_ext <<_ACEOF
   20525 /* end confdefs.h.  */
   20526 #include <stdlib.h>
   20527 #include <stdarg.h>
   20528 #include <string.h>
   20529 #include <float.h>
   20530 
   20531 int
   20532 main ()
   20533 {
   20534 
   20535   ;
   20536   return 0;
   20537 }
   20538 _ACEOF
   20539 rm -f conftest.$ac_objext
   20540 if { (ac_try="$ac_compile"
   20541 case "(($ac_try" in
   20542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20543   *) ac_try_echo=$ac_try;;
   20544 esac
   20545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20546   (eval "$ac_compile") 2>conftest.er1
   20547   ac_status=$?
   20548   grep -v '^ *+' conftest.er1 >conftest.err
   20549   rm -f conftest.er1
   20550   cat conftest.err >&5
   20551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20552   (exit $ac_status); } && {
   20553 	 test -z "$ac_c_werror_flag" ||
   20554 	 test ! -s conftest.err
   20555        } && test -s conftest.$ac_objext; then
   20556   ac_cv_header_stdc=yes
   20557 else
   20558   echo "$as_me: failed program was:" >&5
   20559 sed 's/^/| /' conftest.$ac_ext >&5
   20560 
   20561 	ac_cv_header_stdc=no
   20562 fi
   20563 
   20564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20565 
   20566 if test $ac_cv_header_stdc = yes; then
   20567   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20568   cat >conftest.$ac_ext <<_ACEOF
   20569 /* confdefs.h.  */
   20570 _ACEOF
   20571 cat confdefs.h >>conftest.$ac_ext
   20572 cat >>conftest.$ac_ext <<_ACEOF
   20573 /* end confdefs.h.  */
   20574 #include <string.h>
   20575 
   20576 _ACEOF
   20577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20578   $EGREP "memchr" >/dev/null 2>&1; then
   20579   :
   20580 else
   20581   ac_cv_header_stdc=no
   20582 fi
   20583 rm -f conftest*
   20584 
   20585 fi
   20586 
   20587 if test $ac_cv_header_stdc = yes; then
   20588   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20589   cat >conftest.$ac_ext <<_ACEOF
   20590 /* confdefs.h.  */
   20591 _ACEOF
   20592 cat confdefs.h >>conftest.$ac_ext
   20593 cat >>conftest.$ac_ext <<_ACEOF
   20594 /* end confdefs.h.  */
   20595 #include <stdlib.h>
   20596 
   20597 _ACEOF
   20598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20599   $EGREP "free" >/dev/null 2>&1; then
   20600   :
   20601 else
   20602   ac_cv_header_stdc=no
   20603 fi
   20604 rm -f conftest*
   20605 
   20606 fi
   20607 
   20608 if test $ac_cv_header_stdc = yes; then
   20609   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20610   if test "$cross_compiling" = yes; then
   20611   :
   20612 else
   20613   cat >conftest.$ac_ext <<_ACEOF
   20614 /* confdefs.h.  */
   20615 _ACEOF
   20616 cat confdefs.h >>conftest.$ac_ext
   20617 cat >>conftest.$ac_ext <<_ACEOF
   20618 /* end confdefs.h.  */
   20619 #include <ctype.h>
   20620 #include <stdlib.h>
   20621 #if ((' ' & 0x0FF) == 0x020)
   20622 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20623 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20624 #else
   20625 # define ISLOWER(c) \
   20626 		   (('a' <= (c) && (c) <= 'i') \
   20627 		     || ('j' <= (c) && (c) <= 'r') \
   20628 		     || ('s' <= (c) && (c) <= 'z'))
   20629 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20630 #endif
   20631 
   20632 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20633 int
   20634 main ()
   20635 {
   20636   int i;
   20637   for (i = 0; i < 256; i++)
   20638     if (XOR (islower (i), ISLOWER (i))
   20639 	|| toupper (i) != TOUPPER (i))
   20640       return 2;
   20641   return 0;
   20642 }
   20643 _ACEOF
   20644 rm -f conftest$ac_exeext
   20645 if { (ac_try="$ac_link"
   20646 case "(($ac_try" in
   20647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20648   *) ac_try_echo=$ac_try;;
   20649 esac
   20650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20651   (eval "$ac_link") 2>&5
   20652   ac_status=$?
   20653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20654   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20655   { (case "(($ac_try" in
   20656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20657   *) ac_try_echo=$ac_try;;
   20658 esac
   20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20660   (eval "$ac_try") 2>&5
   20661   ac_status=$?
   20662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20663   (exit $ac_status); }; }; then
   20664   :
   20665 else
   20666   echo "$as_me: program exited with status $ac_status" >&5
   20667 echo "$as_me: failed program was:" >&5
   20668 sed 's/^/| /' conftest.$ac_ext >&5
   20669 
   20670 ( exit $ac_status )
   20671 ac_cv_header_stdc=no
   20672 fi
   20673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20674 fi
   20675 
   20676 
   20677 fi
   20678 fi
   20679 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20680 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   20681 if test $ac_cv_header_stdc = yes; then
   20682 
   20683 cat >>confdefs.h <<\_ACEOF
   20684 #define STDC_HEADERS 1
   20685 _ACEOF
   20686 
   20687 fi
   20688 
   20689 save_CFLAGS="$CFLAGS"
   20690 CFLAGS="$XORG_CFLAGS"
   20691 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   20692 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   20693 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   20694   echo $ECHO_N "(cached) $ECHO_C" >&6
   20695 else
   20696   cat >conftest.$ac_ext <<_ACEOF
   20697 /* confdefs.h.  */
   20698 _ACEOF
   20699 cat confdefs.h >>conftest.$ac_ext
   20700 cat >>conftest.$ac_ext <<_ACEOF
   20701 /* end confdefs.h.  */
   20702 #include "xorg-server.h"
   20703 
   20704 int
   20705 main ()
   20706 {
   20707 #ifndef XSERVER_LIBPCIACCESS
   20708   (void) XSERVER_LIBPCIACCESS;
   20709 #endif
   20710 
   20711   ;
   20712   return 0;
   20713 }
   20714 _ACEOF
   20715 rm -f conftest.$ac_objext
   20716 if { (ac_try="$ac_compile"
   20717 case "(($ac_try" in
   20718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20719   *) ac_try_echo=$ac_try;;
   20720 esac
   20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20722   (eval "$ac_compile") 2>conftest.er1
   20723   ac_status=$?
   20724   grep -v '^ *+' conftest.er1 >conftest.err
   20725   rm -f conftest.er1
   20726   cat conftest.err >&5
   20727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20728   (exit $ac_status); } && {
   20729 	 test -z "$ac_c_werror_flag" ||
   20730 	 test ! -s conftest.err
   20731        } && test -s conftest.$ac_objext; then
   20732   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   20733 else
   20734   echo "$as_me: failed program was:" >&5
   20735 sed 's/^/| /' conftest.$ac_ext >&5
   20736 
   20737 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   20738 fi
   20739 
   20740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20741 fi
   20742 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   20743 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   20744 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   20745   XSERVER_LIBPCIACCESS=yes
   20746 else
   20747   XSERVER_LIBPCIACCESS=no
   20748 fi
   20749 
   20750 CFLAGS="$save_CFLAGS"
   20751 
   20752 if test x$XSERVER_LIBPCIACCESS = xyes; then
   20753 
   20754 pkg_failed=no
   20755 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   20756 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   20757 
   20758 if test -n "$PKG_CONFIG"; then
   20759     if test -n "$PCIACCESS_CFLAGS"; then
   20760         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   20761     else
   20762         if test -n "$PKG_CONFIG" && \
   20763     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   20764   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20765   ac_status=$?
   20766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20767   (exit $ac_status); }; then
   20768   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   20769 else
   20770   pkg_failed=yes
   20771 fi
   20772     fi
   20773 else
   20774 	pkg_failed=untried
   20775 fi
   20776 if test -n "$PKG_CONFIG"; then
   20777     if test -n "$PCIACCESS_LIBS"; then
   20778         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   20779     else
   20780         if test -n "$PKG_CONFIG" && \
   20781     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   20782   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20783   ac_status=$?
   20784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20785   (exit $ac_status); }; then
   20786   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   20787 else
   20788   pkg_failed=yes
   20789 fi
   20790     fi
   20791 else
   20792 	pkg_failed=untried
   20793 fi
   20794 
   20795 
   20796 
   20797 if test $pkg_failed = yes; then
   20798 
   20799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20800         _pkg_short_errors_supported=yes
   20801 else
   20802         _pkg_short_errors_supported=no
   20803 fi
   20804         if test $_pkg_short_errors_supported = yes; then
   20805 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   20806         else
   20807 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   20808         fi
   20809 	# Put the nasty error message in config.log where it belongs
   20810 	echo "$PCIACCESS_PKG_ERRORS" >&5
   20811 
   20812 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   20813 
   20814 $PCIACCESS_PKG_ERRORS
   20815 
   20816 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20817 installed software in a non-standard prefix.
   20818 
   20819 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20820 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20821 See the pkg-config man page for more details.
   20822 " >&5
   20823 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   20824 
   20825 $PCIACCESS_PKG_ERRORS
   20826 
   20827 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20828 installed software in a non-standard prefix.
   20829 
   20830 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20831 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20832 See the pkg-config man page for more details.
   20833 " >&2;}
   20834    { (exit 1); exit 1; }; }
   20835 elif test $pkg_failed = untried; then
   20836 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20837 is in your PATH or set the PKG_CONFIG environment variable to the full
   20838 path to pkg-config.
   20839 
   20840 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20841 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20842 See the pkg-config man page for more details.
   20843 
   20844 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20845 See \`config.log' for more details." >&5
   20846 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20847 is in your PATH or set the PKG_CONFIG environment variable to the full
   20848 path to pkg-config.
   20849 
   20850 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20851 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20852 See the pkg-config man page for more details.
   20853 
   20854 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20855 See \`config.log' for more details." >&2;}
   20856    { (exit 1); exit 1; }; }
   20857 else
   20858 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   20859 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   20860         { echo "$as_me:$LINENO: result: yes" >&5
   20861 echo "${ECHO_T}yes" >&6; }
   20862 	:
   20863 fi
   20864 fi
   20865 
   20866  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20867   XSERVER_LIBPCIACCESS_TRUE=
   20868   XSERVER_LIBPCIACCESS_FALSE='#'
   20869 else
   20870   XSERVER_LIBPCIACCESS_TRUE='#'
   20871   XSERVER_LIBPCIACCESS_FALSE=
   20872 fi
   20873 
   20874 
   20875 
   20876 
   20877 
   20878 DRIVER_NAME=vmware
   20879 
   20880 
   20881 
   20882 
   20883 
   20884 if test x$APP_MAN_SUFFIX = x    ; then
   20885     APP_MAN_SUFFIX=1
   20886 fi
   20887 if test x$APP_MAN_DIR = x    ; then
   20888     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20889 fi
   20890 
   20891 if test x$LIB_MAN_SUFFIX = x    ; then
   20892     LIB_MAN_SUFFIX=3
   20893 fi
   20894 if test x$LIB_MAN_DIR = x    ; then
   20895     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20896 fi
   20897 
   20898 if test x$FILE_MAN_SUFFIX = x    ; then
   20899     case $host_os in
   20900 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20901 	*)		FILE_MAN_SUFFIX=5  ;;
   20902     esac
   20903 fi
   20904 if test x$FILE_MAN_DIR = x    ; then
   20905     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20906 fi
   20907 
   20908 if test x$MISC_MAN_SUFFIX = x    ; then
   20909     case $host_os in
   20910 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20911 	*)		MISC_MAN_SUFFIX=7  ;;
   20912     esac
   20913 fi
   20914 if test x$MISC_MAN_DIR = x    ; then
   20915     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20916 fi
   20917 
   20918 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20919     case $host_os in
   20920 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20921 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20922     esac
   20923 fi
   20924 if test x$DRIVER_MAN_DIR = x    ; then
   20925     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20926 fi
   20927 
   20928 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20929     case $host_os in
   20930 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20931 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20932     esac
   20933 fi
   20934 if test x$ADMIN_MAN_DIR = x    ; then
   20935     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20936 fi
   20937 
   20938 
   20939 
   20940 
   20941 
   20942 
   20943 
   20944 
   20945 
   20946 
   20947 
   20948 
   20949 
   20950 
   20951 
   20952 
   20953 
   20954 # Check whether --with-release-version was given.
   20955 if test "${with_release_version+set}" = set; then
   20956   withval=$with_release_version; RELEASE_VERSION="$withval"
   20957 else
   20958   RELEASE_VERSION=""
   20959 fi
   20960 
   20961 	if test "x$RELEASE_VERSION" != "x"; then
   20962 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20963 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20964 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20965 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20966 	fi
   20967 
   20968 
   20969 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   20970 
   20971 cat >confcache <<\_ACEOF
   20972 # This file is a shell script that caches the results of configure
   20973 # tests run on this system so they can be shared between configure
   20974 # scripts and configure runs, see configure's option --config-cache.
   20975 # It is not useful on other systems.  If it contains results you don't
   20976 # want to keep, you may remove or edit it.
   20977 #
   20978 # config.status only pays attention to the cache file if you give it
   20979 # the --recheck option to rerun configure.
   20980 #
   20981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20983 # following values.
   20984 
   20985 _ACEOF
   20986 
   20987 # The following way of writing the cache mishandles newlines in values,
   20988 # but we know of no workaround that is simple, portable, and efficient.
   20989 # So, we kill variables containing newlines.
   20990 # Ultrix sh set writes to stderr and can't be redirected directly,
   20991 # and sets the high bit in the cache file unless we assign to the vars.
   20992 (
   20993   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20994     eval ac_val=\$$ac_var
   20995     case $ac_val in #(
   20996     *${as_nl}*)
   20997       case $ac_var in #(
   20998       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   20999 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21000       esac
   21001       case $ac_var in #(
   21002       _ | IFS | as_nl) ;; #(
   21003       *) $as_unset $ac_var ;;
   21004       esac ;;
   21005     esac
   21006   done
   21007 
   21008   (set) 2>&1 |
   21009     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21010     *${as_nl}ac_space=\ *)
   21011       # `set' does not quote correctly, so add quotes (double-quote
   21012       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21013       sed -n \
   21014 	"s/'/'\\\\''/g;
   21015 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21016       ;; #(
   21017     *)
   21018       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21019       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21020       ;;
   21021     esac |
   21022     sort
   21023 ) |
   21024   sed '
   21025      /^ac_cv_env_/b end
   21026      t clear
   21027      :clear
   21028      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21029      t end
   21030      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21031      :end' >>confcache
   21032 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21033   if test -w "$cache_file"; then
   21034     test "x$cache_file" != "x/dev/null" &&
   21035       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21036 echo "$as_me: updating cache $cache_file" >&6;}
   21037     cat confcache >$cache_file
   21038   else
   21039     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21040 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21041   fi
   21042 fi
   21043 rm -f confcache
   21044 
   21045 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21046 # Let make expand exec_prefix.
   21047 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21048 
   21049 DEFS=-DHAVE_CONFIG_H
   21050 
   21051 ac_libobjs=
   21052 ac_ltlibobjs=
   21053 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21054   # 1. Remove the extension, and $U if already installed.
   21055   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21056   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21057   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21058   #    will be set to the directory where LIBOBJS objects are built.
   21059   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21060   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21061 done
   21062 LIBOBJS=$ac_libobjs
   21063 
   21064 LTLIBOBJS=$ac_ltlibobjs
   21065 
   21066 
   21067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21068   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21069 Usually this means the macro was only invoked conditionally." >&5
   21070 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21071 Usually this means the macro was only invoked conditionally." >&2;}
   21072    { (exit 1); exit 1; }; }
   21073 fi
   21074 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21075   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21076 Usually this means the macro was only invoked conditionally." >&5
   21077 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21078 Usually this means the macro was only invoked conditionally." >&2;}
   21079    { (exit 1); exit 1; }; }
   21080 fi
   21081 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21082   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21083 Usually this means the macro was only invoked conditionally." >&5
   21084 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21085 Usually this means the macro was only invoked conditionally." >&2;}
   21086    { (exit 1); exit 1; }; }
   21087 fi
   21088 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21089   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21090 Usually this means the macro was only invoked conditionally." >&5
   21091 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21092 Usually this means the macro was only invoked conditionally." >&2;}
   21093    { (exit 1); exit 1; }; }
   21094 fi
   21095 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21096   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21097 Usually this means the macro was only invoked conditionally." >&5
   21098 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21099 Usually this means the macro was only invoked conditionally." >&2;}
   21100    { (exit 1); exit 1; }; }
   21101 fi
   21102 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   21103   { { echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21104 Usually this means the macro was only invoked conditionally." >&5
   21105 echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21106 Usually this means the macro was only invoked conditionally." >&2;}
   21107    { (exit 1); exit 1; }; }
   21108 fi
   21109 
   21110 : ${CONFIG_STATUS=./config.status}
   21111 ac_clean_files_save=$ac_clean_files
   21112 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21113 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21114 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21115 cat >$CONFIG_STATUS <<_ACEOF
   21116 #! $SHELL
   21117 # Generated by $as_me.
   21118 # Run this file to recreate the current configuration.
   21119 # Compiler output produced by configure, useful for debugging
   21120 # configure, is in config.log if it exists.
   21121 
   21122 debug=false
   21123 ac_cs_recheck=false
   21124 ac_cs_silent=false
   21125 SHELL=\${CONFIG_SHELL-$SHELL}
   21126 _ACEOF
   21127 
   21128 cat >>$CONFIG_STATUS <<\_ACEOF
   21129 ## --------------------- ##
   21130 ## M4sh Initialization.  ##
   21131 ## --------------------- ##
   21132 
   21133 # Be more Bourne compatible
   21134 DUALCASE=1; export DUALCASE # for MKS sh
   21135 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21136   emulate sh
   21137   NULLCMD=:
   21138   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21139   # is contrary to our usage.  Disable this feature.
   21140   alias -g '${1+"$@"}'='"$@"'
   21141   setopt NO_GLOB_SUBST
   21142 else
   21143   case `(set -o) 2>/dev/null` in
   21144   *posix*) set -o posix ;;
   21145 esac
   21146 
   21147 fi
   21148 
   21149 
   21150 
   21151 
   21152 # PATH needs CR
   21153 # Avoid depending upon Character Ranges.
   21154 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21155 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21156 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21157 as_cr_digits='0123456789'
   21158 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21159 
   21160 # The user is always right.
   21161 if test "${PATH_SEPARATOR+set}" != set; then
   21162   echo "#! /bin/sh" >conf$$.sh
   21163   echo  "exit 0"   >>conf$$.sh
   21164   chmod +x conf$$.sh
   21165   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21166     PATH_SEPARATOR=';'
   21167   else
   21168     PATH_SEPARATOR=:
   21169   fi
   21170   rm -f conf$$.sh
   21171 fi
   21172 
   21173 # Support unset when possible.
   21174 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21175   as_unset=unset
   21176 else
   21177   as_unset=false
   21178 fi
   21179 
   21180 
   21181 # IFS
   21182 # We need space, tab and new line, in precisely that order.  Quoting is
   21183 # there to prevent editors from complaining about space-tab.
   21184 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21185 # splitting by setting IFS to empty value.)
   21186 as_nl='
   21187 '
   21188 IFS=" ""	$as_nl"
   21189 
   21190 # Find who we are.  Look in the path if we contain no directory separator.
   21191 case $0 in
   21192   *[\\/]* ) as_myself=$0 ;;
   21193   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21194 for as_dir in $PATH
   21195 do
   21196   IFS=$as_save_IFS
   21197   test -z "$as_dir" && as_dir=.
   21198   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21199 done
   21200 IFS=$as_save_IFS
   21201 
   21202      ;;
   21203 esac
   21204 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21205 # in which case we are not to be found in the path.
   21206 if test "x$as_myself" = x; then
   21207   as_myself=$0
   21208 fi
   21209 if test ! -f "$as_myself"; then
   21210   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21211   { (exit 1); exit 1; }
   21212 fi
   21213 
   21214 # Work around bugs in pre-3.0 UWIN ksh.
   21215 for as_var in ENV MAIL MAILPATH
   21216 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21217 done
   21218 PS1='$ '
   21219 PS2='> '
   21220 PS4='+ '
   21221 
   21222 # NLS nuisances.
   21223 for as_var in \
   21224   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   21225   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   21226   LC_TELEPHONE LC_TIME
   21227 do
   21228   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   21229     eval $as_var=C; export $as_var
   21230   else
   21231     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21232   fi
   21233 done
   21234 
   21235 # Required to use basename.
   21236 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21237    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21238   as_expr=expr
   21239 else
   21240   as_expr=false
   21241 fi
   21242 
   21243 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21244   as_basename=basename
   21245 else
   21246   as_basename=false
   21247 fi
   21248 
   21249 
   21250 # Name of the executable.
   21251 as_me=`$as_basename -- "$0" ||
   21252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21253 	 X"$0" : 'X\(//\)$' \| \
   21254 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21255 echo X/"$0" |
   21256     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21257 	    s//\1/
   21258 	    q
   21259 	  }
   21260 	  /^X\/\(\/\/\)$/{
   21261 	    s//\1/
   21262 	    q
   21263 	  }
   21264 	  /^X\/\(\/\).*/{
   21265 	    s//\1/
   21266 	    q
   21267 	  }
   21268 	  s/.*/./; q'`
   21269 
   21270 # CDPATH.
   21271 $as_unset CDPATH
   21272 
   21273 
   21274 
   21275   as_lineno_1=$LINENO
   21276   as_lineno_2=$LINENO
   21277   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21278   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21279 
   21280   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21281   # uniformly replaced by the line number.  The first 'sed' inserts a
   21282   # line-number line after each line using $LINENO; the second 'sed'
   21283   # does the real work.  The second script uses 'N' to pair each
   21284   # line-number line with the line containing $LINENO, and appends
   21285   # trailing '-' during substitution so that $LINENO is not a special
   21286   # case at line end.
   21287   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21288   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21289   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21290   sed -n '
   21291     p
   21292     /[$]LINENO/=
   21293   ' <$as_myself |
   21294     sed '
   21295       s/[$]LINENO.*/&-/
   21296       t lineno
   21297       b
   21298       :lineno
   21299       N
   21300       :loop
   21301       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21302       t loop
   21303       s/-\n.*//
   21304     ' >$as_me.lineno &&
   21305   chmod +x "$as_me.lineno" ||
   21306     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21307    { (exit 1); exit 1; }; }
   21308 
   21309   # Don't try to exec as it changes $[0], causing all sort of problems
   21310   # (the dirname of $[0] is not the place where we might find the
   21311   # original and so on.  Autoconf is especially sensitive to this).
   21312   . "./$as_me.lineno"
   21313   # Exit status is that of the last command.
   21314   exit
   21315 }
   21316 
   21317 
   21318 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21319   as_dirname=dirname
   21320 else
   21321   as_dirname=false
   21322 fi
   21323 
   21324 ECHO_C= ECHO_N= ECHO_T=
   21325 case `echo -n x` in
   21326 -n*)
   21327   case `echo 'x\c'` in
   21328   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21329   *)   ECHO_C='\c';;
   21330   esac;;
   21331 *)
   21332   ECHO_N='-n';;
   21333 esac
   21334 
   21335 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21336    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21337   as_expr=expr
   21338 else
   21339   as_expr=false
   21340 fi
   21341 
   21342 rm -f conf$$ conf$$.exe conf$$.file
   21343 if test -d conf$$.dir; then
   21344   rm -f conf$$.dir/conf$$.file
   21345 else
   21346   rm -f conf$$.dir
   21347   mkdir conf$$.dir
   21348 fi
   21349 echo >conf$$.file
   21350 if ln -s conf$$.file conf$$ 2>/dev/null; then
   21351   as_ln_s='ln -s'
   21352   # ... but there are two gotchas:
   21353   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21354   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21355   # In both cases, we have to default to `cp -p'.
   21356   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21357     as_ln_s='cp -p'
   21358 elif ln conf$$.file conf$$ 2>/dev/null; then
   21359   as_ln_s=ln
   21360 else
   21361   as_ln_s='cp -p'
   21362 fi
   21363 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21364 rmdir conf$$.dir 2>/dev/null
   21365 
   21366 if mkdir -p . 2>/dev/null; then
   21367   as_mkdir_p=:
   21368 else
   21369   test -d ./-p && rmdir ./-p
   21370   as_mkdir_p=false
   21371 fi
   21372 
   21373 if test -x / >/dev/null 2>&1; then
   21374   as_test_x='test -x'
   21375 else
   21376   if ls -dL / >/dev/null 2>&1; then
   21377     as_ls_L_option=L
   21378   else
   21379     as_ls_L_option=
   21380   fi
   21381   as_test_x='
   21382     eval sh -c '\''
   21383       if test -d "$1"; then
   21384         test -d "$1/.";
   21385       else
   21386 	case $1 in
   21387         -*)set "./$1";;
   21388 	esac;
   21389 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21390 	???[sx]*):;;*)false;;esac;fi
   21391     '\'' sh
   21392   '
   21393 fi
   21394 as_executable_p=$as_test_x
   21395 
   21396 # Sed expression to map a string onto a valid CPP name.
   21397 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21398 
   21399 # Sed expression to map a string onto a valid variable name.
   21400 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21401 
   21402 
   21403 exec 6>&1
   21404 
   21405 # Save the log message, to keep $[0] and so on meaningful, and to
   21406 # report actual input values of CONFIG_FILES etc. instead of their
   21407 # values after options handling.
   21408 ac_log="
   21409 This file was extended by xf86-video-vmware $as_me 10.16.1, which was
   21410 generated by GNU Autoconf 2.61.  Invocation command line was
   21411 
   21412   CONFIG_FILES    = $CONFIG_FILES
   21413   CONFIG_HEADERS  = $CONFIG_HEADERS
   21414   CONFIG_LINKS    = $CONFIG_LINKS
   21415   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21416   $ $0 $@
   21417 
   21418 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21419 "
   21420 
   21421 _ACEOF
   21422 
   21423 cat >>$CONFIG_STATUS <<_ACEOF
   21424 # Files that config.status was made for.
   21425 config_files="$ac_config_files"
   21426 config_headers="$ac_config_headers"
   21427 config_commands="$ac_config_commands"
   21428 
   21429 _ACEOF
   21430 
   21431 cat >>$CONFIG_STATUS <<\_ACEOF
   21432 ac_cs_usage="\
   21433 \`$as_me' instantiates files from templates according to the
   21434 current configuration.
   21435 
   21436 Usage: $0 [OPTIONS] [FILE]...
   21437 
   21438   -h, --help       print this help, then exit
   21439   -V, --version    print version number and configuration settings, then exit
   21440   -q, --quiet      do not print progress messages
   21441   -d, --debug      don't remove temporary files
   21442       --recheck    update $as_me by reconfiguring in the same conditions
   21443   --file=FILE[:TEMPLATE]
   21444 		   instantiate the configuration file FILE
   21445   --header=FILE[:TEMPLATE]
   21446 		   instantiate the configuration header FILE
   21447 
   21448 Configuration files:
   21449 $config_files
   21450 
   21451 Configuration headers:
   21452 $config_headers
   21453 
   21454 Configuration commands:
   21455 $config_commands
   21456 
   21457 Report bugs to <bug-autoconf (at] gnu.org>."
   21458 
   21459 _ACEOF
   21460 cat >>$CONFIG_STATUS <<_ACEOF
   21461 ac_cs_version="\\
   21462 xf86-video-vmware config.status 10.16.1
   21463 configured by $0, generated by GNU Autoconf 2.61,
   21464   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21465 
   21466 Copyright (C) 2006 Free Software Foundation, Inc.
   21467 This config.status script is free software; the Free Software Foundation
   21468 gives unlimited permission to copy, distribute and modify it."
   21469 
   21470 ac_pwd='$ac_pwd'
   21471 srcdir='$srcdir'
   21472 INSTALL='$INSTALL'
   21473 MKDIR_P='$MKDIR_P'
   21474 _ACEOF
   21475 
   21476 cat >>$CONFIG_STATUS <<\_ACEOF
   21477 # If no file are specified by the user, then we need to provide default
   21478 # value.  By we need to know if files were specified by the user.
   21479 ac_need_defaults=:
   21480 while test $# != 0
   21481 do
   21482   case $1 in
   21483   --*=*)
   21484     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21485     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21486     ac_shift=:
   21487     ;;
   21488   *)
   21489     ac_option=$1
   21490     ac_optarg=$2
   21491     ac_shift=shift
   21492     ;;
   21493   esac
   21494 
   21495   case $ac_option in
   21496   # Handling of the options.
   21497   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21498     ac_cs_recheck=: ;;
   21499   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21500     echo "$ac_cs_version"; exit ;;
   21501   --debug | --debu | --deb | --de | --d | -d )
   21502     debug=: ;;
   21503   --file | --fil | --fi | --f )
   21504     $ac_shift
   21505     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21506     ac_need_defaults=false;;
   21507   --header | --heade | --head | --hea )
   21508     $ac_shift
   21509     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   21510     ac_need_defaults=false;;
   21511   --he | --h)
   21512     # Conflict between --help and --header
   21513     { echo "$as_me: error: ambiguous option: $1
   21514 Try \`$0 --help' for more information." >&2
   21515    { (exit 1); exit 1; }; };;
   21516   --help | --hel | -h )
   21517     echo "$ac_cs_usage"; exit ;;
   21518   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21519   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21520     ac_cs_silent=: ;;
   21521 
   21522   # This is an error.
   21523   -*) { echo "$as_me: error: unrecognized option: $1
   21524 Try \`$0 --help' for more information." >&2
   21525    { (exit 1); exit 1; }; } ;;
   21526 
   21527   *) ac_config_targets="$ac_config_targets $1"
   21528      ac_need_defaults=false ;;
   21529 
   21530   esac
   21531   shift
   21532 done
   21533 
   21534 ac_configure_extra_args=
   21535 
   21536 if $ac_cs_silent; then
   21537   exec 6>/dev/null
   21538   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21539 fi
   21540 
   21541 _ACEOF
   21542 cat >>$CONFIG_STATUS <<_ACEOF
   21543 if \$ac_cs_recheck; then
   21544   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21545   CONFIG_SHELL=$SHELL
   21546   export CONFIG_SHELL
   21547   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21548 fi
   21549 
   21550 _ACEOF
   21551 cat >>$CONFIG_STATUS <<\_ACEOF
   21552 exec 5>>config.log
   21553 {
   21554   echo
   21555   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21556 ## Running $as_me. ##
   21557 _ASBOX
   21558   echo "$ac_log"
   21559 } >&5
   21560 
   21561 _ACEOF
   21562 cat >>$CONFIG_STATUS <<_ACEOF
   21563 #
   21564 # INIT-COMMANDS
   21565 #
   21566 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21567 
   21568 _ACEOF
   21569 
   21570 cat >>$CONFIG_STATUS <<\_ACEOF
   21571 
   21572 # Handling of arguments.
   21573 for ac_config_target in $ac_config_targets
   21574 do
   21575   case $ac_config_target in
   21576     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21577     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21578     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21579     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21580     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21581 
   21582   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21583 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21584    { (exit 1); exit 1; }; };;
   21585   esac
   21586 done
   21587 
   21588 
   21589 # If the user did not use the arguments to specify the items to instantiate,
   21590 # then the envvar interface is used.  Set only those that are not.
   21591 # We use the long form for the default assignment because of an extremely
   21592 # bizarre bug on SunOS 4.1.3.
   21593 if $ac_need_defaults; then
   21594   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21595   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21596   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21597 fi
   21598 
   21599 # Have a temporary directory for convenience.  Make it in the build tree
   21600 # simply because there is no reason against having it here, and in addition,
   21601 # creating and moving files from /tmp can sometimes cause problems.
   21602 # Hook for its removal unless debugging.
   21603 # Note that there is a small window in which the directory will not be cleaned:
   21604 # after its creation but before its name has been assigned to `$tmp'.
   21605 $debug ||
   21606 {
   21607   tmp=
   21608   trap 'exit_status=$?
   21609   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21610 ' 0
   21611   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21612 }
   21613 # Create a (secure) tmp directory for tmp files.
   21614 
   21615 {
   21616   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21617   test -n "$tmp" && test -d "$tmp"
   21618 }  ||
   21619 {
   21620   tmp=./conf$$-$RANDOM
   21621   (umask 077 && mkdir "$tmp")
   21622 } ||
   21623 {
   21624    echo "$me: cannot create a temporary directory in ." >&2
   21625    { (exit 1); exit 1; }
   21626 }
   21627 
   21628 #
   21629 # Set up the sed scripts for CONFIG_FILES section.
   21630 #
   21631 
   21632 # No need to generate the scripts if there are no CONFIG_FILES.
   21633 # This happens for instance when ./config.status config.h
   21634 if test -n "$CONFIG_FILES"; then
   21635 
   21636 _ACEOF
   21637 
   21638 
   21639 
   21640 ac_delim='%!_!# '
   21641 for ac_last_try in false false false false false :; do
   21642   cat >conf$$subs.sed <<_ACEOF
   21643 SHELL!$SHELL$ac_delim
   21644 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21645 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21646 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21647 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21648 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21649 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21650 exec_prefix!$exec_prefix$ac_delim
   21651 prefix!$prefix$ac_delim
   21652 program_transform_name!$program_transform_name$ac_delim
   21653 bindir!$bindir$ac_delim
   21654 sbindir!$sbindir$ac_delim
   21655 libexecdir!$libexecdir$ac_delim
   21656 datarootdir!$datarootdir$ac_delim
   21657 datadir!$datadir$ac_delim
   21658 sysconfdir!$sysconfdir$ac_delim
   21659 sharedstatedir!$sharedstatedir$ac_delim
   21660 localstatedir!$localstatedir$ac_delim
   21661 includedir!$includedir$ac_delim
   21662 oldincludedir!$oldincludedir$ac_delim
   21663 docdir!$docdir$ac_delim
   21664 infodir!$infodir$ac_delim
   21665 htmldir!$htmldir$ac_delim
   21666 dvidir!$dvidir$ac_delim
   21667 pdfdir!$pdfdir$ac_delim
   21668 psdir!$psdir$ac_delim
   21669 libdir!$libdir$ac_delim
   21670 localedir!$localedir$ac_delim
   21671 mandir!$mandir$ac_delim
   21672 DEFS!$DEFS$ac_delim
   21673 ECHO_C!$ECHO_C$ac_delim
   21674 ECHO_N!$ECHO_N$ac_delim
   21675 ECHO_T!$ECHO_T$ac_delim
   21676 LIBS!$LIBS$ac_delim
   21677 build_alias!$build_alias$ac_delim
   21678 host_alias!$host_alias$ac_delim
   21679 target_alias!$target_alias$ac_delim
   21680 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21681 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21682 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21683 am__isrc!$am__isrc$ac_delim
   21684 CYGPATH_W!$CYGPATH_W$ac_delim
   21685 PACKAGE!$PACKAGE$ac_delim
   21686 VERSION!$VERSION$ac_delim
   21687 ACLOCAL!$ACLOCAL$ac_delim
   21688 AUTOCONF!$AUTOCONF$ac_delim
   21689 AUTOMAKE!$AUTOMAKE$ac_delim
   21690 AUTOHEADER!$AUTOHEADER$ac_delim
   21691 MAKEINFO!$MAKEINFO$ac_delim
   21692 install_sh!$install_sh$ac_delim
   21693 STRIP!$STRIP$ac_delim
   21694 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   21695 mkdir_p!$mkdir_p$ac_delim
   21696 AWK!$AWK$ac_delim
   21697 SET_MAKE!$SET_MAKE$ac_delim
   21698 am__leading_dot!$am__leading_dot$ac_delim
   21699 AMTAR!$AMTAR$ac_delim
   21700 am__tar!$am__tar$ac_delim
   21701 am__untar!$am__untar$ac_delim
   21702 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   21703 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   21704 MAINT!$MAINT$ac_delim
   21705 build!$build$ac_delim
   21706 build_cpu!$build_cpu$ac_delim
   21707 build_vendor!$build_vendor$ac_delim
   21708 build_os!$build_os$ac_delim
   21709 host!$host$ac_delim
   21710 host_cpu!$host_cpu$ac_delim
   21711 host_vendor!$host_vendor$ac_delim
   21712 host_os!$host_os$ac_delim
   21713 CC!$CC$ac_delim
   21714 CFLAGS!$CFLAGS$ac_delim
   21715 LDFLAGS!$LDFLAGS$ac_delim
   21716 CPPFLAGS!$CPPFLAGS$ac_delim
   21717 ac_ct_CC!$ac_ct_CC$ac_delim
   21718 EXEEXT!$EXEEXT$ac_delim
   21719 OBJEXT!$OBJEXT$ac_delim
   21720 DEPDIR!$DEPDIR$ac_delim
   21721 am__include!$am__include$ac_delim
   21722 am__quote!$am__quote$ac_delim
   21723 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   21724 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   21725 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   21726 CCDEPMODE!$CCDEPMODE$ac_delim
   21727 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   21728 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   21729 GREP!$GREP$ac_delim
   21730 EGREP!$EGREP$ac_delim
   21731 LN_S!$LN_S$ac_delim
   21732 ECHO!$ECHO$ac_delim
   21733 AR!$AR$ac_delim
   21734 RANLIB!$RANLIB$ac_delim
   21735 CPP!$CPP$ac_delim
   21736 CXX!$CXX$ac_delim
   21737 CXXFLAGS!$CXXFLAGS$ac_delim
   21738 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21739 CXXDEPMODE!$CXXDEPMODE$ac_delim
   21740 _ACEOF
   21741 
   21742   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21743     break
   21744   elif $ac_last_try; then
   21745     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21746 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21747    { (exit 1); exit 1; }; }
   21748   else
   21749     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21750   fi
   21751 done
   21752 
   21753 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21754 if test -n "$ac_eof"; then
   21755   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21756   ac_eof=`expr $ac_eof + 1`
   21757 fi
   21758 
   21759 cat >>$CONFIG_STATUS <<_ACEOF
   21760 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21762 _ACEOF
   21763 sed '
   21764 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21765 s/^/s,@/; s/!/@,|#_!!_#|/
   21766 :n
   21767 t n
   21768 s/'"$ac_delim"'$/,g/; t
   21769 s/$/\\/; p
   21770 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21771 ' >>$CONFIG_STATUS <conf$$subs.sed
   21772 rm -f conf$$subs.sed
   21773 cat >>$CONFIG_STATUS <<_ACEOF
   21774 CEOF$ac_eof
   21775 _ACEOF
   21776 
   21777 
   21778 ac_delim='%!_!# '
   21779 for ac_last_try in false false false false false :; do
   21780   cat >conf$$subs.sed <<_ACEOF
   21781 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   21782 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   21783 CXXCPP!$CXXCPP$ac_delim
   21784 F77!$F77$ac_delim
   21785 FFLAGS!$FFLAGS$ac_delim
   21786 ac_ct_F77!$ac_ct_F77$ac_delim
   21787 LIBTOOL!$LIBTOOL$ac_delim
   21788 PKG_CONFIG!$PKG_CONFIG$ac_delim
   21789 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   21790 XORG_LIBS!$XORG_LIBS$ac_delim
   21791 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   21792 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   21793 XSERVER_LIBPCIACCESS_TRUE!$XSERVER_LIBPCIACCESS_TRUE$ac_delim
   21794 XSERVER_LIBPCIACCESS_FALSE!$XSERVER_LIBPCIACCESS_FALSE$ac_delim
   21795 moduledir!$moduledir$ac_delim
   21796 DRIVER_NAME!$DRIVER_NAME$ac_delim
   21797 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   21798 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   21799 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   21800 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   21801 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   21802 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   21803 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   21804 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   21805 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   21806 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   21807 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   21808 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   21809 LIBOBJS!$LIBOBJS$ac_delim
   21810 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21811 _ACEOF
   21812 
   21813   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
   21814     break
   21815   elif $ac_last_try; then
   21816     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21817 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21818    { (exit 1); exit 1; }; }
   21819   else
   21820     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21821   fi
   21822 done
   21823 
   21824 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21825 if test -n "$ac_eof"; then
   21826   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21827   ac_eof=`expr $ac_eof + 1`
   21828 fi
   21829 
   21830 cat >>$CONFIG_STATUS <<_ACEOF
   21831 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21833 _ACEOF
   21834 sed '
   21835 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21836 s/^/s,@/; s/!/@,|#_!!_#|/
   21837 :n
   21838 t n
   21839 s/'"$ac_delim"'$/,g/; t
   21840 s/$/\\/; p
   21841 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21842 ' >>$CONFIG_STATUS <conf$$subs.sed
   21843 rm -f conf$$subs.sed
   21844 cat >>$CONFIG_STATUS <<_ACEOF
   21845 :end
   21846 s/|#_!!_#|//g
   21847 CEOF$ac_eof
   21848 _ACEOF
   21849 
   21850 
   21851 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21852 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21853 # trailing colons and then remove the whole line if VPATH becomes empty
   21854 # (actually we leave an empty line to preserve line numbers).
   21855 if test "x$srcdir" = x.; then
   21856   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21857 s/:*\$(srcdir):*/:/
   21858 s/:*\${srcdir}:*/:/
   21859 s/:*@srcdir@:*/:/
   21860 s/^\([^=]*=[	 ]*\):*/\1/
   21861 s/:*$//
   21862 s/^[^=]*=[	 ]*$//
   21863 }'
   21864 fi
   21865 
   21866 cat >>$CONFIG_STATUS <<\_ACEOF
   21867 fi # test -n "$CONFIG_FILES"
   21868 
   21869 
   21870 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   21871 do
   21872   case $ac_tag in
   21873   :[FHLC]) ac_mode=$ac_tag; continue;;
   21874   esac
   21875   case $ac_mode$ac_tag in
   21876   :[FHL]*:*);;
   21877   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21878 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21879    { (exit 1); exit 1; }; };;
   21880   :[FH]-) ac_tag=-:-;;
   21881   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21882   esac
   21883   ac_save_IFS=$IFS
   21884   IFS=:
   21885   set x $ac_tag
   21886   IFS=$ac_save_IFS
   21887   shift
   21888   ac_file=$1
   21889   shift
   21890 
   21891   case $ac_mode in
   21892   :L) ac_source=$1;;
   21893   :[FH])
   21894     ac_file_inputs=
   21895     for ac_f
   21896     do
   21897       case $ac_f in
   21898       -) ac_f="$tmp/stdin";;
   21899       *) # Look for the file first in the build tree, then in the source tree
   21900 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21901 	 # because $ac_f cannot contain `:'.
   21902 	 test -f "$ac_f" ||
   21903 	   case $ac_f in
   21904 	   [\\/$]*) false;;
   21905 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21906 	   esac ||
   21907 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21908 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21909    { (exit 1); exit 1; }; };;
   21910       esac
   21911       ac_file_inputs="$ac_file_inputs $ac_f"
   21912     done
   21913 
   21914     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21915     # use $as_me), people would be surprised to read:
   21916     #    /* config.h.  Generated by config.status.  */
   21917     configure_input="Generated from "`IFS=:
   21918 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   21919     if test x"$ac_file" != x-; then
   21920       configure_input="$ac_file.  $configure_input"
   21921       { echo "$as_me:$LINENO: creating $ac_file" >&5
   21922 echo "$as_me: creating $ac_file" >&6;}
   21923     fi
   21924 
   21925     case $ac_tag in
   21926     *:-:* | *:-) cat >"$tmp/stdin";;
   21927     esac
   21928     ;;
   21929   esac
   21930 
   21931   ac_dir=`$as_dirname -- "$ac_file" ||
   21932 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21933 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21934 	 X"$ac_file" : 'X\(//\)$' \| \
   21935 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21936 echo X"$ac_file" |
   21937     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21938 	    s//\1/
   21939 	    q
   21940 	  }
   21941 	  /^X\(\/\/\)[^/].*/{
   21942 	    s//\1/
   21943 	    q
   21944 	  }
   21945 	  /^X\(\/\/\)$/{
   21946 	    s//\1/
   21947 	    q
   21948 	  }
   21949 	  /^X\(\/\).*/{
   21950 	    s//\1/
   21951 	    q
   21952 	  }
   21953 	  s/.*/./; q'`
   21954   { as_dir="$ac_dir"
   21955   case $as_dir in #(
   21956   -*) as_dir=./$as_dir;;
   21957   esac
   21958   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21959     as_dirs=
   21960     while :; do
   21961       case $as_dir in #(
   21962       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21963       *) as_qdir=$as_dir;;
   21964       esac
   21965       as_dirs="'$as_qdir' $as_dirs"
   21966       as_dir=`$as_dirname -- "$as_dir" ||
   21967 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21968 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21969 	 X"$as_dir" : 'X\(//\)$' \| \
   21970 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21971 echo X"$as_dir" |
   21972     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21973 	    s//\1/
   21974 	    q
   21975 	  }
   21976 	  /^X\(\/\/\)[^/].*/{
   21977 	    s//\1/
   21978 	    q
   21979 	  }
   21980 	  /^X\(\/\/\)$/{
   21981 	    s//\1/
   21982 	    q
   21983 	  }
   21984 	  /^X\(\/\).*/{
   21985 	    s//\1/
   21986 	    q
   21987 	  }
   21988 	  s/.*/./; q'`
   21989       test -d "$as_dir" && break
   21990     done
   21991     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21992   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21993 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21994    { (exit 1); exit 1; }; }; }
   21995   ac_builddir=.
   21996 
   21997 case "$ac_dir" in
   21998 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21999 *)
   22000   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22001   # A ".." for each directory in $ac_dir_suffix.
   22002   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22003   case $ac_top_builddir_sub in
   22004   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22005   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22006   esac ;;
   22007 esac
   22008 ac_abs_top_builddir=$ac_pwd
   22009 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22010 # for backward compatibility:
   22011 ac_top_builddir=$ac_top_build_prefix
   22012 
   22013 case $srcdir in
   22014   .)  # We are building in place.
   22015     ac_srcdir=.
   22016     ac_top_srcdir=$ac_top_builddir_sub
   22017     ac_abs_top_srcdir=$ac_pwd ;;
   22018   [\\/]* | ?:[\\/]* )  # Absolute name.
   22019     ac_srcdir=$srcdir$ac_dir_suffix;
   22020     ac_top_srcdir=$srcdir
   22021     ac_abs_top_srcdir=$srcdir ;;
   22022   *) # Relative name.
   22023     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22024     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22025     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22026 esac
   22027 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22028 
   22029 
   22030   case $ac_mode in
   22031   :F)
   22032   #
   22033   # CONFIG_FILE
   22034   #
   22035 
   22036   case $INSTALL in
   22037   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22038   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22039   esac
   22040   ac_MKDIR_P=$MKDIR_P
   22041   case $MKDIR_P in
   22042   [\\/$]* | ?:[\\/]* ) ;;
   22043   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22044   esac
   22045 _ACEOF
   22046 
   22047 cat >>$CONFIG_STATUS <<\_ACEOF
   22048 # If the template does not know about datarootdir, expand it.
   22049 # FIXME: This hack should be removed a few years after 2.60.
   22050 ac_datarootdir_hack=; ac_datarootdir_seen=
   22051 
   22052 case `sed -n '/datarootdir/ {
   22053   p
   22054   q
   22055 }
   22056 /@datadir@/p
   22057 /@docdir@/p
   22058 /@infodir@/p
   22059 /@localedir@/p
   22060 /@mandir@/p
   22061 ' $ac_file_inputs` in
   22062 *datarootdir*) ac_datarootdir_seen=yes;;
   22063 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22064   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22065 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22066 _ACEOF
   22067 cat >>$CONFIG_STATUS <<_ACEOF
   22068   ac_datarootdir_hack='
   22069   s&@datadir@&$datadir&g
   22070   s&@docdir@&$docdir&g
   22071   s&@infodir@&$infodir&g
   22072   s&@localedir@&$localedir&g
   22073   s&@mandir@&$mandir&g
   22074     s&\\\${datarootdir}&$datarootdir&g' ;;
   22075 esac
   22076 _ACEOF
   22077 
   22078 # Neutralize VPATH when `$srcdir' = `.'.
   22079 # Shell code in configure.ac might set extrasub.
   22080 # FIXME: do we really want to maintain this feature?
   22081 cat >>$CONFIG_STATUS <<_ACEOF
   22082   sed "$ac_vpsub
   22083 $extrasub
   22084 _ACEOF
   22085 cat >>$CONFIG_STATUS <<\_ACEOF
   22086 :t
   22087 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22088 s&@configure_input@&$configure_input&;t t
   22089 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22090 s&@srcdir@&$ac_srcdir&;t t
   22091 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22092 s&@top_srcdir@&$ac_top_srcdir&;t t
   22093 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22094 s&@builddir@&$ac_builddir&;t t
   22095 s&@abs_builddir@&$ac_abs_builddir&;t t
   22096 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22097 s&@INSTALL@&$ac_INSTALL&;t t
   22098 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22099 $ac_datarootdir_hack
   22100 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   22101 
   22102 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22103   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22104   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22105   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22106 which seems to be undefined.  Please make sure it is defined." >&5
   22107 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22108 which seems to be undefined.  Please make sure it is defined." >&2;}
   22109 
   22110   rm -f "$tmp/stdin"
   22111   case $ac_file in
   22112   -) cat "$tmp/out"; rm -f "$tmp/out";;
   22113   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   22114   esac
   22115  ;;
   22116   :H)
   22117   #
   22118   # CONFIG_HEADER
   22119   #
   22120 _ACEOF
   22121 
   22122 # Transform confdefs.h into a sed script `conftest.defines', that
   22123 # substitutes the proper values into config.h.in to produce config.h.
   22124 rm -f conftest.defines conftest.tail
   22125 # First, append a space to every undef/define line, to ease matching.
   22126 echo 's/$/ /' >conftest.defines
   22127 # Then, protect against being on the right side of a sed subst, or in
   22128 # an unquoted here document, in config.status.  If some macros were
   22129 # called several times there might be several #defines for the same
   22130 # symbol, which is useless.  But do not sort them, since the last
   22131 # AC_DEFINE must be honored.
   22132 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22133 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   22134 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   22135 # PARAMS is the parameter list in the macro definition--in most cases, it's
   22136 # just an empty string.
   22137 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   22138 ac_dB='\\)[	 (].*,\\1define\\2'
   22139 ac_dC=' '
   22140 ac_dD=' ,'
   22141 
   22142 uniq confdefs.h |
   22143   sed -n '
   22144 	t rset
   22145 	:rset
   22146 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   22147 	t ok
   22148 	d
   22149 	:ok
   22150 	s/[\\&,]/\\&/g
   22151 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   22152 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   22153   ' >>conftest.defines
   22154 
   22155 # Remove the space that was appended to ease matching.
   22156 # Then replace #undef with comments.  This is necessary, for
   22157 # example, in the case of _POSIX_SOURCE, which is predefined and required
   22158 # on some systems where configure will not decide to define it.
   22159 # (The regexp can be short, since the line contains either #define or #undef.)
   22160 echo 's/ $//
   22161 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   22162 
   22163 # Break up conftest.defines:
   22164 ac_max_sed_lines=50
   22165 
   22166 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   22167 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   22168 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   22169 # et cetera.
   22170 ac_in='$ac_file_inputs'
   22171 ac_out='"$tmp/out1"'
   22172 ac_nxt='"$tmp/out2"'
   22173 
   22174 while :
   22175 do
   22176   # Write a here document:
   22177     cat >>$CONFIG_STATUS <<_ACEOF
   22178     # First, check the format of the line:
   22179     cat >"\$tmp/defines.sed" <<\\CEOF
   22180 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   22181 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   22182 b
   22183 :def
   22184 _ACEOF
   22185   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   22186   echo 'CEOF
   22187     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   22188   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   22189   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   22190   grep . conftest.tail >/dev/null || break
   22191   rm -f conftest.defines
   22192   mv conftest.tail conftest.defines
   22193 done
   22194 rm -f conftest.defines conftest.tail
   22195 
   22196 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   22197 cat >>$CONFIG_STATUS <<\_ACEOF
   22198   if test x"$ac_file" != x-; then
   22199     echo "/* $configure_input  */" >"$tmp/config.h"
   22200     cat "$ac_result" >>"$tmp/config.h"
   22201     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   22202       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22203 echo "$as_me: $ac_file is unchanged" >&6;}
   22204     else
   22205       rm -f $ac_file
   22206       mv "$tmp/config.h" $ac_file
   22207     fi
   22208   else
   22209     echo "/* $configure_input  */"
   22210     cat "$ac_result"
   22211   fi
   22212   rm -f "$tmp/out12"
   22213 # Compute $ac_file's index in $config_headers.
   22214 _am_stamp_count=1
   22215 for _am_header in $config_headers :; do
   22216   case $_am_header in
   22217     $ac_file | $ac_file:* )
   22218       break ;;
   22219     * )
   22220       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22221   esac
   22222 done
   22223 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   22224 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22225 	 X$ac_file : 'X\(//\)[^/]' \| \
   22226 	 X$ac_file : 'X\(//\)$' \| \
   22227 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   22228 echo X$ac_file |
   22229     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22230 	    s//\1/
   22231 	    q
   22232 	  }
   22233 	  /^X\(\/\/\)[^/].*/{
   22234 	    s//\1/
   22235 	    q
   22236 	  }
   22237 	  /^X\(\/\/\)$/{
   22238 	    s//\1/
   22239 	    q
   22240 	  }
   22241 	  /^X\(\/\).*/{
   22242 	    s//\1/
   22243 	    q
   22244 	  }
   22245 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22246  ;;
   22247 
   22248   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22249 echo "$as_me: executing $ac_file commands" >&6;}
   22250  ;;
   22251   esac
   22252 
   22253 
   22254   case $ac_file$ac_mode in
   22255     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   22256   # Strip MF so we end up with the name of the file.
   22257   mf=`echo "$mf" | sed -e 's/:.*$//'`
   22258   # Check whether this is an Automake generated Makefile or not.
   22259   # We used to match only the files named `Makefile.in', but
   22260   # some people rename them; so instead we look at the file content.
   22261   # Grep'ing the first line is not enough: some people post-process
   22262   # each Makefile.in and add a new line on top of each file to say so.
   22263   # Grep'ing the whole file is not good either: AIX grep has a line
   22264   # limit of 2048, but all sed's we know have understand at least 4000.
   22265   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   22266     dirpart=`$as_dirname -- "$mf" ||
   22267 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22268 	 X"$mf" : 'X\(//\)[^/]' \| \
   22269 	 X"$mf" : 'X\(//\)$' \| \
   22270 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22271 echo X"$mf" |
   22272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22273 	    s//\1/
   22274 	    q
   22275 	  }
   22276 	  /^X\(\/\/\)[^/].*/{
   22277 	    s//\1/
   22278 	    q
   22279 	  }
   22280 	  /^X\(\/\/\)$/{
   22281 	    s//\1/
   22282 	    q
   22283 	  }
   22284 	  /^X\(\/\).*/{
   22285 	    s//\1/
   22286 	    q
   22287 	  }
   22288 	  s/.*/./; q'`
   22289   else
   22290     continue
   22291   fi
   22292   # Extract the definition of DEPDIR, am__include, and am__quote
   22293   # from the Makefile without running `make'.
   22294   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22295   test -z "$DEPDIR" && continue
   22296   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22297   test -z "am__include" && continue
   22298   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22299   # When using ansi2knr, U may be empty or an underscore; expand it
   22300   U=`sed -n 's/^U = //p' < "$mf"`
   22301   # Find all dependency output files, they are included files with
   22302   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22303   # simplest approach to changing $(DEPDIR) to its actual value in the
   22304   # expansion.
   22305   for file in `sed -n "
   22306     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22307        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22308     # Make sure the directory exists.
   22309     test -f "$dirpart/$file" && continue
   22310     fdir=`$as_dirname -- "$file" ||
   22311 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22312 	 X"$file" : 'X\(//\)[^/]' \| \
   22313 	 X"$file" : 'X\(//\)$' \| \
   22314 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22315 echo X"$file" |
   22316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22317 	    s//\1/
   22318 	    q
   22319 	  }
   22320 	  /^X\(\/\/\)[^/].*/{
   22321 	    s//\1/
   22322 	    q
   22323 	  }
   22324 	  /^X\(\/\/\)$/{
   22325 	    s//\1/
   22326 	    q
   22327 	  }
   22328 	  /^X\(\/\).*/{
   22329 	    s//\1/
   22330 	    q
   22331 	  }
   22332 	  s/.*/./; q'`
   22333     { as_dir=$dirpart/$fdir
   22334   case $as_dir in #(
   22335   -*) as_dir=./$as_dir;;
   22336   esac
   22337   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22338     as_dirs=
   22339     while :; do
   22340       case $as_dir in #(
   22341       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22342       *) as_qdir=$as_dir;;
   22343       esac
   22344       as_dirs="'$as_qdir' $as_dirs"
   22345       as_dir=`$as_dirname -- "$as_dir" ||
   22346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22347 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22348 	 X"$as_dir" : 'X\(//\)$' \| \
   22349 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22350 echo X"$as_dir" |
   22351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22352 	    s//\1/
   22353 	    q
   22354 	  }
   22355 	  /^X\(\/\/\)[^/].*/{
   22356 	    s//\1/
   22357 	    q
   22358 	  }
   22359 	  /^X\(\/\/\)$/{
   22360 	    s//\1/
   22361 	    q
   22362 	  }
   22363 	  /^X\(\/\).*/{
   22364 	    s//\1/
   22365 	    q
   22366 	  }
   22367 	  s/.*/./; q'`
   22368       test -d "$as_dir" && break
   22369     done
   22370     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22371   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22372 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22373    { (exit 1); exit 1; }; }; }
   22374     # echo "creating $dirpart/$file"
   22375     echo '# dummy' > "$dirpart/$file"
   22376   done
   22377 done
   22378  ;;
   22379 
   22380   esac
   22381 done # for ac_tag
   22382 
   22383 
   22384 { (exit 0); exit 0; }
   22385 _ACEOF
   22386 chmod +x $CONFIG_STATUS
   22387 ac_clean_files=$ac_clean_files_save
   22388 
   22389 
   22390 # configure is writing to config.log, and then calls config.status.
   22391 # config.status does its own redirection, appending to config.log.
   22392 # Unfortunately, on DOS this fails, as config.log is still kept open
   22393 # by configure, so config.status won't be able to write to it; its
   22394 # output is simply discarded.  So we exec the FD to /dev/null,
   22395 # effectively closing config.log, so it can be properly (re)opened and
   22396 # appended to by config.status.  When coming back to configure, we
   22397 # need to make the FD available again.
   22398 if test "$no_create" != yes; then
   22399   ac_cs_success=:
   22400   ac_config_status_args=
   22401   test "$silent" = yes &&
   22402     ac_config_status_args="$ac_config_status_args --quiet"
   22403   exec 5>/dev/null
   22404   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22405   exec 5>>config.log
   22406   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22407   # would make configure fail if this is the last instruction.
   22408   $ac_cs_success || { (exit 1); exit 1; }
   22409 fi
   22410 
   22411