Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for xf86-video-nv 2.1.10.
      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-nv'
    730 PACKAGE_TARNAME='xf86-video-nv'
    731 PACKAGE_VERSION='2.1.10'
    732 PACKAGE_STRING='xf86-video-nv 2.1.10'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 ac_unique_file="Makefile.am"
    736 # Factoring default headers for most tests.
    737 ac_includes_default="\
    738 #include <stdio.h>
    739 #ifdef HAVE_SYS_TYPES_H
    740 # include <sys/types.h>
    741 #endif
    742 #ifdef HAVE_SYS_STAT_H
    743 # include <sys/stat.h>
    744 #endif
    745 #ifdef STDC_HEADERS
    746 # include <stdlib.h>
    747 # include <stddef.h>
    748 #else
    749 # ifdef HAVE_STDLIB_H
    750 #  include <stdlib.h>
    751 # endif
    752 #endif
    753 #ifdef HAVE_STRING_H
    754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    755 #  include <memory.h>
    756 # endif
    757 # include <string.h>
    758 #endif
    759 #ifdef HAVE_STRINGS_H
    760 # include <strings.h>
    761 #endif
    762 #ifdef HAVE_INTTYPES_H
    763 # include <inttypes.h>
    764 #endif
    765 #ifdef HAVE_STDINT_H
    766 # include <stdint.h>
    767 #endif
    768 #ifdef HAVE_UNISTD_H
    769 # include <unistd.h>
    770 #endif"
    771 
    772 ac_subst_vars='SHELL
    773 PATH_SEPARATOR
    774 PACKAGE_NAME
    775 PACKAGE_TARNAME
    776 PACKAGE_VERSION
    777 PACKAGE_STRING
    778 PACKAGE_BUGREPORT
    779 exec_prefix
    780 prefix
    781 program_transform_name
    782 bindir
    783 sbindir
    784 libexecdir
    785 datarootdir
    786 datadir
    787 sysconfdir
    788 sharedstatedir
    789 localstatedir
    790 includedir
    791 oldincludedir
    792 docdir
    793 infodir
    794 htmldir
    795 dvidir
    796 pdfdir
    797 psdir
    798 libdir
    799 localedir
    800 mandir
    801 DEFS
    802 ECHO_C
    803 ECHO_N
    804 ECHO_T
    805 LIBS
    806 build_alias
    807 host_alias
    808 target_alias
    809 INSTALL_PROGRAM
    810 INSTALL_SCRIPT
    811 INSTALL_DATA
    812 am__isrc
    813 CYGPATH_W
    814 PACKAGE
    815 VERSION
    816 ACLOCAL
    817 AUTOCONF
    818 AUTOMAKE
    819 AUTOHEADER
    820 MAKEINFO
    821 install_sh
    822 STRIP
    823 INSTALL_STRIP_PROGRAM
    824 mkdir_p
    825 AWK
    826 SET_MAKE
    827 am__leading_dot
    828 AMTAR
    829 am__tar
    830 am__untar
    831 MAINTAINER_MODE_TRUE
    832 MAINTAINER_MODE_FALSE
    833 MAINT
    834 build
    835 build_cpu
    836 build_vendor
    837 build_os
    838 host
    839 host_cpu
    840 host_vendor
    841 host_os
    842 CC
    843 CFLAGS
    844 LDFLAGS
    845 CPPFLAGS
    846 ac_ct_CC
    847 EXEEXT
    848 OBJEXT
    849 DEPDIR
    850 am__include
    851 am__quote
    852 AMDEP_TRUE
    853 AMDEP_FALSE
    854 AMDEPBACKSLASH
    855 CCDEPMODE
    856 am__fastdepCC_TRUE
    857 am__fastdepCC_FALSE
    858 SED
    859 GREP
    860 EGREP
    861 LN_S
    862 ECHO
    863 AR
    864 RANLIB
    865 DSYMUTIL
    866 NMEDIT
    867 CPP
    868 CXX
    869 CXXFLAGS
    870 ac_ct_CXX
    871 CXXDEPMODE
    872 am__fastdepCXX_TRUE
    873 am__fastdepCXX_FALSE
    874 CXXCPP
    875 F77
    876 FFLAGS
    877 ac_ct_F77
    878 LIBTOOL
    879 PKG_CONFIG
    880 XORG_CFLAGS
    881 XORG_LIBS
    882 PCIACCESS_CFLAGS
    883 PCIACCESS_LIBS
    884 BUILD_XMODES_TRUE
    885 BUILD_XMODES_FALSE
    886 XMODES_CFLAGS
    887 parser_dir
    888 modes_dir
    889 moduledir
    890 DRIVER_NAME
    891 APP_MAN_SUFFIX
    892 LIB_MAN_SUFFIX
    893 FILE_MAN_SUFFIX
    894 MISC_MAN_SUFFIX
    895 DRIVER_MAN_SUFFIX
    896 ADMIN_MAN_SUFFIX
    897 APP_MAN_DIR
    898 LIB_MAN_DIR
    899 FILE_MAN_DIR
    900 MISC_MAN_DIR
    901 DRIVER_MAN_DIR
    902 ADMIN_MAN_DIR
    903 LIBOBJS
    904 LTLIBOBJS'
    905 ac_subst_files=''
    906       ac_precious_vars='build_alias
    907 host_alias
    908 target_alias
    909 CC
    910 CFLAGS
    911 LDFLAGS
    912 LIBS
    913 CPPFLAGS
    914 CPP
    915 CXX
    916 CXXFLAGS
    917 CCC
    918 CXXCPP
    919 F77
    920 FFLAGS
    921 PKG_CONFIG
    922 XORG_CFLAGS
    923 XORG_LIBS
    924 PCIACCESS_CFLAGS
    925 PCIACCESS_LIBS'
    926 
    927 
    928 # Initialize some variables set by options.
    929 ac_init_help=
    930 ac_init_version=false
    931 # The variables have the same names as the options, with
    932 # dashes changed to underlines.
    933 cache_file=/dev/null
    934 exec_prefix=NONE
    935 no_create=
    936 no_recursion=
    937 prefix=NONE
    938 program_prefix=NONE
    939 program_suffix=NONE
    940 program_transform_name=s,x,x,
    941 silent=
    942 site=
    943 srcdir=
    944 verbose=
    945 x_includes=NONE
    946 x_libraries=NONE
    947 
    948 # Installation directory options.
    949 # These are left unexpanded so users can "make install exec_prefix=/foo"
    950 # and all the variables that are supposed to be based on exec_prefix
    951 # by default will actually change.
    952 # Use braces instead of parens because sh, perl, etc. also accept them.
    953 # (The list follows the same order as the GNU Coding Standards.)
    954 bindir='${exec_prefix}/bin'
    955 sbindir='${exec_prefix}/sbin'
    956 libexecdir='${exec_prefix}/libexec'
    957 datarootdir='${prefix}/share'
    958 datadir='${datarootdir}'
    959 sysconfdir='${prefix}/etc'
    960 sharedstatedir='${prefix}/com'
    961 localstatedir='${prefix}/var'
    962 includedir='${prefix}/include'
    963 oldincludedir='/usr/include'
    964 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    965 infodir='${datarootdir}/info'
    966 htmldir='${docdir}'
    967 dvidir='${docdir}'
    968 pdfdir='${docdir}'
    969 psdir='${docdir}'
    970 libdir='${exec_prefix}/lib'
    971 localedir='${datarootdir}/locale'
    972 mandir='${datarootdir}/man'
    973 
    974 ac_prev=
    975 ac_dashdash=
    976 for ac_option
    977 do
    978   # If the previous option needs an argument, assign it.
    979   if test -n "$ac_prev"; then
    980     eval $ac_prev=\$ac_option
    981     ac_prev=
    982     continue
    983   fi
    984 
    985   case $ac_option in
    986   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    987   *)	ac_optarg=yes ;;
    988   esac
    989 
    990   # Accept the important Cygnus configure options, so we can diagnose typos.
    991 
    992   case $ac_dashdash$ac_option in
    993   --)
    994     ac_dashdash=yes ;;
    995 
    996   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    997     ac_prev=bindir ;;
    998   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    999     bindir=$ac_optarg ;;
   1000 
   1001   -build | --build | --buil | --bui | --bu)
   1002     ac_prev=build_alias ;;
   1003   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1004     build_alias=$ac_optarg ;;
   1005 
   1006   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1007   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1008     ac_prev=cache_file ;;
   1009   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1010   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1011     cache_file=$ac_optarg ;;
   1012 
   1013   --config-cache | -C)
   1014     cache_file=config.cache ;;
   1015 
   1016   -datadir | --datadir | --datadi | --datad)
   1017     ac_prev=datadir ;;
   1018   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1019     datadir=$ac_optarg ;;
   1020 
   1021   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1022   | --dataroo | --dataro | --datar)
   1023     ac_prev=datarootdir ;;
   1024   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1025   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1026     datarootdir=$ac_optarg ;;
   1027 
   1028   -disable-* | --disable-*)
   1029     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1030     # Reject names that are not valid shell variable names.
   1031     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1032       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1033    { (exit 1); exit 1; }; }
   1034     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1035     eval enable_$ac_feature=no ;;
   1036 
   1037   -docdir | --docdir | --docdi | --doc | --do)
   1038     ac_prev=docdir ;;
   1039   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1040     docdir=$ac_optarg ;;
   1041 
   1042   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1043     ac_prev=dvidir ;;
   1044   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1045     dvidir=$ac_optarg ;;
   1046 
   1047   -enable-* | --enable-*)
   1048     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1049     # Reject names that are not valid shell variable names.
   1050     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1051       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1052    { (exit 1); exit 1; }; }
   1053     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1054     eval enable_$ac_feature=\$ac_optarg ;;
   1055 
   1056   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1057   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1058   | --exec | --exe | --ex)
   1059     ac_prev=exec_prefix ;;
   1060   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1061   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1062   | --exec=* | --exe=* | --ex=*)
   1063     exec_prefix=$ac_optarg ;;
   1064 
   1065   -gas | --gas | --ga | --g)
   1066     # Obsolete; use --with-gas.
   1067     with_gas=yes ;;
   1068 
   1069   -help | --help | --hel | --he | -h)
   1070     ac_init_help=long ;;
   1071   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1072     ac_init_help=recursive ;;
   1073   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1074     ac_init_help=short ;;
   1075 
   1076   -host | --host | --hos | --ho)
   1077     ac_prev=host_alias ;;
   1078   -host=* | --host=* | --hos=* | --ho=*)
   1079     host_alias=$ac_optarg ;;
   1080 
   1081   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1082     ac_prev=htmldir ;;
   1083   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1084   | --ht=*)
   1085     htmldir=$ac_optarg ;;
   1086 
   1087   -includedir | --includedir | --includedi | --included | --include \
   1088   | --includ | --inclu | --incl | --inc)
   1089     ac_prev=includedir ;;
   1090   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1091   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1092     includedir=$ac_optarg ;;
   1093 
   1094   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1095     ac_prev=infodir ;;
   1096   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1097     infodir=$ac_optarg ;;
   1098 
   1099   -libdir | --libdir | --libdi | --libd)
   1100     ac_prev=libdir ;;
   1101   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1102     libdir=$ac_optarg ;;
   1103 
   1104   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1105   | --libexe | --libex | --libe)
   1106     ac_prev=libexecdir ;;
   1107   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1108   | --libexe=* | --libex=* | --libe=*)
   1109     libexecdir=$ac_optarg ;;
   1110 
   1111   -localedir | --localedir | --localedi | --localed | --locale)
   1112     ac_prev=localedir ;;
   1113   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1114     localedir=$ac_optarg ;;
   1115 
   1116   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1117   | --localstate | --localstat | --localsta | --localst | --locals)
   1118     ac_prev=localstatedir ;;
   1119   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1120   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1121     localstatedir=$ac_optarg ;;
   1122 
   1123   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1124     ac_prev=mandir ;;
   1125   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1126     mandir=$ac_optarg ;;
   1127 
   1128   -nfp | --nfp | --nf)
   1129     # Obsolete; use --without-fp.
   1130     with_fp=no ;;
   1131 
   1132   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1133   | --no-cr | --no-c | -n)
   1134     no_create=yes ;;
   1135 
   1136   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1137   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1138     no_recursion=yes ;;
   1139 
   1140   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1141   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1142   | --oldin | --oldi | --old | --ol | --o)
   1143     ac_prev=oldincludedir ;;
   1144   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1145   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1146   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1147     oldincludedir=$ac_optarg ;;
   1148 
   1149   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1150     ac_prev=prefix ;;
   1151   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1152     prefix=$ac_optarg ;;
   1153 
   1154   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1155   | --program-pre | --program-pr | --program-p)
   1156     ac_prev=program_prefix ;;
   1157   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1158   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1159     program_prefix=$ac_optarg ;;
   1160 
   1161   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1162   | --program-suf | --program-su | --program-s)
   1163     ac_prev=program_suffix ;;
   1164   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1165   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1166     program_suffix=$ac_optarg ;;
   1167 
   1168   -program-transform-name | --program-transform-name \
   1169   | --program-transform-nam | --program-transform-na \
   1170   | --program-transform-n | --program-transform- \
   1171   | --program-transform | --program-transfor \
   1172   | --program-transfo | --program-transf \
   1173   | --program-trans | --program-tran \
   1174   | --progr-tra | --program-tr | --program-t)
   1175     ac_prev=program_transform_name ;;
   1176   -program-transform-name=* | --program-transform-name=* \
   1177   | --program-transform-nam=* | --program-transform-na=* \
   1178   | --program-transform-n=* | --program-transform-=* \
   1179   | --program-transform=* | --program-transfor=* \
   1180   | --program-transfo=* | --program-transf=* \
   1181   | --program-trans=* | --program-tran=* \
   1182   | --progr-tra=* | --program-tr=* | --program-t=*)
   1183     program_transform_name=$ac_optarg ;;
   1184 
   1185   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1186     ac_prev=pdfdir ;;
   1187   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1188     pdfdir=$ac_optarg ;;
   1189 
   1190   -psdir | --psdir | --psdi | --psd | --ps)
   1191     ac_prev=psdir ;;
   1192   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1193     psdir=$ac_optarg ;;
   1194 
   1195   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1196   | -silent | --silent | --silen | --sile | --sil)
   1197     silent=yes ;;
   1198 
   1199   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1200     ac_prev=sbindir ;;
   1201   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1202   | --sbi=* | --sb=*)
   1203     sbindir=$ac_optarg ;;
   1204 
   1205   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1206   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1207   | --sharedst | --shareds | --shared | --share | --shar \
   1208   | --sha | --sh)
   1209     ac_prev=sharedstatedir ;;
   1210   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1211   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1212   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1213   | --sha=* | --sh=*)
   1214     sharedstatedir=$ac_optarg ;;
   1215 
   1216   -site | --site | --sit)
   1217     ac_prev=site ;;
   1218   -site=* | --site=* | --sit=*)
   1219     site=$ac_optarg ;;
   1220 
   1221   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1222     ac_prev=srcdir ;;
   1223   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1224     srcdir=$ac_optarg ;;
   1225 
   1226   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1227   | --syscon | --sysco | --sysc | --sys | --sy)
   1228     ac_prev=sysconfdir ;;
   1229   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1230   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1231     sysconfdir=$ac_optarg ;;
   1232 
   1233   -target | --target | --targe | --targ | --tar | --ta | --t)
   1234     ac_prev=target_alias ;;
   1235   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1236     target_alias=$ac_optarg ;;
   1237 
   1238   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1239     verbose=yes ;;
   1240 
   1241   -version | --version | --versio | --versi | --vers | -V)
   1242     ac_init_version=: ;;
   1243 
   1244   -with-* | --with-*)
   1245     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1246     # Reject names that are not valid shell variable names.
   1247     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1248       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1249    { (exit 1); exit 1; }; }
   1250     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1251     eval with_$ac_package=\$ac_optarg ;;
   1252 
   1253   -without-* | --without-*)
   1254     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1255     # Reject names that are not valid shell variable names.
   1256     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1257       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1258    { (exit 1); exit 1; }; }
   1259     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1260     eval with_$ac_package=no ;;
   1261 
   1262   --x)
   1263     # Obsolete; use --with-x.
   1264     with_x=yes ;;
   1265 
   1266   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1267   | --x-incl | --x-inc | --x-in | --x-i)
   1268     ac_prev=x_includes ;;
   1269   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1270   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1271     x_includes=$ac_optarg ;;
   1272 
   1273   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1274   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1275     ac_prev=x_libraries ;;
   1276   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1277   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1278     x_libraries=$ac_optarg ;;
   1279 
   1280   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1281 Try \`$0 --help' for more information." >&2
   1282    { (exit 1); exit 1; }; }
   1283     ;;
   1284 
   1285   *=*)
   1286     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1287     # Reject names that are not valid shell variable names.
   1288     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1289       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1290    { (exit 1); exit 1; }; }
   1291     eval $ac_envvar=\$ac_optarg
   1292     export $ac_envvar ;;
   1293 
   1294   *)
   1295     # FIXME: should be removed in autoconf 3.0.
   1296     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1297     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1298       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1299     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1300     ;;
   1301 
   1302   esac
   1303 done
   1304 
   1305 if test -n "$ac_prev"; then
   1306   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1307   { echo "$as_me: error: missing argument to $ac_option" >&2
   1308    { (exit 1); exit 1; }; }
   1309 fi
   1310 
   1311 # Be sure to have absolute directory names.
   1312 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1313 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1314 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1315 		libdir localedir mandir
   1316 do
   1317   eval ac_val=\$$ac_var
   1318   case $ac_val in
   1319     [\\/$]* | ?:[\\/]* )  continue;;
   1320     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1321   esac
   1322   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1323    { (exit 1); exit 1; }; }
   1324 done
   1325 
   1326 # There might be people who depend on the old broken behavior: `$host'
   1327 # used to hold the argument of --host etc.
   1328 # FIXME: To remove some day.
   1329 build=$build_alias
   1330 host=$host_alias
   1331 target=$target_alias
   1332 
   1333 # FIXME: To remove some day.
   1334 if test "x$host_alias" != x; then
   1335   if test "x$build_alias" = x; then
   1336     cross_compiling=maybe
   1337     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1338     If a cross compiler is detected then cross compile mode will be used." >&2
   1339   elif test "x$build_alias" != "x$host_alias"; then
   1340     cross_compiling=yes
   1341   fi
   1342 fi
   1343 
   1344 ac_tool_prefix=
   1345 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1346 
   1347 test "$silent" = yes && exec 6>/dev/null
   1348 
   1349 
   1350 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1351 ac_ls_di=`ls -di .` &&
   1352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1353   { echo "$as_me: error: Working directory cannot be determined" >&2
   1354    { (exit 1); exit 1; }; }
   1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1356   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1357    { (exit 1); exit 1; }; }
   1358 
   1359 
   1360 # Find the source files, if location was not specified.
   1361 if test -z "$srcdir"; then
   1362   ac_srcdir_defaulted=yes
   1363   # Try the directory containing this script, then the parent directory.
   1364   ac_confdir=`$as_dirname -- "$0" ||
   1365 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1366 	 X"$0" : 'X\(//\)[^/]' \| \
   1367 	 X"$0" : 'X\(//\)$' \| \
   1368 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1369 echo X"$0" |
   1370     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  /^X\(\/\/\)[^/].*/{
   1375 	    s//\1/
   1376 	    q
   1377 	  }
   1378 	  /^X\(\/\/\)$/{
   1379 	    s//\1/
   1380 	    q
   1381 	  }
   1382 	  /^X\(\/\).*/{
   1383 	    s//\1/
   1384 	    q
   1385 	  }
   1386 	  s/.*/./; q'`
   1387   srcdir=$ac_confdir
   1388   if test ! -r "$srcdir/$ac_unique_file"; then
   1389     srcdir=..
   1390   fi
   1391 else
   1392   ac_srcdir_defaulted=no
   1393 fi
   1394 if test ! -r "$srcdir/$ac_unique_file"; then
   1395   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1396   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1397    { (exit 1); exit 1; }; }
   1398 fi
   1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1400 ac_abs_confdir=`(
   1401 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1402    { (exit 1); exit 1; }; }
   1403 	pwd)`
   1404 # When building in place, set srcdir=.
   1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1406   srcdir=.
   1407 fi
   1408 # Remove unnecessary trailing slashes from srcdir.
   1409 # Double slashes in file names in object file debugging info
   1410 # mess up M-x gdb in Emacs.
   1411 case $srcdir in
   1412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1413 esac
   1414 for ac_var in $ac_precious_vars; do
   1415   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1416   eval ac_env_${ac_var}_value=\$${ac_var}
   1417   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1418   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1419 done
   1420 
   1421 #
   1422 # Report the --help message.
   1423 #
   1424 if test "$ac_init_help" = "long"; then
   1425   # Omit some internal or obsolete options to make the list less imposing.
   1426   # This message is too long to be a string in the A/UX 3.1 sh.
   1427   cat <<_ACEOF
   1428 \`configure' configures xf86-video-nv 2.1.10 to adapt to many kinds of systems.
   1429 
   1430 Usage: $0 [OPTION]... [VAR=VALUE]...
   1431 
   1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1433 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1434 
   1435 Defaults for the options are specified in brackets.
   1436 
   1437 Configuration:
   1438   -h, --help              display this help and exit
   1439       --help=short        display options specific to this package
   1440       --help=recursive    display the short help of all the included packages
   1441   -V, --version           display version information and exit
   1442   -q, --quiet, --silent   do not print \`checking...' messages
   1443       --cache-file=FILE   cache test results in FILE [disabled]
   1444   -C, --config-cache      alias for \`--cache-file=config.cache'
   1445   -n, --no-create         do not create output files
   1446       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1447 
   1448 Installation directories:
   1449   --prefix=PREFIX         install architecture-independent files in PREFIX
   1450 			  [$ac_default_prefix]
   1451   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1452 			  [PREFIX]
   1453 
   1454 By default, \`make install' will install all the files in
   1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1457 for instance \`--prefix=\$HOME'.
   1458 
   1459 For better control, use the options below.
   1460 
   1461 Fine tuning of the installation directories:
   1462   --bindir=DIR           user executables [EPREFIX/bin]
   1463   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1464   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1465   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1466   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1467   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1468   --libdir=DIR           object code libraries [EPREFIX/lib]
   1469   --includedir=DIR       C header files [PREFIX/include]
   1470   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1471   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1472   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1473   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1474   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1475   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1476   --docdir=DIR           documentation root [DATAROOTDIR/doc/xf86-video-nv]
   1477   --htmldir=DIR          html documentation [DOCDIR]
   1478   --dvidir=DIR           dvi documentation [DOCDIR]
   1479   --pdfdir=DIR           pdf documentation [DOCDIR]
   1480   --psdir=DIR            ps documentation [DOCDIR]
   1481 _ACEOF
   1482 
   1483   cat <<\_ACEOF
   1484 
   1485 Program names:
   1486   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1487   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1488   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1489 
   1490 System types:
   1491   --build=BUILD     configure for building on BUILD [guessed]
   1492   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1493 _ACEOF
   1494 fi
   1495 
   1496 if test -n "$ac_init_help"; then
   1497   case $ac_init_help in
   1498      short | recursive ) echo "Configuration of xf86-video-nv 2.1.10:";;
   1499    esac
   1500   cat <<\_ACEOF
   1501 
   1502 Optional Features:
   1503   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1504   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1505   --enable-maintainer-mode  enable make rules and dependencies not useful
   1506 			  (and sometimes confusing) to the casual installer
   1507   --enable-static[=PKGS]  build static libraries [default=no]
   1508   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1509   --enable-fast-install[=PKGS]
   1510                           optimize for fast installation [default=yes]
   1511   --disable-dependency-tracking  speeds up one-time build
   1512   --enable-dependency-tracking   do not reject slow dependency extractors
   1513   --disable-libtool-lock  avoid locking (might break parallel builds)
   1514 
   1515 Optional Packages:
   1516   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1517   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1518   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1519   --with-pic              try to use only PIC/non-PIC objects [default=use
   1520                           both]
   1521   --with-tags[=TAGS]      include additional configurations [automatic]
   1522   --with-xorg-module-dir=DIR
   1523                           Default xorg module directory
   1524                           [default=$libdir/xorg/modules]
   1525   --with-xserver-source=XSERVER_SOURCE
   1526                           Path to X server source tree
   1527   --with-release-version=STRING
   1528                           Use release version string in package name
   1529 
   1530 Some influential environment variables:
   1531   CC          C compiler command
   1532   CFLAGS      C compiler flags
   1533   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1534               nonstandard directory <lib dir>
   1535   LIBS        libraries to pass to the linker, e.g. -l<library>
   1536   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1537               you have headers in a nonstandard directory <include dir>
   1538   CPP         C preprocessor
   1539   CXX         C++ compiler command
   1540   CXXFLAGS    C++ compiler flags
   1541   CXXCPP      C++ preprocessor
   1542   F77         Fortran 77 compiler command
   1543   FFLAGS      Fortran 77 compiler flags
   1544   PKG_CONFIG  path to pkg-config utility
   1545   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1546   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1547   PCIACCESS_CFLAGS
   1548               C compiler flags for PCIACCESS, overriding pkg-config
   1549   PCIACCESS_LIBS
   1550               linker flags for PCIACCESS, overriding pkg-config
   1551 
   1552 Use these variables to override the choices made by `configure' or to help
   1553 it to find libraries and programs with nonstandard names/locations.
   1554 
   1555 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1556 _ACEOF
   1557 ac_status=$?
   1558 fi
   1559 
   1560 if test "$ac_init_help" = "recursive"; then
   1561   # If there are subdirs, report their specific --help.
   1562   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1563     test -d "$ac_dir" || continue
   1564     ac_builddir=.
   1565 
   1566 case "$ac_dir" in
   1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1568 *)
   1569   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1570   # A ".." for each directory in $ac_dir_suffix.
   1571   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1572   case $ac_top_builddir_sub in
   1573   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1574   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1575   esac ;;
   1576 esac
   1577 ac_abs_top_builddir=$ac_pwd
   1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1579 # for backward compatibility:
   1580 ac_top_builddir=$ac_top_build_prefix
   1581 
   1582 case $srcdir in
   1583   .)  # We are building in place.
   1584     ac_srcdir=.
   1585     ac_top_srcdir=$ac_top_builddir_sub
   1586     ac_abs_top_srcdir=$ac_pwd ;;
   1587   [\\/]* | ?:[\\/]* )  # Absolute name.
   1588     ac_srcdir=$srcdir$ac_dir_suffix;
   1589     ac_top_srcdir=$srcdir
   1590     ac_abs_top_srcdir=$srcdir ;;
   1591   *) # Relative name.
   1592     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1593     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1594     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1595 esac
   1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1597 
   1598     cd "$ac_dir" || { ac_status=$?; continue; }
   1599     # Check for guested configure.
   1600     if test -f "$ac_srcdir/configure.gnu"; then
   1601       echo &&
   1602       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1603     elif test -f "$ac_srcdir/configure"; then
   1604       echo &&
   1605       $SHELL "$ac_srcdir/configure" --help=recursive
   1606     else
   1607       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1608     fi || ac_status=$?
   1609     cd "$ac_pwd" || { ac_status=$?; break; }
   1610   done
   1611 fi
   1612 
   1613 test -n "$ac_init_help" && exit $ac_status
   1614 if $ac_init_version; then
   1615   cat <<\_ACEOF
   1616 xf86-video-nv configure 2.1.10
   1617 generated by GNU Autoconf 2.61
   1618 
   1619 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1620 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1621 This configure script is free software; the Free Software Foundation
   1622 gives unlimited permission to copy, distribute and modify it.
   1623 _ACEOF
   1624   exit
   1625 fi
   1626 cat >config.log <<_ACEOF
   1627 This file contains any messages produced by compilers while
   1628 running configure, to aid debugging if configure makes a mistake.
   1629 
   1630 It was created by xf86-video-nv $as_me 2.1.10, which was
   1631 generated by GNU Autoconf 2.61.  Invocation command line was
   1632 
   1633   $ $0 $@
   1634 
   1635 _ACEOF
   1636 exec 5>>config.log
   1637 {
   1638 cat <<_ASUNAME
   1639 ## --------- ##
   1640 ## Platform. ##
   1641 ## --------- ##
   1642 
   1643 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1644 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1645 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1646 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1647 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1648 
   1649 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1650 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1651 
   1652 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1653 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1654 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1655 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1656 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1657 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1658 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1659 
   1660 _ASUNAME
   1661 
   1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1663 for as_dir in $PATH
   1664 do
   1665   IFS=$as_save_IFS
   1666   test -z "$as_dir" && as_dir=.
   1667   echo "PATH: $as_dir"
   1668 done
   1669 IFS=$as_save_IFS
   1670 
   1671 } >&5
   1672 
   1673 cat >&5 <<_ACEOF
   1674 
   1675 
   1676 ## ----------- ##
   1677 ## Core tests. ##
   1678 ## ----------- ##
   1679 
   1680 _ACEOF
   1681 
   1682 
   1683 # Keep a trace of the command line.
   1684 # Strip out --no-create and --no-recursion so they do not pile up.
   1685 # Strip out --silent because we don't want to record it for future runs.
   1686 # Also quote any args containing shell meta-characters.
   1687 # Make two passes to allow for proper duplicate-argument suppression.
   1688 ac_configure_args=
   1689 ac_configure_args0=
   1690 ac_configure_args1=
   1691 ac_must_keep_next=false
   1692 for ac_pass in 1 2
   1693 do
   1694   for ac_arg
   1695   do
   1696     case $ac_arg in
   1697     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1698     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1699     | -silent | --silent | --silen | --sile | --sil)
   1700       continue ;;
   1701     *\'*)
   1702       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1703     esac
   1704     case $ac_pass in
   1705     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1706     2)
   1707       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1708       if test $ac_must_keep_next = true; then
   1709 	ac_must_keep_next=false # Got value, back to normal.
   1710       else
   1711 	case $ac_arg in
   1712 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1713 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1714 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1715 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1716 	    case "$ac_configure_args0 " in
   1717 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1718 	    esac
   1719 	    ;;
   1720 	  -* ) ac_must_keep_next=true ;;
   1721 	esac
   1722       fi
   1723       ac_configure_args="$ac_configure_args '$ac_arg'"
   1724       ;;
   1725     esac
   1726   done
   1727 done
   1728 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1729 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1730 
   1731 # When interrupted or exit'd, cleanup temporary files, and complete
   1732 # config.log.  We remove comments because anyway the quotes in there
   1733 # would cause problems or look ugly.
   1734 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1735 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1736 trap 'exit_status=$?
   1737   # Save into config.log some information that might help in debugging.
   1738   {
   1739     echo
   1740 
   1741     cat <<\_ASBOX
   1742 ## ---------------- ##
   1743 ## Cache variables. ##
   1744 ## ---------------- ##
   1745 _ASBOX
   1746     echo
   1747     # The following way of writing the cache mishandles newlines in values,
   1748 (
   1749   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1750     eval ac_val=\$$ac_var
   1751     case $ac_val in #(
   1752     *${as_nl}*)
   1753       case $ac_var in #(
   1754       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1755 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1756       esac
   1757       case $ac_var in #(
   1758       _ | IFS | as_nl) ;; #(
   1759       *) $as_unset $ac_var ;;
   1760       esac ;;
   1761     esac
   1762   done
   1763   (set) 2>&1 |
   1764     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1765     *${as_nl}ac_space=\ *)
   1766       sed -n \
   1767 	"s/'\''/'\''\\\\'\'''\''/g;
   1768 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1769       ;; #(
   1770     *)
   1771       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1772       ;;
   1773     esac |
   1774     sort
   1775 )
   1776     echo
   1777 
   1778     cat <<\_ASBOX
   1779 ## ----------------- ##
   1780 ## Output variables. ##
   1781 ## ----------------- ##
   1782 _ASBOX
   1783     echo
   1784     for ac_var in $ac_subst_vars
   1785     do
   1786       eval ac_val=\$$ac_var
   1787       case $ac_val in
   1788       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1789       esac
   1790       echo "$ac_var='\''$ac_val'\''"
   1791     done | sort
   1792     echo
   1793 
   1794     if test -n "$ac_subst_files"; then
   1795       cat <<\_ASBOX
   1796 ## ------------------- ##
   1797 ## File substitutions. ##
   1798 ## ------------------- ##
   1799 _ASBOX
   1800       echo
   1801       for ac_var in $ac_subst_files
   1802       do
   1803 	eval ac_val=\$$ac_var
   1804 	case $ac_val in
   1805 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1806 	esac
   1807 	echo "$ac_var='\''$ac_val'\''"
   1808       done | sort
   1809       echo
   1810     fi
   1811 
   1812     if test -s confdefs.h; then
   1813       cat <<\_ASBOX
   1814 ## ----------- ##
   1815 ## confdefs.h. ##
   1816 ## ----------- ##
   1817 _ASBOX
   1818       echo
   1819       cat confdefs.h
   1820       echo
   1821     fi
   1822     test "$ac_signal" != 0 &&
   1823       echo "$as_me: caught signal $ac_signal"
   1824     echo "$as_me: exit $exit_status"
   1825   } >&5
   1826   rm -f core *.core core.conftest.* &&
   1827     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1828     exit $exit_status
   1829 ' 0
   1830 for ac_signal in 1 2 13 15; do
   1831   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1832 done
   1833 ac_signal=0
   1834 
   1835 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1836 rm -f -r conftest* confdefs.h
   1837 
   1838 # Predefined preprocessor variables.
   1839 
   1840 cat >>confdefs.h <<_ACEOF
   1841 #define PACKAGE_NAME "$PACKAGE_NAME"
   1842 _ACEOF
   1843 
   1844 
   1845 cat >>confdefs.h <<_ACEOF
   1846 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1847 _ACEOF
   1848 
   1849 
   1850 cat >>confdefs.h <<_ACEOF
   1851 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1852 _ACEOF
   1853 
   1854 
   1855 cat >>confdefs.h <<_ACEOF
   1856 #define PACKAGE_STRING "$PACKAGE_STRING"
   1857 _ACEOF
   1858 
   1859 
   1860 cat >>confdefs.h <<_ACEOF
   1861 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1862 _ACEOF
   1863 
   1864 
   1865 # Let the site file select an alternate cache file if it wants to.
   1866 # Prefer explicitly selected file to automatically selected ones.
   1867 if test -n "$CONFIG_SITE"; then
   1868   set x "$CONFIG_SITE"
   1869 elif test "x$prefix" != xNONE; then
   1870   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1871 else
   1872   set x "$ac_default_prefix/share/config.site" \
   1873 	"$ac_default_prefix/etc/config.site"
   1874 fi
   1875 shift
   1876 for ac_site_file
   1877 do
   1878   if test -r "$ac_site_file"; then
   1879     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1880 echo "$as_me: loading site script $ac_site_file" >&6;}
   1881     sed 's/^/| /' "$ac_site_file" >&5
   1882     . "$ac_site_file"
   1883   fi
   1884 done
   1885 
   1886 if test -r "$cache_file"; then
   1887   # Some versions of bash will fail to source /dev/null (special
   1888   # files actually), so we avoid doing that.
   1889   if test -f "$cache_file"; then
   1890     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1891 echo "$as_me: loading cache $cache_file" >&6;}
   1892     case $cache_file in
   1893       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1894       *)                      . "./$cache_file";;
   1895     esac
   1896   fi
   1897 else
   1898   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1899 echo "$as_me: creating cache $cache_file" >&6;}
   1900   >$cache_file
   1901 fi
   1902 
   1903 # Check that the precious variables saved in the cache have kept the same
   1904 # value.
   1905 ac_cache_corrupted=false
   1906 for ac_var in $ac_precious_vars; do
   1907   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1908   eval ac_new_set=\$ac_env_${ac_var}_set
   1909   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1910   eval ac_new_val=\$ac_env_${ac_var}_value
   1911   case $ac_old_set,$ac_new_set in
   1912     set,)
   1913       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1914 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1915       ac_cache_corrupted=: ;;
   1916     ,set)
   1917       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1918 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1919       ac_cache_corrupted=: ;;
   1920     ,);;
   1921     *)
   1922       if test "x$ac_old_val" != "x$ac_new_val"; then
   1923 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1924 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1925 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1926 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1927 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1928 echo "$as_me:   current value: $ac_new_val" >&2;}
   1929 	ac_cache_corrupted=:
   1930       fi;;
   1931   esac
   1932   # Pass precious variables to config.status.
   1933   if test "$ac_new_set" = set; then
   1934     case $ac_new_val in
   1935     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1936     *) ac_arg=$ac_var=$ac_new_val ;;
   1937     esac
   1938     case " $ac_configure_args " in
   1939       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1940       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1941     esac
   1942   fi
   1943 done
   1944 if $ac_cache_corrupted; then
   1945   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1946 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1947   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1948 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1949    { (exit 1); exit 1; }; }
   1950 fi
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 
   1958 
   1959 
   1960 
   1961 
   1962 
   1963 
   1964 
   1965 
   1966 
   1967 
   1968 
   1969 
   1970 
   1971 
   1972 
   1973 
   1974 
   1975 
   1976 ac_ext=c
   1977 ac_cpp='$CPP $CPPFLAGS'
   1978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1981 
   1982 
   1983 
   1984 
   1985 ac_config_headers="$ac_config_headers config.h"
   1986 
   1987 ac_aux_dir=
   1988 for ac_dir in . "$srcdir"/.; do
   1989   if test -f "$ac_dir/install-sh"; then
   1990     ac_aux_dir=$ac_dir
   1991     ac_install_sh="$ac_aux_dir/install-sh -c"
   1992     break
   1993   elif test -f "$ac_dir/install.sh"; then
   1994     ac_aux_dir=$ac_dir
   1995     ac_install_sh="$ac_aux_dir/install.sh -c"
   1996     break
   1997   elif test -f "$ac_dir/shtool"; then
   1998     ac_aux_dir=$ac_dir
   1999     ac_install_sh="$ac_aux_dir/shtool install -c"
   2000     break
   2001   fi
   2002 done
   2003 if test -z "$ac_aux_dir"; then
   2004   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2005 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2006    { (exit 1); exit 1; }; }
   2007 fi
   2008 
   2009 # These three variables are undocumented and unsupported,
   2010 # and are intended to be withdrawn in a future Autoconf release.
   2011 # They can cause serious problems if a builder's source tree is in a directory
   2012 # whose full name contains unusual characters.
   2013 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2014 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2015 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2016 
   2017 
   2018 
   2019 am__api_version='1.10'
   2020 
   2021 # Find a good install program.  We prefer a C program (faster),
   2022 # so one script is as good as another.  But avoid the broken or
   2023 # incompatible versions:
   2024 # SysV /etc/install, /usr/sbin/install
   2025 # SunOS /usr/etc/install
   2026 # IRIX /sbin/install
   2027 # AIX /bin/install
   2028 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2029 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2030 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2031 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2032 # OS/2's system install, which has a completely different semantic
   2033 # ./install, which can be erroneously created by make from ./install.sh.
   2034 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2035 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2036 if test -z "$INSTALL"; then
   2037 if test "${ac_cv_path_install+set}" = set; then
   2038   echo $ECHO_N "(cached) $ECHO_C" >&6
   2039 else
   2040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2041 for as_dir in $PATH
   2042 do
   2043   IFS=$as_save_IFS
   2044   test -z "$as_dir" && as_dir=.
   2045   # Account for people who put trailing slashes in PATH elements.
   2046 case $as_dir/ in
   2047   ./ | .// | /cC/* | \
   2048   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2049   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2050   /usr/ucb/* ) ;;
   2051   *)
   2052     # OSF1 and SCO ODT 3.0 have their own names for install.
   2053     # Don't use installbsd from OSF since it installs stuff as root
   2054     # by default.
   2055     for ac_prog in ginstall scoinst install; do
   2056       for ac_exec_ext in '' $ac_executable_extensions; do
   2057 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2058 	  if test $ac_prog = install &&
   2059 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2060 	    # AIX install.  It has an incompatible calling convention.
   2061 	    :
   2062 	  elif test $ac_prog = install &&
   2063 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2064 	    # program-specific install script used by HP pwplus--don't use.
   2065 	    :
   2066 	  else
   2067 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2068 	    break 3
   2069 	  fi
   2070 	fi
   2071       done
   2072     done
   2073     ;;
   2074 esac
   2075 done
   2076 IFS=$as_save_IFS
   2077 
   2078 
   2079 fi
   2080   if test "${ac_cv_path_install+set}" = set; then
   2081     INSTALL=$ac_cv_path_install
   2082   else
   2083     # As a last resort, use the slow shell script.  Don't cache a
   2084     # value for INSTALL within a source directory, because that will
   2085     # break other packages using the cache if that directory is
   2086     # removed, or if the value is a relative name.
   2087     INSTALL=$ac_install_sh
   2088   fi
   2089 fi
   2090 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2091 echo "${ECHO_T}$INSTALL" >&6; }
   2092 
   2093 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2094 # It thinks the first close brace ends the variable substitution.
   2095 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2096 
   2097 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2098 
   2099 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2100 
   2101 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2102 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2103 # Just in case
   2104 sleep 1
   2105 echo timestamp > conftest.file
   2106 # Do `set' in a subshell so we don't clobber the current shell's
   2107 # arguments.  Must try -L first in case configure is actually a
   2108 # symlink; some systems play weird games with the mod time of symlinks
   2109 # (eg FreeBSD returns the mod time of the symlink's containing
   2110 # directory).
   2111 if (
   2112    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2113    if test "$*" = "X"; then
   2114       # -L didn't work.
   2115       set X `ls -t $srcdir/configure conftest.file`
   2116    fi
   2117    rm -f conftest.file
   2118    if test "$*" != "X $srcdir/configure conftest.file" \
   2119       && test "$*" != "X conftest.file $srcdir/configure"; then
   2120 
   2121       # If neither matched, then we have a broken ls.  This can happen
   2122       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2123       # broken ls alias from the environment.  This has actually
   2124       # happened.  Such a system could not be considered "sane".
   2125       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2126 alias in your environment" >&5
   2127 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2128 alias in your environment" >&2;}
   2129    { (exit 1); exit 1; }; }
   2130    fi
   2131 
   2132    test "$2" = conftest.file
   2133    )
   2134 then
   2135    # Ok.
   2136    :
   2137 else
   2138    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2139 Check your system clock" >&5
   2140 echo "$as_me: error: newly created file is older than distributed files!
   2141 Check your system clock" >&2;}
   2142    { (exit 1); exit 1; }; }
   2143 fi
   2144 { echo "$as_me:$LINENO: result: yes" >&5
   2145 echo "${ECHO_T}yes" >&6; }
   2146 test "$program_prefix" != NONE &&
   2147   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2148 # Use a double $ so make ignores it.
   2149 test "$program_suffix" != NONE &&
   2150   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2151 # Double any \ or $.  echo might interpret backslashes.
   2152 # By default was `s,x,x', remove it if useless.
   2153 cat <<\_ACEOF >conftest.sed
   2154 s/[\\$]/&&/g;s/;s,x,x,$//
   2155 _ACEOF
   2156 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2157 rm -f conftest.sed
   2158 
   2159 # expand $ac_aux_dir to an absolute path
   2160 am_aux_dir=`cd $ac_aux_dir && pwd`
   2161 
   2162 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2163 # Use eval to expand $SHELL
   2164 if eval "$MISSING --run true"; then
   2165   am_missing_run="$MISSING --run "
   2166 else
   2167   am_missing_run=
   2168   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2169 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2170 fi
   2171 
   2172 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2173 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2174 if test -z "$MKDIR_P"; then
   2175   if test "${ac_cv_path_mkdir+set}" = set; then
   2176   echo $ECHO_N "(cached) $ECHO_C" >&6
   2177 else
   2178   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2179 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2180 do
   2181   IFS=$as_save_IFS
   2182   test -z "$as_dir" && as_dir=.
   2183   for ac_prog in mkdir gmkdir; do
   2184 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2185 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2186 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2187 	     'mkdir (GNU coreutils) '* | \
   2188 	     'mkdir (coreutils) '* | \
   2189 	     'mkdir (fileutils) '4.1*)
   2190 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2191 	       break 3;;
   2192 	   esac
   2193 	 done
   2194        done
   2195 done
   2196 IFS=$as_save_IFS
   2197 
   2198 fi
   2199 
   2200   if test "${ac_cv_path_mkdir+set}" = set; then
   2201     MKDIR_P="$ac_cv_path_mkdir -p"
   2202   else
   2203     # As a last resort, use the slow shell script.  Don't cache a
   2204     # value for MKDIR_P within a source directory, because that will
   2205     # break other packages using the cache if that directory is
   2206     # removed, or if the value is a relative name.
   2207     test -d ./--version && rmdir ./--version
   2208     MKDIR_P="$ac_install_sh -d"
   2209   fi
   2210 fi
   2211 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2212 echo "${ECHO_T}$MKDIR_P" >&6; }
   2213 
   2214 mkdir_p="$MKDIR_P"
   2215 case $mkdir_p in
   2216   [\\/$]* | ?:[\\/]*) ;;
   2217   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2218 esac
   2219 
   2220 for ac_prog in gawk mawk nawk awk
   2221 do
   2222   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2223 set dummy $ac_prog; ac_word=$2
   2224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2226 if test "${ac_cv_prog_AWK+set}" = set; then
   2227   echo $ECHO_N "(cached) $ECHO_C" >&6
   2228 else
   2229   if test -n "$AWK"; then
   2230   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2231 else
   2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2233 for as_dir in $PATH
   2234 do
   2235   IFS=$as_save_IFS
   2236   test -z "$as_dir" && as_dir=.
   2237   for ac_exec_ext in '' $ac_executable_extensions; do
   2238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2239     ac_cv_prog_AWK="$ac_prog"
   2240     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2241     break 2
   2242   fi
   2243 done
   2244 done
   2245 IFS=$as_save_IFS
   2246 
   2247 fi
   2248 fi
   2249 AWK=$ac_cv_prog_AWK
   2250 if test -n "$AWK"; then
   2251   { echo "$as_me:$LINENO: result: $AWK" >&5
   2252 echo "${ECHO_T}$AWK" >&6; }
   2253 else
   2254   { echo "$as_me:$LINENO: result: no" >&5
   2255 echo "${ECHO_T}no" >&6; }
   2256 fi
   2257 
   2258 
   2259   test -n "$AWK" && break
   2260 done
   2261 
   2262 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2263 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2264 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2265 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2266   echo $ECHO_N "(cached) $ECHO_C" >&6
   2267 else
   2268   cat >conftest.make <<\_ACEOF
   2269 SHELL = /bin/sh
   2270 all:
   2271 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2272 _ACEOF
   2273 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2274 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2275   *@@@%%%=?*=@@@%%%*)
   2276     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2277   *)
   2278     eval ac_cv_prog_make_${ac_make}_set=no;;
   2279 esac
   2280 rm -f conftest.make
   2281 fi
   2282 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2283   { echo "$as_me:$LINENO: result: yes" >&5
   2284 echo "${ECHO_T}yes" >&6; }
   2285   SET_MAKE=
   2286 else
   2287   { echo "$as_me:$LINENO: result: no" >&5
   2288 echo "${ECHO_T}no" >&6; }
   2289   SET_MAKE="MAKE=${MAKE-make}"
   2290 fi
   2291 
   2292 rm -rf .tst 2>/dev/null
   2293 mkdir .tst 2>/dev/null
   2294 if test -d .tst; then
   2295   am__leading_dot=.
   2296 else
   2297   am__leading_dot=_
   2298 fi
   2299 rmdir .tst 2>/dev/null
   2300 
   2301 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2302   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2303   # is not polluted with repeated "-I."
   2304   am__isrc=' -I$(srcdir)'
   2305   # test to see if srcdir already configured
   2306   if test -f $srcdir/config.status; then
   2307     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2308 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2309    { (exit 1); exit 1; }; }
   2310   fi
   2311 fi
   2312 
   2313 # test whether we have cygpath
   2314 if test -z "$CYGPATH_W"; then
   2315   if (cygpath --version) >/dev/null 2>/dev/null; then
   2316     CYGPATH_W='cygpath -w'
   2317   else
   2318     CYGPATH_W=echo
   2319   fi
   2320 fi
   2321 
   2322 
   2323 # Define the identity of the package.
   2324  PACKAGE='xf86-video-nv'
   2325  VERSION='2.1.10'
   2326 
   2327 
   2328 cat >>confdefs.h <<_ACEOF
   2329 #define PACKAGE "$PACKAGE"
   2330 _ACEOF
   2331 
   2332 
   2333 cat >>confdefs.h <<_ACEOF
   2334 #define VERSION "$VERSION"
   2335 _ACEOF
   2336 
   2337 # Some tools Automake needs.
   2338 
   2339 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2340 
   2341 
   2342 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2343 
   2344 
   2345 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2346 
   2347 
   2348 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2349 
   2350 
   2351 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2352 
   2353 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2354 
   2355 # Installed binaries are usually stripped using `strip' when the user
   2356 # run `make install-strip'.  However `strip' might not be the right
   2357 # tool to use in cross-compilation environments, therefore Automake
   2358 # will honor the `STRIP' environment variable to overrule this program.
   2359 if test "$cross_compiling" != no; then
   2360   if test -n "$ac_tool_prefix"; then
   2361   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2362 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2365 if test "${ac_cv_prog_STRIP+set}" = set; then
   2366   echo $ECHO_N "(cached) $ECHO_C" >&6
   2367 else
   2368   if test -n "$STRIP"; then
   2369   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2370 else
   2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2372 for as_dir in $PATH
   2373 do
   2374   IFS=$as_save_IFS
   2375   test -z "$as_dir" && as_dir=.
   2376   for ac_exec_ext in '' $ac_executable_extensions; do
   2377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2378     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2379     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2380     break 2
   2381   fi
   2382 done
   2383 done
   2384 IFS=$as_save_IFS
   2385 
   2386 fi
   2387 fi
   2388 STRIP=$ac_cv_prog_STRIP
   2389 if test -n "$STRIP"; then
   2390   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2391 echo "${ECHO_T}$STRIP" >&6; }
   2392 else
   2393   { echo "$as_me:$LINENO: result: no" >&5
   2394 echo "${ECHO_T}no" >&6; }
   2395 fi
   2396 
   2397 
   2398 fi
   2399 if test -z "$ac_cv_prog_STRIP"; then
   2400   ac_ct_STRIP=$STRIP
   2401   # Extract the first word of "strip", so it can be a program name with args.
   2402 set dummy strip; ac_word=$2
   2403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2405 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2406   echo $ECHO_N "(cached) $ECHO_C" >&6
   2407 else
   2408   if test -n "$ac_ct_STRIP"; then
   2409   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2410 else
   2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2412 for as_dir in $PATH
   2413 do
   2414   IFS=$as_save_IFS
   2415   test -z "$as_dir" && as_dir=.
   2416   for ac_exec_ext in '' $ac_executable_extensions; do
   2417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2418     ac_cv_prog_ac_ct_STRIP="strip"
   2419     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2420     break 2
   2421   fi
   2422 done
   2423 done
   2424 IFS=$as_save_IFS
   2425 
   2426 fi
   2427 fi
   2428 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2429 if test -n "$ac_ct_STRIP"; then
   2430   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2431 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2432 else
   2433   { echo "$as_me:$LINENO: result: no" >&5
   2434 echo "${ECHO_T}no" >&6; }
   2435 fi
   2436 
   2437   if test "x$ac_ct_STRIP" = x; then
   2438     STRIP=":"
   2439   else
   2440     case $cross_compiling:$ac_tool_warned in
   2441 yes:)
   2442 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2443 whose name does not start with the host triplet.  If you think this
   2444 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2445 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2446 whose name does not start with the host triplet.  If you think this
   2447 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2448 ac_tool_warned=yes ;;
   2449 esac
   2450     STRIP=$ac_ct_STRIP
   2451   fi
   2452 else
   2453   STRIP="$ac_cv_prog_STRIP"
   2454 fi
   2455 
   2456 fi
   2457 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2458 
   2459 # We need awk for the "check" target.  The system "awk" is bad on
   2460 # some platforms.
   2461 # Always define AMTAR for backward compatibility.
   2462 
   2463 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2464 
   2465 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2466 
   2467 
   2468 
   2469 
   2470 
   2471 
   2472 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2473 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2474     # Check whether --enable-maintainer-mode was given.
   2475 if test "${enable_maintainer_mode+set}" = set; then
   2476   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2477 else
   2478   USE_MAINTAINER_MODE=no
   2479 fi
   2480 
   2481   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2482 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2483    if test $USE_MAINTAINER_MODE = yes; then
   2484   MAINTAINER_MODE_TRUE=
   2485   MAINTAINER_MODE_FALSE='#'
   2486 else
   2487   MAINTAINER_MODE_TRUE='#'
   2488   MAINTAINER_MODE_FALSE=
   2489 fi
   2490 
   2491   MAINT=$MAINTAINER_MODE_TRUE
   2492 
   2493 
   2494 
   2495 # Checks for programs.
   2496 # Check whether --enable-static was given.
   2497 if test "${enable_static+set}" = set; then
   2498   enableval=$enable_static; p=${PACKAGE-default}
   2499     case $enableval in
   2500     yes) enable_static=yes ;;
   2501     no) enable_static=no ;;
   2502     *)
   2503      enable_static=no
   2504       # Look at the argument we got.  We use all the common list separators.
   2505       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2506       for pkg in $enableval; do
   2507 	IFS="$lt_save_ifs"
   2508 	if test "X$pkg" = "X$p"; then
   2509 	  enable_static=yes
   2510 	fi
   2511       done
   2512       IFS="$lt_save_ifs"
   2513       ;;
   2514     esac
   2515 else
   2516   enable_static=no
   2517 fi
   2518 
   2519 
   2520 
   2521 # Check whether --enable-shared was given.
   2522 if test "${enable_shared+set}" = set; then
   2523   enableval=$enable_shared; p=${PACKAGE-default}
   2524     case $enableval in
   2525     yes) enable_shared=yes ;;
   2526     no) enable_shared=no ;;
   2527     *)
   2528       enable_shared=no
   2529       # Look at the argument we got.  We use all the common list separators.
   2530       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2531       for pkg in $enableval; do
   2532 	IFS="$lt_save_ifs"
   2533 	if test "X$pkg" = "X$p"; then
   2534 	  enable_shared=yes
   2535 	fi
   2536       done
   2537       IFS="$lt_save_ifs"
   2538       ;;
   2539     esac
   2540 else
   2541   enable_shared=yes
   2542 fi
   2543 
   2544 
   2545 # Check whether --enable-fast-install was given.
   2546 if test "${enable_fast_install+set}" = set; then
   2547   enableval=$enable_fast_install; p=${PACKAGE-default}
   2548     case $enableval in
   2549     yes) enable_fast_install=yes ;;
   2550     no) enable_fast_install=no ;;
   2551     *)
   2552       enable_fast_install=no
   2553       # Look at the argument we got.  We use all the common list separators.
   2554       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2555       for pkg in $enableval; do
   2556 	IFS="$lt_save_ifs"
   2557 	if test "X$pkg" = "X$p"; then
   2558 	  enable_fast_install=yes
   2559 	fi
   2560       done
   2561       IFS="$lt_save_ifs"
   2562       ;;
   2563     esac
   2564 else
   2565   enable_fast_install=yes
   2566 fi
   2567 
   2568 
   2569 # Make sure we can run config.sub.
   2570 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2571   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2572 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2573    { (exit 1); exit 1; }; }
   2574 
   2575 { echo "$as_me:$LINENO: checking build system type" >&5
   2576 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2577 if test "${ac_cv_build+set}" = set; then
   2578   echo $ECHO_N "(cached) $ECHO_C" >&6
   2579 else
   2580   ac_build_alias=$build_alias
   2581 test "x$ac_build_alias" = x &&
   2582   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2583 test "x$ac_build_alias" = x &&
   2584   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2586    { (exit 1); exit 1; }; }
   2587 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2588   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2589 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2590    { (exit 1); exit 1; }; }
   2591 
   2592 fi
   2593 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2594 echo "${ECHO_T}$ac_cv_build" >&6; }
   2595 case $ac_cv_build in
   2596 *-*-*) ;;
   2597 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2598 echo "$as_me: error: invalid value of canonical build" >&2;}
   2599    { (exit 1); exit 1; }; };;
   2600 esac
   2601 build=$ac_cv_build
   2602 ac_save_IFS=$IFS; IFS='-'
   2603 set x $ac_cv_build
   2604 shift
   2605 build_cpu=$1
   2606 build_vendor=$2
   2607 shift; shift
   2608 # Remember, the first character of IFS is used to create $*,
   2609 # except with old shells:
   2610 build_os=$*
   2611 IFS=$ac_save_IFS
   2612 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2613 
   2614 
   2615 { echo "$as_me:$LINENO: checking host system type" >&5
   2616 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2617 if test "${ac_cv_host+set}" = set; then
   2618   echo $ECHO_N "(cached) $ECHO_C" >&6
   2619 else
   2620   if test "x$host_alias" = x; then
   2621   ac_cv_host=$ac_cv_build
   2622 else
   2623   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2624     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2625 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2626    { (exit 1); exit 1; }; }
   2627 fi
   2628 
   2629 fi
   2630 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2631 echo "${ECHO_T}$ac_cv_host" >&6; }
   2632 case $ac_cv_host in
   2633 *-*-*) ;;
   2634 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2635 echo "$as_me: error: invalid value of canonical host" >&2;}
   2636    { (exit 1); exit 1; }; };;
   2637 esac
   2638 host=$ac_cv_host
   2639 ac_save_IFS=$IFS; IFS='-'
   2640 set x $ac_cv_host
   2641 shift
   2642 host_cpu=$1
   2643 host_vendor=$2
   2644 shift; shift
   2645 # Remember, the first character of IFS is used to create $*,
   2646 # except with old shells:
   2647 host_os=$*
   2648 IFS=$ac_save_IFS
   2649 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2650 
   2651 
   2652 DEPDIR="${am__leading_dot}deps"
   2653 
   2654 ac_config_commands="$ac_config_commands depfiles"
   2655 
   2656 
   2657 am_make=${MAKE-make}
   2658 cat > confinc << 'END'
   2659 am__doit:
   2660 	@echo done
   2661 .PHONY: am__doit
   2662 END
   2663 # If we don't find an include directive, just comment out the code.
   2664 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2665 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2666 am__include="#"
   2667 am__quote=
   2668 _am_result=none
   2669 # First try GNU make style include.
   2670 echo "include confinc" > confmf
   2671 # We grep out `Entering directory' and `Leaving directory'
   2672 # messages which can occur if `w' ends up in MAKEFLAGS.
   2673 # In particular we don't look at `^make:' because GNU make might
   2674 # be invoked under some other name (usually "gmake"), in which
   2675 # case it prints its new name instead of `make'.
   2676 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2677    am__include=include
   2678    am__quote=
   2679    _am_result=GNU
   2680 fi
   2681 # Now try BSD make style include.
   2682 if test "$am__include" = "#"; then
   2683    echo '.include "confinc"' > confmf
   2684    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2685       am__include=.include
   2686       am__quote="\""
   2687       _am_result=BSD
   2688    fi
   2689 fi
   2690 
   2691 
   2692 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2693 echo "${ECHO_T}$_am_result" >&6; }
   2694 rm -f confinc confmf
   2695 
   2696 # Check whether --enable-dependency-tracking was given.
   2697 if test "${enable_dependency_tracking+set}" = set; then
   2698   enableval=$enable_dependency_tracking;
   2699 fi
   2700 
   2701 if test "x$enable_dependency_tracking" != xno; then
   2702   am_depcomp="$ac_aux_dir/depcomp"
   2703   AMDEPBACKSLASH='\'
   2704 fi
   2705  if test "x$enable_dependency_tracking" != xno; then
   2706   AMDEP_TRUE=
   2707   AMDEP_FALSE='#'
   2708 else
   2709   AMDEP_TRUE='#'
   2710   AMDEP_FALSE=
   2711 fi
   2712 
   2713 
   2714 ac_ext=c
   2715 ac_cpp='$CPP $CPPFLAGS'
   2716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2719 if test -n "$ac_tool_prefix"; then
   2720   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2721 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2724 if test "${ac_cv_prog_CC+set}" = set; then
   2725   echo $ECHO_N "(cached) $ECHO_C" >&6
   2726 else
   2727   if test -n "$CC"; then
   2728   ac_cv_prog_CC="$CC" # Let the user override the test.
   2729 else
   2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2731 for as_dir in $PATH
   2732 do
   2733   IFS=$as_save_IFS
   2734   test -z "$as_dir" && as_dir=.
   2735   for ac_exec_ext in '' $ac_executable_extensions; do
   2736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2737     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2738     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2739     break 2
   2740   fi
   2741 done
   2742 done
   2743 IFS=$as_save_IFS
   2744 
   2745 fi
   2746 fi
   2747 CC=$ac_cv_prog_CC
   2748 if test -n "$CC"; then
   2749   { echo "$as_me:$LINENO: result: $CC" >&5
   2750 echo "${ECHO_T}$CC" >&6; }
   2751 else
   2752   { echo "$as_me:$LINENO: result: no" >&5
   2753 echo "${ECHO_T}no" >&6; }
   2754 fi
   2755 
   2756 
   2757 fi
   2758 if test -z "$ac_cv_prog_CC"; then
   2759   ac_ct_CC=$CC
   2760   # Extract the first word of "gcc", so it can be a program name with args.
   2761 set dummy gcc; ac_word=$2
   2762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2764 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2765   echo $ECHO_N "(cached) $ECHO_C" >&6
   2766 else
   2767   if test -n "$ac_ct_CC"; then
   2768   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2769 else
   2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2771 for as_dir in $PATH
   2772 do
   2773   IFS=$as_save_IFS
   2774   test -z "$as_dir" && as_dir=.
   2775   for ac_exec_ext in '' $ac_executable_extensions; do
   2776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2777     ac_cv_prog_ac_ct_CC="gcc"
   2778     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2779     break 2
   2780   fi
   2781 done
   2782 done
   2783 IFS=$as_save_IFS
   2784 
   2785 fi
   2786 fi
   2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2788 if test -n "$ac_ct_CC"; then
   2789   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2790 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2791 else
   2792   { echo "$as_me:$LINENO: result: no" >&5
   2793 echo "${ECHO_T}no" >&6; }
   2794 fi
   2795 
   2796   if test "x$ac_ct_CC" = x; then
   2797     CC=""
   2798   else
   2799     case $cross_compiling:$ac_tool_warned in
   2800 yes:)
   2801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2802 whose name does not start with the host triplet.  If you think this
   2803 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2805 whose name does not start with the host triplet.  If you think this
   2806 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2807 ac_tool_warned=yes ;;
   2808 esac
   2809     CC=$ac_ct_CC
   2810   fi
   2811 else
   2812   CC="$ac_cv_prog_CC"
   2813 fi
   2814 
   2815 if test -z "$CC"; then
   2816           if test -n "$ac_tool_prefix"; then
   2817     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2818 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2821 if test "${ac_cv_prog_CC+set}" = set; then
   2822   echo $ECHO_N "(cached) $ECHO_C" >&6
   2823 else
   2824   if test -n "$CC"; then
   2825   ac_cv_prog_CC="$CC" # Let the user override the test.
   2826 else
   2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2828 for as_dir in $PATH
   2829 do
   2830   IFS=$as_save_IFS
   2831   test -z "$as_dir" && as_dir=.
   2832   for ac_exec_ext in '' $ac_executable_extensions; do
   2833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2834     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2835     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2836     break 2
   2837   fi
   2838 done
   2839 done
   2840 IFS=$as_save_IFS
   2841 
   2842 fi
   2843 fi
   2844 CC=$ac_cv_prog_CC
   2845 if test -n "$CC"; then
   2846   { echo "$as_me:$LINENO: result: $CC" >&5
   2847 echo "${ECHO_T}$CC" >&6; }
   2848 else
   2849   { echo "$as_me:$LINENO: result: no" >&5
   2850 echo "${ECHO_T}no" >&6; }
   2851 fi
   2852 
   2853 
   2854   fi
   2855 fi
   2856 if test -z "$CC"; then
   2857   # Extract the first word of "cc", so it can be a program name with args.
   2858 set dummy cc; ac_word=$2
   2859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2861 if test "${ac_cv_prog_CC+set}" = set; then
   2862   echo $ECHO_N "(cached) $ECHO_C" >&6
   2863 else
   2864   if test -n "$CC"; then
   2865   ac_cv_prog_CC="$CC" # Let the user override the test.
   2866 else
   2867   ac_prog_rejected=no
   2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2869 for as_dir in $PATH
   2870 do
   2871   IFS=$as_save_IFS
   2872   test -z "$as_dir" && as_dir=.
   2873   for ac_exec_ext in '' $ac_executable_extensions; do
   2874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2875     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2876        ac_prog_rejected=yes
   2877        continue
   2878      fi
   2879     ac_cv_prog_CC="cc"
   2880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2881     break 2
   2882   fi
   2883 done
   2884 done
   2885 IFS=$as_save_IFS
   2886 
   2887 if test $ac_prog_rejected = yes; then
   2888   # We found a bogon in the path, so make sure we never use it.
   2889   set dummy $ac_cv_prog_CC
   2890   shift
   2891   if test $# != 0; then
   2892     # We chose a different compiler from the bogus one.
   2893     # However, it has the same basename, so the bogon will be chosen
   2894     # first if we set CC to just the basename; use the full file name.
   2895     shift
   2896     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2897   fi
   2898 fi
   2899 fi
   2900 fi
   2901 CC=$ac_cv_prog_CC
   2902 if test -n "$CC"; then
   2903   { echo "$as_me:$LINENO: result: $CC" >&5
   2904 echo "${ECHO_T}$CC" >&6; }
   2905 else
   2906   { echo "$as_me:$LINENO: result: no" >&5
   2907 echo "${ECHO_T}no" >&6; }
   2908 fi
   2909 
   2910 
   2911 fi
   2912 if test -z "$CC"; then
   2913   if test -n "$ac_tool_prefix"; then
   2914   for ac_prog in cl.exe
   2915   do
   2916     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2917 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2920 if test "${ac_cv_prog_CC+set}" = set; then
   2921   echo $ECHO_N "(cached) $ECHO_C" >&6
   2922 else
   2923   if test -n "$CC"; then
   2924   ac_cv_prog_CC="$CC" # Let the user override the test.
   2925 else
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931   for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2933     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2935     break 2
   2936   fi
   2937 done
   2938 done
   2939 IFS=$as_save_IFS
   2940 
   2941 fi
   2942 fi
   2943 CC=$ac_cv_prog_CC
   2944 if test -n "$CC"; then
   2945   { echo "$as_me:$LINENO: result: $CC" >&5
   2946 echo "${ECHO_T}$CC" >&6; }
   2947 else
   2948   { echo "$as_me:$LINENO: result: no" >&5
   2949 echo "${ECHO_T}no" >&6; }
   2950 fi
   2951 
   2952 
   2953     test -n "$CC" && break
   2954   done
   2955 fi
   2956 if test -z "$CC"; then
   2957   ac_ct_CC=$CC
   2958   for ac_prog in cl.exe
   2959 do
   2960   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2961 set dummy $ac_prog; ac_word=$2
   2962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2965   echo $ECHO_N "(cached) $ECHO_C" >&6
   2966 else
   2967   if test -n "$ac_ct_CC"; then
   2968   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2969 else
   2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2971 for as_dir in $PATH
   2972 do
   2973   IFS=$as_save_IFS
   2974   test -z "$as_dir" && as_dir=.
   2975   for ac_exec_ext in '' $ac_executable_extensions; do
   2976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2977     ac_cv_prog_ac_ct_CC="$ac_prog"
   2978     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2979     break 2
   2980   fi
   2981 done
   2982 done
   2983 IFS=$as_save_IFS
   2984 
   2985 fi
   2986 fi
   2987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2988 if test -n "$ac_ct_CC"; then
   2989   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2990 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2991 else
   2992   { echo "$as_me:$LINENO: result: no" >&5
   2993 echo "${ECHO_T}no" >&6; }
   2994 fi
   2995 
   2996 
   2997   test -n "$ac_ct_CC" && break
   2998 done
   2999 
   3000   if test "x$ac_ct_CC" = x; then
   3001     CC=""
   3002   else
   3003     case $cross_compiling:$ac_tool_warned in
   3004 yes:)
   3005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3006 whose name does not start with the host triplet.  If you think this
   3007 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3009 whose name does not start with the host triplet.  If you think this
   3010 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3011 ac_tool_warned=yes ;;
   3012 esac
   3013     CC=$ac_ct_CC
   3014   fi
   3015 fi
   3016 
   3017 fi
   3018 
   3019 
   3020 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3021 See \`config.log' for more details." >&5
   3022 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3023 See \`config.log' for more details." >&2;}
   3024    { (exit 1); exit 1; }; }
   3025 
   3026 # Provide some information about the compiler.
   3027 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3028 ac_compiler=`set X $ac_compile; echo $2`
   3029 { (ac_try="$ac_compiler --version >&5"
   3030 case "(($ac_try" in
   3031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3032   *) ac_try_echo=$ac_try;;
   3033 esac
   3034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3035   (eval "$ac_compiler --version >&5") 2>&5
   3036   ac_status=$?
   3037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3038   (exit $ac_status); }
   3039 { (ac_try="$ac_compiler -v >&5"
   3040 case "(($ac_try" in
   3041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3042   *) ac_try_echo=$ac_try;;
   3043 esac
   3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3045   (eval "$ac_compiler -v >&5") 2>&5
   3046   ac_status=$?
   3047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3048   (exit $ac_status); }
   3049 { (ac_try="$ac_compiler -V >&5"
   3050 case "(($ac_try" in
   3051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3052   *) ac_try_echo=$ac_try;;
   3053 esac
   3054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3055   (eval "$ac_compiler -V >&5") 2>&5
   3056   ac_status=$?
   3057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3058   (exit $ac_status); }
   3059 
   3060 cat >conftest.$ac_ext <<_ACEOF
   3061 /* confdefs.h.  */
   3062 _ACEOF
   3063 cat confdefs.h >>conftest.$ac_ext
   3064 cat >>conftest.$ac_ext <<_ACEOF
   3065 /* end confdefs.h.  */
   3066 
   3067 int
   3068 main ()
   3069 {
   3070 
   3071   ;
   3072   return 0;
   3073 }
   3074 _ACEOF
   3075 ac_clean_files_save=$ac_clean_files
   3076 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3077 # Try to create an executable without -o first, disregard a.out.
   3078 # It will help us diagnose broken compilers, and finding out an intuition
   3079 # of exeext.
   3080 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3081 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3082 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3083 #
   3084 # List of possible output files, starting from the most likely.
   3085 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3086 # only as a last resort.  b.out is created by i960 compilers.
   3087 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3088 #
   3089 # The IRIX 6 linker writes into existing files which may not be
   3090 # executable, retaining their permissions.  Remove them first so a
   3091 # subsequent execution test works.
   3092 ac_rmfiles=
   3093 for ac_file in $ac_files
   3094 do
   3095   case $ac_file in
   3096     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3097     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3098   esac
   3099 done
   3100 rm -f $ac_rmfiles
   3101 
   3102 if { (ac_try="$ac_link_default"
   3103 case "(($ac_try" in
   3104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3105   *) ac_try_echo=$ac_try;;
   3106 esac
   3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3108   (eval "$ac_link_default") 2>&5
   3109   ac_status=$?
   3110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3111   (exit $ac_status); }; then
   3112   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3113 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3114 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3115 # so that the user can short-circuit this test for compilers unknown to
   3116 # Autoconf.
   3117 for ac_file in $ac_files ''
   3118 do
   3119   test -f "$ac_file" || continue
   3120   case $ac_file in
   3121     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3122 	;;
   3123     [ab].out )
   3124 	# We found the default executable, but exeext='' is most
   3125 	# certainly right.
   3126 	break;;
   3127     *.* )
   3128         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3129 	then :; else
   3130 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3131 	fi
   3132 	# We set ac_cv_exeext here because the later test for it is not
   3133 	# safe: cross compilers may not add the suffix if given an `-o'
   3134 	# argument, so we may need to know it at that point already.
   3135 	# Even if this section looks crufty: it has the advantage of
   3136 	# actually working.
   3137 	break;;
   3138     * )
   3139 	break;;
   3140   esac
   3141 done
   3142 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3143 
   3144 else
   3145   ac_file=''
   3146 fi
   3147 
   3148 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3149 echo "${ECHO_T}$ac_file" >&6; }
   3150 if test -z "$ac_file"; then
   3151   echo "$as_me: failed program was:" >&5
   3152 sed 's/^/| /' conftest.$ac_ext >&5
   3153 
   3154 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3155 See \`config.log' for more details." >&5
   3156 echo "$as_me: error: C compiler cannot create executables
   3157 See \`config.log' for more details." >&2;}
   3158    { (exit 77); exit 77; }; }
   3159 fi
   3160 
   3161 ac_exeext=$ac_cv_exeext
   3162 
   3163 # Check that the compiler produces executables we can run.  If not, either
   3164 # the compiler is broken, or we cross compile.
   3165 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3166 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3167 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3168 # If not cross compiling, check that we can run a simple program.
   3169 if test "$cross_compiling" != yes; then
   3170   if { ac_try='./$ac_file'
   3171   { (case "(($ac_try" in
   3172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3173   *) ac_try_echo=$ac_try;;
   3174 esac
   3175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3176   (eval "$ac_try") 2>&5
   3177   ac_status=$?
   3178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3179   (exit $ac_status); }; }; then
   3180     cross_compiling=no
   3181   else
   3182     if test "$cross_compiling" = maybe; then
   3183 	cross_compiling=yes
   3184     else
   3185 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3186 If you meant to cross compile, use \`--host'.
   3187 See \`config.log' for more details." >&5
   3188 echo "$as_me: error: cannot run C compiled programs.
   3189 If you meant to cross compile, use \`--host'.
   3190 See \`config.log' for more details." >&2;}
   3191    { (exit 1); exit 1; }; }
   3192     fi
   3193   fi
   3194 fi
   3195 { echo "$as_me:$LINENO: result: yes" >&5
   3196 echo "${ECHO_T}yes" >&6; }
   3197 
   3198 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3199 ac_clean_files=$ac_clean_files_save
   3200 # Check that the compiler produces executables we can run.  If not, either
   3201 # the compiler is broken, or we cross compile.
   3202 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3203 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3204 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3205 echo "${ECHO_T}$cross_compiling" >&6; }
   3206 
   3207 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3208 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3209 if { (ac_try="$ac_link"
   3210 case "(($ac_try" in
   3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3212   *) ac_try_echo=$ac_try;;
   3213 esac
   3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3215   (eval "$ac_link") 2>&5
   3216   ac_status=$?
   3217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3218   (exit $ac_status); }; then
   3219   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3220 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3221 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3222 # `rm'.
   3223 for ac_file in conftest.exe conftest conftest.*; do
   3224   test -f "$ac_file" || continue
   3225   case $ac_file in
   3226     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3227     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3228 	  break;;
   3229     * ) break;;
   3230   esac
   3231 done
   3232 else
   3233   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3234 See \`config.log' for more details." >&5
   3235 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3236 See \`config.log' for more details." >&2;}
   3237    { (exit 1); exit 1; }; }
   3238 fi
   3239 
   3240 rm -f conftest$ac_cv_exeext
   3241 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3242 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3243 
   3244 rm -f conftest.$ac_ext
   3245 EXEEXT=$ac_cv_exeext
   3246 ac_exeext=$EXEEXT
   3247 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3248 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3249 if test "${ac_cv_objext+set}" = set; then
   3250   echo $ECHO_N "(cached) $ECHO_C" >&6
   3251 else
   3252   cat >conftest.$ac_ext <<_ACEOF
   3253 /* confdefs.h.  */
   3254 _ACEOF
   3255 cat confdefs.h >>conftest.$ac_ext
   3256 cat >>conftest.$ac_ext <<_ACEOF
   3257 /* end confdefs.h.  */
   3258 
   3259 int
   3260 main ()
   3261 {
   3262 
   3263   ;
   3264   return 0;
   3265 }
   3266 _ACEOF
   3267 rm -f conftest.o conftest.obj
   3268 if { (ac_try="$ac_compile"
   3269 case "(($ac_try" in
   3270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3271   *) ac_try_echo=$ac_try;;
   3272 esac
   3273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3274   (eval "$ac_compile") 2>&5
   3275   ac_status=$?
   3276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3277   (exit $ac_status); }; then
   3278   for ac_file in conftest.o conftest.obj conftest.*; do
   3279   test -f "$ac_file" || continue;
   3280   case $ac_file in
   3281     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3282     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3283        break;;
   3284   esac
   3285 done
   3286 else
   3287   echo "$as_me: failed program was:" >&5
   3288 sed 's/^/| /' conftest.$ac_ext >&5
   3289 
   3290 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3291 See \`config.log' for more details." >&5
   3292 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3293 See \`config.log' for more details." >&2;}
   3294    { (exit 1); exit 1; }; }
   3295 fi
   3296 
   3297 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3298 fi
   3299 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3300 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3301 OBJEXT=$ac_cv_objext
   3302 ac_objext=$OBJEXT
   3303 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3304 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3305 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3306   echo $ECHO_N "(cached) $ECHO_C" >&6
   3307 else
   3308   cat >conftest.$ac_ext <<_ACEOF
   3309 /* confdefs.h.  */
   3310 _ACEOF
   3311 cat confdefs.h >>conftest.$ac_ext
   3312 cat >>conftest.$ac_ext <<_ACEOF
   3313 /* end confdefs.h.  */
   3314 
   3315 int
   3316 main ()
   3317 {
   3318 #ifndef __GNUC__
   3319        choke me
   3320 #endif
   3321 
   3322   ;
   3323   return 0;
   3324 }
   3325 _ACEOF
   3326 rm -f conftest.$ac_objext
   3327 if { (ac_try="$ac_compile"
   3328 case "(($ac_try" in
   3329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3330   *) ac_try_echo=$ac_try;;
   3331 esac
   3332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3333   (eval "$ac_compile") 2>conftest.er1
   3334   ac_status=$?
   3335   grep -v '^ *+' conftest.er1 >conftest.err
   3336   rm -f conftest.er1
   3337   cat conftest.err >&5
   3338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3339   (exit $ac_status); } && {
   3340 	 test -z "$ac_c_werror_flag" ||
   3341 	 test ! -s conftest.err
   3342        } && test -s conftest.$ac_objext; then
   3343   ac_compiler_gnu=yes
   3344 else
   3345   echo "$as_me: failed program was:" >&5
   3346 sed 's/^/| /' conftest.$ac_ext >&5
   3347 
   3348 	ac_compiler_gnu=no
   3349 fi
   3350 
   3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3352 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3353 
   3354 fi
   3355 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3356 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3357 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3358 ac_test_CFLAGS=${CFLAGS+set}
   3359 ac_save_CFLAGS=$CFLAGS
   3360 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3361 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3362 if test "${ac_cv_prog_cc_g+set}" = set; then
   3363   echo $ECHO_N "(cached) $ECHO_C" >&6
   3364 else
   3365   ac_save_c_werror_flag=$ac_c_werror_flag
   3366    ac_c_werror_flag=yes
   3367    ac_cv_prog_cc_g=no
   3368    CFLAGS="-g"
   3369    cat >conftest.$ac_ext <<_ACEOF
   3370 /* confdefs.h.  */
   3371 _ACEOF
   3372 cat confdefs.h >>conftest.$ac_ext
   3373 cat >>conftest.$ac_ext <<_ACEOF
   3374 /* end confdefs.h.  */
   3375 
   3376 int
   3377 main ()
   3378 {
   3379 
   3380   ;
   3381   return 0;
   3382 }
   3383 _ACEOF
   3384 rm -f conftest.$ac_objext
   3385 if { (ac_try="$ac_compile"
   3386 case "(($ac_try" in
   3387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3388   *) ac_try_echo=$ac_try;;
   3389 esac
   3390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3391   (eval "$ac_compile") 2>conftest.er1
   3392   ac_status=$?
   3393   grep -v '^ *+' conftest.er1 >conftest.err
   3394   rm -f conftest.er1
   3395   cat conftest.err >&5
   3396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3397   (exit $ac_status); } && {
   3398 	 test -z "$ac_c_werror_flag" ||
   3399 	 test ! -s conftest.err
   3400        } && test -s conftest.$ac_objext; then
   3401   ac_cv_prog_cc_g=yes
   3402 else
   3403   echo "$as_me: failed program was:" >&5
   3404 sed 's/^/| /' conftest.$ac_ext >&5
   3405 
   3406 	CFLAGS=""
   3407       cat >conftest.$ac_ext <<_ACEOF
   3408 /* confdefs.h.  */
   3409 _ACEOF
   3410 cat confdefs.h >>conftest.$ac_ext
   3411 cat >>conftest.$ac_ext <<_ACEOF
   3412 /* end confdefs.h.  */
   3413 
   3414 int
   3415 main ()
   3416 {
   3417 
   3418   ;
   3419   return 0;
   3420 }
   3421 _ACEOF
   3422 rm -f conftest.$ac_objext
   3423 if { (ac_try="$ac_compile"
   3424 case "(($ac_try" in
   3425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3426   *) ac_try_echo=$ac_try;;
   3427 esac
   3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3429   (eval "$ac_compile") 2>conftest.er1
   3430   ac_status=$?
   3431   grep -v '^ *+' conftest.er1 >conftest.err
   3432   rm -f conftest.er1
   3433   cat conftest.err >&5
   3434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3435   (exit $ac_status); } && {
   3436 	 test -z "$ac_c_werror_flag" ||
   3437 	 test ! -s conftest.err
   3438        } && test -s conftest.$ac_objext; then
   3439   :
   3440 else
   3441   echo "$as_me: failed program was:" >&5
   3442 sed 's/^/| /' conftest.$ac_ext >&5
   3443 
   3444 	ac_c_werror_flag=$ac_save_c_werror_flag
   3445 	 CFLAGS="-g"
   3446 	 cat >conftest.$ac_ext <<_ACEOF
   3447 /* confdefs.h.  */
   3448 _ACEOF
   3449 cat confdefs.h >>conftest.$ac_ext
   3450 cat >>conftest.$ac_ext <<_ACEOF
   3451 /* end confdefs.h.  */
   3452 
   3453 int
   3454 main ()
   3455 {
   3456 
   3457   ;
   3458   return 0;
   3459 }
   3460 _ACEOF
   3461 rm -f conftest.$ac_objext
   3462 if { (ac_try="$ac_compile"
   3463 case "(($ac_try" in
   3464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3465   *) ac_try_echo=$ac_try;;
   3466 esac
   3467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3468   (eval "$ac_compile") 2>conftest.er1
   3469   ac_status=$?
   3470   grep -v '^ *+' conftest.er1 >conftest.err
   3471   rm -f conftest.er1
   3472   cat conftest.err >&5
   3473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3474   (exit $ac_status); } && {
   3475 	 test -z "$ac_c_werror_flag" ||
   3476 	 test ! -s conftest.err
   3477        } && test -s conftest.$ac_objext; then
   3478   ac_cv_prog_cc_g=yes
   3479 else
   3480   echo "$as_me: failed program was:" >&5
   3481 sed 's/^/| /' conftest.$ac_ext >&5
   3482 
   3483 
   3484 fi
   3485 
   3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3487 fi
   3488 
   3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3490 fi
   3491 
   3492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3493    ac_c_werror_flag=$ac_save_c_werror_flag
   3494 fi
   3495 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3496 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3497 if test "$ac_test_CFLAGS" = set; then
   3498   CFLAGS=$ac_save_CFLAGS
   3499 elif test $ac_cv_prog_cc_g = yes; then
   3500   if test "$GCC" = yes; then
   3501     CFLAGS="-g -O2"
   3502   else
   3503     CFLAGS="-g"
   3504   fi
   3505 else
   3506   if test "$GCC" = yes; then
   3507     CFLAGS="-O2"
   3508   else
   3509     CFLAGS=
   3510   fi
   3511 fi
   3512 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3513 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3514 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3515   echo $ECHO_N "(cached) $ECHO_C" >&6
   3516 else
   3517   ac_cv_prog_cc_c89=no
   3518 ac_save_CC=$CC
   3519 cat >conftest.$ac_ext <<_ACEOF
   3520 /* confdefs.h.  */
   3521 _ACEOF
   3522 cat confdefs.h >>conftest.$ac_ext
   3523 cat >>conftest.$ac_ext <<_ACEOF
   3524 /* end confdefs.h.  */
   3525 #include <stdarg.h>
   3526 #include <stdio.h>
   3527 #include <sys/types.h>
   3528 #include <sys/stat.h>
   3529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3530 struct buf { int x; };
   3531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3532 static char *e (p, i)
   3533      char **p;
   3534      int i;
   3535 {
   3536   return p[i];
   3537 }
   3538 static char *f (char * (*g) (char **, int), char **p, ...)
   3539 {
   3540   char *s;
   3541   va_list v;
   3542   va_start (v,p);
   3543   s = g (p, va_arg (v,int));
   3544   va_end (v);
   3545   return s;
   3546 }
   3547 
   3548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3549    function prototypes and stuff, but not '\xHH' hex character constants.
   3550    These don't provoke an error unfortunately, instead are silently treated
   3551    as 'x'.  The following induces an error, until -std is added to get
   3552    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3553    array size at least.  It's necessary to write '\x00'==0 to get something
   3554    that's true only with -std.  */
   3555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3556 
   3557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3558    inside strings and character constants.  */
   3559 #define FOO(x) 'x'
   3560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3561 
   3562 int test (int i, double x);
   3563 struct s1 {int (*f) (int a);};
   3564 struct s2 {int (*f) (double a);};
   3565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3566 int argc;
   3567 char **argv;
   3568 int
   3569 main ()
   3570 {
   3571 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3572   ;
   3573   return 0;
   3574 }
   3575 _ACEOF
   3576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3577 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3578 do
   3579   CC="$ac_save_CC $ac_arg"
   3580   rm -f conftest.$ac_objext
   3581 if { (ac_try="$ac_compile"
   3582 case "(($ac_try" in
   3583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3584   *) ac_try_echo=$ac_try;;
   3585 esac
   3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3587   (eval "$ac_compile") 2>conftest.er1
   3588   ac_status=$?
   3589   grep -v '^ *+' conftest.er1 >conftest.err
   3590   rm -f conftest.er1
   3591   cat conftest.err >&5
   3592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3593   (exit $ac_status); } && {
   3594 	 test -z "$ac_c_werror_flag" ||
   3595 	 test ! -s conftest.err
   3596        } && test -s conftest.$ac_objext; then
   3597   ac_cv_prog_cc_c89=$ac_arg
   3598 else
   3599   echo "$as_me: failed program was:" >&5
   3600 sed 's/^/| /' conftest.$ac_ext >&5
   3601 
   3602 
   3603 fi
   3604 
   3605 rm -f core conftest.err conftest.$ac_objext
   3606   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3607 done
   3608 rm -f conftest.$ac_ext
   3609 CC=$ac_save_CC
   3610 
   3611 fi
   3612 # AC_CACHE_VAL
   3613 case "x$ac_cv_prog_cc_c89" in
   3614   x)
   3615     { echo "$as_me:$LINENO: result: none needed" >&5
   3616 echo "${ECHO_T}none needed" >&6; } ;;
   3617   xno)
   3618     { echo "$as_me:$LINENO: result: unsupported" >&5
   3619 echo "${ECHO_T}unsupported" >&6; } ;;
   3620   *)
   3621     CC="$CC $ac_cv_prog_cc_c89"
   3622     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3623 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3624 esac
   3625 
   3626 
   3627 ac_ext=c
   3628 ac_cpp='$CPP $CPPFLAGS'
   3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3632 
   3633 depcc="$CC"   am_compiler_list=
   3634 
   3635 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3636 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3637 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3638   echo $ECHO_N "(cached) $ECHO_C" >&6
   3639 else
   3640   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3641   # We make a subdir and do the tests there.  Otherwise we can end up
   3642   # making bogus files that we don't know about and never remove.  For
   3643   # instance it was reported that on HP-UX the gcc test will end up
   3644   # making a dummy file named `D' -- because `-MD' means `put the output
   3645   # in D'.
   3646   mkdir conftest.dir
   3647   # Copy depcomp to subdir because otherwise we won't find it if we're
   3648   # using a relative directory.
   3649   cp "$am_depcomp" conftest.dir
   3650   cd conftest.dir
   3651   # We will build objects and dependencies in a subdirectory because
   3652   # it helps to detect inapplicable dependency modes.  For instance
   3653   # both Tru64's cc and ICC support -MD to output dependencies as a
   3654   # side effect of compilation, but ICC will put the dependencies in
   3655   # the current directory while Tru64 will put them in the object
   3656   # directory.
   3657   mkdir sub
   3658 
   3659   am_cv_CC_dependencies_compiler_type=none
   3660   if test "$am_compiler_list" = ""; then
   3661      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3662   fi
   3663   for depmode in $am_compiler_list; do
   3664     # Setup a source with many dependencies, because some compilers
   3665     # like to wrap large dependency lists on column 80 (with \), and
   3666     # we should not choose a depcomp mode which is confused by this.
   3667     #
   3668     # We need to recreate these files for each test, as the compiler may
   3669     # overwrite some of them when testing with obscure command lines.
   3670     # This happens at least with the AIX C compiler.
   3671     : > sub/conftest.c
   3672     for i in 1 2 3 4 5 6; do
   3673       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3674       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3675       # Solaris 8's {/usr,}/bin/sh.
   3676       touch sub/conftst$i.h
   3677     done
   3678     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3679 
   3680     case $depmode in
   3681     nosideeffect)
   3682       # after this tag, mechanisms are not by side-effect, so they'll
   3683       # only be used when explicitly requested
   3684       if test "x$enable_dependency_tracking" = xyes; then
   3685 	continue
   3686       else
   3687 	break
   3688       fi
   3689       ;;
   3690     none) break ;;
   3691     esac
   3692     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3693     # mode.  It turns out that the SunPro C++ compiler does not properly
   3694     # handle `-M -o', and we need to detect this.
   3695     if depmode=$depmode \
   3696        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3697        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3698        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3699          >/dev/null 2>conftest.err &&
   3700        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3701        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3702        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3703        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3704       # icc doesn't choke on unknown options, it will just issue warnings
   3705       # or remarks (even with -Werror).  So we grep stderr for any message
   3706       # that says an option was ignored or not supported.
   3707       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3708       #   icc: Command line warning: ignoring option '-M'; no argument required
   3709       # The diagnosis changed in icc 8.0:
   3710       #   icc: Command line remark: option '-MP' not supported
   3711       if (grep 'ignoring option' conftest.err ||
   3712           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3713         am_cv_CC_dependencies_compiler_type=$depmode
   3714         break
   3715       fi
   3716     fi
   3717   done
   3718 
   3719   cd ..
   3720   rm -rf conftest.dir
   3721 else
   3722   am_cv_CC_dependencies_compiler_type=none
   3723 fi
   3724 
   3725 fi
   3726 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3727 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3728 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3729 
   3730  if
   3731   test "x$enable_dependency_tracking" != xno \
   3732   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3733   am__fastdepCC_TRUE=
   3734   am__fastdepCC_FALSE='#'
   3735 else
   3736   am__fastdepCC_TRUE='#'
   3737   am__fastdepCC_FALSE=
   3738 fi
   3739 
   3740 
   3741 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3742 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3743 if test "${lt_cv_path_SED+set}" = set; then
   3744   echo $ECHO_N "(cached) $ECHO_C" >&6
   3745 else
   3746   # Loop through the user's path and test for sed and gsed.
   3747 # Then use that list of sed's as ones to test for truncation.
   3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3749 for as_dir in $PATH
   3750 do
   3751   IFS=$as_save_IFS
   3752   test -z "$as_dir" && as_dir=.
   3753   for lt_ac_prog in sed gsed; do
   3754     for ac_exec_ext in '' $ac_executable_extensions; do
   3755       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3756         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3757       fi
   3758     done
   3759   done
   3760 done
   3761 IFS=$as_save_IFS
   3762 lt_ac_max=0
   3763 lt_ac_count=0
   3764 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3765 # along with /bin/sed that truncates output.
   3766 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3767   test ! -f $lt_ac_sed && continue
   3768   cat /dev/null > conftest.in
   3769   lt_ac_count=0
   3770   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3771   # Check for GNU sed and select it if it is found.
   3772   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3773     lt_cv_path_SED=$lt_ac_sed
   3774     break
   3775   fi
   3776   while true; do
   3777     cat conftest.in conftest.in >conftest.tmp
   3778     mv conftest.tmp conftest.in
   3779     cp conftest.in conftest.nl
   3780     echo >>conftest.nl
   3781     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3782     cmp -s conftest.out conftest.nl || break
   3783     # 10000 chars as input seems more than enough
   3784     test $lt_ac_count -gt 10 && break
   3785     lt_ac_count=`expr $lt_ac_count + 1`
   3786     if test $lt_ac_count -gt $lt_ac_max; then
   3787       lt_ac_max=$lt_ac_count
   3788       lt_cv_path_SED=$lt_ac_sed
   3789     fi
   3790   done
   3791 done
   3792 
   3793 fi
   3794 
   3795 SED=$lt_cv_path_SED
   3796 
   3797 { echo "$as_me:$LINENO: result: $SED" >&5
   3798 echo "${ECHO_T}$SED" >&6; }
   3799 
   3800 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3801 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3802 if test "${ac_cv_path_GREP+set}" = set; then
   3803   echo $ECHO_N "(cached) $ECHO_C" >&6
   3804 else
   3805   # Extract the first word of "grep ggrep" to use in msg output
   3806 if test -z "$GREP"; then
   3807 set dummy grep ggrep; ac_prog_name=$2
   3808 if test "${ac_cv_path_GREP+set}" = set; then
   3809   echo $ECHO_N "(cached) $ECHO_C" >&6
   3810 else
   3811   ac_path_GREP_found=false
   3812 # Loop through the user's path and test for each of PROGNAME-LIST
   3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3814 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3815 do
   3816   IFS=$as_save_IFS
   3817   test -z "$as_dir" && as_dir=.
   3818   for ac_prog in grep ggrep; do
   3819   for ac_exec_ext in '' $ac_executable_extensions; do
   3820     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3821     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3822     # Check for GNU ac_path_GREP and select it if it is found.
   3823   # Check for GNU $ac_path_GREP
   3824 case `"$ac_path_GREP" --version 2>&1` in
   3825 *GNU*)
   3826   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3827 *)
   3828   ac_count=0
   3829   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3830   while :
   3831   do
   3832     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3833     mv "conftest.tmp" "conftest.in"
   3834     cp "conftest.in" "conftest.nl"
   3835     echo 'GREP' >> "conftest.nl"
   3836     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3837     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3838     ac_count=`expr $ac_count + 1`
   3839     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3840       # Best one so far, save it but keep looking for a better one
   3841       ac_cv_path_GREP="$ac_path_GREP"
   3842       ac_path_GREP_max=$ac_count
   3843     fi
   3844     # 10*(2^10) chars as input seems more than enough
   3845     test $ac_count -gt 10 && break
   3846   done
   3847   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3848 esac
   3849 
   3850 
   3851     $ac_path_GREP_found && break 3
   3852   done
   3853 done
   3854 
   3855 done
   3856 IFS=$as_save_IFS
   3857 
   3858 
   3859 fi
   3860 
   3861 GREP="$ac_cv_path_GREP"
   3862 if test -z "$GREP"; then
   3863   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3864 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3865    { (exit 1); exit 1; }; }
   3866 fi
   3867 
   3868 else
   3869   ac_cv_path_GREP=$GREP
   3870 fi
   3871 
   3872 
   3873 fi
   3874 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3875 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3876  GREP="$ac_cv_path_GREP"
   3877 
   3878 
   3879 { echo "$as_me:$LINENO: checking for egrep" >&5
   3880 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3881 if test "${ac_cv_path_EGREP+set}" = set; then
   3882   echo $ECHO_N "(cached) $ECHO_C" >&6
   3883 else
   3884   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3885    then ac_cv_path_EGREP="$GREP -E"
   3886    else
   3887      # Extract the first word of "egrep" to use in msg output
   3888 if test -z "$EGREP"; then
   3889 set dummy egrep; ac_prog_name=$2
   3890 if test "${ac_cv_path_EGREP+set}" = set; then
   3891   echo $ECHO_N "(cached) $ECHO_C" >&6
   3892 else
   3893   ac_path_EGREP_found=false
   3894 # Loop through the user's path and test for each of PROGNAME-LIST
   3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3896 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3897 do
   3898   IFS=$as_save_IFS
   3899   test -z "$as_dir" && as_dir=.
   3900   for ac_prog in egrep; do
   3901   for ac_exec_ext in '' $ac_executable_extensions; do
   3902     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3903     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3904     # Check for GNU ac_path_EGREP and select it if it is found.
   3905   # Check for GNU $ac_path_EGREP
   3906 case `"$ac_path_EGREP" --version 2>&1` in
   3907 *GNU*)
   3908   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3909 *)
   3910   ac_count=0
   3911   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3912   while :
   3913   do
   3914     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3915     mv "conftest.tmp" "conftest.in"
   3916     cp "conftest.in" "conftest.nl"
   3917     echo 'EGREP' >> "conftest.nl"
   3918     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3919     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3920     ac_count=`expr $ac_count + 1`
   3921     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3922       # Best one so far, save it but keep looking for a better one
   3923       ac_cv_path_EGREP="$ac_path_EGREP"
   3924       ac_path_EGREP_max=$ac_count
   3925     fi
   3926     # 10*(2^10) chars as input seems more than enough
   3927     test $ac_count -gt 10 && break
   3928   done
   3929   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3930 esac
   3931 
   3932 
   3933     $ac_path_EGREP_found && break 3
   3934   done
   3935 done
   3936 
   3937 done
   3938 IFS=$as_save_IFS
   3939 
   3940 
   3941 fi
   3942 
   3943 EGREP="$ac_cv_path_EGREP"
   3944 if test -z "$EGREP"; then
   3945   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3946 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3947    { (exit 1); exit 1; }; }
   3948 fi
   3949 
   3950 else
   3951   ac_cv_path_EGREP=$EGREP
   3952 fi
   3953 
   3954 
   3955    fi
   3956 fi
   3957 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3958 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3959  EGREP="$ac_cv_path_EGREP"
   3960 
   3961 
   3962 
   3963 # Check whether --with-gnu-ld was given.
   3964 if test "${with_gnu_ld+set}" = set; then
   3965   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3966 else
   3967   with_gnu_ld=no
   3968 fi
   3969 
   3970 ac_prog=ld
   3971 if test "$GCC" = yes; then
   3972   # Check if gcc -print-prog-name=ld gives a path.
   3973   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3974 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3975   case $host in
   3976   *-*-mingw*)
   3977     # gcc leaves a trailing carriage return which upsets mingw
   3978     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3979   *)
   3980     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3981   esac
   3982   case $ac_prog in
   3983     # Accept absolute paths.
   3984     [\\/]* | ?:[\\/]*)
   3985       re_direlt='/[^/][^/]*/\.\./'
   3986       # Canonicalize the pathname of ld
   3987       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3988       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3989 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3990       done
   3991       test -z "$LD" && LD="$ac_prog"
   3992       ;;
   3993   "")
   3994     # If it fails, then pretend we aren't using GCC.
   3995     ac_prog=ld
   3996     ;;
   3997   *)
   3998     # If it is relative, then search for the first ld in PATH.
   3999     with_gnu_ld=unknown
   4000     ;;
   4001   esac
   4002 elif test "$with_gnu_ld" = yes; then
   4003   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4004 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4005 else
   4006   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4007 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4008 fi
   4009 if test "${lt_cv_path_LD+set}" = set; then
   4010   echo $ECHO_N "(cached) $ECHO_C" >&6
   4011 else
   4012   if test -z "$LD"; then
   4013   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4014   for ac_dir in $PATH; do
   4015     IFS="$lt_save_ifs"
   4016     test -z "$ac_dir" && ac_dir=.
   4017     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4018       lt_cv_path_LD="$ac_dir/$ac_prog"
   4019       # Check to see if the program is GNU ld.  I'd rather use --version,
   4020       # but apparently some variants of GNU ld only accept -v.
   4021       # Break only if it was the GNU/non-GNU ld that we prefer.
   4022       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4023       *GNU* | *'with BFD'*)
   4024 	test "$with_gnu_ld" != no && break
   4025 	;;
   4026       *)
   4027 	test "$with_gnu_ld" != yes && break
   4028 	;;
   4029       esac
   4030     fi
   4031   done
   4032   IFS="$lt_save_ifs"
   4033 else
   4034   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4035 fi
   4036 fi
   4037 
   4038 LD="$lt_cv_path_LD"
   4039 if test -n "$LD"; then
   4040   { echo "$as_me:$LINENO: result: $LD" >&5
   4041 echo "${ECHO_T}$LD" >&6; }
   4042 else
   4043   { echo "$as_me:$LINENO: result: no" >&5
   4044 echo "${ECHO_T}no" >&6; }
   4045 fi
   4046 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4047 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4048    { (exit 1); exit 1; }; }
   4049 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4050 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4051 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4052   echo $ECHO_N "(cached) $ECHO_C" >&6
   4053 else
   4054   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4055 case `$LD -v 2>&1 </dev/null` in
   4056 *GNU* | *'with BFD'*)
   4057   lt_cv_prog_gnu_ld=yes
   4058   ;;
   4059 *)
   4060   lt_cv_prog_gnu_ld=no
   4061   ;;
   4062 esac
   4063 fi
   4064 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4065 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4066 with_gnu_ld=$lt_cv_prog_gnu_ld
   4067 
   4068 
   4069 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4070 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4071 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4072   echo $ECHO_N "(cached) $ECHO_C" >&6
   4073 else
   4074   lt_cv_ld_reload_flag='-r'
   4075 fi
   4076 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4077 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4078 reload_flag=$lt_cv_ld_reload_flag
   4079 case $reload_flag in
   4080 "" | " "*) ;;
   4081 *) reload_flag=" $reload_flag" ;;
   4082 esac
   4083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4084 case $host_os in
   4085   darwin*)
   4086     if test "$GCC" = yes; then
   4087       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4088     else
   4089       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4090     fi
   4091     ;;
   4092 esac
   4093 
   4094 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4095 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4096 if test "${lt_cv_path_NM+set}" = set; then
   4097   echo $ECHO_N "(cached) $ECHO_C" >&6
   4098 else
   4099   if test -n "$NM"; then
   4100   # Let the user override the test.
   4101   lt_cv_path_NM="$NM"
   4102 else
   4103   lt_nm_to_check="${ac_tool_prefix}nm"
   4104   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4105     lt_nm_to_check="$lt_nm_to_check nm"
   4106   fi
   4107   for lt_tmp_nm in $lt_nm_to_check; do
   4108     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4109     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4110       IFS="$lt_save_ifs"
   4111       test -z "$ac_dir" && ac_dir=.
   4112       tmp_nm="$ac_dir/$lt_tmp_nm"
   4113       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4114 	# Check to see if the nm accepts a BSD-compat flag.
   4115 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4116 	#   nm: unknown option "B" ignored
   4117 	# Tru64's nm complains that /dev/null is an invalid object file
   4118 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4119 	*/dev/null* | *'Invalid file or object type'*)
   4120 	  lt_cv_path_NM="$tmp_nm -B"
   4121 	  break
   4122 	  ;;
   4123 	*)
   4124 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4125 	  */dev/null*)
   4126 	    lt_cv_path_NM="$tmp_nm -p"
   4127 	    break
   4128 	    ;;
   4129 	  *)
   4130 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4131 	    continue # so that we can try to find one that supports BSD flags
   4132 	    ;;
   4133 	  esac
   4134 	  ;;
   4135 	esac
   4136       fi
   4137     done
   4138     IFS="$lt_save_ifs"
   4139   done
   4140   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4141 fi
   4142 fi
   4143 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4144 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4145 NM="$lt_cv_path_NM"
   4146 
   4147 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4149 LN_S=$as_ln_s
   4150 if test "$LN_S" = "ln -s"; then
   4151   { echo "$as_me:$LINENO: result: yes" >&5
   4152 echo "${ECHO_T}yes" >&6; }
   4153 else
   4154   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4155 echo "${ECHO_T}no, using $LN_S" >&6; }
   4156 fi
   4157 
   4158 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4159 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4160 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4161   echo $ECHO_N "(cached) $ECHO_C" >&6
   4162 else
   4163   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4164 lt_cv_file_magic_test_file=
   4165 lt_cv_deplibs_check_method='unknown'
   4166 # Need to set the preceding variable on all platforms that support
   4167 # interlibrary dependencies.
   4168 # 'none' -- dependencies not supported.
   4169 # `unknown' -- same as none, but documents that we really don't know.
   4170 # 'pass_all' -- all dependencies passed with no checks.
   4171 # 'test_compile' -- check by making test program.
   4172 # 'file_magic [[regex]]' -- check by looking for files in library path
   4173 # which responds to the $file_magic_cmd with a given extended regex.
   4174 # If you have `file' or equivalent on your system and you're not sure
   4175 # whether `pass_all' will *always* work, you probably want this one.
   4176 
   4177 case $host_os in
   4178 aix[4-9]*)
   4179   lt_cv_deplibs_check_method=pass_all
   4180   ;;
   4181 
   4182 beos*)
   4183   lt_cv_deplibs_check_method=pass_all
   4184   ;;
   4185 
   4186 bsdi[45]*)
   4187   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4188   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4189   lt_cv_file_magic_test_file=/shlib/libc.so
   4190   ;;
   4191 
   4192 cygwin*)
   4193   # func_win32_libid is a shell function defined in ltmain.sh
   4194   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4195   lt_cv_file_magic_cmd='func_win32_libid'
   4196   ;;
   4197 
   4198 mingw* | pw32*)
   4199   # Base MSYS/MinGW do not provide the 'file' command needed by
   4200   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4201   # unless we find 'file', for example because we are cross-compiling.
   4202   if ( file / ) >/dev/null 2>&1; then
   4203     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4204     lt_cv_file_magic_cmd='func_win32_libid'
   4205   else
   4206     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4207     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4208   fi
   4209   ;;
   4210 
   4211 darwin* | rhapsody*)
   4212   lt_cv_deplibs_check_method=pass_all
   4213   ;;
   4214 
   4215 freebsd* | dragonfly*)
   4216   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4217     case $host_cpu in
   4218     i*86 )
   4219       # Not sure whether the presence of OpenBSD here was a mistake.
   4220       # Let's accept both of them until this is cleared up.
   4221       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4222       lt_cv_file_magic_cmd=/usr/bin/file
   4223       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4224       ;;
   4225     esac
   4226   else
   4227     lt_cv_deplibs_check_method=pass_all
   4228   fi
   4229   ;;
   4230 
   4231 gnu*)
   4232   lt_cv_deplibs_check_method=pass_all
   4233   ;;
   4234 
   4235 hpux10.20* | hpux11*)
   4236   lt_cv_file_magic_cmd=/usr/bin/file
   4237   case $host_cpu in
   4238   ia64*)
   4239     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4240     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4241     ;;
   4242   hppa*64*)
   4243     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]'
   4244     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4245     ;;
   4246   *)
   4247     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4248     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4249     ;;
   4250   esac
   4251   ;;
   4252 
   4253 interix[3-9]*)
   4254   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4255   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4256   ;;
   4257 
   4258 irix5* | irix6* | nonstopux*)
   4259   case $LD in
   4260   *-32|*"-32 ") libmagic=32-bit;;
   4261   *-n32|*"-n32 ") libmagic=N32;;
   4262   *-64|*"-64 ") libmagic=64-bit;;
   4263   *) libmagic=never-match;;
   4264   esac
   4265   lt_cv_deplibs_check_method=pass_all
   4266   ;;
   4267 
   4268 # This must be Linux ELF.
   4269 linux* | k*bsd*-gnu)
   4270   lt_cv_deplibs_check_method=pass_all
   4271   ;;
   4272 
   4273 netbsd*)
   4274   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4275     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4276   else
   4277     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4278   fi
   4279   ;;
   4280 
   4281 newos6*)
   4282   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4283   lt_cv_file_magic_cmd=/usr/bin/file
   4284   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4285   ;;
   4286 
   4287 nto-qnx*)
   4288   lt_cv_deplibs_check_method=unknown
   4289   ;;
   4290 
   4291 openbsd*)
   4292   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4293     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4294   else
   4295     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4296   fi
   4297   ;;
   4298 
   4299 osf3* | osf4* | osf5*)
   4300   lt_cv_deplibs_check_method=pass_all
   4301   ;;
   4302 
   4303 rdos*)
   4304   lt_cv_deplibs_check_method=pass_all
   4305   ;;
   4306 
   4307 solaris*)
   4308   lt_cv_deplibs_check_method=pass_all
   4309   ;;
   4310 
   4311 sysv4 | sysv4.3*)
   4312   case $host_vendor in
   4313   motorola)
   4314     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]'
   4315     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4316     ;;
   4317   ncr)
   4318     lt_cv_deplibs_check_method=pass_all
   4319     ;;
   4320   sequent)
   4321     lt_cv_file_magic_cmd='/bin/file'
   4322     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4323     ;;
   4324   sni)
   4325     lt_cv_file_magic_cmd='/bin/file'
   4326     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4327     lt_cv_file_magic_test_file=/lib/libc.so
   4328     ;;
   4329   siemens)
   4330     lt_cv_deplibs_check_method=pass_all
   4331     ;;
   4332   pc)
   4333     lt_cv_deplibs_check_method=pass_all
   4334     ;;
   4335   esac
   4336   ;;
   4337 
   4338 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4339   lt_cv_deplibs_check_method=pass_all
   4340   ;;
   4341 esac
   4342 
   4343 fi
   4344 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4345 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4346 file_magic_cmd=$lt_cv_file_magic_cmd
   4347 deplibs_check_method=$lt_cv_deplibs_check_method
   4348 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4349 
   4350 
   4351 
   4352 
   4353 # If no C compiler was specified, use CC.
   4354 LTCC=${LTCC-"$CC"}
   4355 
   4356 # If no C compiler flags were specified, use CFLAGS.
   4357 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4358 
   4359 # Allow CC to be a program name with arguments.
   4360 compiler=$CC
   4361 
   4362 
   4363 # Check whether --enable-libtool-lock was given.
   4364 if test "${enable_libtool_lock+set}" = set; then
   4365   enableval=$enable_libtool_lock;
   4366 fi
   4367 
   4368 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4369 
   4370 # Some flags need to be propagated to the compiler or linker for good
   4371 # libtool support.
   4372 case $host in
   4373 ia64-*-hpux*)
   4374   # Find out which ABI we are using.
   4375   echo 'int i;' > conftest.$ac_ext
   4376   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4377   (eval $ac_compile) 2>&5
   4378   ac_status=$?
   4379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4380   (exit $ac_status); }; then
   4381     case `/usr/bin/file conftest.$ac_objext` in
   4382     *ELF-32*)
   4383       HPUX_IA64_MODE="32"
   4384       ;;
   4385     *ELF-64*)
   4386       HPUX_IA64_MODE="64"
   4387       ;;
   4388     esac
   4389   fi
   4390   rm -rf conftest*
   4391   ;;
   4392 *-*-irix6*)
   4393   # Find out which ABI we are using.
   4394   echo '#line 4394 "configure"' > conftest.$ac_ext
   4395   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4396   (eval $ac_compile) 2>&5
   4397   ac_status=$?
   4398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4399   (exit $ac_status); }; then
   4400    if test "$lt_cv_prog_gnu_ld" = yes; then
   4401     case `/usr/bin/file conftest.$ac_objext` in
   4402     *32-bit*)
   4403       LD="${LD-ld} -melf32bsmip"
   4404       ;;
   4405     *N32*)
   4406       LD="${LD-ld} -melf32bmipn32"
   4407       ;;
   4408     *64-bit*)
   4409       LD="${LD-ld} -melf64bmip"
   4410       ;;
   4411     esac
   4412    else
   4413     case `/usr/bin/file conftest.$ac_objext` in
   4414     *32-bit*)
   4415       LD="${LD-ld} -32"
   4416       ;;
   4417     *N32*)
   4418       LD="${LD-ld} -n32"
   4419       ;;
   4420     *64-bit*)
   4421       LD="${LD-ld} -64"
   4422       ;;
   4423     esac
   4424    fi
   4425   fi
   4426   rm -rf conftest*
   4427   ;;
   4428 
   4429 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4430 s390*-*linux*|sparc*-*linux*)
   4431   # Find out which ABI we are using.
   4432   echo 'int i;' > conftest.$ac_ext
   4433   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4434   (eval $ac_compile) 2>&5
   4435   ac_status=$?
   4436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4437   (exit $ac_status); }; then
   4438     case `/usr/bin/file conftest.o` in
   4439     *32-bit*)
   4440       case $host in
   4441         x86_64-*kfreebsd*-gnu)
   4442           LD="${LD-ld} -m elf_i386_fbsd"
   4443           ;;
   4444         x86_64-*linux*)
   4445           LD="${LD-ld} -m elf_i386"
   4446           ;;
   4447         ppc64-*linux*|powerpc64-*linux*)
   4448           LD="${LD-ld} -m elf32ppclinux"
   4449           ;;
   4450         s390x-*linux*)
   4451           LD="${LD-ld} -m elf_s390"
   4452           ;;
   4453         sparc64-*linux*)
   4454           LD="${LD-ld} -m elf32_sparc"
   4455           ;;
   4456       esac
   4457       ;;
   4458     *64-bit*)
   4459       case $host in
   4460         x86_64-*kfreebsd*-gnu)
   4461           LD="${LD-ld} -m elf_x86_64_fbsd"
   4462           ;;
   4463         x86_64-*linux*)
   4464           LD="${LD-ld} -m elf_x86_64"
   4465           ;;
   4466         ppc*-*linux*|powerpc*-*linux*)
   4467           LD="${LD-ld} -m elf64ppc"
   4468           ;;
   4469         s390*-*linux*)
   4470           LD="${LD-ld} -m elf64_s390"
   4471           ;;
   4472         sparc*-*linux*)
   4473           LD="${LD-ld} -m elf64_sparc"
   4474           ;;
   4475       esac
   4476       ;;
   4477     esac
   4478   fi
   4479   rm -rf conftest*
   4480   ;;
   4481 
   4482 *-*-sco3.2v5*)
   4483   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4484   SAVE_CFLAGS="$CFLAGS"
   4485   CFLAGS="$CFLAGS -belf"
   4486   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4487 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4488 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4489   echo $ECHO_N "(cached) $ECHO_C" >&6
   4490 else
   4491   ac_ext=c
   4492 ac_cpp='$CPP $CPPFLAGS'
   4493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4496 
   4497      cat >conftest.$ac_ext <<_ACEOF
   4498 /* confdefs.h.  */
   4499 _ACEOF
   4500 cat confdefs.h >>conftest.$ac_ext
   4501 cat >>conftest.$ac_ext <<_ACEOF
   4502 /* end confdefs.h.  */
   4503 
   4504 int
   4505 main ()
   4506 {
   4507 
   4508   ;
   4509   return 0;
   4510 }
   4511 _ACEOF
   4512 rm -f conftest.$ac_objext conftest$ac_exeext
   4513 if { (ac_try="$ac_link"
   4514 case "(($ac_try" in
   4515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4516   *) ac_try_echo=$ac_try;;
   4517 esac
   4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4519   (eval "$ac_link") 2>conftest.er1
   4520   ac_status=$?
   4521   grep -v '^ *+' conftest.er1 >conftest.err
   4522   rm -f conftest.er1
   4523   cat conftest.err >&5
   4524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4525   (exit $ac_status); } && {
   4526 	 test -z "$ac_c_werror_flag" ||
   4527 	 test ! -s conftest.err
   4528        } && test -s conftest$ac_exeext &&
   4529        $as_test_x conftest$ac_exeext; then
   4530   lt_cv_cc_needs_belf=yes
   4531 else
   4532   echo "$as_me: failed program was:" >&5
   4533 sed 's/^/| /' conftest.$ac_ext >&5
   4534 
   4535 	lt_cv_cc_needs_belf=no
   4536 fi
   4537 
   4538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4539       conftest$ac_exeext conftest.$ac_ext
   4540      ac_ext=c
   4541 ac_cpp='$CPP $CPPFLAGS'
   4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4545 
   4546 fi
   4547 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4548 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4549   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4550     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4551     CFLAGS="$SAVE_CFLAGS"
   4552   fi
   4553   ;;
   4554 sparc*-*solaris*)
   4555   # Find out which ABI we are using.
   4556   echo 'int i;' > conftest.$ac_ext
   4557   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4558   (eval $ac_compile) 2>&5
   4559   ac_status=$?
   4560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4561   (exit $ac_status); }; then
   4562     case `/usr/bin/file conftest.o` in
   4563     *64-bit*)
   4564       case $lt_cv_prog_gnu_ld in
   4565       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4566       *)
   4567         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4568 	  LD="${LD-ld} -64"
   4569 	fi
   4570 	;;
   4571       esac
   4572       ;;
   4573     esac
   4574   fi
   4575   rm -rf conftest*
   4576   ;;
   4577 
   4578 
   4579 esac
   4580 
   4581 need_locks="$enable_libtool_lock"
   4582 
   4583 
   4584 ac_ext=c
   4585 ac_cpp='$CPP $CPPFLAGS'
   4586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4589 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4590 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4591 # On Suns, sometimes $CPP names a directory.
   4592 if test -n "$CPP" && test -d "$CPP"; then
   4593   CPP=
   4594 fi
   4595 if test -z "$CPP"; then
   4596   if test "${ac_cv_prog_CPP+set}" = set; then
   4597   echo $ECHO_N "(cached) $ECHO_C" >&6
   4598 else
   4599       # Double quotes because CPP needs to be expanded
   4600     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4601     do
   4602       ac_preproc_ok=false
   4603 for ac_c_preproc_warn_flag in '' yes
   4604 do
   4605   # Use a header file that comes with gcc, so configuring glibc
   4606   # with a fresh cross-compiler works.
   4607   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4608   # <limits.h> exists even on freestanding compilers.
   4609   # On the NeXT, cc -E runs the code through the compiler's parser,
   4610   # not just through cpp. "Syntax error" is here to catch this case.
   4611   cat >conftest.$ac_ext <<_ACEOF
   4612 /* confdefs.h.  */
   4613 _ACEOF
   4614 cat confdefs.h >>conftest.$ac_ext
   4615 cat >>conftest.$ac_ext <<_ACEOF
   4616 /* end confdefs.h.  */
   4617 #ifdef __STDC__
   4618 # include <limits.h>
   4619 #else
   4620 # include <assert.h>
   4621 #endif
   4622 		     Syntax error
   4623 _ACEOF
   4624 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4625 case "(($ac_try" in
   4626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4627   *) ac_try_echo=$ac_try;;
   4628 esac
   4629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4630   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4631   ac_status=$?
   4632   grep -v '^ *+' conftest.er1 >conftest.err
   4633   rm -f conftest.er1
   4634   cat conftest.err >&5
   4635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4636   (exit $ac_status); } >/dev/null && {
   4637 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4638 	 test ! -s conftest.err
   4639        }; then
   4640   :
   4641 else
   4642   echo "$as_me: failed program was:" >&5
   4643 sed 's/^/| /' conftest.$ac_ext >&5
   4644 
   4645   # Broken: fails on valid input.
   4646 continue
   4647 fi
   4648 
   4649 rm -f conftest.err conftest.$ac_ext
   4650 
   4651   # OK, works on sane cases.  Now check whether nonexistent headers
   4652   # can be detected and how.
   4653   cat >conftest.$ac_ext <<_ACEOF
   4654 /* confdefs.h.  */
   4655 _ACEOF
   4656 cat confdefs.h >>conftest.$ac_ext
   4657 cat >>conftest.$ac_ext <<_ACEOF
   4658 /* end confdefs.h.  */
   4659 #include <ac_nonexistent.h>
   4660 _ACEOF
   4661 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4662 case "(($ac_try" in
   4663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4664   *) ac_try_echo=$ac_try;;
   4665 esac
   4666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4667   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4668   ac_status=$?
   4669   grep -v '^ *+' conftest.er1 >conftest.err
   4670   rm -f conftest.er1
   4671   cat conftest.err >&5
   4672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4673   (exit $ac_status); } >/dev/null && {
   4674 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4675 	 test ! -s conftest.err
   4676        }; then
   4677   # Broken: success on invalid input.
   4678 continue
   4679 else
   4680   echo "$as_me: failed program was:" >&5
   4681 sed 's/^/| /' conftest.$ac_ext >&5
   4682 
   4683   # Passes both tests.
   4684 ac_preproc_ok=:
   4685 break
   4686 fi
   4687 
   4688 rm -f conftest.err conftest.$ac_ext
   4689 
   4690 done
   4691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4692 rm -f conftest.err conftest.$ac_ext
   4693 if $ac_preproc_ok; then
   4694   break
   4695 fi
   4696 
   4697     done
   4698     ac_cv_prog_CPP=$CPP
   4699 
   4700 fi
   4701   CPP=$ac_cv_prog_CPP
   4702 else
   4703   ac_cv_prog_CPP=$CPP
   4704 fi
   4705 { echo "$as_me:$LINENO: result: $CPP" >&5
   4706 echo "${ECHO_T}$CPP" >&6; }
   4707 ac_preproc_ok=false
   4708 for ac_c_preproc_warn_flag in '' yes
   4709 do
   4710   # Use a header file that comes with gcc, so configuring glibc
   4711   # with a fresh cross-compiler works.
   4712   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4713   # <limits.h> exists even on freestanding compilers.
   4714   # On the NeXT, cc -E runs the code through the compiler's parser,
   4715   # not just through cpp. "Syntax error" is here to catch this case.
   4716   cat >conftest.$ac_ext <<_ACEOF
   4717 /* confdefs.h.  */
   4718 _ACEOF
   4719 cat confdefs.h >>conftest.$ac_ext
   4720 cat >>conftest.$ac_ext <<_ACEOF
   4721 /* end confdefs.h.  */
   4722 #ifdef __STDC__
   4723 # include <limits.h>
   4724 #else
   4725 # include <assert.h>
   4726 #endif
   4727 		     Syntax error
   4728 _ACEOF
   4729 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4730 case "(($ac_try" in
   4731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4732   *) ac_try_echo=$ac_try;;
   4733 esac
   4734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4735   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4736   ac_status=$?
   4737   grep -v '^ *+' conftest.er1 >conftest.err
   4738   rm -f conftest.er1
   4739   cat conftest.err >&5
   4740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4741   (exit $ac_status); } >/dev/null && {
   4742 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4743 	 test ! -s conftest.err
   4744        }; then
   4745   :
   4746 else
   4747   echo "$as_me: failed program was:" >&5
   4748 sed 's/^/| /' conftest.$ac_ext >&5
   4749 
   4750   # Broken: fails on valid input.
   4751 continue
   4752 fi
   4753 
   4754 rm -f conftest.err conftest.$ac_ext
   4755 
   4756   # OK, works on sane cases.  Now check whether nonexistent headers
   4757   # can be detected and how.
   4758   cat >conftest.$ac_ext <<_ACEOF
   4759 /* confdefs.h.  */
   4760 _ACEOF
   4761 cat confdefs.h >>conftest.$ac_ext
   4762 cat >>conftest.$ac_ext <<_ACEOF
   4763 /* end confdefs.h.  */
   4764 #include <ac_nonexistent.h>
   4765 _ACEOF
   4766 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4767 case "(($ac_try" in
   4768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4769   *) ac_try_echo=$ac_try;;
   4770 esac
   4771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4772   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4773   ac_status=$?
   4774   grep -v '^ *+' conftest.er1 >conftest.err
   4775   rm -f conftest.er1
   4776   cat conftest.err >&5
   4777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4778   (exit $ac_status); } >/dev/null && {
   4779 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4780 	 test ! -s conftest.err
   4781        }; then
   4782   # Broken: success on invalid input.
   4783 continue
   4784 else
   4785   echo "$as_me: failed program was:" >&5
   4786 sed 's/^/| /' conftest.$ac_ext >&5
   4787 
   4788   # Passes both tests.
   4789 ac_preproc_ok=:
   4790 break
   4791 fi
   4792 
   4793 rm -f conftest.err conftest.$ac_ext
   4794 
   4795 done
   4796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4797 rm -f conftest.err conftest.$ac_ext
   4798 if $ac_preproc_ok; then
   4799   :
   4800 else
   4801   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4802 See \`config.log' for more details." >&5
   4803 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4804 See \`config.log' for more details." >&2;}
   4805    { (exit 1); exit 1; }; }
   4806 fi
   4807 
   4808 ac_ext=c
   4809 ac_cpp='$CPP $CPPFLAGS'
   4810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4813 
   4814 
   4815 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4816 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4817 if test "${ac_cv_header_stdc+set}" = set; then
   4818   echo $ECHO_N "(cached) $ECHO_C" >&6
   4819 else
   4820   cat >conftest.$ac_ext <<_ACEOF
   4821 /* confdefs.h.  */
   4822 _ACEOF
   4823 cat confdefs.h >>conftest.$ac_ext
   4824 cat >>conftest.$ac_ext <<_ACEOF
   4825 /* end confdefs.h.  */
   4826 #include <stdlib.h>
   4827 #include <stdarg.h>
   4828 #include <string.h>
   4829 #include <float.h>
   4830 
   4831 int
   4832 main ()
   4833 {
   4834 
   4835   ;
   4836   return 0;
   4837 }
   4838 _ACEOF
   4839 rm -f conftest.$ac_objext
   4840 if { (ac_try="$ac_compile"
   4841 case "(($ac_try" in
   4842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4843   *) ac_try_echo=$ac_try;;
   4844 esac
   4845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4846   (eval "$ac_compile") 2>conftest.er1
   4847   ac_status=$?
   4848   grep -v '^ *+' conftest.er1 >conftest.err
   4849   rm -f conftest.er1
   4850   cat conftest.err >&5
   4851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4852   (exit $ac_status); } && {
   4853 	 test -z "$ac_c_werror_flag" ||
   4854 	 test ! -s conftest.err
   4855        } && test -s conftest.$ac_objext; then
   4856   ac_cv_header_stdc=yes
   4857 else
   4858   echo "$as_me: failed program was:" >&5
   4859 sed 's/^/| /' conftest.$ac_ext >&5
   4860 
   4861 	ac_cv_header_stdc=no
   4862 fi
   4863 
   4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4865 
   4866 if test $ac_cv_header_stdc = yes; then
   4867   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4868   cat >conftest.$ac_ext <<_ACEOF
   4869 /* confdefs.h.  */
   4870 _ACEOF
   4871 cat confdefs.h >>conftest.$ac_ext
   4872 cat >>conftest.$ac_ext <<_ACEOF
   4873 /* end confdefs.h.  */
   4874 #include <string.h>
   4875 
   4876 _ACEOF
   4877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4878   $EGREP "memchr" >/dev/null 2>&1; then
   4879   :
   4880 else
   4881   ac_cv_header_stdc=no
   4882 fi
   4883 rm -f conftest*
   4884 
   4885 fi
   4886 
   4887 if test $ac_cv_header_stdc = yes; then
   4888   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4889   cat >conftest.$ac_ext <<_ACEOF
   4890 /* confdefs.h.  */
   4891 _ACEOF
   4892 cat confdefs.h >>conftest.$ac_ext
   4893 cat >>conftest.$ac_ext <<_ACEOF
   4894 /* end confdefs.h.  */
   4895 #include <stdlib.h>
   4896 
   4897 _ACEOF
   4898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4899   $EGREP "free" >/dev/null 2>&1; then
   4900   :
   4901 else
   4902   ac_cv_header_stdc=no
   4903 fi
   4904 rm -f conftest*
   4905 
   4906 fi
   4907 
   4908 if test $ac_cv_header_stdc = yes; then
   4909   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4910   if test "$cross_compiling" = yes; then
   4911   :
   4912 else
   4913   cat >conftest.$ac_ext <<_ACEOF
   4914 /* confdefs.h.  */
   4915 _ACEOF
   4916 cat confdefs.h >>conftest.$ac_ext
   4917 cat >>conftest.$ac_ext <<_ACEOF
   4918 /* end confdefs.h.  */
   4919 #include <ctype.h>
   4920 #include <stdlib.h>
   4921 #if ((' ' & 0x0FF) == 0x020)
   4922 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4923 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4924 #else
   4925 # define ISLOWER(c) \
   4926 		   (('a' <= (c) && (c) <= 'i') \
   4927 		     || ('j' <= (c) && (c) <= 'r') \
   4928 		     || ('s' <= (c) && (c) <= 'z'))
   4929 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4930 #endif
   4931 
   4932 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4933 int
   4934 main ()
   4935 {
   4936   int i;
   4937   for (i = 0; i < 256; i++)
   4938     if (XOR (islower (i), ISLOWER (i))
   4939 	|| toupper (i) != TOUPPER (i))
   4940       return 2;
   4941   return 0;
   4942 }
   4943 _ACEOF
   4944 rm -f conftest$ac_exeext
   4945 if { (ac_try="$ac_link"
   4946 case "(($ac_try" in
   4947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4948   *) ac_try_echo=$ac_try;;
   4949 esac
   4950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4951   (eval "$ac_link") 2>&5
   4952   ac_status=$?
   4953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4954   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4955   { (case "(($ac_try" in
   4956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4957   *) ac_try_echo=$ac_try;;
   4958 esac
   4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4960   (eval "$ac_try") 2>&5
   4961   ac_status=$?
   4962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4963   (exit $ac_status); }; }; then
   4964   :
   4965 else
   4966   echo "$as_me: program exited with status $ac_status" >&5
   4967 echo "$as_me: failed program was:" >&5
   4968 sed 's/^/| /' conftest.$ac_ext >&5
   4969 
   4970 ( exit $ac_status )
   4971 ac_cv_header_stdc=no
   4972 fi
   4973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4974 fi
   4975 
   4976 
   4977 fi
   4978 fi
   4979 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4980 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4981 if test $ac_cv_header_stdc = yes; then
   4982 
   4983 cat >>confdefs.h <<\_ACEOF
   4984 #define STDC_HEADERS 1
   4985 _ACEOF
   4986 
   4987 fi
   4988 
   4989 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5000 		  inttypes.h stdint.h unistd.h
   5001 do
   5002 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5003 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5006   echo $ECHO_N "(cached) $ECHO_C" >&6
   5007 else
   5008   cat >conftest.$ac_ext <<_ACEOF
   5009 /* confdefs.h.  */
   5010 _ACEOF
   5011 cat confdefs.h >>conftest.$ac_ext
   5012 cat >>conftest.$ac_ext <<_ACEOF
   5013 /* end confdefs.h.  */
   5014 $ac_includes_default
   5015 
   5016 #include <$ac_header>
   5017 _ACEOF
   5018 rm -f conftest.$ac_objext
   5019 if { (ac_try="$ac_compile"
   5020 case "(($ac_try" in
   5021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5022   *) ac_try_echo=$ac_try;;
   5023 esac
   5024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5025   (eval "$ac_compile") 2>conftest.er1
   5026   ac_status=$?
   5027   grep -v '^ *+' conftest.er1 >conftest.err
   5028   rm -f conftest.er1
   5029   cat conftest.err >&5
   5030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5031   (exit $ac_status); } && {
   5032 	 test -z "$ac_c_werror_flag" ||
   5033 	 test ! -s conftest.err
   5034        } && test -s conftest.$ac_objext; then
   5035   eval "$as_ac_Header=yes"
   5036 else
   5037   echo "$as_me: failed program was:" >&5
   5038 sed 's/^/| /' conftest.$ac_ext >&5
   5039 
   5040 	eval "$as_ac_Header=no"
   5041 fi
   5042 
   5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5044 fi
   5045 ac_res=`eval echo '${'$as_ac_Header'}'`
   5046 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5047 echo "${ECHO_T}$ac_res" >&6; }
   5048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5049   cat >>confdefs.h <<_ACEOF
   5050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5051 _ACEOF
   5052 
   5053 fi
   5054 
   5055 done
   5056 
   5057 
   5058 
   5059 for ac_header in dlfcn.h
   5060 do
   5061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5063   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5065 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5066   echo $ECHO_N "(cached) $ECHO_C" >&6
   5067 fi
   5068 ac_res=`eval echo '${'$as_ac_Header'}'`
   5069 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5070 echo "${ECHO_T}$ac_res" >&6; }
   5071 else
   5072   # Is the header compilable?
   5073 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5075 cat >conftest.$ac_ext <<_ACEOF
   5076 /* confdefs.h.  */
   5077 _ACEOF
   5078 cat confdefs.h >>conftest.$ac_ext
   5079 cat >>conftest.$ac_ext <<_ACEOF
   5080 /* end confdefs.h.  */
   5081 $ac_includes_default
   5082 #include <$ac_header>
   5083 _ACEOF
   5084 rm -f conftest.$ac_objext
   5085 if { (ac_try="$ac_compile"
   5086 case "(($ac_try" in
   5087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5088   *) ac_try_echo=$ac_try;;
   5089 esac
   5090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5091   (eval "$ac_compile") 2>conftest.er1
   5092   ac_status=$?
   5093   grep -v '^ *+' conftest.er1 >conftest.err
   5094   rm -f conftest.er1
   5095   cat conftest.err >&5
   5096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5097   (exit $ac_status); } && {
   5098 	 test -z "$ac_c_werror_flag" ||
   5099 	 test ! -s conftest.err
   5100        } && test -s conftest.$ac_objext; then
   5101   ac_header_compiler=yes
   5102 else
   5103   echo "$as_me: failed program was:" >&5
   5104 sed 's/^/| /' conftest.$ac_ext >&5
   5105 
   5106 	ac_header_compiler=no
   5107 fi
   5108 
   5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5110 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5111 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5112 
   5113 # Is the header present?
   5114 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5116 cat >conftest.$ac_ext <<_ACEOF
   5117 /* confdefs.h.  */
   5118 _ACEOF
   5119 cat confdefs.h >>conftest.$ac_ext
   5120 cat >>conftest.$ac_ext <<_ACEOF
   5121 /* end confdefs.h.  */
   5122 #include <$ac_header>
   5123 _ACEOF
   5124 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5125 case "(($ac_try" in
   5126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5127   *) ac_try_echo=$ac_try;;
   5128 esac
   5129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5130   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5131   ac_status=$?
   5132   grep -v '^ *+' conftest.er1 >conftest.err
   5133   rm -f conftest.er1
   5134   cat conftest.err >&5
   5135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5136   (exit $ac_status); } >/dev/null && {
   5137 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5138 	 test ! -s conftest.err
   5139        }; then
   5140   ac_header_preproc=yes
   5141 else
   5142   echo "$as_me: failed program was:" >&5
   5143 sed 's/^/| /' conftest.$ac_ext >&5
   5144 
   5145   ac_header_preproc=no
   5146 fi
   5147 
   5148 rm -f conftest.err conftest.$ac_ext
   5149 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5150 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5151 
   5152 # So?  What about this header?
   5153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5154   yes:no: )
   5155     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5156 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5157     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5158 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5159     ac_header_preproc=yes
   5160     ;;
   5161   no:yes:* )
   5162     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5163 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5164     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5165 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5166     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5167 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5168     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5169 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5170     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5172     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5173 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5174     ( cat <<\_ASBOX
   5175 ## ---------------------------------------------------------------------- ##
   5176 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5177 ## ---------------------------------------------------------------------- ##
   5178 _ASBOX
   5179      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5180     ;;
   5181 esac
   5182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5185   echo $ECHO_N "(cached) $ECHO_C" >&6
   5186 else
   5187   eval "$as_ac_Header=\$ac_header_preproc"
   5188 fi
   5189 ac_res=`eval echo '${'$as_ac_Header'}'`
   5190 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5191 echo "${ECHO_T}$ac_res" >&6; }
   5192 
   5193 fi
   5194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5195   cat >>confdefs.h <<_ACEOF
   5196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5197 _ACEOF
   5198 
   5199 fi
   5200 
   5201 done
   5202 
   5203 ac_ext=cpp
   5204 ac_cpp='$CXXCPP $CPPFLAGS'
   5205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5208 if test -z "$CXX"; then
   5209   if test -n "$CCC"; then
   5210     CXX=$CCC
   5211   else
   5212     if test -n "$ac_tool_prefix"; then
   5213   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5214   do
   5215     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5219 if test "${ac_cv_prog_CXX+set}" = set; then
   5220   echo $ECHO_N "(cached) $ECHO_C" >&6
   5221 else
   5222   if test -n "$CXX"; then
   5223   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5224 else
   5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5226 for as_dir in $PATH
   5227 do
   5228   IFS=$as_save_IFS
   5229   test -z "$as_dir" && as_dir=.
   5230   for ac_exec_ext in '' $ac_executable_extensions; do
   5231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5232     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5233     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5234     break 2
   5235   fi
   5236 done
   5237 done
   5238 IFS=$as_save_IFS
   5239 
   5240 fi
   5241 fi
   5242 CXX=$ac_cv_prog_CXX
   5243 if test -n "$CXX"; then
   5244   { echo "$as_me:$LINENO: result: $CXX" >&5
   5245 echo "${ECHO_T}$CXX" >&6; }
   5246 else
   5247   { echo "$as_me:$LINENO: result: no" >&5
   5248 echo "${ECHO_T}no" >&6; }
   5249 fi
   5250 
   5251 
   5252     test -n "$CXX" && break
   5253   done
   5254 fi
   5255 if test -z "$CXX"; then
   5256   ac_ct_CXX=$CXX
   5257   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5258 do
   5259   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5260 set dummy $ac_prog; ac_word=$2
   5261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5264   echo $ECHO_N "(cached) $ECHO_C" >&6
   5265 else
   5266   if test -n "$ac_ct_CXX"; then
   5267   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5268 else
   5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5270 for as_dir in $PATH
   5271 do
   5272   IFS=$as_save_IFS
   5273   test -z "$as_dir" && as_dir=.
   5274   for ac_exec_ext in '' $ac_executable_extensions; do
   5275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5276     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5278     break 2
   5279   fi
   5280 done
   5281 done
   5282 IFS=$as_save_IFS
   5283 
   5284 fi
   5285 fi
   5286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5287 if test -n "$ac_ct_CXX"; then
   5288   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5289 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5290 else
   5291   { echo "$as_me:$LINENO: result: no" >&5
   5292 echo "${ECHO_T}no" >&6; }
   5293 fi
   5294 
   5295 
   5296   test -n "$ac_ct_CXX" && break
   5297 done
   5298 
   5299   if test "x$ac_ct_CXX" = x; then
   5300     CXX="g++"
   5301   else
   5302     case $cross_compiling:$ac_tool_warned in
   5303 yes:)
   5304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5305 whose name does not start with the host triplet.  If you think this
   5306 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5308 whose name does not start with the host triplet.  If you think this
   5309 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5310 ac_tool_warned=yes ;;
   5311 esac
   5312     CXX=$ac_ct_CXX
   5313   fi
   5314 fi
   5315 
   5316   fi
   5317 fi
   5318 # Provide some information about the compiler.
   5319 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5320 ac_compiler=`set X $ac_compile; echo $2`
   5321 { (ac_try="$ac_compiler --version >&5"
   5322 case "(($ac_try" in
   5323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5324   *) ac_try_echo=$ac_try;;
   5325 esac
   5326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5327   (eval "$ac_compiler --version >&5") 2>&5
   5328   ac_status=$?
   5329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5330   (exit $ac_status); }
   5331 { (ac_try="$ac_compiler -v >&5"
   5332 case "(($ac_try" in
   5333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5334   *) ac_try_echo=$ac_try;;
   5335 esac
   5336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5337   (eval "$ac_compiler -v >&5") 2>&5
   5338   ac_status=$?
   5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5340   (exit $ac_status); }
   5341 { (ac_try="$ac_compiler -V >&5"
   5342 case "(($ac_try" in
   5343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5344   *) ac_try_echo=$ac_try;;
   5345 esac
   5346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5347   (eval "$ac_compiler -V >&5") 2>&5
   5348   ac_status=$?
   5349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5350   (exit $ac_status); }
   5351 
   5352 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5353 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5355   echo $ECHO_N "(cached) $ECHO_C" >&6
   5356 else
   5357   cat >conftest.$ac_ext <<_ACEOF
   5358 /* confdefs.h.  */
   5359 _ACEOF
   5360 cat confdefs.h >>conftest.$ac_ext
   5361 cat >>conftest.$ac_ext <<_ACEOF
   5362 /* end confdefs.h.  */
   5363 
   5364 int
   5365 main ()
   5366 {
   5367 #ifndef __GNUC__
   5368        choke me
   5369 #endif
   5370 
   5371   ;
   5372   return 0;
   5373 }
   5374 _ACEOF
   5375 rm -f conftest.$ac_objext
   5376 if { (ac_try="$ac_compile"
   5377 case "(($ac_try" in
   5378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5379   *) ac_try_echo=$ac_try;;
   5380 esac
   5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5382   (eval "$ac_compile") 2>conftest.er1
   5383   ac_status=$?
   5384   grep -v '^ *+' conftest.er1 >conftest.err
   5385   rm -f conftest.er1
   5386   cat conftest.err >&5
   5387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5388   (exit $ac_status); } && {
   5389 	 test -z "$ac_cxx_werror_flag" ||
   5390 	 test ! -s conftest.err
   5391        } && test -s conftest.$ac_objext; then
   5392   ac_compiler_gnu=yes
   5393 else
   5394   echo "$as_me: failed program was:" >&5
   5395 sed 's/^/| /' conftest.$ac_ext >&5
   5396 
   5397 	ac_compiler_gnu=no
   5398 fi
   5399 
   5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5401 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5402 
   5403 fi
   5404 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5405 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5406 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5407 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5408 ac_save_CXXFLAGS=$CXXFLAGS
   5409 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5410 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5411 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5412   echo $ECHO_N "(cached) $ECHO_C" >&6
   5413 else
   5414   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5415    ac_cxx_werror_flag=yes
   5416    ac_cv_prog_cxx_g=no
   5417    CXXFLAGS="-g"
   5418    cat >conftest.$ac_ext <<_ACEOF
   5419 /* confdefs.h.  */
   5420 _ACEOF
   5421 cat confdefs.h >>conftest.$ac_ext
   5422 cat >>conftest.$ac_ext <<_ACEOF
   5423 /* end confdefs.h.  */
   5424 
   5425 int
   5426 main ()
   5427 {
   5428 
   5429   ;
   5430   return 0;
   5431 }
   5432 _ACEOF
   5433 rm -f conftest.$ac_objext
   5434 if { (ac_try="$ac_compile"
   5435 case "(($ac_try" in
   5436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5437   *) ac_try_echo=$ac_try;;
   5438 esac
   5439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5440   (eval "$ac_compile") 2>conftest.er1
   5441   ac_status=$?
   5442   grep -v '^ *+' conftest.er1 >conftest.err
   5443   rm -f conftest.er1
   5444   cat conftest.err >&5
   5445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5446   (exit $ac_status); } && {
   5447 	 test -z "$ac_cxx_werror_flag" ||
   5448 	 test ! -s conftest.err
   5449        } && test -s conftest.$ac_objext; then
   5450   ac_cv_prog_cxx_g=yes
   5451 else
   5452   echo "$as_me: failed program was:" >&5
   5453 sed 's/^/| /' conftest.$ac_ext >&5
   5454 
   5455 	CXXFLAGS=""
   5456       cat >conftest.$ac_ext <<_ACEOF
   5457 /* confdefs.h.  */
   5458 _ACEOF
   5459 cat confdefs.h >>conftest.$ac_ext
   5460 cat >>conftest.$ac_ext <<_ACEOF
   5461 /* end confdefs.h.  */
   5462 
   5463 int
   5464 main ()
   5465 {
   5466 
   5467   ;
   5468   return 0;
   5469 }
   5470 _ACEOF
   5471 rm -f conftest.$ac_objext
   5472 if { (ac_try="$ac_compile"
   5473 case "(($ac_try" in
   5474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5475   *) ac_try_echo=$ac_try;;
   5476 esac
   5477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5478   (eval "$ac_compile") 2>conftest.er1
   5479   ac_status=$?
   5480   grep -v '^ *+' conftest.er1 >conftest.err
   5481   rm -f conftest.er1
   5482   cat conftest.err >&5
   5483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5484   (exit $ac_status); } && {
   5485 	 test -z "$ac_cxx_werror_flag" ||
   5486 	 test ! -s conftest.err
   5487        } && test -s conftest.$ac_objext; then
   5488   :
   5489 else
   5490   echo "$as_me: failed program was:" >&5
   5491 sed 's/^/| /' conftest.$ac_ext >&5
   5492 
   5493 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5494 	 CXXFLAGS="-g"
   5495 	 cat >conftest.$ac_ext <<_ACEOF
   5496 /* confdefs.h.  */
   5497 _ACEOF
   5498 cat confdefs.h >>conftest.$ac_ext
   5499 cat >>conftest.$ac_ext <<_ACEOF
   5500 /* end confdefs.h.  */
   5501 
   5502 int
   5503 main ()
   5504 {
   5505 
   5506   ;
   5507   return 0;
   5508 }
   5509 _ACEOF
   5510 rm -f conftest.$ac_objext
   5511 if { (ac_try="$ac_compile"
   5512 case "(($ac_try" in
   5513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5514   *) ac_try_echo=$ac_try;;
   5515 esac
   5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5517   (eval "$ac_compile") 2>conftest.er1
   5518   ac_status=$?
   5519   grep -v '^ *+' conftest.er1 >conftest.err
   5520   rm -f conftest.er1
   5521   cat conftest.err >&5
   5522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5523   (exit $ac_status); } && {
   5524 	 test -z "$ac_cxx_werror_flag" ||
   5525 	 test ! -s conftest.err
   5526        } && test -s conftest.$ac_objext; then
   5527   ac_cv_prog_cxx_g=yes
   5528 else
   5529   echo "$as_me: failed program was:" >&5
   5530 sed 's/^/| /' conftest.$ac_ext >&5
   5531 
   5532 
   5533 fi
   5534 
   5535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5536 fi
   5537 
   5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5539 fi
   5540 
   5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5542    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5543 fi
   5544 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5545 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5546 if test "$ac_test_CXXFLAGS" = set; then
   5547   CXXFLAGS=$ac_save_CXXFLAGS
   5548 elif test $ac_cv_prog_cxx_g = yes; then
   5549   if test "$GXX" = yes; then
   5550     CXXFLAGS="-g -O2"
   5551   else
   5552     CXXFLAGS="-g"
   5553   fi
   5554 else
   5555   if test "$GXX" = yes; then
   5556     CXXFLAGS="-O2"
   5557   else
   5558     CXXFLAGS=
   5559   fi
   5560 fi
   5561 ac_ext=cpp
   5562 ac_cpp='$CXXCPP $CPPFLAGS'
   5563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5566 
   5567 depcc="$CXX"  am_compiler_list=
   5568 
   5569 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5570 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5571 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5572   echo $ECHO_N "(cached) $ECHO_C" >&6
   5573 else
   5574   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5575   # We make a subdir and do the tests there.  Otherwise we can end up
   5576   # making bogus files that we don't know about and never remove.  For
   5577   # instance it was reported that on HP-UX the gcc test will end up
   5578   # making a dummy file named `D' -- because `-MD' means `put the output
   5579   # in D'.
   5580   mkdir conftest.dir
   5581   # Copy depcomp to subdir because otherwise we won't find it if we're
   5582   # using a relative directory.
   5583   cp "$am_depcomp" conftest.dir
   5584   cd conftest.dir
   5585   # We will build objects and dependencies in a subdirectory because
   5586   # it helps to detect inapplicable dependency modes.  For instance
   5587   # both Tru64's cc and ICC support -MD to output dependencies as a
   5588   # side effect of compilation, but ICC will put the dependencies in
   5589   # the current directory while Tru64 will put them in the object
   5590   # directory.
   5591   mkdir sub
   5592 
   5593   am_cv_CXX_dependencies_compiler_type=none
   5594   if test "$am_compiler_list" = ""; then
   5595      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5596   fi
   5597   for depmode in $am_compiler_list; do
   5598     # Setup a source with many dependencies, because some compilers
   5599     # like to wrap large dependency lists on column 80 (with \), and
   5600     # we should not choose a depcomp mode which is confused by this.
   5601     #
   5602     # We need to recreate these files for each test, as the compiler may
   5603     # overwrite some of them when testing with obscure command lines.
   5604     # This happens at least with the AIX C compiler.
   5605     : > sub/conftest.c
   5606     for i in 1 2 3 4 5 6; do
   5607       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5608       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5609       # Solaris 8's {/usr,}/bin/sh.
   5610       touch sub/conftst$i.h
   5611     done
   5612     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5613 
   5614     case $depmode in
   5615     nosideeffect)
   5616       # after this tag, mechanisms are not by side-effect, so they'll
   5617       # only be used when explicitly requested
   5618       if test "x$enable_dependency_tracking" = xyes; then
   5619 	continue
   5620       else
   5621 	break
   5622       fi
   5623       ;;
   5624     none) break ;;
   5625     esac
   5626     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5627     # mode.  It turns out that the SunPro C++ compiler does not properly
   5628     # handle `-M -o', and we need to detect this.
   5629     if depmode=$depmode \
   5630        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5631        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5632        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5633          >/dev/null 2>conftest.err &&
   5634        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5635        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5636        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5637        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5638       # icc doesn't choke on unknown options, it will just issue warnings
   5639       # or remarks (even with -Werror).  So we grep stderr for any message
   5640       # that says an option was ignored or not supported.
   5641       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5642       #   icc: Command line warning: ignoring option '-M'; no argument required
   5643       # The diagnosis changed in icc 8.0:
   5644       #   icc: Command line remark: option '-MP' not supported
   5645       if (grep 'ignoring option' conftest.err ||
   5646           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5647         am_cv_CXX_dependencies_compiler_type=$depmode
   5648         break
   5649       fi
   5650     fi
   5651   done
   5652 
   5653   cd ..
   5654   rm -rf conftest.dir
   5655 else
   5656   am_cv_CXX_dependencies_compiler_type=none
   5657 fi
   5658 
   5659 fi
   5660 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5661 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5662 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5663 
   5664  if
   5665   test "x$enable_dependency_tracking" != xno \
   5666   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5667   am__fastdepCXX_TRUE=
   5668   am__fastdepCXX_FALSE='#'
   5669 else
   5670   am__fastdepCXX_TRUE='#'
   5671   am__fastdepCXX_FALSE=
   5672 fi
   5673 
   5674 
   5675 
   5676 
   5677 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5678     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5679     (test "X$CXX" != "Xg++"))) ; then
   5680   ac_ext=cpp
   5681 ac_cpp='$CXXCPP $CPPFLAGS'
   5682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5685 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5686 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5687 if test -z "$CXXCPP"; then
   5688   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5689   echo $ECHO_N "(cached) $ECHO_C" >&6
   5690 else
   5691       # Double quotes because CXXCPP needs to be expanded
   5692     for CXXCPP in "$CXX -E" "/lib/cpp"
   5693     do
   5694       ac_preproc_ok=false
   5695 for ac_cxx_preproc_warn_flag in '' yes
   5696 do
   5697   # Use a header file that comes with gcc, so configuring glibc
   5698   # with a fresh cross-compiler works.
   5699   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5700   # <limits.h> exists even on freestanding compilers.
   5701   # On the NeXT, cc -E runs the code through the compiler's parser,
   5702   # not just through cpp. "Syntax error" is here to catch this case.
   5703   cat >conftest.$ac_ext <<_ACEOF
   5704 /* confdefs.h.  */
   5705 _ACEOF
   5706 cat confdefs.h >>conftest.$ac_ext
   5707 cat >>conftest.$ac_ext <<_ACEOF
   5708 /* end confdefs.h.  */
   5709 #ifdef __STDC__
   5710 # include <limits.h>
   5711 #else
   5712 # include <assert.h>
   5713 #endif
   5714 		     Syntax error
   5715 _ACEOF
   5716 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5717 case "(($ac_try" in
   5718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5719   *) ac_try_echo=$ac_try;;
   5720 esac
   5721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5722   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5723   ac_status=$?
   5724   grep -v '^ *+' conftest.er1 >conftest.err
   5725   rm -f conftest.er1
   5726   cat conftest.err >&5
   5727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5728   (exit $ac_status); } >/dev/null && {
   5729 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5730 	 test ! -s conftest.err
   5731        }; then
   5732   :
   5733 else
   5734   echo "$as_me: failed program was:" >&5
   5735 sed 's/^/| /' conftest.$ac_ext >&5
   5736 
   5737   # Broken: fails on valid input.
   5738 continue
   5739 fi
   5740 
   5741 rm -f conftest.err conftest.$ac_ext
   5742 
   5743   # OK, works on sane cases.  Now check whether nonexistent headers
   5744   # can be detected and how.
   5745   cat >conftest.$ac_ext <<_ACEOF
   5746 /* confdefs.h.  */
   5747 _ACEOF
   5748 cat confdefs.h >>conftest.$ac_ext
   5749 cat >>conftest.$ac_ext <<_ACEOF
   5750 /* end confdefs.h.  */
   5751 #include <ac_nonexistent.h>
   5752 _ACEOF
   5753 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5754 case "(($ac_try" in
   5755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5756   *) ac_try_echo=$ac_try;;
   5757 esac
   5758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5759   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5760   ac_status=$?
   5761   grep -v '^ *+' conftest.er1 >conftest.err
   5762   rm -f conftest.er1
   5763   cat conftest.err >&5
   5764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5765   (exit $ac_status); } >/dev/null && {
   5766 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5767 	 test ! -s conftest.err
   5768        }; then
   5769   # Broken: success on invalid input.
   5770 continue
   5771 else
   5772   echo "$as_me: failed program was:" >&5
   5773 sed 's/^/| /' conftest.$ac_ext >&5
   5774 
   5775   # Passes both tests.
   5776 ac_preproc_ok=:
   5777 break
   5778 fi
   5779 
   5780 rm -f conftest.err conftest.$ac_ext
   5781 
   5782 done
   5783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5784 rm -f conftest.err conftest.$ac_ext
   5785 if $ac_preproc_ok; then
   5786   break
   5787 fi
   5788 
   5789     done
   5790     ac_cv_prog_CXXCPP=$CXXCPP
   5791 
   5792 fi
   5793   CXXCPP=$ac_cv_prog_CXXCPP
   5794 else
   5795   ac_cv_prog_CXXCPP=$CXXCPP
   5796 fi
   5797 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5798 echo "${ECHO_T}$CXXCPP" >&6; }
   5799 ac_preproc_ok=false
   5800 for ac_cxx_preproc_warn_flag in '' yes
   5801 do
   5802   # Use a header file that comes with gcc, so configuring glibc
   5803   # with a fresh cross-compiler works.
   5804   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5805   # <limits.h> exists even on freestanding compilers.
   5806   # On the NeXT, cc -E runs the code through the compiler's parser,
   5807   # not just through cpp. "Syntax error" is here to catch this case.
   5808   cat >conftest.$ac_ext <<_ACEOF
   5809 /* confdefs.h.  */
   5810 _ACEOF
   5811 cat confdefs.h >>conftest.$ac_ext
   5812 cat >>conftest.$ac_ext <<_ACEOF
   5813 /* end confdefs.h.  */
   5814 #ifdef __STDC__
   5815 # include <limits.h>
   5816 #else
   5817 # include <assert.h>
   5818 #endif
   5819 		     Syntax error
   5820 _ACEOF
   5821 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5822 case "(($ac_try" in
   5823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5824   *) ac_try_echo=$ac_try;;
   5825 esac
   5826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5827   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5828   ac_status=$?
   5829   grep -v '^ *+' conftest.er1 >conftest.err
   5830   rm -f conftest.er1
   5831   cat conftest.err >&5
   5832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5833   (exit $ac_status); } >/dev/null && {
   5834 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5835 	 test ! -s conftest.err
   5836        }; then
   5837   :
   5838 else
   5839   echo "$as_me: failed program was:" >&5
   5840 sed 's/^/| /' conftest.$ac_ext >&5
   5841 
   5842   # Broken: fails on valid input.
   5843 continue
   5844 fi
   5845 
   5846 rm -f conftest.err conftest.$ac_ext
   5847 
   5848   # OK, works on sane cases.  Now check whether nonexistent headers
   5849   # can be detected and how.
   5850   cat >conftest.$ac_ext <<_ACEOF
   5851 /* confdefs.h.  */
   5852 _ACEOF
   5853 cat confdefs.h >>conftest.$ac_ext
   5854 cat >>conftest.$ac_ext <<_ACEOF
   5855 /* end confdefs.h.  */
   5856 #include <ac_nonexistent.h>
   5857 _ACEOF
   5858 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5859 case "(($ac_try" in
   5860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5861   *) ac_try_echo=$ac_try;;
   5862 esac
   5863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5864   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5865   ac_status=$?
   5866   grep -v '^ *+' conftest.er1 >conftest.err
   5867   rm -f conftest.er1
   5868   cat conftest.err >&5
   5869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5870   (exit $ac_status); } >/dev/null && {
   5871 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5872 	 test ! -s conftest.err
   5873        }; then
   5874   # Broken: success on invalid input.
   5875 continue
   5876 else
   5877   echo "$as_me: failed program was:" >&5
   5878 sed 's/^/| /' conftest.$ac_ext >&5
   5879 
   5880   # Passes both tests.
   5881 ac_preproc_ok=:
   5882 break
   5883 fi
   5884 
   5885 rm -f conftest.err conftest.$ac_ext
   5886 
   5887 done
   5888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5889 rm -f conftest.err conftest.$ac_ext
   5890 if $ac_preproc_ok; then
   5891   :
   5892 else
   5893   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5894 See \`config.log' for more details." >&5
   5895 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5896 See \`config.log' for more details." >&2;}
   5897    { (exit 1); exit 1; }; }
   5898 fi
   5899 
   5900 ac_ext=cpp
   5901 ac_cpp='$CXXCPP $CPPFLAGS'
   5902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5905 
   5906 fi
   5907 
   5908 
   5909 ac_ext=f
   5910 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5911 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5912 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5913 if test -n "$ac_tool_prefix"; then
   5914   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
   5915   do
   5916     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5917 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5920 if test "${ac_cv_prog_F77+set}" = set; then
   5921   echo $ECHO_N "(cached) $ECHO_C" >&6
   5922 else
   5923   if test -n "$F77"; then
   5924   ac_cv_prog_F77="$F77" # Let the user override the test.
   5925 else
   5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5927 for as_dir in $PATH
   5928 do
   5929   IFS=$as_save_IFS
   5930   test -z "$as_dir" && as_dir=.
   5931   for ac_exec_ext in '' $ac_executable_extensions; do
   5932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5933     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5935     break 2
   5936   fi
   5937 done
   5938 done
   5939 IFS=$as_save_IFS
   5940 
   5941 fi
   5942 fi
   5943 F77=$ac_cv_prog_F77
   5944 if test -n "$F77"; then
   5945   { echo "$as_me:$LINENO: result: $F77" >&5
   5946 echo "${ECHO_T}$F77" >&6; }
   5947 else
   5948   { echo "$as_me:$LINENO: result: no" >&5
   5949 echo "${ECHO_T}no" >&6; }
   5950 fi
   5951 
   5952 
   5953     test -n "$F77" && break
   5954   done
   5955 fi
   5956 if test -z "$F77"; then
   5957   ac_ct_F77=$F77
   5958   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
   5959 do
   5960   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5961 set dummy $ac_prog; ac_word=$2
   5962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5964 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5965   echo $ECHO_N "(cached) $ECHO_C" >&6
   5966 else
   5967   if test -n "$ac_ct_F77"; then
   5968   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5969 else
   5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5971 for as_dir in $PATH
   5972 do
   5973   IFS=$as_save_IFS
   5974   test -z "$as_dir" && as_dir=.
   5975   for ac_exec_ext in '' $ac_executable_extensions; do
   5976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5977     ac_cv_prog_ac_ct_F77="$ac_prog"
   5978     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5979     break 2
   5980   fi
   5981 done
   5982 done
   5983 IFS=$as_save_IFS
   5984 
   5985 fi
   5986 fi
   5987 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5988 if test -n "$ac_ct_F77"; then
   5989   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5990 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5991 else
   5992   { echo "$as_me:$LINENO: result: no" >&5
   5993 echo "${ECHO_T}no" >&6; }
   5994 fi
   5995 
   5996 
   5997   test -n "$ac_ct_F77" && break
   5998 done
   5999 
   6000   if test "x$ac_ct_F77" = x; then
   6001     F77=""
   6002   else
   6003     case $cross_compiling:$ac_tool_warned in
   6004 yes:)
   6005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6006 whose name does not start with the host triplet.  If you think this
   6007 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6009 whose name does not start with the host triplet.  If you think this
   6010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6011 ac_tool_warned=yes ;;
   6012 esac
   6013     F77=$ac_ct_F77
   6014   fi
   6015 fi
   6016 
   6017 
   6018 # Provide some information about the compiler.
   6019 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6020 ac_compiler=`set X $ac_compile; echo $2`
   6021 { (ac_try="$ac_compiler --version >&5"
   6022 case "(($ac_try" in
   6023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6024   *) ac_try_echo=$ac_try;;
   6025 esac
   6026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6027   (eval "$ac_compiler --version >&5") 2>&5
   6028   ac_status=$?
   6029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6030   (exit $ac_status); }
   6031 { (ac_try="$ac_compiler -v >&5"
   6032 case "(($ac_try" in
   6033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6034   *) ac_try_echo=$ac_try;;
   6035 esac
   6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6037   (eval "$ac_compiler -v >&5") 2>&5
   6038   ac_status=$?
   6039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6040   (exit $ac_status); }
   6041 { (ac_try="$ac_compiler -V >&5"
   6042 case "(($ac_try" in
   6043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6044   *) ac_try_echo=$ac_try;;
   6045 esac
   6046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6047   (eval "$ac_compiler -V >&5") 2>&5
   6048   ac_status=$?
   6049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6050   (exit $ac_status); }
   6051 rm -f a.out
   6052 
   6053 # If we don't use `.F' as extension, the preprocessor is not run on the
   6054 # input file.  (Note that this only needs to work for GNU compilers.)
   6055 ac_save_ext=$ac_ext
   6056 ac_ext=F
   6057 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6058 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6059 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6060   echo $ECHO_N "(cached) $ECHO_C" >&6
   6061 else
   6062   cat >conftest.$ac_ext <<_ACEOF
   6063       program main
   6064 #ifndef __GNUC__
   6065        choke me
   6066 #endif
   6067 
   6068       end
   6069 _ACEOF
   6070 rm -f conftest.$ac_objext
   6071 if { (ac_try="$ac_compile"
   6072 case "(($ac_try" in
   6073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6074   *) ac_try_echo=$ac_try;;
   6075 esac
   6076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6077   (eval "$ac_compile") 2>conftest.er1
   6078   ac_status=$?
   6079   grep -v '^ *+' conftest.er1 >conftest.err
   6080   rm -f conftest.er1
   6081   cat conftest.err >&5
   6082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6083   (exit $ac_status); } && {
   6084 	 test -z "$ac_f77_werror_flag" ||
   6085 	 test ! -s conftest.err
   6086        } && test -s conftest.$ac_objext; then
   6087   ac_compiler_gnu=yes
   6088 else
   6089   echo "$as_me: failed program was:" >&5
   6090 sed 's/^/| /' conftest.$ac_ext >&5
   6091 
   6092 	ac_compiler_gnu=no
   6093 fi
   6094 
   6095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6096 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6097 
   6098 fi
   6099 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6100 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6101 ac_ext=$ac_save_ext
   6102 ac_test_FFLAGS=${FFLAGS+set}
   6103 ac_save_FFLAGS=$FFLAGS
   6104 FFLAGS=
   6105 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6106 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6107 if test "${ac_cv_prog_f77_g+set}" = set; then
   6108   echo $ECHO_N "(cached) $ECHO_C" >&6
   6109 else
   6110   FFLAGS=-g
   6111 cat >conftest.$ac_ext <<_ACEOF
   6112       program main
   6113 
   6114       end
   6115 _ACEOF
   6116 rm -f conftest.$ac_objext
   6117 if { (ac_try="$ac_compile"
   6118 case "(($ac_try" in
   6119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6120   *) ac_try_echo=$ac_try;;
   6121 esac
   6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6123   (eval "$ac_compile") 2>conftest.er1
   6124   ac_status=$?
   6125   grep -v '^ *+' conftest.er1 >conftest.err
   6126   rm -f conftest.er1
   6127   cat conftest.err >&5
   6128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6129   (exit $ac_status); } && {
   6130 	 test -z "$ac_f77_werror_flag" ||
   6131 	 test ! -s conftest.err
   6132        } && test -s conftest.$ac_objext; then
   6133   ac_cv_prog_f77_g=yes
   6134 else
   6135   echo "$as_me: failed program was:" >&5
   6136 sed 's/^/| /' conftest.$ac_ext >&5
   6137 
   6138 	ac_cv_prog_f77_g=no
   6139 fi
   6140 
   6141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6142 
   6143 fi
   6144 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6145 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6146 if test "$ac_test_FFLAGS" = set; then
   6147   FFLAGS=$ac_save_FFLAGS
   6148 elif test $ac_cv_prog_f77_g = yes; then
   6149   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6150     FFLAGS="-g -O2"
   6151   else
   6152     FFLAGS="-g"
   6153   fi
   6154 else
   6155   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6156     FFLAGS="-O2"
   6157   else
   6158     FFLAGS=
   6159   fi
   6160 fi
   6161 
   6162 G77=`test $ac_compiler_gnu = yes && echo yes`
   6163 ac_ext=c
   6164 ac_cpp='$CPP $CPPFLAGS'
   6165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6168 
   6169 
   6170 
   6171 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6172 # find the maximum length of command line arguments
   6173 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6174 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6175 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6176   echo $ECHO_N "(cached) $ECHO_C" >&6
   6177 else
   6178     i=0
   6179   teststring="ABCD"
   6180 
   6181   case $build_os in
   6182   msdosdjgpp*)
   6183     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6184     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6185     # during glob expansion).  Even if it were fixed, the result of this
   6186     # check would be larger than it should be.
   6187     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6188     ;;
   6189 
   6190   gnu*)
   6191     # Under GNU Hurd, this test is not required because there is
   6192     # no limit to the length of command line arguments.
   6193     # Libtool will interpret -1 as no limit whatsoever
   6194     lt_cv_sys_max_cmd_len=-1;
   6195     ;;
   6196 
   6197   cygwin* | mingw*)
   6198     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6199     # about 5 minutes as the teststring grows exponentially.
   6200     # Worse, since 9x/ME are not pre-emptively multitasking,
   6201     # you end up with a "frozen" computer, even though with patience
   6202     # the test eventually succeeds (with a max line length of 256k).
   6203     # Instead, let's just punt: use the minimum linelength reported by
   6204     # all of the supported platforms: 8192 (on NT/2K/XP).
   6205     lt_cv_sys_max_cmd_len=8192;
   6206     ;;
   6207 
   6208   amigaos*)
   6209     # On AmigaOS with pdksh, this test takes hours, literally.
   6210     # So we just punt and use a minimum line length of 8192.
   6211     lt_cv_sys_max_cmd_len=8192;
   6212     ;;
   6213 
   6214   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6215     # This has been around since 386BSD, at least.  Likely further.
   6216     if test -x /sbin/sysctl; then
   6217       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6218     elif test -x /usr/sbin/sysctl; then
   6219       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6220     else
   6221       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6222     fi
   6223     # And add a safety zone
   6224     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6225     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6226     ;;
   6227 
   6228   interix*)
   6229     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6230     lt_cv_sys_max_cmd_len=196608
   6231     ;;
   6232 
   6233   osf*)
   6234     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6235     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6236     # nice to cause kernel panics so lets avoid the loop below.
   6237     # First set a reasonable default.
   6238     lt_cv_sys_max_cmd_len=16384
   6239     #
   6240     if test -x /sbin/sysconfig; then
   6241       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6242         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6243       esac
   6244     fi
   6245     ;;
   6246   sco3.2v5*)
   6247     lt_cv_sys_max_cmd_len=102400
   6248     ;;
   6249   sysv5* | sco5v6* | sysv4.2uw2*)
   6250     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6251     if test -n "$kargmax"; then
   6252       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6253     else
   6254       lt_cv_sys_max_cmd_len=32768
   6255     fi
   6256     ;;
   6257   *)
   6258     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6259     if test -n "$lt_cv_sys_max_cmd_len"; then
   6260       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6261       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6262     else
   6263       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6264       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6265 	       = "XX$teststring") >/dev/null 2>&1 &&
   6266 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6267 	      lt_cv_sys_max_cmd_len=$new_result &&
   6268 	      test $i != 17 # 1/2 MB should be enough
   6269       do
   6270         i=`expr $i + 1`
   6271         teststring=$teststring$teststring
   6272       done
   6273       teststring=
   6274       # Add a significant safety factor because C++ compilers can tack on massive
   6275       # amounts of additional arguments before passing them to the linker.
   6276       # It appears as though 1/2 is a usable value.
   6277       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6278     fi
   6279     ;;
   6280   esac
   6281 
   6282 fi
   6283 
   6284 if test -n $lt_cv_sys_max_cmd_len ; then
   6285   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6286 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6287 else
   6288   { echo "$as_me:$LINENO: result: none" >&5
   6289 echo "${ECHO_T}none" >&6; }
   6290 fi
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6297 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6298 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6299 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6300   echo $ECHO_N "(cached) $ECHO_C" >&6
   6301 else
   6302 
   6303 # These are sane defaults that work on at least a few old systems.
   6304 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6305 
   6306 # Character class describing NM global symbol codes.
   6307 symcode='[BCDEGRST]'
   6308 
   6309 # Regexp to match symbols that can be accessed directly from C.
   6310 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6311 
   6312 # Transform an extracted symbol line into a proper C declaration
   6313 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6314 
   6315 # Transform an extracted symbol line into symbol name and symbol address
   6316 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'"
   6317 
   6318 # Define system-specific variables.
   6319 case $host_os in
   6320 aix*)
   6321   symcode='[BCDT]'
   6322   ;;
   6323 cygwin* | mingw* | pw32*)
   6324   symcode='[ABCDGISTW]'
   6325   ;;
   6326 hpux*) # Its linker distinguishes data from code symbols
   6327   if test "$host_cpu" = ia64; then
   6328     symcode='[ABCDEGRST]'
   6329   fi
   6330   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6331   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'"
   6332   ;;
   6333 linux* | k*bsd*-gnu)
   6334   if test "$host_cpu" = ia64; then
   6335     symcode='[ABCDGIRSTW]'
   6336     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6337     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'"
   6338   fi
   6339   ;;
   6340 irix* | nonstopux*)
   6341   symcode='[BCDEGRST]'
   6342   ;;
   6343 osf*)
   6344   symcode='[BCDEGQRST]'
   6345   ;;
   6346 solaris*)
   6347   symcode='[BDRT]'
   6348   ;;
   6349 sco3.2v5*)
   6350   symcode='[DT]'
   6351   ;;
   6352 sysv4.2uw2*)
   6353   symcode='[DT]'
   6354   ;;
   6355 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6356   symcode='[ABDT]'
   6357   ;;
   6358 sysv4)
   6359   symcode='[DFNSTU]'
   6360   ;;
   6361 esac
   6362 
   6363 # Handle CRLF in mingw tool chain
   6364 opt_cr=
   6365 case $build_os in
   6366 mingw*)
   6367   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6368   ;;
   6369 esac
   6370 
   6371 # If we're using GNU nm, then use its standard symbol codes.
   6372 case `$NM -V 2>&1` in
   6373 *GNU* | *'with BFD'*)
   6374   symcode='[ABCDGIRSTW]' ;;
   6375 esac
   6376 
   6377 # Try without a prefix undercore, then with it.
   6378 for ac_symprfx in "" "_"; do
   6379 
   6380   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6381   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6382 
   6383   # Write the raw and C identifiers.
   6384   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6385 
   6386   # Check to see that the pipe works correctly.
   6387   pipe_works=no
   6388 
   6389   rm -f conftest*
   6390   cat > conftest.$ac_ext <<EOF
   6391 #ifdef __cplusplus
   6392 extern "C" {
   6393 #endif
   6394 char nm_test_var;
   6395 void nm_test_func(){}
   6396 #ifdef __cplusplus
   6397 }
   6398 #endif
   6399 int main(){nm_test_var='a';nm_test_func();return(0);}
   6400 EOF
   6401 
   6402   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6403   (eval $ac_compile) 2>&5
   6404   ac_status=$?
   6405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6406   (exit $ac_status); }; then
   6407     # Now try to grab the symbols.
   6408     nlist=conftest.nm
   6409     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6410   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6411   ac_status=$?
   6412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6413   (exit $ac_status); } && test -s "$nlist"; then
   6414       # Try sorting and uniquifying the output.
   6415       if sort "$nlist" | uniq > "$nlist"T; then
   6416 	mv -f "$nlist"T "$nlist"
   6417       else
   6418 	rm -f "$nlist"T
   6419       fi
   6420 
   6421       # Make sure that we snagged all the symbols we need.
   6422       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6423 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6424 	  cat <<EOF > conftest.$ac_ext
   6425 #ifdef __cplusplus
   6426 extern "C" {
   6427 #endif
   6428 
   6429 EOF
   6430 	  # Now generate the symbol file.
   6431 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6432 
   6433 	  cat <<EOF >> conftest.$ac_ext
   6434 #if defined (__STDC__) && __STDC__
   6435 # define lt_ptr_t void *
   6436 #else
   6437 # define lt_ptr_t char *
   6438 # define const
   6439 #endif
   6440 
   6441 /* The mapping between symbol names and symbols. */
   6442 const struct {
   6443   const char *name;
   6444   lt_ptr_t address;
   6445 }
   6446 lt_preloaded_symbols[] =
   6447 {
   6448 EOF
   6449 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6450 	  cat <<\EOF >> conftest.$ac_ext
   6451   {0, (lt_ptr_t) 0}
   6452 };
   6453 
   6454 #ifdef __cplusplus
   6455 }
   6456 #endif
   6457 EOF
   6458 	  # Now try linking the two files.
   6459 	  mv conftest.$ac_objext conftstm.$ac_objext
   6460 	  lt_save_LIBS="$LIBS"
   6461 	  lt_save_CFLAGS="$CFLAGS"
   6462 	  LIBS="conftstm.$ac_objext"
   6463 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6464 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6465   (eval $ac_link) 2>&5
   6466   ac_status=$?
   6467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6468   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6469 	    pipe_works=yes
   6470 	  fi
   6471 	  LIBS="$lt_save_LIBS"
   6472 	  CFLAGS="$lt_save_CFLAGS"
   6473 	else
   6474 	  echo "cannot find nm_test_func in $nlist" >&5
   6475 	fi
   6476       else
   6477 	echo "cannot find nm_test_var in $nlist" >&5
   6478       fi
   6479     else
   6480       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6481     fi
   6482   else
   6483     echo "$progname: failed program was:" >&5
   6484     cat conftest.$ac_ext >&5
   6485   fi
   6486   rm -rf conftest* conftst*
   6487 
   6488   # Do not use the global_symbol_pipe unless it works.
   6489   if test "$pipe_works" = yes; then
   6490     break
   6491   else
   6492     lt_cv_sys_global_symbol_pipe=
   6493   fi
   6494 done
   6495 
   6496 fi
   6497 
   6498 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6499   lt_cv_sys_global_symbol_to_cdecl=
   6500 fi
   6501 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6502   { echo "$as_me:$LINENO: result: failed" >&5
   6503 echo "${ECHO_T}failed" >&6; }
   6504 else
   6505   { echo "$as_me:$LINENO: result: ok" >&5
   6506 echo "${ECHO_T}ok" >&6; }
   6507 fi
   6508 
   6509 { echo "$as_me:$LINENO: checking for objdir" >&5
   6510 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6511 if test "${lt_cv_objdir+set}" = set; then
   6512   echo $ECHO_N "(cached) $ECHO_C" >&6
   6513 else
   6514   rm -f .libs 2>/dev/null
   6515 mkdir .libs 2>/dev/null
   6516 if test -d .libs; then
   6517   lt_cv_objdir=.libs
   6518 else
   6519   # MS-DOS does not allow filenames that begin with a dot.
   6520   lt_cv_objdir=_libs
   6521 fi
   6522 rmdir .libs 2>/dev/null
   6523 fi
   6524 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6525 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6526 objdir=$lt_cv_objdir
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 case $host_os in
   6533 aix3*)
   6534   # AIX sometimes has problems with the GCC collect2 program.  For some
   6535   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6536   # vanish in a puff of smoke.
   6537   if test "X${COLLECT_NAMES+set}" != Xset; then
   6538     COLLECT_NAMES=
   6539     export COLLECT_NAMES
   6540   fi
   6541   ;;
   6542 esac
   6543 
   6544 # Sed substitution that helps us do robust quoting.  It backslashifies
   6545 # metacharacters that are still active within double-quoted strings.
   6546 Xsed='sed -e 1s/^X//'
   6547 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6548 
   6549 # Same as above, but do not quote variable references.
   6550 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6551 
   6552 # Sed substitution to delay expansion of an escaped shell variable in a
   6553 # double_quote_subst'ed string.
   6554 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6555 
   6556 # Sed substitution to avoid accidental globbing in evaled expressions
   6557 no_glob_subst='s/\*/\\\*/g'
   6558 
   6559 # Constants:
   6560 rm="rm -f"
   6561 
   6562 # Global variables:
   6563 default_ofile=libtool
   6564 can_build_shared=yes
   6565 
   6566 # All known linkers require a `.a' archive for static linking (except MSVC,
   6567 # which needs '.lib').
   6568 libext=a
   6569 ltmain="$ac_aux_dir/ltmain.sh"
   6570 ofile="$default_ofile"
   6571 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6572 
   6573 if test -n "$ac_tool_prefix"; then
   6574   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6575 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6578 if test "${ac_cv_prog_AR+set}" = set; then
   6579   echo $ECHO_N "(cached) $ECHO_C" >&6
   6580 else
   6581   if test -n "$AR"; then
   6582   ac_cv_prog_AR="$AR" # Let the user override the test.
   6583 else
   6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6585 for as_dir in $PATH
   6586 do
   6587   IFS=$as_save_IFS
   6588   test -z "$as_dir" && as_dir=.
   6589   for ac_exec_ext in '' $ac_executable_extensions; do
   6590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6591     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6592     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6593     break 2
   6594   fi
   6595 done
   6596 done
   6597 IFS=$as_save_IFS
   6598 
   6599 fi
   6600 fi
   6601 AR=$ac_cv_prog_AR
   6602 if test -n "$AR"; then
   6603   { echo "$as_me:$LINENO: result: $AR" >&5
   6604 echo "${ECHO_T}$AR" >&6; }
   6605 else
   6606   { echo "$as_me:$LINENO: result: no" >&5
   6607 echo "${ECHO_T}no" >&6; }
   6608 fi
   6609 
   6610 
   6611 fi
   6612 if test -z "$ac_cv_prog_AR"; then
   6613   ac_ct_AR=$AR
   6614   # Extract the first word of "ar", so it can be a program name with args.
   6615 set dummy ar; ac_word=$2
   6616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6618 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6619   echo $ECHO_N "(cached) $ECHO_C" >&6
   6620 else
   6621   if test -n "$ac_ct_AR"; then
   6622   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6623 else
   6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6625 for as_dir in $PATH
   6626 do
   6627   IFS=$as_save_IFS
   6628   test -z "$as_dir" && as_dir=.
   6629   for ac_exec_ext in '' $ac_executable_extensions; do
   6630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6631     ac_cv_prog_ac_ct_AR="ar"
   6632     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6633     break 2
   6634   fi
   6635 done
   6636 done
   6637 IFS=$as_save_IFS
   6638 
   6639 fi
   6640 fi
   6641 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6642 if test -n "$ac_ct_AR"; then
   6643   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6644 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6645 else
   6646   { echo "$as_me:$LINENO: result: no" >&5
   6647 echo "${ECHO_T}no" >&6; }
   6648 fi
   6649 
   6650   if test "x$ac_ct_AR" = x; then
   6651     AR="false"
   6652   else
   6653     case $cross_compiling:$ac_tool_warned in
   6654 yes:)
   6655 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6656 whose name does not start with the host triplet.  If you think this
   6657 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6658 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6659 whose name does not start with the host triplet.  If you think this
   6660 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6661 ac_tool_warned=yes ;;
   6662 esac
   6663     AR=$ac_ct_AR
   6664   fi
   6665 else
   6666   AR="$ac_cv_prog_AR"
   6667 fi
   6668 
   6669 if test -n "$ac_tool_prefix"; then
   6670   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6671 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6674 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6675   echo $ECHO_N "(cached) $ECHO_C" >&6
   6676 else
   6677   if test -n "$RANLIB"; then
   6678   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6679 else
   6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6681 for as_dir in $PATH
   6682 do
   6683   IFS=$as_save_IFS
   6684   test -z "$as_dir" && as_dir=.
   6685   for ac_exec_ext in '' $ac_executable_extensions; do
   6686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6687     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6688     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6689     break 2
   6690   fi
   6691 done
   6692 done
   6693 IFS=$as_save_IFS
   6694 
   6695 fi
   6696 fi
   6697 RANLIB=$ac_cv_prog_RANLIB
   6698 if test -n "$RANLIB"; then
   6699   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6700 echo "${ECHO_T}$RANLIB" >&6; }
   6701 else
   6702   { echo "$as_me:$LINENO: result: no" >&5
   6703 echo "${ECHO_T}no" >&6; }
   6704 fi
   6705 
   6706 
   6707 fi
   6708 if test -z "$ac_cv_prog_RANLIB"; then
   6709   ac_ct_RANLIB=$RANLIB
   6710   # Extract the first word of "ranlib", so it can be a program name with args.
   6711 set dummy ranlib; ac_word=$2
   6712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6714 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6715   echo $ECHO_N "(cached) $ECHO_C" >&6
   6716 else
   6717   if test -n "$ac_ct_RANLIB"; then
   6718   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6719 else
   6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6721 for as_dir in $PATH
   6722 do
   6723   IFS=$as_save_IFS
   6724   test -z "$as_dir" && as_dir=.
   6725   for ac_exec_ext in '' $ac_executable_extensions; do
   6726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6727     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6728     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6729     break 2
   6730   fi
   6731 done
   6732 done
   6733 IFS=$as_save_IFS
   6734 
   6735 fi
   6736 fi
   6737 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6738 if test -n "$ac_ct_RANLIB"; then
   6739   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6740 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6741 else
   6742   { echo "$as_me:$LINENO: result: no" >&5
   6743 echo "${ECHO_T}no" >&6; }
   6744 fi
   6745 
   6746   if test "x$ac_ct_RANLIB" = x; then
   6747     RANLIB=":"
   6748   else
   6749     case $cross_compiling:$ac_tool_warned in
   6750 yes:)
   6751 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6752 whose name does not start with the host triplet.  If you think this
   6753 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6754 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6755 whose name does not start with the host triplet.  If you think this
   6756 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6757 ac_tool_warned=yes ;;
   6758 esac
   6759     RANLIB=$ac_ct_RANLIB
   6760   fi
   6761 else
   6762   RANLIB="$ac_cv_prog_RANLIB"
   6763 fi
   6764 
   6765 if test -n "$ac_tool_prefix"; then
   6766   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6767 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6770 if test "${ac_cv_prog_STRIP+set}" = set; then
   6771   echo $ECHO_N "(cached) $ECHO_C" >&6
   6772 else
   6773   if test -n "$STRIP"; then
   6774   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6775 else
   6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6777 for as_dir in $PATH
   6778 do
   6779   IFS=$as_save_IFS
   6780   test -z "$as_dir" && as_dir=.
   6781   for ac_exec_ext in '' $ac_executable_extensions; do
   6782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6783     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6784     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6785     break 2
   6786   fi
   6787 done
   6788 done
   6789 IFS=$as_save_IFS
   6790 
   6791 fi
   6792 fi
   6793 STRIP=$ac_cv_prog_STRIP
   6794 if test -n "$STRIP"; then
   6795   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6796 echo "${ECHO_T}$STRIP" >&6; }
   6797 else
   6798   { echo "$as_me:$LINENO: result: no" >&5
   6799 echo "${ECHO_T}no" >&6; }
   6800 fi
   6801 
   6802 
   6803 fi
   6804 if test -z "$ac_cv_prog_STRIP"; then
   6805   ac_ct_STRIP=$STRIP
   6806   # Extract the first word of "strip", so it can be a program name with args.
   6807 set dummy strip; ac_word=$2
   6808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6810 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6811   echo $ECHO_N "(cached) $ECHO_C" >&6
   6812 else
   6813   if test -n "$ac_ct_STRIP"; then
   6814   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6815 else
   6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6817 for as_dir in $PATH
   6818 do
   6819   IFS=$as_save_IFS
   6820   test -z "$as_dir" && as_dir=.
   6821   for ac_exec_ext in '' $ac_executable_extensions; do
   6822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6823     ac_cv_prog_ac_ct_STRIP="strip"
   6824     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6825     break 2
   6826   fi
   6827 done
   6828 done
   6829 IFS=$as_save_IFS
   6830 
   6831 fi
   6832 fi
   6833 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6834 if test -n "$ac_ct_STRIP"; then
   6835   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6836 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6837 else
   6838   { echo "$as_me:$LINENO: result: no" >&5
   6839 echo "${ECHO_T}no" >&6; }
   6840 fi
   6841 
   6842   if test "x$ac_ct_STRIP" = x; then
   6843     STRIP=":"
   6844   else
   6845     case $cross_compiling:$ac_tool_warned in
   6846 yes:)
   6847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6848 whose name does not start with the host triplet.  If you think this
   6849 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6851 whose name does not start with the host triplet.  If you think this
   6852 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6853 ac_tool_warned=yes ;;
   6854 esac
   6855     STRIP=$ac_ct_STRIP
   6856   fi
   6857 else
   6858   STRIP="$ac_cv_prog_STRIP"
   6859 fi
   6860 
   6861 
   6862 old_CC="$CC"
   6863 old_CFLAGS="$CFLAGS"
   6864 
   6865 # Set sane defaults for various variables
   6866 test -z "$AR" && AR=ar
   6867 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6868 test -z "$AS" && AS=as
   6869 test -z "$CC" && CC=cc
   6870 test -z "$LTCC" && LTCC=$CC
   6871 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6872 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6873 test -z "$LD" && LD=ld
   6874 test -z "$LN_S" && LN_S="ln -s"
   6875 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6876 test -z "$NM" && NM=nm
   6877 test -z "$SED" && SED=sed
   6878 test -z "$OBJDUMP" && OBJDUMP=objdump
   6879 test -z "$RANLIB" && RANLIB=:
   6880 test -z "$STRIP" && STRIP=:
   6881 test -z "$ac_objext" && ac_objext=o
   6882 
   6883 # Determine commands to create old-style static archives.
   6884 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6885 old_postinstall_cmds='chmod 644 $oldlib'
   6886 old_postuninstall_cmds=
   6887 
   6888 if test -n "$RANLIB"; then
   6889   case $host_os in
   6890   openbsd*)
   6891     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6892     ;;
   6893   *)
   6894     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6895     ;;
   6896   esac
   6897   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6898 fi
   6899 
   6900 for cc_temp in $compiler""; do
   6901   case $cc_temp in
   6902     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6903     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6904     \-*) ;;
   6905     *) break;;
   6906   esac
   6907 done
   6908 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6909 
   6910 
   6911 # Only perform the check for file, if the check method requires it
   6912 case $deplibs_check_method in
   6913 file_magic*)
   6914   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6915     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6916 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6917 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6918   echo $ECHO_N "(cached) $ECHO_C" >&6
   6919 else
   6920   case $MAGIC_CMD in
   6921 [\\/*] |  ?:[\\/]*)
   6922   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6923   ;;
   6924 *)
   6925   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6926   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6927   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6928   for ac_dir in $ac_dummy; do
   6929     IFS="$lt_save_ifs"
   6930     test -z "$ac_dir" && ac_dir=.
   6931     if test -f $ac_dir/${ac_tool_prefix}file; then
   6932       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6933       if test -n "$file_magic_test_file"; then
   6934 	case $deplibs_check_method in
   6935 	"file_magic "*)
   6936 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6937 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6938 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6939 	    $EGREP "$file_magic_regex" > /dev/null; then
   6940 	    :
   6941 	  else
   6942 	    cat <<EOF 1>&2
   6943 
   6944 *** Warning: the command libtool uses to detect shared libraries,
   6945 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6946 *** The result is that libtool may fail to recognize shared libraries
   6947 *** as such.  This will affect the creation of libtool libraries that
   6948 *** depend on shared libraries, but programs linked with such libtool
   6949 *** libraries will work regardless of this problem.  Nevertheless, you
   6950 *** may want to report the problem to your system manager and/or to
   6951 *** bug-libtool@gnu.org
   6952 
   6953 EOF
   6954 	  fi ;;
   6955 	esac
   6956       fi
   6957       break
   6958     fi
   6959   done
   6960   IFS="$lt_save_ifs"
   6961   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6962   ;;
   6963 esac
   6964 fi
   6965 
   6966 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6967 if test -n "$MAGIC_CMD"; then
   6968   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6969 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6970 else
   6971   { echo "$as_me:$LINENO: result: no" >&5
   6972 echo "${ECHO_T}no" >&6; }
   6973 fi
   6974 
   6975 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6976   if test -n "$ac_tool_prefix"; then
   6977     { echo "$as_me:$LINENO: checking for file" >&5
   6978 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6979 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6980   echo $ECHO_N "(cached) $ECHO_C" >&6
   6981 else
   6982   case $MAGIC_CMD in
   6983 [\\/*] |  ?:[\\/]*)
   6984   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6985   ;;
   6986 *)
   6987   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6988   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6989   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6990   for ac_dir in $ac_dummy; do
   6991     IFS="$lt_save_ifs"
   6992     test -z "$ac_dir" && ac_dir=.
   6993     if test -f $ac_dir/file; then
   6994       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6995       if test -n "$file_magic_test_file"; then
   6996 	case $deplibs_check_method in
   6997 	"file_magic "*)
   6998 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6999 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7000 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7001 	    $EGREP "$file_magic_regex" > /dev/null; then
   7002 	    :
   7003 	  else
   7004 	    cat <<EOF 1>&2
   7005 
   7006 *** Warning: the command libtool uses to detect shared libraries,
   7007 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7008 *** The result is that libtool may fail to recognize shared libraries
   7009 *** as such.  This will affect the creation of libtool libraries that
   7010 *** depend on shared libraries, but programs linked with such libtool
   7011 *** libraries will work regardless of this problem.  Nevertheless, you
   7012 *** may want to report the problem to your system manager and/or to
   7013 *** bug-libtool@gnu.org
   7014 
   7015 EOF
   7016 	  fi ;;
   7017 	esac
   7018       fi
   7019       break
   7020     fi
   7021   done
   7022   IFS="$lt_save_ifs"
   7023   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7024   ;;
   7025 esac
   7026 fi
   7027 
   7028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7029 if test -n "$MAGIC_CMD"; then
   7030   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7031 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7032 else
   7033   { echo "$as_me:$LINENO: result: no" >&5
   7034 echo "${ECHO_T}no" >&6; }
   7035 fi
   7036 
   7037   else
   7038     MAGIC_CMD=:
   7039   fi
   7040 fi
   7041 
   7042   fi
   7043   ;;
   7044 esac
   7045 
   7046 
   7047   case $host_os in
   7048     rhapsody* | darwin*)
   7049     if test -n "$ac_tool_prefix"; then
   7050   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7051 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7054 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7055   echo $ECHO_N "(cached) $ECHO_C" >&6
   7056 else
   7057   if test -n "$DSYMUTIL"; then
   7058   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7059 else
   7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7061 for as_dir in $PATH
   7062 do
   7063   IFS=$as_save_IFS
   7064   test -z "$as_dir" && as_dir=.
   7065   for ac_exec_ext in '' $ac_executable_extensions; do
   7066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7067     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7068     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7069     break 2
   7070   fi
   7071 done
   7072 done
   7073 IFS=$as_save_IFS
   7074 
   7075 fi
   7076 fi
   7077 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7078 if test -n "$DSYMUTIL"; then
   7079   { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7080 echo "${ECHO_T}$DSYMUTIL" >&6; }
   7081 else
   7082   { echo "$as_me:$LINENO: result: no" >&5
   7083 echo "${ECHO_T}no" >&6; }
   7084 fi
   7085 
   7086 
   7087 fi
   7088 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7089   ac_ct_DSYMUTIL=$DSYMUTIL
   7090   # Extract the first word of "dsymutil", so it can be a program name with args.
   7091 set dummy dsymutil; ac_word=$2
   7092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7094 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7095   echo $ECHO_N "(cached) $ECHO_C" >&6
   7096 else
   7097   if test -n "$ac_ct_DSYMUTIL"; then
   7098   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7099 else
   7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7101 for as_dir in $PATH
   7102 do
   7103   IFS=$as_save_IFS
   7104   test -z "$as_dir" && as_dir=.
   7105   for ac_exec_ext in '' $ac_executable_extensions; do
   7106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7107     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7108     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7109     break 2
   7110   fi
   7111 done
   7112 done
   7113 IFS=$as_save_IFS
   7114 
   7115 fi
   7116 fi
   7117 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7118 if test -n "$ac_ct_DSYMUTIL"; then
   7119   { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7120 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
   7121 else
   7122   { echo "$as_me:$LINENO: result: no" >&5
   7123 echo "${ECHO_T}no" >&6; }
   7124 fi
   7125 
   7126   if test "x$ac_ct_DSYMUTIL" = x; then
   7127     DSYMUTIL=":"
   7128   else
   7129     case $cross_compiling:$ac_tool_warned in
   7130 yes:)
   7131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7132 whose name does not start with the host triplet.  If you think this
   7133 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7135 whose name does not start with the host triplet.  If you think this
   7136 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7137 ac_tool_warned=yes ;;
   7138 esac
   7139     DSYMUTIL=$ac_ct_DSYMUTIL
   7140   fi
   7141 else
   7142   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7143 fi
   7144 
   7145     if test -n "$ac_tool_prefix"; then
   7146   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7147 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7150 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7151   echo $ECHO_N "(cached) $ECHO_C" >&6
   7152 else
   7153   if test -n "$NMEDIT"; then
   7154   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7155 else
   7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7157 for as_dir in $PATH
   7158 do
   7159   IFS=$as_save_IFS
   7160   test -z "$as_dir" && as_dir=.
   7161   for ac_exec_ext in '' $ac_executable_extensions; do
   7162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7163     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7164     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7165     break 2
   7166   fi
   7167 done
   7168 done
   7169 IFS=$as_save_IFS
   7170 
   7171 fi
   7172 fi
   7173 NMEDIT=$ac_cv_prog_NMEDIT
   7174 if test -n "$NMEDIT"; then
   7175   { echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7176 echo "${ECHO_T}$NMEDIT" >&6; }
   7177 else
   7178   { echo "$as_me:$LINENO: result: no" >&5
   7179 echo "${ECHO_T}no" >&6; }
   7180 fi
   7181 
   7182 
   7183 fi
   7184 if test -z "$ac_cv_prog_NMEDIT"; then
   7185   ac_ct_NMEDIT=$NMEDIT
   7186   # Extract the first word of "nmedit", so it can be a program name with args.
   7187 set dummy nmedit; ac_word=$2
   7188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7190 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7191   echo $ECHO_N "(cached) $ECHO_C" >&6
   7192 else
   7193   if test -n "$ac_ct_NMEDIT"; then
   7194   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7195 else
   7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7197 for as_dir in $PATH
   7198 do
   7199   IFS=$as_save_IFS
   7200   test -z "$as_dir" && as_dir=.
   7201   for ac_exec_ext in '' $ac_executable_extensions; do
   7202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7203     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7205     break 2
   7206   fi
   7207 done
   7208 done
   7209 IFS=$as_save_IFS
   7210 
   7211 fi
   7212 fi
   7213 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7214 if test -n "$ac_ct_NMEDIT"; then
   7215   { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7216 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
   7217 else
   7218   { echo "$as_me:$LINENO: result: no" >&5
   7219 echo "${ECHO_T}no" >&6; }
   7220 fi
   7221 
   7222   if test "x$ac_ct_NMEDIT" = x; then
   7223     NMEDIT=":"
   7224   else
   7225     case $cross_compiling:$ac_tool_warned in
   7226 yes:)
   7227 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7228 whose name does not start with the host triplet.  If you think this
   7229 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7231 whose name does not start with the host triplet.  If you think this
   7232 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7233 ac_tool_warned=yes ;;
   7234 esac
   7235     NMEDIT=$ac_ct_NMEDIT
   7236   fi
   7237 else
   7238   NMEDIT="$ac_cv_prog_NMEDIT"
   7239 fi
   7240 
   7241 
   7242     { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7243 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
   7244 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7245   echo $ECHO_N "(cached) $ECHO_C" >&6
   7246 else
   7247   lt_cv_apple_cc_single_mod=no
   7248       if test -z "${LT_MULTI_MODULE}"; then
   7249    # By default we will add the -single_module flag. You can override
   7250    # by either setting the environment variable LT_MULTI_MODULE
   7251    # non-empty at configure time, or by adding -multi_module to the
   7252    # link flags.
   7253    echo "int foo(void){return 1;}" > conftest.c
   7254    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7255      -dynamiclib ${wl}-single_module conftest.c
   7256    if test -f libconftest.dylib; then
   7257      lt_cv_apple_cc_single_mod=yes
   7258      rm -rf libconftest.dylib*
   7259    fi
   7260    rm conftest.c
   7261       fi
   7262 fi
   7263 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7264 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
   7265     { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7266 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
   7267 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7268   echo $ECHO_N "(cached) $ECHO_C" >&6
   7269 else
   7270   lt_cv_ld_exported_symbols_list=no
   7271       save_LDFLAGS=$LDFLAGS
   7272       echo "_main" > conftest.sym
   7273       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7274       cat >conftest.$ac_ext <<_ACEOF
   7275 /* confdefs.h.  */
   7276 _ACEOF
   7277 cat confdefs.h >>conftest.$ac_ext
   7278 cat >>conftest.$ac_ext <<_ACEOF
   7279 /* end confdefs.h.  */
   7280 
   7281 int
   7282 main ()
   7283 {
   7284 
   7285   ;
   7286   return 0;
   7287 }
   7288 _ACEOF
   7289 rm -f conftest.$ac_objext conftest$ac_exeext
   7290 if { (ac_try="$ac_link"
   7291 case "(($ac_try" in
   7292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7293   *) ac_try_echo=$ac_try;;
   7294 esac
   7295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7296   (eval "$ac_link") 2>conftest.er1
   7297   ac_status=$?
   7298   grep -v '^ *+' conftest.er1 >conftest.err
   7299   rm -f conftest.er1
   7300   cat conftest.err >&5
   7301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7302   (exit $ac_status); } && {
   7303 	 test -z "$ac_c_werror_flag" ||
   7304 	 test ! -s conftest.err
   7305        } && test -s conftest$ac_exeext &&
   7306        $as_test_x conftest$ac_exeext; then
   7307   lt_cv_ld_exported_symbols_list=yes
   7308 else
   7309   echo "$as_me: failed program was:" >&5
   7310 sed 's/^/| /' conftest.$ac_ext >&5
   7311 
   7312 	lt_cv_ld_exported_symbols_list=no
   7313 fi
   7314 
   7315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7316       conftest$ac_exeext conftest.$ac_ext
   7317    LDFLAGS="$save_LDFLAGS"
   7318 
   7319 fi
   7320 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7321 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
   7322     case $host_os in
   7323     rhapsody* | darwin1.[0123])
   7324       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7325     darwin1.*)
   7326      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7327     darwin*)
   7328       # if running on 10.5 or later, the deployment target defaults
   7329       # to the OS version, if on x86, and 10.4, the deployment
   7330       # target defaults to 10.4. Don't you love it?
   7331       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7332    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7333      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7334    10.[012]*)
   7335      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7336    10.*)
   7337      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7338       esac
   7339     ;;
   7340   esac
   7341     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7342       _lt_dar_single_mod='$single_module'
   7343     fi
   7344     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7345       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7346     else
   7347       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7348     fi
   7349     if test "$DSYMUTIL" != ":"; then
   7350       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7351     else
   7352       _lt_dsymutil=
   7353     fi
   7354     ;;
   7355   esac
   7356 
   7357 
   7358 enable_dlopen=no
   7359 enable_win32_dll=no
   7360 
   7361 # Check whether --enable-libtool-lock was given.
   7362 if test "${enable_libtool_lock+set}" = set; then
   7363   enableval=$enable_libtool_lock;
   7364 fi
   7365 
   7366 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7367 
   7368 
   7369 # Check whether --with-pic was given.
   7370 if test "${with_pic+set}" = set; then
   7371   withval=$with_pic; pic_mode="$withval"
   7372 else
   7373   pic_mode=default
   7374 fi
   7375 
   7376 test -z "$pic_mode" && pic_mode=default
   7377 
   7378 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
   7379 #
   7380 # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
   7381 #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
   7382 #        calls AC_LIBTOOL_CONFIG and creates libtool.
   7383 #
   7384 { echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
   7385 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
   7386 if test "x$ltmain" = "x" ; then
   7387   { echo "$as_me:$LINENO: result: no" >&5
   7388 echo "${ECHO_T}no" >&6; }
   7389   { { echo "$as_me:$LINENO: error:
   7390 
   7391 *** [Gentoo] sanity check failed! ***
   7392 *** \$ltmain is not defined, please check the patch for consistency! ***
   7393 " >&5
   7394 echo "$as_me: error:
   7395 
   7396 *** [Gentoo] sanity check failed! ***
   7397 *** \$ltmain is not defined, please check the patch for consistency! ***
   7398 " >&2;}
   7399    { (exit 1); exit 1; }; }
   7400 fi
   7401 gentoo_lt_version="1.5.26"
   7402 gentoo_ltmain_version=`sed -n '/^[ 	]*VERSION=/{s/^[ 	]*VERSION=//;p;q;}' "$ltmain"`
   7403 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
   7404   { echo "$as_me:$LINENO: result: no" >&5
   7405 echo "${ECHO_T}no" >&6; }
   7406   { { echo "$as_me:$LINENO: error:
   7407 
   7408 *** [Gentoo] sanity check failed! ***
   7409 *** libtool.m4 and ltmain.sh have a version mismatch! ***
   7410 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
   7411 
   7412 Please run:
   7413 
   7414   libtoolize --copy --force
   7415 
   7416 if appropriate, please contact the maintainer of this
   7417 package (or your distribution) for help.
   7418 " >&5
   7419 echo "$as_me: error:
   7420 
   7421 *** [Gentoo] sanity check failed! ***
   7422 *** libtool.m4 and ltmain.sh have a version mismatch! ***
   7423 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
   7424 
   7425 Please run:
   7426 
   7427   libtoolize --copy --force
   7428 
   7429 if appropriate, please contact the maintainer of this
   7430 package (or your distribution) for help.
   7431 " >&2;}
   7432    { (exit 1); exit 1; }; }
   7433 else
   7434   { echo "$as_me:$LINENO: result: yes" >&5
   7435 echo "${ECHO_T}yes" >&6; }
   7436 fi
   7437 
   7438 
   7439 # Use C for the default configuration in the libtool script
   7440 tagname=
   7441 lt_save_CC="$CC"
   7442 ac_ext=c
   7443 ac_cpp='$CPP $CPPFLAGS'
   7444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7447 
   7448 
   7449 # Source file extension for C test sources.
   7450 ac_ext=c
   7451 
   7452 # Object file extension for compiled C test sources.
   7453 objext=o
   7454 objext=$objext
   7455 
   7456 # Code to be used in simple compile tests
   7457 lt_simple_compile_test_code="int some_variable = 0;"
   7458 
   7459 # Code to be used in simple link tests
   7460 lt_simple_link_test_code='int main(){return(0);}'
   7461 
   7462 
   7463 # If no C compiler was specified, use CC.
   7464 LTCC=${LTCC-"$CC"}
   7465 
   7466 # If no C compiler flags were specified, use CFLAGS.
   7467 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7468 
   7469 # Allow CC to be a program name with arguments.
   7470 compiler=$CC
   7471 
   7472 
   7473 # save warnings/boilerplate of simple test code
   7474 ac_outfile=conftest.$ac_objext
   7475 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7476 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7477 _lt_compiler_boilerplate=`cat conftest.err`
   7478 $rm conftest*
   7479 
   7480 ac_outfile=conftest.$ac_objext
   7481 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7482 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7483 _lt_linker_boilerplate=`cat conftest.err`
   7484 $rm -r conftest*
   7485 
   7486 
   7487 
   7488 lt_prog_compiler_no_builtin_flag=
   7489 
   7490 if test "$GCC" = yes; then
   7491   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7492 
   7493 
   7494 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7495 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7496 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7497   echo $ECHO_N "(cached) $ECHO_C" >&6
   7498 else
   7499   lt_cv_prog_compiler_rtti_exceptions=no
   7500   ac_outfile=conftest.$ac_objext
   7501    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7502    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7503    # Insert the option either (1) after the last *FLAGS variable, or
   7504    # (2) before a word containing "conftest.", or (3) at the end.
   7505    # Note that $ac_compile itself does not contain backslashes and begins
   7506    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7507    # The option is referenced via a variable to avoid confusing sed.
   7508    lt_compile=`echo "$ac_compile" | $SED \
   7509    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7510    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7511    -e 's:$: $lt_compiler_flag:'`
   7512    (eval echo "\"\$as_me:7512: $lt_compile\"" >&5)
   7513    (eval "$lt_compile" 2>conftest.err)
   7514    ac_status=$?
   7515    cat conftest.err >&5
   7516    echo "$as_me:7516: \$? = $ac_status" >&5
   7517    if (exit $ac_status) && test -s "$ac_outfile"; then
   7518      # The compiler can only warn and ignore the option if not recognized
   7519      # So say no if there are warnings other than the usual output.
   7520      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7521      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7522      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7523        lt_cv_prog_compiler_rtti_exceptions=yes
   7524      fi
   7525    fi
   7526    $rm conftest*
   7527 
   7528 fi
   7529 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7530 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7531 
   7532 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7533     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7534 else
   7535     :
   7536 fi
   7537 
   7538 fi
   7539 
   7540 lt_prog_compiler_wl=
   7541 lt_prog_compiler_pic=
   7542 lt_prog_compiler_static=
   7543 
   7544 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7545 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7546 
   7547   if test "$GCC" = yes; then
   7548     lt_prog_compiler_wl='-Wl,'
   7549     lt_prog_compiler_static='-static'
   7550 
   7551     case $host_os in
   7552       aix*)
   7553       # All AIX code is PIC.
   7554       if test "$host_cpu" = ia64; then
   7555 	# AIX 5 now supports IA64 processor
   7556 	lt_prog_compiler_static='-Bstatic'
   7557       fi
   7558       ;;
   7559 
   7560     amigaos*)
   7561       # FIXME: we need at least 68020 code to build shared libraries, but
   7562       # adding the `-m68020' flag to GCC prevents building anything better,
   7563       # like `-m68040'.
   7564       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7565       ;;
   7566 
   7567     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7568       # PIC is the default for these OSes.
   7569       ;;
   7570 
   7571     mingw* | cygwin* | pw32* | os2*)
   7572       # This hack is so that the source file can tell whether it is being
   7573       # built for inclusion in a dll (and should export symbols for example).
   7574       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7575       # (--disable-auto-import) libraries
   7576       lt_prog_compiler_pic='-DDLL_EXPORT'
   7577       ;;
   7578 
   7579     darwin* | rhapsody*)
   7580       # PIC is the default on this platform
   7581       # Common symbols not allowed in MH_DYLIB files
   7582       lt_prog_compiler_pic='-fno-common'
   7583       ;;
   7584 
   7585     interix[3-9]*)
   7586       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7587       # Instead, we relocate shared libraries at runtime.
   7588       ;;
   7589 
   7590     msdosdjgpp*)
   7591       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7592       # on systems that don't support them.
   7593       lt_prog_compiler_can_build_shared=no
   7594       enable_shared=no
   7595       ;;
   7596 
   7597     sysv4*MP*)
   7598       if test -d /usr/nec; then
   7599 	lt_prog_compiler_pic=-Kconform_pic
   7600       fi
   7601       ;;
   7602 
   7603     hpux*)
   7604       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7605       # not for PA HP-UX.
   7606       case $host_cpu in
   7607       hppa*64*|ia64*)
   7608 	# +Z the default
   7609 	;;
   7610       *)
   7611 	lt_prog_compiler_pic='-fPIC'
   7612 	;;
   7613       esac
   7614       ;;
   7615 
   7616     *)
   7617       lt_prog_compiler_pic='-fPIC'
   7618       ;;
   7619     esac
   7620   else
   7621     # PORTME Check for flag to pass linker flags through the system compiler.
   7622     case $host_os in
   7623     aix*)
   7624       lt_prog_compiler_wl='-Wl,'
   7625       if test "$host_cpu" = ia64; then
   7626 	# AIX 5 now supports IA64 processor
   7627 	lt_prog_compiler_static='-Bstatic'
   7628       else
   7629 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7630       fi
   7631       ;;
   7632       darwin*)
   7633         # PIC is the default on this platform
   7634         # Common symbols not allowed in MH_DYLIB files
   7635        case $cc_basename in
   7636          xlc*)
   7637          lt_prog_compiler_pic='-qnocommon'
   7638          lt_prog_compiler_wl='-Wl,'
   7639          ;;
   7640        esac
   7641        ;;
   7642 
   7643     mingw* | cygwin* | pw32* | os2*)
   7644       # This hack is so that the source file can tell whether it is being
   7645       # built for inclusion in a dll (and should export symbols for example).
   7646       lt_prog_compiler_pic='-DDLL_EXPORT'
   7647       ;;
   7648 
   7649     hpux9* | hpux10* | hpux11*)
   7650       lt_prog_compiler_wl='-Wl,'
   7651       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7652       # not for PA HP-UX.
   7653       case $host_cpu in
   7654       hppa*64*|ia64*)
   7655 	# +Z the default
   7656 	;;
   7657       *)
   7658 	lt_prog_compiler_pic='+Z'
   7659 	;;
   7660       esac
   7661       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7662       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7663       ;;
   7664 
   7665     irix5* | irix6* | nonstopux*)
   7666       lt_prog_compiler_wl='-Wl,'
   7667       # PIC (with -KPIC) is the default.
   7668       lt_prog_compiler_static='-non_shared'
   7669       ;;
   7670 
   7671     newsos6)
   7672       lt_prog_compiler_pic='-KPIC'
   7673       lt_prog_compiler_static='-Bstatic'
   7674       ;;
   7675 
   7676     linux* | k*bsd*-gnu)
   7677       case $cc_basename in
   7678       icc* | ecc*)
   7679 	lt_prog_compiler_wl='-Wl,'
   7680 	lt_prog_compiler_pic='-KPIC'
   7681 	lt_prog_compiler_static='-static'
   7682         ;;
   7683       pgcc* | pgf77* | pgf90* | pgf95*)
   7684         # Portland Group compilers (*not* the Pentium gcc compiler,
   7685 	# which looks to be a dead project)
   7686 	lt_prog_compiler_wl='-Wl,'
   7687 	lt_prog_compiler_pic='-fpic'
   7688 	lt_prog_compiler_static='-Bstatic'
   7689         ;;
   7690       ccc*)
   7691         lt_prog_compiler_wl='-Wl,'
   7692         # All Alpha code is PIC.
   7693         lt_prog_compiler_static='-non_shared'
   7694         ;;
   7695       *)
   7696         case `$CC -V 2>&1 | sed 5q` in
   7697 	*Sun\ C*)
   7698 	  # Sun C 5.9
   7699 	  lt_prog_compiler_pic='-KPIC'
   7700 	  lt_prog_compiler_static='-Bstatic'
   7701 	  lt_prog_compiler_wl='-Wl,'
   7702 	  ;;
   7703 	*Sun\ F*)
   7704 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7705 	  lt_prog_compiler_pic='-KPIC'
   7706 	  lt_prog_compiler_static='-Bstatic'
   7707 	  lt_prog_compiler_wl=''
   7708 	  ;;
   7709 	esac
   7710 	;;
   7711       esac
   7712       ;;
   7713 
   7714     osf3* | osf4* | osf5*)
   7715       lt_prog_compiler_wl='-Wl,'
   7716       # All OSF/1 code is PIC.
   7717       lt_prog_compiler_static='-non_shared'
   7718       ;;
   7719 
   7720     rdos*)
   7721       lt_prog_compiler_static='-non_shared'
   7722       ;;
   7723 
   7724     solaris*)
   7725       lt_prog_compiler_pic='-KPIC'
   7726       lt_prog_compiler_static='-Bstatic'
   7727       case $cc_basename in
   7728       f77* | f90* | f95*)
   7729 	lt_prog_compiler_wl='-Qoption ld ';;
   7730       *)
   7731 	lt_prog_compiler_wl='-Wl,';;
   7732       esac
   7733       ;;
   7734 
   7735     sunos4*)
   7736       lt_prog_compiler_wl='-Qoption ld '
   7737       lt_prog_compiler_pic='-PIC'
   7738       lt_prog_compiler_static='-Bstatic'
   7739       ;;
   7740 
   7741     sysv4 | sysv4.2uw2* | sysv4.3*)
   7742       lt_prog_compiler_wl='-Wl,'
   7743       lt_prog_compiler_pic='-KPIC'
   7744       lt_prog_compiler_static='-Bstatic'
   7745       ;;
   7746 
   7747     sysv4*MP*)
   7748       if test -d /usr/nec ;then
   7749 	lt_prog_compiler_pic='-Kconform_pic'
   7750 	lt_prog_compiler_static='-Bstatic'
   7751       fi
   7752       ;;
   7753 
   7754     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7755       lt_prog_compiler_wl='-Wl,'
   7756       lt_prog_compiler_pic='-KPIC'
   7757       lt_prog_compiler_static='-Bstatic'
   7758       ;;
   7759 
   7760     unicos*)
   7761       lt_prog_compiler_wl='-Wl,'
   7762       lt_prog_compiler_can_build_shared=no
   7763       ;;
   7764 
   7765     uts4*)
   7766       lt_prog_compiler_pic='-pic'
   7767       lt_prog_compiler_static='-Bstatic'
   7768       ;;
   7769 
   7770     *)
   7771       lt_prog_compiler_can_build_shared=no
   7772       ;;
   7773     esac
   7774   fi
   7775 
   7776 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7777 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7778 
   7779 #
   7780 # Check to make sure the PIC flag actually works.
   7781 #
   7782 if test -n "$lt_prog_compiler_pic"; then
   7783 
   7784 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7785 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7786 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7787   echo $ECHO_N "(cached) $ECHO_C" >&6
   7788 else
   7789   lt_cv_prog_compiler_pic_works=no
   7790   ac_outfile=conftest.$ac_objext
   7791    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7792    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7793    # Insert the option either (1) after the last *FLAGS variable, or
   7794    # (2) before a word containing "conftest.", or (3) at the end.
   7795    # Note that $ac_compile itself does not contain backslashes and begins
   7796    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7797    # The option is referenced via a variable to avoid confusing sed.
   7798    lt_compile=`echo "$ac_compile" | $SED \
   7799    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7800    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7801    -e 's:$: $lt_compiler_flag:'`
   7802    (eval echo "\"\$as_me:7802: $lt_compile\"" >&5)
   7803    (eval "$lt_compile" 2>conftest.err)
   7804    ac_status=$?
   7805    cat conftest.err >&5
   7806    echo "$as_me:7806: \$? = $ac_status" >&5
   7807    if (exit $ac_status) && test -s "$ac_outfile"; then
   7808      # The compiler can only warn and ignore the option if not recognized
   7809      # So say no if there are warnings other than the usual output.
   7810      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7811      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7812      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7813        lt_cv_prog_compiler_pic_works=yes
   7814      fi
   7815    fi
   7816    $rm conftest*
   7817 
   7818 fi
   7819 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7820 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
   7821 
   7822 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7823     case $lt_prog_compiler_pic in
   7824      "" | " "*) ;;
   7825      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7826      esac
   7827 else
   7828     lt_prog_compiler_pic=
   7829      lt_prog_compiler_can_build_shared=no
   7830 fi
   7831 
   7832 fi
   7833 case $host_os in
   7834   # For platforms which do not support PIC, -DPIC is meaningless:
   7835   *djgpp*)
   7836     lt_prog_compiler_pic=
   7837     ;;
   7838   *)
   7839     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7840     ;;
   7841 esac
   7842 
   7843 #
   7844 # Check to make sure the static flag actually works.
   7845 #
   7846 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7847 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7848 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7849 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7850   echo $ECHO_N "(cached) $ECHO_C" >&6
   7851 else
   7852   lt_cv_prog_compiler_static_works=no
   7853    save_LDFLAGS="$LDFLAGS"
   7854    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7855    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7856    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7857      # The linker can only warn and ignore the option if not recognized
   7858      # So say no if there are warnings
   7859      if test -s conftest.err; then
   7860        # Append any errors to the config.log.
   7861        cat conftest.err 1>&5
   7862        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7863        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7864        if diff conftest.exp conftest.er2 >/dev/null; then
   7865          lt_cv_prog_compiler_static_works=yes
   7866        fi
   7867      else
   7868        lt_cv_prog_compiler_static_works=yes
   7869      fi
   7870    fi
   7871    $rm -r conftest*
   7872    LDFLAGS="$save_LDFLAGS"
   7873 
   7874 fi
   7875 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7876 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
   7877 
   7878 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7879     :
   7880 else
   7881     lt_prog_compiler_static=
   7882 fi
   7883 
   7884 
   7885 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7886 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7887 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7888   echo $ECHO_N "(cached) $ECHO_C" >&6
   7889 else
   7890   lt_cv_prog_compiler_c_o=no
   7891    $rm -r conftest 2>/dev/null
   7892    mkdir conftest
   7893    cd conftest
   7894    mkdir out
   7895    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7896 
   7897    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7898    # Insert the option either (1) after the last *FLAGS variable, or
   7899    # (2) before a word containing "conftest.", or (3) at the end.
   7900    # Note that $ac_compile itself does not contain backslashes and begins
   7901    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7902    lt_compile=`echo "$ac_compile" | $SED \
   7903    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7904    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7905    -e 's:$: $lt_compiler_flag:'`
   7906    (eval echo "\"\$as_me:7906: $lt_compile\"" >&5)
   7907    (eval "$lt_compile" 2>out/conftest.err)
   7908    ac_status=$?
   7909    cat out/conftest.err >&5
   7910    echo "$as_me:7910: \$? = $ac_status" >&5
   7911    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7912    then
   7913      # The compiler can only warn and ignore the option if not recognized
   7914      # So say no if there are warnings
   7915      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7916      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7917      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7918        lt_cv_prog_compiler_c_o=yes
   7919      fi
   7920    fi
   7921    chmod u+w . 2>&5
   7922    $rm conftest*
   7923    # SGI C++ compiler will create directory out/ii_files/ for
   7924    # template instantiation
   7925    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7926    $rm out/* && rmdir out
   7927    cd ..
   7928    rmdir conftest
   7929    $rm conftest*
   7930 
   7931 fi
   7932 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7933 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7934 
   7935 
   7936 hard_links="nottested"
   7937 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7938   # do not overwrite the value of need_locks provided by the user
   7939   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7940 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7941   hard_links=yes
   7942   $rm conftest*
   7943   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7944   touch conftest.a
   7945   ln conftest.a conftest.b 2>&5 || hard_links=no
   7946   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7947   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7948 echo "${ECHO_T}$hard_links" >&6; }
   7949   if test "$hard_links" = no; then
   7950     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7951 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7952     need_locks=warn
   7953   fi
   7954 else
   7955   need_locks=no
   7956 fi
   7957 
   7958 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7959 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7960 
   7961   runpath_var=
   7962   allow_undefined_flag=
   7963   enable_shared_with_static_runtimes=no
   7964   archive_cmds=
   7965   archive_expsym_cmds=
   7966   old_archive_From_new_cmds=
   7967   old_archive_from_expsyms_cmds=
   7968   export_dynamic_flag_spec=
   7969   whole_archive_flag_spec=
   7970   thread_safe_flag_spec=
   7971   hardcode_libdir_flag_spec=
   7972   hardcode_libdir_flag_spec_ld=
   7973   hardcode_libdir_separator=
   7974   hardcode_direct=no
   7975   hardcode_minus_L=no
   7976   hardcode_shlibpath_var=unsupported
   7977   link_all_deplibs=unknown
   7978   hardcode_automatic=no
   7979   module_cmds=
   7980   module_expsym_cmds=
   7981   always_export_symbols=no
   7982   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7983   # include_expsyms should be a list of space-separated symbols to be *always*
   7984   # included in the symbol list
   7985   include_expsyms=
   7986   # exclude_expsyms can be an extended regexp of symbols to exclude
   7987   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7988   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7989   # as well as any symbol that contains `d'.
   7990   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   7991   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7992   # platforms (ab)use it in PIC code, but their linkers get confused if
   7993   # the symbol is explicitly referenced.  Since portable code cannot
   7994   # rely on this symbol name, it's probably fine to never include it in
   7995   # preloaded symbol tables.
   7996   # Exclude shared library initialization/finalization symbols.
   7997   extract_expsyms_cmds=
   7998   # Just being paranoid about ensuring that cc_basename is set.
   7999   for cc_temp in $compiler""; do
   8000   case $cc_temp in
   8001     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8002     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8003     \-*) ;;
   8004     *) break;;
   8005   esac
   8006 done
   8007 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8008 
   8009   case $host_os in
   8010   cygwin* | mingw* | pw32*)
   8011     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8012     # When not using gcc, we currently assume that we are using
   8013     # Microsoft Visual C++.
   8014     if test "$GCC" != yes; then
   8015       with_gnu_ld=no
   8016     fi
   8017     ;;
   8018   interix*)
   8019     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8020     with_gnu_ld=yes
   8021     ;;
   8022   openbsd*)
   8023     with_gnu_ld=no
   8024     ;;
   8025   esac
   8026 
   8027   ld_shlibs=yes
   8028   if test "$with_gnu_ld" = yes; then
   8029     # If archive_cmds runs LD, not CC, wlarc should be empty
   8030     wlarc='${wl}'
   8031 
   8032     # Set some defaults for GNU ld with shared library support. These
   8033     # are reset later if shared libraries are not supported. Putting them
   8034     # here allows them to be overridden if necessary.
   8035     runpath_var=LD_RUN_PATH
   8036     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8037     export_dynamic_flag_spec='${wl}--export-dynamic'
   8038     # ancient GNU ld didn't support --whole-archive et. al.
   8039     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8040 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8041       else
   8042   	whole_archive_flag_spec=
   8043     fi
   8044     supports_anon_versioning=no
   8045     case `$LD -v 2>/dev/null` in
   8046       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8047       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8048       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8049       *\ 2.11.*) ;; # other 2.11 versions
   8050       *) supports_anon_versioning=yes ;;
   8051     esac
   8052 
   8053     # See if GNU ld supports shared libraries.
   8054     case $host_os in
   8055     aix[3-9]*)
   8056       # On AIX/PPC, the GNU linker is very broken
   8057       if test "$host_cpu" != ia64; then
   8058 	ld_shlibs=no
   8059 	cat <<EOF 1>&2
   8060 
   8061 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8062 *** to be unable to reliably create shared libraries on AIX.
   8063 *** Therefore, libtool is disabling shared libraries support.  If you
   8064 *** really care for shared libraries, you may want to modify your PATH
   8065 *** so that a non-GNU linker is found, and then restart.
   8066 
   8067 EOF
   8068       fi
   8069       ;;
   8070 
   8071     amigaos*)
   8072       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)'
   8073       hardcode_libdir_flag_spec='-L$libdir'
   8074       hardcode_minus_L=yes
   8075 
   8076       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8077       # that the semantics of dynamic libraries on AmigaOS, at least up
   8078       # to version 4, is to share data among multiple programs linked
   8079       # with the same dynamic library.  Since this doesn't match the
   8080       # behavior of shared libraries on other platforms, we can't use
   8081       # them.
   8082       ld_shlibs=no
   8083       ;;
   8084 
   8085     beos*)
   8086       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8087 	allow_undefined_flag=unsupported
   8088 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8089 	# support --undefined.  This deserves some investigation.  FIXME
   8090 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8091       else
   8092 	ld_shlibs=no
   8093       fi
   8094       ;;
   8095 
   8096     cygwin* | mingw* | pw32*)
   8097       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8098       # as there is no search path for DLLs.
   8099       hardcode_libdir_flag_spec='-L$libdir'
   8100       allow_undefined_flag=unsupported
   8101       always_export_symbols=no
   8102       enable_shared_with_static_runtimes=yes
   8103       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8104 
   8105       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8106         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8107 	# If the export-symbols file already is a .def file (1st line
   8108 	# is EXPORTS), use it as is; otherwise, prepend...
   8109 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8110 	  cp $export_symbols $output_objdir/$soname.def;
   8111 	else
   8112 	  echo EXPORTS > $output_objdir/$soname.def;
   8113 	  cat $export_symbols >> $output_objdir/$soname.def;
   8114 	fi~
   8115 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8116       else
   8117 	ld_shlibs=no
   8118       fi
   8119       ;;
   8120 
   8121     interix[3-9]*)
   8122       hardcode_direct=no
   8123       hardcode_shlibpath_var=no
   8124       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8125       export_dynamic_flag_spec='${wl}-E'
   8126       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8127       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8128       # default) and relocated if they conflict, which is a slow very memory
   8129       # consuming and fragmenting process.  To avoid this, we pick a random,
   8130       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8131       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8132       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8133       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'
   8134       ;;
   8135 
   8136     gnu* | linux* | k*bsd*-gnu)
   8137       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8138 	tmp_addflag=
   8139 	case $cc_basename,$host_cpu in
   8140 	pgcc*)				# Portland Group C compiler
   8141 	  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'
   8142 	  tmp_addflag=' $pic_flag'
   8143 	  ;;
   8144 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8145 	  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'
   8146 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8147 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8148 	  tmp_addflag=' -i_dynamic' ;;
   8149 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8150 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8151 	ifc* | ifort*)			# Intel Fortran compiler
   8152 	  tmp_addflag=' -nofor_main' ;;
   8153 	esac
   8154 	case `$CC -V 2>&1 | sed 5q` in
   8155 	*Sun\ C*)			# Sun C 5.9
   8156 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8157 	  tmp_sharedflag='-G' ;;
   8158 	*Sun\ F*)			# Sun Fortran 8.3
   8159 	  tmp_sharedflag='-G' ;;
   8160 	*)
   8161 	  tmp_sharedflag='-shared' ;;
   8162 	esac
   8163 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8164 
   8165 	if test $supports_anon_versioning = yes; then
   8166 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8167   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8168   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8169 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8170 	fi
   8171       else
   8172 	ld_shlibs=no
   8173       fi
   8174       ;;
   8175 
   8176     netbsd*)
   8177       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8178 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8179 	wlarc=
   8180       else
   8181 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8182 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8183       fi
   8184       ;;
   8185 
   8186     solaris*)
   8187       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8188 	ld_shlibs=no
   8189 	cat <<EOF 1>&2
   8190 
   8191 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8192 *** create shared libraries on Solaris systems.  Therefore, libtool
   8193 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8194 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8195 *** your PATH or compiler configuration so that the native linker is
   8196 *** used, and then restart.
   8197 
   8198 EOF
   8199       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8200 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8201 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8202       else
   8203 	ld_shlibs=no
   8204       fi
   8205       ;;
   8206 
   8207     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8208       case `$LD -v 2>&1` in
   8209         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8210 	ld_shlibs=no
   8211 	cat <<_LT_EOF 1>&2
   8212 
   8213 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8214 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8215 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8216 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8217 *** your PATH or compiler configuration so that the native linker is
   8218 *** used, and then restart.
   8219 
   8220 _LT_EOF
   8221 	;;
   8222 	*)
   8223 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8224 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8225 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8226 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8227 	  else
   8228 	    ld_shlibs=no
   8229 	  fi
   8230 	;;
   8231       esac
   8232       ;;
   8233 
   8234     sunos4*)
   8235       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8236       wlarc=
   8237       hardcode_direct=yes
   8238       hardcode_shlibpath_var=no
   8239       ;;
   8240 
   8241     *)
   8242       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8243 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8244 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8245       else
   8246 	ld_shlibs=no
   8247       fi
   8248       ;;
   8249     esac
   8250 
   8251     if test "$ld_shlibs" = no; then
   8252       runpath_var=
   8253       hardcode_libdir_flag_spec=
   8254       export_dynamic_flag_spec=
   8255       whole_archive_flag_spec=
   8256     fi
   8257   else
   8258     # PORTME fill in a description of your system's linker (not GNU ld)
   8259     case $host_os in
   8260     aix3*)
   8261       allow_undefined_flag=unsupported
   8262       always_export_symbols=yes
   8263       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'
   8264       # Note: this linker hardcodes the directories in LIBPATH if there
   8265       # are no directories specified by -L.
   8266       hardcode_minus_L=yes
   8267       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8268 	# Neither direct hardcoding nor static linking is supported with a
   8269 	# broken collect2.
   8270 	hardcode_direct=unsupported
   8271       fi
   8272       ;;
   8273 
   8274     aix[4-9]*)
   8275       if test "$host_cpu" = ia64; then
   8276 	# On IA64, the linker does run time linking by default, so we don't
   8277 	# have to do anything special.
   8278 	aix_use_runtimelinking=no
   8279 	exp_sym_flag='-Bexport'
   8280 	no_entry_flag=""
   8281       else
   8282 	# If we're using GNU nm, then we don't want the "-C" option.
   8283 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8284 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8285 	  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'
   8286 	else
   8287 	  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'
   8288 	fi
   8289 	aix_use_runtimelinking=no
   8290 
   8291 	# Test if we are trying to use run time linking or normal
   8292 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8293 	# need to do runtime linking.
   8294 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8295 	  for ld_flag in $LDFLAGS; do
   8296   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8297   	    aix_use_runtimelinking=yes
   8298   	    break
   8299   	  fi
   8300 	  done
   8301 	  ;;
   8302 	esac
   8303 
   8304 	exp_sym_flag='-bexport'
   8305 	no_entry_flag='-bnoentry'
   8306       fi
   8307 
   8308       # When large executables or shared objects are built, AIX ld can
   8309       # have problems creating the table of contents.  If linking a library
   8310       # or program results in "error TOC overflow" add -mminimal-toc to
   8311       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8312       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8313 
   8314       archive_cmds=''
   8315       hardcode_direct=yes
   8316       hardcode_libdir_separator=':'
   8317       link_all_deplibs=yes
   8318 
   8319       if test "$GCC" = yes; then
   8320 	case $host_os in aix4.[012]|aix4.[012].*)
   8321 	# We only want to do this on AIX 4.2 and lower, the check
   8322 	# below for broken collect2 doesn't work under 4.3+
   8323 	  collect2name=`${CC} -print-prog-name=collect2`
   8324 	  if test -f "$collect2name" && \
   8325   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8326 	  then
   8327   	  # We have reworked collect2
   8328   	  :
   8329 	  else
   8330   	  # We have old collect2
   8331   	  hardcode_direct=unsupported
   8332   	  # It fails to find uninstalled libraries when the uninstalled
   8333   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8334   	  # to unsupported forces relinking
   8335   	  hardcode_minus_L=yes
   8336   	  hardcode_libdir_flag_spec='-L$libdir'
   8337   	  hardcode_libdir_separator=
   8338 	  fi
   8339 	  ;;
   8340 	esac
   8341 	shared_flag='-shared'
   8342 	if test "$aix_use_runtimelinking" = yes; then
   8343 	  shared_flag="$shared_flag "'${wl}-G'
   8344 	fi
   8345       else
   8346 	# not using gcc
   8347 	if test "$host_cpu" = ia64; then
   8348   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8349   	# chokes on -Wl,-G. The following line is correct:
   8350 	  shared_flag='-G'
   8351 	else
   8352 	  if test "$aix_use_runtimelinking" = yes; then
   8353 	    shared_flag='${wl}-G'
   8354 	  else
   8355 	    shared_flag='${wl}-bM:SRE'
   8356 	  fi
   8357 	fi
   8358       fi
   8359 
   8360       # It seems that -bexpall does not export symbols beginning with
   8361       # underscore (_), so it is better to generate a list of symbols to export.
   8362       always_export_symbols=yes
   8363       if test "$aix_use_runtimelinking" = yes; then
   8364 	# Warning - without using the other runtime loading flags (-brtl),
   8365 	# -berok will link without error, but may produce a broken library.
   8366 	allow_undefined_flag='-berok'
   8367        # Determine the default libpath from the value encoded in an empty executable.
   8368        cat >conftest.$ac_ext <<_ACEOF
   8369 /* confdefs.h.  */
   8370 _ACEOF
   8371 cat confdefs.h >>conftest.$ac_ext
   8372 cat >>conftest.$ac_ext <<_ACEOF
   8373 /* end confdefs.h.  */
   8374 
   8375 int
   8376 main ()
   8377 {
   8378 
   8379   ;
   8380   return 0;
   8381 }
   8382 _ACEOF
   8383 rm -f conftest.$ac_objext conftest$ac_exeext
   8384 if { (ac_try="$ac_link"
   8385 case "(($ac_try" in
   8386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8387   *) ac_try_echo=$ac_try;;
   8388 esac
   8389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8390   (eval "$ac_link") 2>conftest.er1
   8391   ac_status=$?
   8392   grep -v '^ *+' conftest.er1 >conftest.err
   8393   rm -f conftest.er1
   8394   cat conftest.err >&5
   8395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8396   (exit $ac_status); } && {
   8397 	 test -z "$ac_c_werror_flag" ||
   8398 	 test ! -s conftest.err
   8399        } && test -s conftest$ac_exeext &&
   8400        $as_test_x conftest$ac_exeext; then
   8401 
   8402 lt_aix_libpath_sed='
   8403     /Import File Strings/,/^$/ {
   8404 	/^0/ {
   8405 	    s/^0  *\(.*\)$/\1/
   8406 	    p
   8407 	}
   8408     }'
   8409 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8410 # Check for a 64-bit object if we didn't find anything.
   8411 if test -z "$aix_libpath"; then
   8412   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8413 fi
   8414 else
   8415   echo "$as_me: failed program was:" >&5
   8416 sed 's/^/| /' conftest.$ac_ext >&5
   8417 
   8418 
   8419 fi
   8420 
   8421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8422       conftest$ac_exeext conftest.$ac_ext
   8423 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8424 
   8425        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8426 	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"
   8427        else
   8428 	if test "$host_cpu" = ia64; then
   8429 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8430 	  allow_undefined_flag="-z nodefs"
   8431 	  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"
   8432 	else
   8433 	 # Determine the default libpath from the value encoded in an empty executable.
   8434 	 cat >conftest.$ac_ext <<_ACEOF
   8435 /* confdefs.h.  */
   8436 _ACEOF
   8437 cat confdefs.h >>conftest.$ac_ext
   8438 cat >>conftest.$ac_ext <<_ACEOF
   8439 /* end confdefs.h.  */
   8440 
   8441 int
   8442 main ()
   8443 {
   8444 
   8445   ;
   8446   return 0;
   8447 }
   8448 _ACEOF
   8449 rm -f conftest.$ac_objext conftest$ac_exeext
   8450 if { (ac_try="$ac_link"
   8451 case "(($ac_try" in
   8452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8453   *) ac_try_echo=$ac_try;;
   8454 esac
   8455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8456   (eval "$ac_link") 2>conftest.er1
   8457   ac_status=$?
   8458   grep -v '^ *+' conftest.er1 >conftest.err
   8459   rm -f conftest.er1
   8460   cat conftest.err >&5
   8461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8462   (exit $ac_status); } && {
   8463 	 test -z "$ac_c_werror_flag" ||
   8464 	 test ! -s conftest.err
   8465        } && test -s conftest$ac_exeext &&
   8466        $as_test_x conftest$ac_exeext; then
   8467 
   8468 lt_aix_libpath_sed='
   8469     /Import File Strings/,/^$/ {
   8470 	/^0/ {
   8471 	    s/^0  *\(.*\)$/\1/
   8472 	    p
   8473 	}
   8474     }'
   8475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8476 # Check for a 64-bit object if we didn't find anything.
   8477 if test -z "$aix_libpath"; then
   8478   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8479 fi
   8480 else
   8481   echo "$as_me: failed program was:" >&5
   8482 sed 's/^/| /' conftest.$ac_ext >&5
   8483 
   8484 
   8485 fi
   8486 
   8487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8488       conftest$ac_exeext conftest.$ac_ext
   8489 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8490 
   8491 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8492 	  # Warning - without using the other run time loading flags,
   8493 	  # -berok will link without error, but may produce a broken library.
   8494 	  no_undefined_flag=' ${wl}-bernotok'
   8495 	  allow_undefined_flag=' ${wl}-berok'
   8496 	  # Exported symbols can be pulled into shared objects from archives
   8497 	  whole_archive_flag_spec='$convenience'
   8498 	  archive_cmds_need_lc=yes
   8499 	  # This is similar to how AIX traditionally builds its shared libraries.
   8500 	  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'
   8501 	fi
   8502       fi
   8503       ;;
   8504 
   8505     amigaos*)
   8506       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)'
   8507       hardcode_libdir_flag_spec='-L$libdir'
   8508       hardcode_minus_L=yes
   8509       # see comment about different semantics on the GNU ld section
   8510       ld_shlibs=no
   8511       ;;
   8512 
   8513     bsdi[45]*)
   8514       export_dynamic_flag_spec=-rdynamic
   8515       ;;
   8516 
   8517     cygwin* | mingw* | pw32*)
   8518       # When not using gcc, we currently assume that we are using
   8519       # Microsoft Visual C++.
   8520       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8521       # no search path for DLLs.
   8522       hardcode_libdir_flag_spec=' '
   8523       allow_undefined_flag=unsupported
   8524       # Tell ltmain to make .lib files, not .a files.
   8525       libext=lib
   8526       # Tell ltmain to make .dll files, not .so files.
   8527       shrext_cmds=".dll"
   8528       # FIXME: Setting linknames here is a bad hack.
   8529       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8530       # The linker will automatically build a .lib file if we build a DLL.
   8531       old_archive_From_new_cmds='true'
   8532       # FIXME: Should let the user specify the lib program.
   8533       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8534       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8535       enable_shared_with_static_runtimes=yes
   8536       ;;
   8537 
   8538     darwin* | rhapsody*)
   8539       case $host_os in
   8540         rhapsody* | darwin1.[012])
   8541          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8542          ;;
   8543        *) # Darwin 1.3 on
   8544          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8545            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8546          else
   8547            case ${MACOSX_DEPLOYMENT_TARGET} in
   8548              10.[012])
   8549                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8550                ;;
   8551              10.*)
   8552                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8553                ;;
   8554            esac
   8555          fi
   8556          ;;
   8557       esac
   8558       archive_cmds_need_lc=no
   8559       hardcode_direct=no
   8560       hardcode_automatic=yes
   8561       hardcode_shlibpath_var=unsupported
   8562       whole_archive_flag_spec=''
   8563       link_all_deplibs=yes
   8564     if test "$GCC" = yes ; then
   8565     	output_verbose_link_cmd='echo'
   8566         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8567         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8568         archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   8569         module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   8570     else
   8571       case $cc_basename in
   8572         xlc*)
   8573          output_verbose_link_cmd='echo'
   8574          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8575          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8576           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8577          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8578           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}'
   8579           ;;
   8580        *)
   8581          ld_shlibs=no
   8582           ;;
   8583       esac
   8584     fi
   8585       ;;
   8586 
   8587     dgux*)
   8588       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8589       hardcode_libdir_flag_spec='-L$libdir'
   8590       hardcode_shlibpath_var=no
   8591       ;;
   8592 
   8593     freebsd1*)
   8594       ld_shlibs=no
   8595       ;;
   8596 
   8597     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8598     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8599     # does not break anything, and helps significantly (at the cost of a little
   8600     # extra space).
   8601     freebsd2.2*)
   8602       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8603       hardcode_libdir_flag_spec='-R$libdir'
   8604       hardcode_direct=yes
   8605       hardcode_shlibpath_var=no
   8606       ;;
   8607 
   8608     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8609     freebsd2*)
   8610       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8611       hardcode_direct=yes
   8612       hardcode_minus_L=yes
   8613       hardcode_shlibpath_var=no
   8614       ;;
   8615 
   8616     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8617     freebsd* | dragonfly*)
   8618       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8619       hardcode_libdir_flag_spec='-R$libdir'
   8620       hardcode_direct=yes
   8621       hardcode_shlibpath_var=no
   8622       ;;
   8623 
   8624     hpux9*)
   8625       if test "$GCC" = yes; then
   8626 	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'
   8627       else
   8628 	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'
   8629       fi
   8630       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8631       hardcode_libdir_separator=:
   8632       hardcode_direct=yes
   8633 
   8634       # hardcode_minus_L: Not really in the search PATH,
   8635       # but as the default location of the library.
   8636       hardcode_minus_L=yes
   8637       export_dynamic_flag_spec='${wl}-E'
   8638       ;;
   8639 
   8640     hpux10*)
   8641       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8642 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8643       else
   8644 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8645       fi
   8646       if test "$with_gnu_ld" = no; then
   8647 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8648 	hardcode_libdir_separator=:
   8649 
   8650 	hardcode_direct=yes
   8651 	export_dynamic_flag_spec='${wl}-E'
   8652 
   8653 	# hardcode_minus_L: Not really in the search PATH,
   8654 	# but as the default location of the library.
   8655 	hardcode_minus_L=yes
   8656       fi
   8657       ;;
   8658 
   8659     hpux11*)
   8660       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8661 	case $host_cpu in
   8662 	hppa*64*)
   8663 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8664 	  ;;
   8665 	ia64*)
   8666 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8667 	  ;;
   8668 	*)
   8669 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8670 	  ;;
   8671 	esac
   8672       else
   8673 	case $host_cpu in
   8674 	hppa*64*)
   8675 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8676 	  ;;
   8677 	ia64*)
   8678 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8679 	  ;;
   8680 	*)
   8681 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8682 	  ;;
   8683 	esac
   8684       fi
   8685       if test "$with_gnu_ld" = no; then
   8686 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8687 	hardcode_libdir_separator=:
   8688 
   8689 	case $host_cpu in
   8690 	hppa*64*|ia64*)
   8691 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8692 	  hardcode_direct=no
   8693 	  hardcode_shlibpath_var=no
   8694 	  ;;
   8695 	*)
   8696 	  hardcode_direct=yes
   8697 	  export_dynamic_flag_spec='${wl}-E'
   8698 
   8699 	  # hardcode_minus_L: Not really in the search PATH,
   8700 	  # but as the default location of the library.
   8701 	  hardcode_minus_L=yes
   8702 	  ;;
   8703 	esac
   8704       fi
   8705       ;;
   8706 
   8707     irix5* | irix6* | nonstopux*)
   8708       if test "$GCC" = yes; then
   8709 	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'
   8710       else
   8711 	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'
   8712 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8713       fi
   8714       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8715       hardcode_libdir_separator=:
   8716       link_all_deplibs=yes
   8717       ;;
   8718 
   8719     netbsd*)
   8720       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8721 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8722       else
   8723 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8724       fi
   8725       hardcode_libdir_flag_spec='-R$libdir'
   8726       hardcode_direct=yes
   8727       hardcode_shlibpath_var=no
   8728       ;;
   8729 
   8730     newsos6)
   8731       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8732       hardcode_direct=yes
   8733       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8734       hardcode_libdir_separator=:
   8735       hardcode_shlibpath_var=no
   8736       ;;
   8737 
   8738     openbsd*)
   8739       if test -f /usr/libexec/ld.so; then
   8740 	hardcode_direct=yes
   8741 	hardcode_shlibpath_var=no
   8742 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8743 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8744 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8745 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8746 	  export_dynamic_flag_spec='${wl}-E'
   8747 	else
   8748 	  case $host_os in
   8749 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8750 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8751 	     hardcode_libdir_flag_spec='-R$libdir'
   8752 	     ;;
   8753 	   *)
   8754 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8755 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8756 	     ;;
   8757 	  esac
   8758         fi
   8759       else
   8760 	ld_shlibs=no
   8761       fi
   8762       ;;
   8763 
   8764     os2*)
   8765       hardcode_libdir_flag_spec='-L$libdir'
   8766       hardcode_minus_L=yes
   8767       allow_undefined_flag=unsupported
   8768       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'
   8769       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8770       ;;
   8771 
   8772     osf3*)
   8773       if test "$GCC" = yes; then
   8774 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8775 	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'
   8776       else
   8777 	allow_undefined_flag=' -expect_unresolved \*'
   8778 	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'
   8779       fi
   8780       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8781       hardcode_libdir_separator=:
   8782       ;;
   8783 
   8784     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8785       if test "$GCC" = yes; then
   8786 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8787 	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'
   8788 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8789       else
   8790 	allow_undefined_flag=' -expect_unresolved \*'
   8791 	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'
   8792 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8793 	$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'
   8794 
   8795 	# Both c and cxx compiler support -rpath directly
   8796 	hardcode_libdir_flag_spec='-rpath $libdir'
   8797       fi
   8798       hardcode_libdir_separator=:
   8799       ;;
   8800 
   8801     solaris*)
   8802       no_undefined_flag=' -z text'
   8803       if test "$GCC" = yes; then
   8804 	wlarc='${wl}'
   8805 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8806 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8807 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8808       else
   8809 	wlarc=''
   8810 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8811 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8812   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8813       fi
   8814       hardcode_libdir_flag_spec='-R$libdir'
   8815       hardcode_shlibpath_var=no
   8816       case $host_os in
   8817       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8818       *)
   8819 	# The compiler driver will combine and reorder linker options,
   8820 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8821 	# but is careful enough not to reorder.
   8822  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8823 	if test "$GCC" = yes; then
   8824 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8825 	else
   8826 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8827 	fi
   8828 	;;
   8829       esac
   8830       link_all_deplibs=yes
   8831       ;;
   8832 
   8833     sunos4*)
   8834       if test "x$host_vendor" = xsequent; then
   8835 	# Use $CC to link under sequent, because it throws in some extra .o
   8836 	# files that make .init and .fini sections work.
   8837 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8838       else
   8839 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8840       fi
   8841       hardcode_libdir_flag_spec='-L$libdir'
   8842       hardcode_direct=yes
   8843       hardcode_minus_L=yes
   8844       hardcode_shlibpath_var=no
   8845       ;;
   8846 
   8847     sysv4)
   8848       case $host_vendor in
   8849 	sni)
   8850 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8851 	  hardcode_direct=yes # is this really true???
   8852 	;;
   8853 	siemens)
   8854 	  ## LD is ld it makes a PLAMLIB
   8855 	  ## CC just makes a GrossModule.
   8856 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8857 	  reload_cmds='$CC -r -o $output$reload_objs'
   8858 	  hardcode_direct=no
   8859         ;;
   8860 	motorola)
   8861 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8862 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8863 	;;
   8864       esac
   8865       runpath_var='LD_RUN_PATH'
   8866       hardcode_shlibpath_var=no
   8867       ;;
   8868 
   8869     sysv4.3*)
   8870       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8871       hardcode_shlibpath_var=no
   8872       export_dynamic_flag_spec='-Bexport'
   8873       ;;
   8874 
   8875     sysv4*MP*)
   8876       if test -d /usr/nec; then
   8877 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8878 	hardcode_shlibpath_var=no
   8879 	runpath_var=LD_RUN_PATH
   8880 	hardcode_runpath_var=yes
   8881 	ld_shlibs=yes
   8882       fi
   8883       ;;
   8884 
   8885     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8886       no_undefined_flag='${wl}-z,text'
   8887       archive_cmds_need_lc=no
   8888       hardcode_shlibpath_var=no
   8889       runpath_var='LD_RUN_PATH'
   8890 
   8891       if test "$GCC" = yes; then
   8892 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8893 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8894       else
   8895 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8896 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8897       fi
   8898       ;;
   8899 
   8900     sysv5* | sco3.2v5* | sco5v6*)
   8901       # Note: We can NOT use -z defs as we might desire, because we do not
   8902       # link with -lc, and that would cause any symbols used from libc to
   8903       # always be unresolved, which means just about no library would
   8904       # ever link correctly.  If we're not using GNU ld we use -z text
   8905       # though, which does catch some bad symbols but isn't as heavy-handed
   8906       # as -z defs.
   8907       no_undefined_flag='${wl}-z,text'
   8908       allow_undefined_flag='${wl}-z,nodefs'
   8909       archive_cmds_need_lc=no
   8910       hardcode_shlibpath_var=no
   8911       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8912       hardcode_libdir_separator=':'
   8913       link_all_deplibs=yes
   8914       export_dynamic_flag_spec='${wl}-Bexport'
   8915       runpath_var='LD_RUN_PATH'
   8916 
   8917       if test "$GCC" = yes; then
   8918 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8919 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8920       else
   8921 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8922 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8923       fi
   8924       ;;
   8925 
   8926     uts4*)
   8927       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8928       hardcode_libdir_flag_spec='-L$libdir'
   8929       hardcode_shlibpath_var=no
   8930       ;;
   8931 
   8932     *)
   8933       ld_shlibs=no
   8934       ;;
   8935     esac
   8936   fi
   8937 
   8938 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8939 echo "${ECHO_T}$ld_shlibs" >&6; }
   8940 test "$ld_shlibs" = no && can_build_shared=no
   8941 
   8942 #
   8943 # Do we need to explicitly link libc?
   8944 #
   8945 case "x$archive_cmds_need_lc" in
   8946 x|xyes)
   8947   # Assume -lc should be added
   8948   archive_cmds_need_lc=yes
   8949 
   8950   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8951     case $archive_cmds in
   8952     *'~'*)
   8953       # FIXME: we may have to deal with multi-command sequences.
   8954       ;;
   8955     '$CC '*)
   8956       # Test whether the compiler implicitly links with -lc since on some
   8957       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8958       # to ld, don't add -lc before -lgcc.
   8959       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8960 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8961       $rm conftest*
   8962       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8963 
   8964       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8965   (eval $ac_compile) 2>&5
   8966   ac_status=$?
   8967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8968   (exit $ac_status); } 2>conftest.err; then
   8969         soname=conftest
   8970         lib=conftest
   8971         libobjs=conftest.$ac_objext
   8972         deplibs=
   8973         wl=$lt_prog_compiler_wl
   8974 	pic_flag=$lt_prog_compiler_pic
   8975         compiler_flags=-v
   8976         linker_flags=-v
   8977         verstring=
   8978         output_objdir=.
   8979         libname=conftest
   8980         lt_save_allow_undefined_flag=$allow_undefined_flag
   8981         allow_undefined_flag=
   8982         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8983   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8984   ac_status=$?
   8985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8986   (exit $ac_status); }
   8987         then
   8988 	  archive_cmds_need_lc=no
   8989         else
   8990 	  archive_cmds_need_lc=yes
   8991         fi
   8992         allow_undefined_flag=$lt_save_allow_undefined_flag
   8993       else
   8994         cat conftest.err 1>&5
   8995       fi
   8996       $rm conftest*
   8997       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8998 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8999       ;;
   9000     esac
   9001   fi
   9002   ;;
   9003 esac
   9004 
   9005 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9006 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   9007 library_names_spec=
   9008 libname_spec='lib$name'
   9009 soname_spec=
   9010 shrext_cmds=".so"
   9011 postinstall_cmds=
   9012 postuninstall_cmds=
   9013 finish_cmds=
   9014 finish_eval=
   9015 shlibpath_var=
   9016 shlibpath_overrides_runpath=unknown
   9017 version_type=none
   9018 dynamic_linker="$host_os ld.so"
   9019 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9020 
   9021 if test "$GCC" = yes; then
   9022   case $host_os in
   9023     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9024     *) lt_awk_arg="/^libraries:/" ;;
   9025   esac
   9026   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9027   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9028     # if the path contains ";" then we assume it to be the separator
   9029     # otherwise default to the standard path separator (i.e. ":") - it is
   9030     # assumed that no part of a normal pathname contains ";" but that should
   9031     # okay in the real world where ";" in dirpaths is itself problematic.
   9032     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9033   else
   9034     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9035   fi
   9036   # Ok, now we have the path, separated by spaces, we can step through it
   9037   # and add multilib dir if necessary.
   9038   lt_tmp_lt_search_path_spec=
   9039   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9040   for lt_sys_path in $lt_search_path_spec; do
   9041     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9042       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9043     else
   9044       test -d "$lt_sys_path" && \
   9045 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9046     fi
   9047   done
   9048   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9049 BEGIN {RS=" "; FS="/|\n";} {
   9050   lt_foo="";
   9051   lt_count=0;
   9052   for (lt_i = NF; lt_i > 0; lt_i--) {
   9053     if ($lt_i != "" && $lt_i != ".") {
   9054       if ($lt_i == "..") {
   9055         lt_count++;
   9056       } else {
   9057         if (lt_count == 0) {
   9058           lt_foo="/" $lt_i lt_foo;
   9059         } else {
   9060           lt_count--;
   9061         }
   9062       }
   9063     }
   9064   }
   9065   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9066   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9067 }'`
   9068   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9069 else
   9070   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9071 fi
   9072 need_lib_prefix=unknown
   9073 hardcode_into_libs=no
   9074 
   9075 # when you set need_version to no, make sure it does not cause -set_version
   9076 # flags to be left without arguments
   9077 need_version=unknown
   9078 
   9079 case $host_os in
   9080 aix3*)
   9081   version_type=linux
   9082   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9083   shlibpath_var=LIBPATH
   9084 
   9085   # AIX 3 has no versioning support, so we append a major version to the name.
   9086   soname_spec='${libname}${release}${shared_ext}$major'
   9087   ;;
   9088 
   9089 aix[4-9]*)
   9090   version_type=linux
   9091   need_lib_prefix=no
   9092   need_version=no
   9093   hardcode_into_libs=yes
   9094   if test "$host_cpu" = ia64; then
   9095     # AIX 5 supports IA64
   9096     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9097     shlibpath_var=LD_LIBRARY_PATH
   9098   else
   9099     # With GCC up to 2.95.x, collect2 would create an import file
   9100     # for dependence libraries.  The import file would start with
   9101     # the line `#! .'.  This would cause the generated library to
   9102     # depend on `.', always an invalid library.  This was fixed in
   9103     # development snapshots of GCC prior to 3.0.
   9104     case $host_os in
   9105       aix4 | aix4.[01] | aix4.[01].*)
   9106       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9107 	   echo ' yes '
   9108 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9109 	:
   9110       else
   9111 	can_build_shared=no
   9112       fi
   9113       ;;
   9114     esac
   9115     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9116     # soname into executable. Probably we can add versioning support to
   9117     # collect2, so additional links can be useful in future.
   9118     if test "$aix_use_runtimelinking" = yes; then
   9119       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9120       # instead of lib<name>.a to let people know that these are not
   9121       # typical AIX shared libraries.
   9122       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9123     else
   9124       # We preserve .a as extension for shared libraries through AIX4.2
   9125       # and later when we are not doing run time linking.
   9126       library_names_spec='${libname}${release}.a $libname.a'
   9127       soname_spec='${libname}${release}${shared_ext}$major'
   9128     fi
   9129     shlibpath_var=LIBPATH
   9130   fi
   9131   ;;
   9132 
   9133 amigaos*)
   9134   library_names_spec='$libname.ixlibrary $libname.a'
   9135   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9136   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'
   9137   ;;
   9138 
   9139 beos*)
   9140   library_names_spec='${libname}${shared_ext}'
   9141   dynamic_linker="$host_os ld.so"
   9142   shlibpath_var=LIBRARY_PATH
   9143   ;;
   9144 
   9145 bsdi[45]*)
   9146   version_type=linux
   9147   need_version=no
   9148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9149   soname_spec='${libname}${release}${shared_ext}$major'
   9150   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9151   shlibpath_var=LD_LIBRARY_PATH
   9152   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9153   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9154   # the default ld.so.conf also contains /usr/contrib/lib and
   9155   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9156   # libtool to hard-code these into programs
   9157   ;;
   9158 
   9159 cygwin* | mingw* | pw32*)
   9160   version_type=windows
   9161   shrext_cmds=".dll"
   9162   need_version=no
   9163   need_lib_prefix=no
   9164 
   9165   case $GCC,$host_os in
   9166   yes,cygwin* | yes,mingw* | yes,pw32*)
   9167     library_names_spec='$libname.dll.a'
   9168     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9169     postinstall_cmds='base_file=`basename \${file}`~
   9170       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9171       dldir=$destdir/`dirname \$dlpath`~
   9172       test -d \$dldir || mkdir -p \$dldir~
   9173       $install_prog $dir/$dlname \$dldir/$dlname~
   9174       chmod a+x \$dldir/$dlname'
   9175     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9176       dlpath=$dir/\$dldll~
   9177        $rm \$dlpath'
   9178     shlibpath_overrides_runpath=yes
   9179 
   9180     case $host_os in
   9181     cygwin*)
   9182       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9183       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9184       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9185       ;;
   9186     mingw*)
   9187       # MinGW DLLs use traditional 'lib' prefix
   9188       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9189       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9190       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9191         # It is most probably a Windows format PATH printed by
   9192         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9193         # path with ; separators, and with drive letters. We can handle the
   9194         # drive letters (cygwin fileutils understands them), so leave them,
   9195         # especially as we might pass files found there to a mingw objdump,
   9196         # which wouldn't understand a cygwinified path. Ahh.
   9197         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9198       else
   9199         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9200       fi
   9201       ;;
   9202     pw32*)
   9203       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9204       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9205       ;;
   9206     esac
   9207     ;;
   9208 
   9209   *)
   9210     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9211     ;;
   9212   esac
   9213   dynamic_linker='Win32 ld.exe'
   9214   # FIXME: first we should search . and the directory the executable is in
   9215   shlibpath_var=PATH
   9216   ;;
   9217 
   9218 darwin* | rhapsody*)
   9219   dynamic_linker="$host_os dyld"
   9220   version_type=darwin
   9221   need_lib_prefix=no
   9222   need_version=no
   9223   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9224   soname_spec='${libname}${release}${major}$shared_ext'
   9225   shlibpath_overrides_runpath=yes
   9226   shlibpath_var=DYLD_LIBRARY_PATH
   9227   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9228 
   9229   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9230   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9231   ;;
   9232 
   9233 dgux*)
   9234   version_type=linux
   9235   need_lib_prefix=no
   9236   need_version=no
   9237   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9238   soname_spec='${libname}${release}${shared_ext}$major'
   9239   shlibpath_var=LD_LIBRARY_PATH
   9240   ;;
   9241 
   9242 freebsd1*)
   9243   dynamic_linker=no
   9244   ;;
   9245 
   9246 freebsd* | dragonfly*)
   9247   # DragonFly does not have aout.  When/if they implement a new
   9248   # versioning mechanism, adjust this.
   9249   if test -x /usr/bin/objformat; then
   9250     objformat=`/usr/bin/objformat`
   9251   else
   9252     case $host_os in
   9253     freebsd[123]*) objformat=aout ;;
   9254     *) objformat=elf ;;
   9255     esac
   9256   fi
   9257   # Handle Gentoo/FreeBSD as it was Linux
   9258   case $host_vendor in
   9259     gentoo)
   9260       version_type=linux ;;
   9261     *)
   9262       version_type=freebsd-$objformat ;;
   9263   esac
   9264 
   9265   case $version_type in
   9266     freebsd-elf*)
   9267       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9268       need_version=no
   9269       need_lib_prefix=no
   9270       ;;
   9271     freebsd-*)
   9272       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9273       need_version=yes
   9274       ;;
   9275     linux)
   9276       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9277       soname_spec='${libname}${release}${shared_ext}$major'
   9278       need_lib_prefix=no
   9279       need_version=no
   9280       ;;
   9281   esac
   9282   shlibpath_var=LD_LIBRARY_PATH
   9283   case $host_os in
   9284   freebsd2*)
   9285     shlibpath_overrides_runpath=yes
   9286     ;;
   9287   freebsd3.[01]* | freebsdelf3.[01]*)
   9288     shlibpath_overrides_runpath=yes
   9289     hardcode_into_libs=yes
   9290     ;;
   9291   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9292   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9293     shlibpath_overrides_runpath=no
   9294     hardcode_into_libs=yes
   9295     ;;
   9296   *) # from 4.6 on, and DragonFly
   9297     shlibpath_overrides_runpath=yes
   9298     hardcode_into_libs=yes
   9299     ;;
   9300   esac
   9301   ;;
   9302 
   9303 gnu*)
   9304   version_type=linux
   9305   need_lib_prefix=no
   9306   need_version=no
   9307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9308   soname_spec='${libname}${release}${shared_ext}$major'
   9309   shlibpath_var=LD_LIBRARY_PATH
   9310   hardcode_into_libs=yes
   9311   ;;
   9312 
   9313 hpux9* | hpux10* | hpux11*)
   9314   # Give a soname corresponding to the major version so that dld.sl refuses to
   9315   # link against other versions.
   9316   version_type=sunos
   9317   need_lib_prefix=no
   9318   need_version=no
   9319   case $host_cpu in
   9320   ia64*)
   9321     shrext_cmds='.so'
   9322     hardcode_into_libs=yes
   9323     dynamic_linker="$host_os dld.so"
   9324     shlibpath_var=LD_LIBRARY_PATH
   9325     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9326     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9327     soname_spec='${libname}${release}${shared_ext}$major'
   9328     if test "X$HPUX_IA64_MODE" = X32; then
   9329       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9330     else
   9331       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9332     fi
   9333     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9334     ;;
   9335    hppa*64*)
   9336      shrext_cmds='.sl'
   9337      hardcode_into_libs=yes
   9338      dynamic_linker="$host_os dld.sl"
   9339      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9340      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9341      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9342      soname_spec='${libname}${release}${shared_ext}$major'
   9343      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9344      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9345      ;;
   9346    *)
   9347     shrext_cmds='.sl'
   9348     dynamic_linker="$host_os dld.sl"
   9349     shlibpath_var=SHLIB_PATH
   9350     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9352     soname_spec='${libname}${release}${shared_ext}$major'
   9353     ;;
   9354   esac
   9355   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9356   postinstall_cmds='chmod 555 $lib'
   9357   ;;
   9358 
   9359 interix[3-9]*)
   9360   version_type=linux
   9361   need_lib_prefix=no
   9362   need_version=no
   9363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9364   soname_spec='${libname}${release}${shared_ext}$major'
   9365   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9366   shlibpath_var=LD_LIBRARY_PATH
   9367   shlibpath_overrides_runpath=no
   9368   hardcode_into_libs=yes
   9369   ;;
   9370 
   9371 irix5* | irix6* | nonstopux*)
   9372   case $host_os in
   9373     nonstopux*) version_type=nonstopux ;;
   9374     *)
   9375 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9376 		version_type=linux
   9377 	else
   9378 		version_type=irix
   9379 	fi ;;
   9380   esac
   9381   need_lib_prefix=no
   9382   need_version=no
   9383   soname_spec='${libname}${release}${shared_ext}$major'
   9384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9385   case $host_os in
   9386   irix5* | nonstopux*)
   9387     libsuff= shlibsuff=
   9388     ;;
   9389   *)
   9390     case $LD in # libtool.m4 will add one of these switches to LD
   9391     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9392       libsuff= shlibsuff= libmagic=32-bit;;
   9393     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9394       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9395     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9396       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9397     *) libsuff= shlibsuff= libmagic=never-match;;
   9398     esac
   9399     ;;
   9400   esac
   9401   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9402   shlibpath_overrides_runpath=no
   9403   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9404   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9405   hardcode_into_libs=yes
   9406   ;;
   9407 
   9408 # No shared lib support for Linux oldld, aout, or coff.
   9409 linux*oldld* | linux*aout* | linux*coff*)
   9410   dynamic_linker=no
   9411   ;;
   9412 
   9413 # This must be Linux ELF.
   9414 linux* | k*bsd*-gnu)
   9415   version_type=linux
   9416   need_lib_prefix=no
   9417   need_version=no
   9418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9419   soname_spec='${libname}${release}${shared_ext}$major'
   9420   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9421   shlibpath_var=LD_LIBRARY_PATH
   9422   shlibpath_overrides_runpath=no
   9423   # This implies no fast_install, which is unacceptable.
   9424   # Some rework will be needed to allow for fast_install
   9425   # before this can be enabled.
   9426   hardcode_into_libs=yes
   9427 
   9428   # Append ld.so.conf contents to the search path
   9429   if test -f /etc/ld.so.conf; then
   9430     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9431     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9432   fi
   9433 
   9434   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9435   # powerpc, because MkLinux only supported shared libraries with the
   9436   # GNU dynamic linker.  Since this was broken with cross compilers,
   9437   # most powerpc-linux boxes support dynamic linking these days and
   9438   # people can always --disable-shared, the test was removed, and we
   9439   # assume the GNU/Linux dynamic linker is in use.
   9440   dynamic_linker='GNU/Linux ld.so'
   9441   ;;
   9442 
   9443 netbsd*)
   9444   version_type=sunos
   9445   need_lib_prefix=no
   9446   need_version=no
   9447   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9448     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9449     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9450     dynamic_linker='NetBSD (a.out) ld.so'
   9451   else
   9452     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9453     soname_spec='${libname}${release}${shared_ext}$major'
   9454     dynamic_linker='NetBSD ld.elf_so'
   9455   fi
   9456   shlibpath_var=LD_LIBRARY_PATH
   9457   shlibpath_overrides_runpath=yes
   9458   hardcode_into_libs=yes
   9459   ;;
   9460 
   9461 newsos6)
   9462   version_type=linux
   9463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9464   shlibpath_var=LD_LIBRARY_PATH
   9465   shlibpath_overrides_runpath=yes
   9466   ;;
   9467 
   9468 nto-qnx*)
   9469   version_type=linux
   9470   need_lib_prefix=no
   9471   need_version=no
   9472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9473   soname_spec='${libname}${release}${shared_ext}$major'
   9474   shlibpath_var=LD_LIBRARY_PATH
   9475   shlibpath_overrides_runpath=yes
   9476   ;;
   9477 
   9478 openbsd*)
   9479   version_type=sunos
   9480   sys_lib_dlsearch_path_spec="/usr/lib"
   9481   need_lib_prefix=no
   9482   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9483   case $host_os in
   9484     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9485     *)                         need_version=no  ;;
   9486   esac
   9487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9488   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9489   shlibpath_var=LD_LIBRARY_PATH
   9490   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9491     case $host_os in
   9492       openbsd2.[89] | openbsd2.[89].*)
   9493 	shlibpath_overrides_runpath=no
   9494 	;;
   9495       *)
   9496 	shlibpath_overrides_runpath=yes
   9497 	;;
   9498       esac
   9499   else
   9500     shlibpath_overrides_runpath=yes
   9501   fi
   9502   ;;
   9503 
   9504 os2*)
   9505   libname_spec='$name'
   9506   shrext_cmds=".dll"
   9507   need_lib_prefix=no
   9508   library_names_spec='$libname${shared_ext} $libname.a'
   9509   dynamic_linker='OS/2 ld.exe'
   9510   shlibpath_var=LIBPATH
   9511   ;;
   9512 
   9513 osf3* | osf4* | osf5*)
   9514   version_type=osf
   9515   need_lib_prefix=no
   9516   need_version=no
   9517   soname_spec='${libname}${release}${shared_ext}$major'
   9518   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9519   shlibpath_var=LD_LIBRARY_PATH
   9520   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9521   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9522   ;;
   9523 
   9524 rdos*)
   9525   dynamic_linker=no
   9526   ;;
   9527 
   9528 solaris*)
   9529   version_type=linux
   9530   need_lib_prefix=no
   9531   need_version=no
   9532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9533   soname_spec='${libname}${release}${shared_ext}$major'
   9534   shlibpath_var=LD_LIBRARY_PATH
   9535   shlibpath_overrides_runpath=yes
   9536   hardcode_into_libs=yes
   9537   # ldd complains unless libraries are executable
   9538   postinstall_cmds='chmod +x $lib'
   9539   ;;
   9540 
   9541 sunos4*)
   9542   version_type=sunos
   9543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9544   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9545   shlibpath_var=LD_LIBRARY_PATH
   9546   shlibpath_overrides_runpath=yes
   9547   if test "$with_gnu_ld" = yes; then
   9548     need_lib_prefix=no
   9549   fi
   9550   need_version=yes
   9551   ;;
   9552 
   9553 sysv4 | sysv4.3*)
   9554   version_type=linux
   9555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9556   soname_spec='${libname}${release}${shared_ext}$major'
   9557   shlibpath_var=LD_LIBRARY_PATH
   9558   case $host_vendor in
   9559     sni)
   9560       shlibpath_overrides_runpath=no
   9561       need_lib_prefix=no
   9562       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9563       runpath_var=LD_RUN_PATH
   9564       ;;
   9565     siemens)
   9566       need_lib_prefix=no
   9567       ;;
   9568     motorola)
   9569       need_lib_prefix=no
   9570       need_version=no
   9571       shlibpath_overrides_runpath=no
   9572       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9573       ;;
   9574   esac
   9575   ;;
   9576 
   9577 sysv4*MP*)
   9578   if test -d /usr/nec ;then
   9579     version_type=linux
   9580     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9581     soname_spec='$libname${shared_ext}.$major'
   9582     shlibpath_var=LD_LIBRARY_PATH
   9583   fi
   9584   ;;
   9585 
   9586 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9587   version_type=freebsd-elf
   9588   need_lib_prefix=no
   9589   need_version=no
   9590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9591   soname_spec='${libname}${release}${shared_ext}$major'
   9592   shlibpath_var=LD_LIBRARY_PATH
   9593   hardcode_into_libs=yes
   9594   if test "$with_gnu_ld" = yes; then
   9595     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9596     shlibpath_overrides_runpath=no
   9597   else
   9598     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9599     shlibpath_overrides_runpath=yes
   9600     case $host_os in
   9601       sco3.2v5*)
   9602         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9603 	;;
   9604     esac
   9605   fi
   9606   sys_lib_dlsearch_path_spec='/usr/lib'
   9607   ;;
   9608 
   9609 uts4*)
   9610   version_type=linux
   9611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9612   soname_spec='${libname}${release}${shared_ext}$major'
   9613   shlibpath_var=LD_LIBRARY_PATH
   9614   ;;
   9615 
   9616 *)
   9617   dynamic_linker=no
   9618   ;;
   9619 esac
   9620 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9621 echo "${ECHO_T}$dynamic_linker" >&6; }
   9622 test "$dynamic_linker" = no && can_build_shared=no
   9623 
   9624 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9625   echo $ECHO_N "(cached) $ECHO_C" >&6
   9626 else
   9627   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9628 fi
   9629 
   9630 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9631 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9632   echo $ECHO_N "(cached) $ECHO_C" >&6
   9633 else
   9634   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9635 fi
   9636 
   9637 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9638 
   9639 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9640 if test "$GCC" = yes; then
   9641   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9642 fi
   9643 
   9644 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9645 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9646 hardcode_action=
   9647 if test -n "$hardcode_libdir_flag_spec" || \
   9648    test -n "$runpath_var" || \
   9649    test "X$hardcode_automatic" = "Xyes" ; then
   9650 
   9651   # We can hardcode non-existant directories.
   9652   if test "$hardcode_direct" != no &&
   9653      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9654      # have to relink, otherwise we might link with an installed library
   9655      # when we should be linking with a yet-to-be-installed one
   9656      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9657      test "$hardcode_minus_L" != no; then
   9658     # Linking always hardcodes the temporary library directory.
   9659     hardcode_action=relink
   9660   else
   9661     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9662     hardcode_action=immediate
   9663   fi
   9664 else
   9665   # We cannot hardcode anything, or else we can only hardcode existing
   9666   # directories.
   9667   hardcode_action=unsupported
   9668 fi
   9669 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9670 echo "${ECHO_T}$hardcode_action" >&6; }
   9671 
   9672 if test "$hardcode_action" = relink; then
   9673   # Fast installation is not supported
   9674   enable_fast_install=no
   9675 elif test "$shlibpath_overrides_runpath" = yes ||
   9676      test "$enable_shared" = no; then
   9677   # Fast installation is not necessary
   9678   enable_fast_install=needless
   9679 fi
   9680 
   9681 striplib=
   9682 old_striplib=
   9683 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9684 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9685 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9686   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9687   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9688   { echo "$as_me:$LINENO: result: yes" >&5
   9689 echo "${ECHO_T}yes" >&6; }
   9690 else
   9691 # FIXME - insert some real tests, host_os isn't really good enough
   9692   case $host_os in
   9693    darwin*)
   9694        if test -n "$STRIP" ; then
   9695          striplib="$STRIP -x"
   9696          old_striplib="$STRIP -S"
   9697          { echo "$as_me:$LINENO: result: yes" >&5
   9698 echo "${ECHO_T}yes" >&6; }
   9699        else
   9700   { echo "$as_me:$LINENO: result: no" >&5
   9701 echo "${ECHO_T}no" >&6; }
   9702 fi
   9703        ;;
   9704    *)
   9705   { echo "$as_me:$LINENO: result: no" >&5
   9706 echo "${ECHO_T}no" >&6; }
   9707     ;;
   9708   esac
   9709 fi
   9710 
   9711 if test "x$enable_dlopen" != xyes; then
   9712   enable_dlopen=unknown
   9713   enable_dlopen_self=unknown
   9714   enable_dlopen_self_static=unknown
   9715 else
   9716   lt_cv_dlopen=no
   9717   lt_cv_dlopen_libs=
   9718 
   9719   case $host_os in
   9720   beos*)
   9721     lt_cv_dlopen="load_add_on"
   9722     lt_cv_dlopen_libs=
   9723     lt_cv_dlopen_self=yes
   9724     ;;
   9725 
   9726   mingw* | pw32*)
   9727     lt_cv_dlopen="LoadLibrary"
   9728     lt_cv_dlopen_libs=
   9729    ;;
   9730 
   9731   cygwin*)
   9732     lt_cv_dlopen="dlopen"
   9733     lt_cv_dlopen_libs=
   9734    ;;
   9735 
   9736   darwin*)
   9737   # if libdl is installed we need to link against it
   9738     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9739 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9740 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9741   echo $ECHO_N "(cached) $ECHO_C" >&6
   9742 else
   9743   ac_check_lib_save_LIBS=$LIBS
   9744 LIBS="-ldl  $LIBS"
   9745 cat >conftest.$ac_ext <<_ACEOF
   9746 /* confdefs.h.  */
   9747 _ACEOF
   9748 cat confdefs.h >>conftest.$ac_ext
   9749 cat >>conftest.$ac_ext <<_ACEOF
   9750 /* end confdefs.h.  */
   9751 
   9752 /* Override any GCC internal prototype to avoid an error.
   9753    Use char because int might match the return type of a GCC
   9754    builtin and then its argument prototype would still apply.  */
   9755 #ifdef __cplusplus
   9756 extern "C"
   9757 #endif
   9758 char dlopen ();
   9759 int
   9760 main ()
   9761 {
   9762 return dlopen ();
   9763   ;
   9764   return 0;
   9765 }
   9766 _ACEOF
   9767 rm -f conftest.$ac_objext conftest$ac_exeext
   9768 if { (ac_try="$ac_link"
   9769 case "(($ac_try" in
   9770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9771   *) ac_try_echo=$ac_try;;
   9772 esac
   9773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9774   (eval "$ac_link") 2>conftest.er1
   9775   ac_status=$?
   9776   grep -v '^ *+' conftest.er1 >conftest.err
   9777   rm -f conftest.er1
   9778   cat conftest.err >&5
   9779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9780   (exit $ac_status); } && {
   9781 	 test -z "$ac_c_werror_flag" ||
   9782 	 test ! -s conftest.err
   9783        } && test -s conftest$ac_exeext &&
   9784        $as_test_x conftest$ac_exeext; then
   9785   ac_cv_lib_dl_dlopen=yes
   9786 else
   9787   echo "$as_me: failed program was:" >&5
   9788 sed 's/^/| /' conftest.$ac_ext >&5
   9789 
   9790 	ac_cv_lib_dl_dlopen=no
   9791 fi
   9792 
   9793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9794       conftest$ac_exeext conftest.$ac_ext
   9795 LIBS=$ac_check_lib_save_LIBS
   9796 fi
   9797 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9798 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9799 if test $ac_cv_lib_dl_dlopen = yes; then
   9800   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9801 else
   9802 
   9803     lt_cv_dlopen="dyld"
   9804     lt_cv_dlopen_libs=
   9805     lt_cv_dlopen_self=yes
   9806 
   9807 fi
   9808 
   9809    ;;
   9810 
   9811   *)
   9812     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9813 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9814 if test "${ac_cv_func_shl_load+set}" = set; then
   9815   echo $ECHO_N "(cached) $ECHO_C" >&6
   9816 else
   9817   cat >conftest.$ac_ext <<_ACEOF
   9818 /* confdefs.h.  */
   9819 _ACEOF
   9820 cat confdefs.h >>conftest.$ac_ext
   9821 cat >>conftest.$ac_ext <<_ACEOF
   9822 /* end confdefs.h.  */
   9823 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9825 #define shl_load innocuous_shl_load
   9826 
   9827 /* System header to define __stub macros and hopefully few prototypes,
   9828     which can conflict with char shl_load (); below.
   9829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9830     <limits.h> exists even on freestanding compilers.  */
   9831 
   9832 #ifdef __STDC__
   9833 # include <limits.h>
   9834 #else
   9835 # include <assert.h>
   9836 #endif
   9837 
   9838 #undef shl_load
   9839 
   9840 /* Override any GCC internal prototype to avoid an error.
   9841    Use char because int might match the return type of a GCC
   9842    builtin and then its argument prototype would still apply.  */
   9843 #ifdef __cplusplus
   9844 extern "C"
   9845 #endif
   9846 char shl_load ();
   9847 /* The GNU C library defines this for functions which it implements
   9848     to always fail with ENOSYS.  Some functions are actually named
   9849     something starting with __ and the normal name is an alias.  */
   9850 #if defined __stub_shl_load || defined __stub___shl_load
   9851 choke me
   9852 #endif
   9853 
   9854 int
   9855 main ()
   9856 {
   9857 return shl_load ();
   9858   ;
   9859   return 0;
   9860 }
   9861 _ACEOF
   9862 rm -f conftest.$ac_objext conftest$ac_exeext
   9863 if { (ac_try="$ac_link"
   9864 case "(($ac_try" in
   9865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9866   *) ac_try_echo=$ac_try;;
   9867 esac
   9868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9869   (eval "$ac_link") 2>conftest.er1
   9870   ac_status=$?
   9871   grep -v '^ *+' conftest.er1 >conftest.err
   9872   rm -f conftest.er1
   9873   cat conftest.err >&5
   9874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9875   (exit $ac_status); } && {
   9876 	 test -z "$ac_c_werror_flag" ||
   9877 	 test ! -s conftest.err
   9878        } && test -s conftest$ac_exeext &&
   9879        $as_test_x conftest$ac_exeext; then
   9880   ac_cv_func_shl_load=yes
   9881 else
   9882   echo "$as_me: failed program was:" >&5
   9883 sed 's/^/| /' conftest.$ac_ext >&5
   9884 
   9885 	ac_cv_func_shl_load=no
   9886 fi
   9887 
   9888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9889       conftest$ac_exeext conftest.$ac_ext
   9890 fi
   9891 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9892 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9893 if test $ac_cv_func_shl_load = yes; then
   9894   lt_cv_dlopen="shl_load"
   9895 else
   9896   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9897 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9898 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9899   echo $ECHO_N "(cached) $ECHO_C" >&6
   9900 else
   9901   ac_check_lib_save_LIBS=$LIBS
   9902 LIBS="-ldld  $LIBS"
   9903 cat >conftest.$ac_ext <<_ACEOF
   9904 /* confdefs.h.  */
   9905 _ACEOF
   9906 cat confdefs.h >>conftest.$ac_ext
   9907 cat >>conftest.$ac_ext <<_ACEOF
   9908 /* end confdefs.h.  */
   9909 
   9910 /* Override any GCC internal prototype to avoid an error.
   9911    Use char because int might match the return type of a GCC
   9912    builtin and then its argument prototype would still apply.  */
   9913 #ifdef __cplusplus
   9914 extern "C"
   9915 #endif
   9916 char shl_load ();
   9917 int
   9918 main ()
   9919 {
   9920 return shl_load ();
   9921   ;
   9922   return 0;
   9923 }
   9924 _ACEOF
   9925 rm -f conftest.$ac_objext conftest$ac_exeext
   9926 if { (ac_try="$ac_link"
   9927 case "(($ac_try" in
   9928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9929   *) ac_try_echo=$ac_try;;
   9930 esac
   9931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9932   (eval "$ac_link") 2>conftest.er1
   9933   ac_status=$?
   9934   grep -v '^ *+' conftest.er1 >conftest.err
   9935   rm -f conftest.er1
   9936   cat conftest.err >&5
   9937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9938   (exit $ac_status); } && {
   9939 	 test -z "$ac_c_werror_flag" ||
   9940 	 test ! -s conftest.err
   9941        } && test -s conftest$ac_exeext &&
   9942        $as_test_x conftest$ac_exeext; then
   9943   ac_cv_lib_dld_shl_load=yes
   9944 else
   9945   echo "$as_me: failed program was:" >&5
   9946 sed 's/^/| /' conftest.$ac_ext >&5
   9947 
   9948 	ac_cv_lib_dld_shl_load=no
   9949 fi
   9950 
   9951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9952       conftest$ac_exeext conftest.$ac_ext
   9953 LIBS=$ac_check_lib_save_LIBS
   9954 fi
   9955 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9956 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9957 if test $ac_cv_lib_dld_shl_load = yes; then
   9958   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   9959 else
   9960   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9961 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9962 if test "${ac_cv_func_dlopen+set}" = set; then
   9963   echo $ECHO_N "(cached) $ECHO_C" >&6
   9964 else
   9965   cat >conftest.$ac_ext <<_ACEOF
   9966 /* confdefs.h.  */
   9967 _ACEOF
   9968 cat confdefs.h >>conftest.$ac_ext
   9969 cat >>conftest.$ac_ext <<_ACEOF
   9970 /* end confdefs.h.  */
   9971 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9973 #define dlopen innocuous_dlopen
   9974 
   9975 /* System header to define __stub macros and hopefully few prototypes,
   9976     which can conflict with char dlopen (); below.
   9977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9978     <limits.h> exists even on freestanding compilers.  */
   9979 
   9980 #ifdef __STDC__
   9981 # include <limits.h>
   9982 #else
   9983 # include <assert.h>
   9984 #endif
   9985 
   9986 #undef dlopen
   9987 
   9988 /* Override any GCC internal prototype to avoid an error.
   9989    Use char because int might match the return type of a GCC
   9990    builtin and then its argument prototype would still apply.  */
   9991 #ifdef __cplusplus
   9992 extern "C"
   9993 #endif
   9994 char dlopen ();
   9995 /* The GNU C library defines this for functions which it implements
   9996     to always fail with ENOSYS.  Some functions are actually named
   9997     something starting with __ and the normal name is an alias.  */
   9998 #if defined __stub_dlopen || defined __stub___dlopen
   9999 choke me
   10000 #endif
   10001 
   10002 int
   10003 main ()
   10004 {
   10005 return dlopen ();
   10006   ;
   10007   return 0;
   10008 }
   10009 _ACEOF
   10010 rm -f conftest.$ac_objext conftest$ac_exeext
   10011 if { (ac_try="$ac_link"
   10012 case "(($ac_try" in
   10013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10014   *) ac_try_echo=$ac_try;;
   10015 esac
   10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10017   (eval "$ac_link") 2>conftest.er1
   10018   ac_status=$?
   10019   grep -v '^ *+' conftest.er1 >conftest.err
   10020   rm -f conftest.er1
   10021   cat conftest.err >&5
   10022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10023   (exit $ac_status); } && {
   10024 	 test -z "$ac_c_werror_flag" ||
   10025 	 test ! -s conftest.err
   10026        } && test -s conftest$ac_exeext &&
   10027        $as_test_x conftest$ac_exeext; then
   10028   ac_cv_func_dlopen=yes
   10029 else
   10030   echo "$as_me: failed program was:" >&5
   10031 sed 's/^/| /' conftest.$ac_ext >&5
   10032 
   10033 	ac_cv_func_dlopen=no
   10034 fi
   10035 
   10036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10037       conftest$ac_exeext conftest.$ac_ext
   10038 fi
   10039 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10040 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   10041 if test $ac_cv_func_dlopen = yes; then
   10042   lt_cv_dlopen="dlopen"
   10043 else
   10044   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10045 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   10046 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10047   echo $ECHO_N "(cached) $ECHO_C" >&6
   10048 else
   10049   ac_check_lib_save_LIBS=$LIBS
   10050 LIBS="-ldl  $LIBS"
   10051 cat >conftest.$ac_ext <<_ACEOF
   10052 /* confdefs.h.  */
   10053 _ACEOF
   10054 cat confdefs.h >>conftest.$ac_ext
   10055 cat >>conftest.$ac_ext <<_ACEOF
   10056 /* end confdefs.h.  */
   10057 
   10058 /* Override any GCC internal prototype to avoid an error.
   10059    Use char because int might match the return type of a GCC
   10060    builtin and then its argument prototype would still apply.  */
   10061 #ifdef __cplusplus
   10062 extern "C"
   10063 #endif
   10064 char dlopen ();
   10065 int
   10066 main ()
   10067 {
   10068 return dlopen ();
   10069   ;
   10070   return 0;
   10071 }
   10072 _ACEOF
   10073 rm -f conftest.$ac_objext conftest$ac_exeext
   10074 if { (ac_try="$ac_link"
   10075 case "(($ac_try" in
   10076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10077   *) ac_try_echo=$ac_try;;
   10078 esac
   10079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10080   (eval "$ac_link") 2>conftest.er1
   10081   ac_status=$?
   10082   grep -v '^ *+' conftest.er1 >conftest.err
   10083   rm -f conftest.er1
   10084   cat conftest.err >&5
   10085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10086   (exit $ac_status); } && {
   10087 	 test -z "$ac_c_werror_flag" ||
   10088 	 test ! -s conftest.err
   10089        } && test -s conftest$ac_exeext &&
   10090        $as_test_x conftest$ac_exeext; then
   10091   ac_cv_lib_dl_dlopen=yes
   10092 else
   10093   echo "$as_me: failed program was:" >&5
   10094 sed 's/^/| /' conftest.$ac_ext >&5
   10095 
   10096 	ac_cv_lib_dl_dlopen=no
   10097 fi
   10098 
   10099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10100       conftest$ac_exeext conftest.$ac_ext
   10101 LIBS=$ac_check_lib_save_LIBS
   10102 fi
   10103 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10104 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   10105 if test $ac_cv_lib_dl_dlopen = yes; then
   10106   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10107 else
   10108   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10109 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   10110 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10111   echo $ECHO_N "(cached) $ECHO_C" >&6
   10112 else
   10113   ac_check_lib_save_LIBS=$LIBS
   10114 LIBS="-lsvld  $LIBS"
   10115 cat >conftest.$ac_ext <<_ACEOF
   10116 /* confdefs.h.  */
   10117 _ACEOF
   10118 cat confdefs.h >>conftest.$ac_ext
   10119 cat >>conftest.$ac_ext <<_ACEOF
   10120 /* end confdefs.h.  */
   10121 
   10122 /* Override any GCC internal prototype to avoid an error.
   10123    Use char because int might match the return type of a GCC
   10124    builtin and then its argument prototype would still apply.  */
   10125 #ifdef __cplusplus
   10126 extern "C"
   10127 #endif
   10128 char dlopen ();
   10129 int
   10130 main ()
   10131 {
   10132 return dlopen ();
   10133   ;
   10134   return 0;
   10135 }
   10136 _ACEOF
   10137 rm -f conftest.$ac_objext conftest$ac_exeext
   10138 if { (ac_try="$ac_link"
   10139 case "(($ac_try" in
   10140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10141   *) ac_try_echo=$ac_try;;
   10142 esac
   10143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10144   (eval "$ac_link") 2>conftest.er1
   10145   ac_status=$?
   10146   grep -v '^ *+' conftest.er1 >conftest.err
   10147   rm -f conftest.er1
   10148   cat conftest.err >&5
   10149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10150   (exit $ac_status); } && {
   10151 	 test -z "$ac_c_werror_flag" ||
   10152 	 test ! -s conftest.err
   10153        } && test -s conftest$ac_exeext &&
   10154        $as_test_x conftest$ac_exeext; then
   10155   ac_cv_lib_svld_dlopen=yes
   10156 else
   10157   echo "$as_me: failed program was:" >&5
   10158 sed 's/^/| /' conftest.$ac_ext >&5
   10159 
   10160 	ac_cv_lib_svld_dlopen=no
   10161 fi
   10162 
   10163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10164       conftest$ac_exeext conftest.$ac_ext
   10165 LIBS=$ac_check_lib_save_LIBS
   10166 fi
   10167 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10168 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10169 if test $ac_cv_lib_svld_dlopen = yes; then
   10170   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10171 else
   10172   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10173 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10174 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10175   echo $ECHO_N "(cached) $ECHO_C" >&6
   10176 else
   10177   ac_check_lib_save_LIBS=$LIBS
   10178 LIBS="-ldld  $LIBS"
   10179 cat >conftest.$ac_ext <<_ACEOF
   10180 /* confdefs.h.  */
   10181 _ACEOF
   10182 cat confdefs.h >>conftest.$ac_ext
   10183 cat >>conftest.$ac_ext <<_ACEOF
   10184 /* end confdefs.h.  */
   10185 
   10186 /* Override any GCC internal prototype to avoid an error.
   10187    Use char because int might match the return type of a GCC
   10188    builtin and then its argument prototype would still apply.  */
   10189 #ifdef __cplusplus
   10190 extern "C"
   10191 #endif
   10192 char dld_link ();
   10193 int
   10194 main ()
   10195 {
   10196 return dld_link ();
   10197   ;
   10198   return 0;
   10199 }
   10200 _ACEOF
   10201 rm -f conftest.$ac_objext conftest$ac_exeext
   10202 if { (ac_try="$ac_link"
   10203 case "(($ac_try" in
   10204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10205   *) ac_try_echo=$ac_try;;
   10206 esac
   10207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10208   (eval "$ac_link") 2>conftest.er1
   10209   ac_status=$?
   10210   grep -v '^ *+' conftest.er1 >conftest.err
   10211   rm -f conftest.er1
   10212   cat conftest.err >&5
   10213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10214   (exit $ac_status); } && {
   10215 	 test -z "$ac_c_werror_flag" ||
   10216 	 test ! -s conftest.err
   10217        } && test -s conftest$ac_exeext &&
   10218        $as_test_x conftest$ac_exeext; then
   10219   ac_cv_lib_dld_dld_link=yes
   10220 else
   10221   echo "$as_me: failed program was:" >&5
   10222 sed 's/^/| /' conftest.$ac_ext >&5
   10223 
   10224 	ac_cv_lib_dld_dld_link=no
   10225 fi
   10226 
   10227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10228       conftest$ac_exeext conftest.$ac_ext
   10229 LIBS=$ac_check_lib_save_LIBS
   10230 fi
   10231 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10232 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10233 if test $ac_cv_lib_dld_dld_link = yes; then
   10234   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10235 fi
   10236 
   10237 
   10238 fi
   10239 
   10240 
   10241 fi
   10242 
   10243 
   10244 fi
   10245 
   10246 
   10247 fi
   10248 
   10249 
   10250 fi
   10251 
   10252     ;;
   10253   esac
   10254 
   10255   if test "x$lt_cv_dlopen" != xno; then
   10256     enable_dlopen=yes
   10257   else
   10258     enable_dlopen=no
   10259   fi
   10260 
   10261   case $lt_cv_dlopen in
   10262   dlopen)
   10263     save_CPPFLAGS="$CPPFLAGS"
   10264     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10265 
   10266     save_LDFLAGS="$LDFLAGS"
   10267     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10268 
   10269     save_LIBS="$LIBS"
   10270     LIBS="$lt_cv_dlopen_libs $LIBS"
   10271 
   10272     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10273 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   10274 if test "${lt_cv_dlopen_self+set}" = set; then
   10275   echo $ECHO_N "(cached) $ECHO_C" >&6
   10276 else
   10277   	  if test "$cross_compiling" = yes; then :
   10278   lt_cv_dlopen_self=cross
   10279 else
   10280   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10281   lt_status=$lt_dlunknown
   10282   cat > conftest.$ac_ext <<EOF
   10283 #line 10283 "configure"
   10284 #include "confdefs.h"
   10285 
   10286 #if HAVE_DLFCN_H
   10287 #include <dlfcn.h>
   10288 #endif
   10289 
   10290 #include <stdio.h>
   10291 
   10292 #ifdef RTLD_GLOBAL
   10293 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10294 #else
   10295 #  ifdef DL_GLOBAL
   10296 #    define LT_DLGLOBAL		DL_GLOBAL
   10297 #  else
   10298 #    define LT_DLGLOBAL		0
   10299 #  endif
   10300 #endif
   10301 
   10302 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10303    find out it does not work in some platform. */
   10304 #ifndef LT_DLLAZY_OR_NOW
   10305 #  ifdef RTLD_LAZY
   10306 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10307 #  else
   10308 #    ifdef DL_LAZY
   10309 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10310 #    else
   10311 #      ifdef RTLD_NOW
   10312 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10313 #      else
   10314 #        ifdef DL_NOW
   10315 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10316 #        else
   10317 #          define LT_DLLAZY_OR_NOW	0
   10318 #        endif
   10319 #      endif
   10320 #    endif
   10321 #  endif
   10322 #endif
   10323 
   10324 #ifdef __cplusplus
   10325 extern "C" void exit (int);
   10326 #endif
   10327 
   10328 void fnord() { int i=42;}
   10329 int main ()
   10330 {
   10331   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10332   int status = $lt_dlunknown;
   10333 
   10334   if (self)
   10335     {
   10336       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10337       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10338       /* dlclose (self); */
   10339     }
   10340   else
   10341     puts (dlerror ());
   10342 
   10343     exit (status);
   10344 }
   10345 EOF
   10346   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10347   (eval $ac_link) 2>&5
   10348   ac_status=$?
   10349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10350   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10351     (./conftest; exit; ) >&5 2>/dev/null
   10352     lt_status=$?
   10353     case x$lt_status in
   10354       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10355       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10356       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10357     esac
   10358   else :
   10359     # compilation failed
   10360     lt_cv_dlopen_self=no
   10361   fi
   10362 fi
   10363 rm -fr conftest*
   10364 
   10365 
   10366 fi
   10367 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10368 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   10369 
   10370     if test "x$lt_cv_dlopen_self" = xyes; then
   10371       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10372       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10373 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   10374 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10375   echo $ECHO_N "(cached) $ECHO_C" >&6
   10376 else
   10377   	  if test "$cross_compiling" = yes; then :
   10378   lt_cv_dlopen_self_static=cross
   10379 else
   10380   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10381   lt_status=$lt_dlunknown
   10382   cat > conftest.$ac_ext <<EOF
   10383 #line 10383 "configure"
   10384 #include "confdefs.h"
   10385 
   10386 #if HAVE_DLFCN_H
   10387 #include <dlfcn.h>
   10388 #endif
   10389 
   10390 #include <stdio.h>
   10391 
   10392 #ifdef RTLD_GLOBAL
   10393 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10394 #else
   10395 #  ifdef DL_GLOBAL
   10396 #    define LT_DLGLOBAL		DL_GLOBAL
   10397 #  else
   10398 #    define LT_DLGLOBAL		0
   10399 #  endif
   10400 #endif
   10401 
   10402 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10403    find out it does not work in some platform. */
   10404 #ifndef LT_DLLAZY_OR_NOW
   10405 #  ifdef RTLD_LAZY
   10406 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10407 #  else
   10408 #    ifdef DL_LAZY
   10409 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10410 #    else
   10411 #      ifdef RTLD_NOW
   10412 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10413 #      else
   10414 #        ifdef DL_NOW
   10415 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10416 #        else
   10417 #          define LT_DLLAZY_OR_NOW	0
   10418 #        endif
   10419 #      endif
   10420 #    endif
   10421 #  endif
   10422 #endif
   10423 
   10424 #ifdef __cplusplus
   10425 extern "C" void exit (int);
   10426 #endif
   10427 
   10428 void fnord() { int i=42;}
   10429 int main ()
   10430 {
   10431   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10432   int status = $lt_dlunknown;
   10433 
   10434   if (self)
   10435     {
   10436       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10437       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10438       /* dlclose (self); */
   10439     }
   10440   else
   10441     puts (dlerror ());
   10442 
   10443     exit (status);
   10444 }
   10445 EOF
   10446   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10447   (eval $ac_link) 2>&5
   10448   ac_status=$?
   10449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10450   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10451     (./conftest; exit; ) >&5 2>/dev/null
   10452     lt_status=$?
   10453     case x$lt_status in
   10454       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10455       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10456       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10457     esac
   10458   else :
   10459     # compilation failed
   10460     lt_cv_dlopen_self_static=no
   10461   fi
   10462 fi
   10463 rm -fr conftest*
   10464 
   10465 
   10466 fi
   10467 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10468 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10469     fi
   10470 
   10471     CPPFLAGS="$save_CPPFLAGS"
   10472     LDFLAGS="$save_LDFLAGS"
   10473     LIBS="$save_LIBS"
   10474     ;;
   10475   esac
   10476 
   10477   case $lt_cv_dlopen_self in
   10478   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10479   *) enable_dlopen_self=unknown ;;
   10480   esac
   10481 
   10482   case $lt_cv_dlopen_self_static in
   10483   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10484   *) enable_dlopen_self_static=unknown ;;
   10485   esac
   10486 fi
   10487 
   10488 
   10489 # Report which library types will actually be built
   10490 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10491 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10492 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10493 echo "${ECHO_T}$can_build_shared" >&6; }
   10494 
   10495 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10496 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10497 test "$can_build_shared" = "no" && enable_shared=no
   10498 
   10499 # On AIX, shared libraries and static libraries use the same namespace, and
   10500 # are all built from PIC.
   10501 case $host_os in
   10502 aix3*)
   10503   test "$enable_shared" = yes && enable_static=no
   10504   if test -n "$RANLIB"; then
   10505     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10506     postinstall_cmds='$RANLIB $lib'
   10507   fi
   10508   ;;
   10509 
   10510 aix[4-9]*)
   10511   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10512     test "$enable_shared" = yes && enable_static=no
   10513   fi
   10514     ;;
   10515 esac
   10516 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10517 echo "${ECHO_T}$enable_shared" >&6; }
   10518 
   10519 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10520 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10521 # Make sure either enable_shared or enable_static is yes.
   10522 test "$enable_shared" = yes || enable_static=yes
   10523 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10524 echo "${ECHO_T}$enable_static" >&6; }
   10525 
   10526 # The else clause should only fire when bootstrapping the
   10527 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10528 # with your package, and you will get complaints that there are
   10529 # no rules to generate ltmain.sh.
   10530 if test -f "$ltmain"; then
   10531   # See if we are running on zsh, and set the options which allow our commands through
   10532   # without removal of \ escapes.
   10533   if test -n "${ZSH_VERSION+set}" ; then
   10534     setopt NO_GLOB_SUBST
   10535   fi
   10536   # Now quote all the things that may contain metacharacters while being
   10537   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10538   # variables and quote the copies for generation of the libtool script.
   10539   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10540     SED SHELL STRIP \
   10541     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10542     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10543     deplibs_check_method reload_flag reload_cmds need_locks \
   10544     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10545     lt_cv_sys_global_symbol_to_c_name_address \
   10546     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10547     old_postinstall_cmds old_postuninstall_cmds \
   10548     compiler \
   10549     CC \
   10550     LD \
   10551     lt_prog_compiler_wl \
   10552     lt_prog_compiler_pic \
   10553     lt_prog_compiler_static \
   10554     lt_prog_compiler_no_builtin_flag \
   10555     export_dynamic_flag_spec \
   10556     thread_safe_flag_spec \
   10557     whole_archive_flag_spec \
   10558     enable_shared_with_static_runtimes \
   10559     old_archive_cmds \
   10560     old_archive_from_new_cmds \
   10561     predep_objects \
   10562     postdep_objects \
   10563     predeps \
   10564     postdeps \
   10565     compiler_lib_search_path \
   10566     compiler_lib_search_dirs \
   10567     archive_cmds \
   10568     archive_expsym_cmds \
   10569     postinstall_cmds \
   10570     postuninstall_cmds \
   10571     old_archive_from_expsyms_cmds \
   10572     allow_undefined_flag \
   10573     no_undefined_flag \
   10574     export_symbols_cmds \
   10575     hardcode_libdir_flag_spec \
   10576     hardcode_libdir_flag_spec_ld \
   10577     hardcode_libdir_separator \
   10578     hardcode_automatic \
   10579     module_cmds \
   10580     module_expsym_cmds \
   10581     lt_cv_prog_compiler_c_o \
   10582     fix_srcfile_path \
   10583     exclude_expsyms \
   10584     include_expsyms; do
   10585 
   10586     case $var in
   10587     old_archive_cmds | \
   10588     old_archive_from_new_cmds | \
   10589     archive_cmds | \
   10590     archive_expsym_cmds | \
   10591     module_cmds | \
   10592     module_expsym_cmds | \
   10593     old_archive_from_expsyms_cmds | \
   10594     export_symbols_cmds | \
   10595     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10596     postinstall_cmds | postuninstall_cmds | \
   10597     old_postinstall_cmds | old_postuninstall_cmds | \
   10598     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10599       # Double-quote double-evaled strings.
   10600       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10601       ;;
   10602     *)
   10603       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10604       ;;
   10605     esac
   10606   done
   10607 
   10608   case $lt_echo in
   10609   *'\$0 --fallback-echo"')
   10610     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10611     ;;
   10612   esac
   10613 
   10614 cfgfile="${ofile}T"
   10615   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10616   $rm -f "$cfgfile"
   10617   { echo "$as_me:$LINENO: creating $ofile" >&5
   10618 echo "$as_me: creating $ofile" >&6;}
   10619 
   10620   cat <<__EOF__ >> "$cfgfile"
   10621 #! $SHELL
   10622 
   10623 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10624 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10625 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10626 #
   10627 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10628 # Free Software Foundation, Inc.
   10629 #
   10630 # This file is part of GNU Libtool:
   10631 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10632 #
   10633 # This program is free software; you can redistribute it and/or modify
   10634 # it under the terms of the GNU General Public License as published by
   10635 # the Free Software Foundation; either version 2 of the License, or
   10636 # (at your option) any later version.
   10637 #
   10638 # This program is distributed in the hope that it will be useful, but
   10639 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10640 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10641 # General Public License for more details.
   10642 #
   10643 # You should have received a copy of the GNU General Public License
   10644 # along with this program; if not, write to the Free Software
   10645 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10646 #
   10647 # As a special exception to the GNU General Public License, if you
   10648 # distribute this file as part of a program that contains a
   10649 # configuration script generated by Autoconf, you may include it under
   10650 # the same distribution terms that you use for the rest of that program.
   10651 
   10652 # A sed program that does not truncate output.
   10653 SED=$lt_SED
   10654 
   10655 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10656 Xsed="$SED -e 1s/^X//"
   10657 
   10658 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10659 # if CDPATH is set.
   10660 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10661 
   10662 # The names of the tagged configurations supported by this script.
   10663 available_tags=
   10664 
   10665 # ### BEGIN LIBTOOL CONFIG
   10666 
   10667 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10668 
   10669 # Shell to use when invoking shell scripts.
   10670 SHELL=$lt_SHELL
   10671 
   10672 # Whether or not to build shared libraries.
   10673 build_libtool_libs=$enable_shared
   10674 
   10675 # Whether or not to build static libraries.
   10676 build_old_libs=$enable_static
   10677 
   10678 # Whether or not to add -lc for building shared libraries.
   10679 build_libtool_need_lc=$archive_cmds_need_lc
   10680 
   10681 # Whether or not to disallow shared libs when runtime libs are static
   10682 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10683 
   10684 # Whether or not to optimize for fast installation.
   10685 fast_install=$enable_fast_install
   10686 
   10687 # The host system.
   10688 host_alias=$host_alias
   10689 host=$host
   10690 host_os=$host_os
   10691 
   10692 # The build system.
   10693 build_alias=$build_alias
   10694 build=$build
   10695 build_os=$build_os
   10696 
   10697 # An echo program that does not interpret backslashes.
   10698 echo=$lt_echo
   10699 
   10700 # The archiver.
   10701 AR=$lt_AR
   10702 AR_FLAGS=$lt_AR_FLAGS
   10703 
   10704 # A C compiler.
   10705 LTCC=$lt_LTCC
   10706 
   10707 # LTCC compiler flags.
   10708 LTCFLAGS=$lt_LTCFLAGS
   10709 
   10710 # A language-specific compiler.
   10711 CC=$lt_compiler
   10712 
   10713 # Is the compiler the GNU C compiler?
   10714 with_gcc=$GCC
   10715 
   10716 # An ERE matcher.
   10717 EGREP=$lt_EGREP
   10718 
   10719 # The linker used to build libraries.
   10720 LD=$lt_LD
   10721 
   10722 # Whether we need hard or soft links.
   10723 LN_S=$lt_LN_S
   10724 
   10725 # A BSD-compatible nm program.
   10726 NM=$lt_NM
   10727 
   10728 # A symbol stripping program
   10729 STRIP=$lt_STRIP
   10730 
   10731 # Used to examine libraries when file_magic_cmd begins "file"
   10732 MAGIC_CMD=$MAGIC_CMD
   10733 
   10734 # Used on cygwin: DLL creation program.
   10735 DLLTOOL="$DLLTOOL"
   10736 
   10737 # Used on cygwin: object dumper.
   10738 OBJDUMP="$OBJDUMP"
   10739 
   10740 # Used on cygwin: assembler.
   10741 AS="$AS"
   10742 
   10743 # The name of the directory that contains temporary libtool files.
   10744 objdir=$objdir
   10745 
   10746 # How to create reloadable object files.
   10747 reload_flag=$lt_reload_flag
   10748 reload_cmds=$lt_reload_cmds
   10749 
   10750 # How to pass a linker flag through the compiler.
   10751 wl=$lt_lt_prog_compiler_wl
   10752 
   10753 # Object file suffix (normally "o").
   10754 objext="$ac_objext"
   10755 
   10756 # Old archive suffix (normally "a").
   10757 libext="$libext"
   10758 
   10759 # Shared library suffix (normally ".so").
   10760 shrext_cmds='$shrext_cmds'
   10761 
   10762 # Executable file suffix (normally "").
   10763 exeext="$exeext"
   10764 
   10765 # Additional compiler flags for building library objects.
   10766 pic_flag=$lt_lt_prog_compiler_pic
   10767 pic_mode=$pic_mode
   10768 
   10769 # What is the maximum length of a command?
   10770 max_cmd_len=$lt_cv_sys_max_cmd_len
   10771 
   10772 # Does compiler simultaneously support -c and -o options?
   10773 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10774 
   10775 # Must we lock files when doing compilation?
   10776 need_locks=$lt_need_locks
   10777 
   10778 # Do we need the lib prefix for modules?
   10779 need_lib_prefix=$need_lib_prefix
   10780 
   10781 # Do we need a version for libraries?
   10782 need_version=$need_version
   10783 
   10784 # Whether dlopen is supported.
   10785 dlopen_support=$enable_dlopen
   10786 
   10787 # Whether dlopen of programs is supported.
   10788 dlopen_self=$enable_dlopen_self
   10789 
   10790 # Whether dlopen of statically linked programs is supported.
   10791 dlopen_self_static=$enable_dlopen_self_static
   10792 
   10793 # Compiler flag to prevent dynamic linking.
   10794 link_static_flag=$lt_lt_prog_compiler_static
   10795 
   10796 # Compiler flag to turn off builtin functions.
   10797 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10798 
   10799 # Compiler flag to allow reflexive dlopens.
   10800 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10801 
   10802 # Compiler flag to generate shared objects directly from archives.
   10803 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10804 
   10805 # Compiler flag to generate thread-safe objects.
   10806 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10807 
   10808 # Library versioning type.
   10809 version_type=$version_type
   10810 
   10811 # Format of library name prefix.
   10812 libname_spec=$lt_libname_spec
   10813 
   10814 # List of archive names.  First name is the real one, the rest are links.
   10815 # The last name is the one that the linker finds with -lNAME.
   10816 library_names_spec=$lt_library_names_spec
   10817 
   10818 # The coded name of the library, if different from the real name.
   10819 soname_spec=$lt_soname_spec
   10820 
   10821 # Commands used to build and install an old-style archive.
   10822 RANLIB=$lt_RANLIB
   10823 old_archive_cmds=$lt_old_archive_cmds
   10824 old_postinstall_cmds=$lt_old_postinstall_cmds
   10825 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10826 
   10827 # Create an old-style archive from a shared archive.
   10828 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10829 
   10830 # Create a temporary old-style archive to link instead of a shared archive.
   10831 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10832 
   10833 # Commands used to build and install a shared archive.
   10834 archive_cmds=$lt_archive_cmds
   10835 archive_expsym_cmds=$lt_archive_expsym_cmds
   10836 postinstall_cmds=$lt_postinstall_cmds
   10837 postuninstall_cmds=$lt_postuninstall_cmds
   10838 
   10839 # Commands used to build a loadable module (assumed same as above if empty)
   10840 module_cmds=$lt_module_cmds
   10841 module_expsym_cmds=$lt_module_expsym_cmds
   10842 
   10843 # Commands to strip libraries.
   10844 old_striplib=$lt_old_striplib
   10845 striplib=$lt_striplib
   10846 
   10847 # Dependencies to place before the objects being linked to create a
   10848 # shared library.
   10849 predep_objects=$lt_predep_objects
   10850 
   10851 # Dependencies to place after the objects being linked to create a
   10852 # shared library.
   10853 postdep_objects=$lt_postdep_objects
   10854 
   10855 # Dependencies to place before the objects being linked to create a
   10856 # shared library.
   10857 predeps=$lt_predeps
   10858 
   10859 # Dependencies to place after the objects being linked to create a
   10860 # shared library.
   10861 postdeps=$lt_postdeps
   10862 
   10863 # The directories searched by this compiler when creating a shared
   10864 # library
   10865 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   10866 
   10867 # The library search path used internally by the compiler when linking
   10868 # a shared library.
   10869 compiler_lib_search_path=$lt_compiler_lib_search_path
   10870 
   10871 # Method to check whether dependent libraries are shared objects.
   10872 deplibs_check_method=$lt_deplibs_check_method
   10873 
   10874 # Command to use when deplibs_check_method == file_magic.
   10875 file_magic_cmd=$lt_file_magic_cmd
   10876 
   10877 # Flag that allows shared libraries with undefined symbols to be built.
   10878 allow_undefined_flag=$lt_allow_undefined_flag
   10879 
   10880 # Flag that forces no undefined symbols.
   10881 no_undefined_flag=$lt_no_undefined_flag
   10882 
   10883 # Commands used to finish a libtool library installation in a directory.
   10884 finish_cmds=$lt_finish_cmds
   10885 
   10886 # Same as above, but a single script fragment to be evaled but not shown.
   10887 finish_eval=$lt_finish_eval
   10888 
   10889 # Take the output of nm and produce a listing of raw symbols and C names.
   10890 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10891 
   10892 # Transform the output of nm in a proper C declaration
   10893 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10894 
   10895 # Transform the output of nm in a C name address pair
   10896 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10897 
   10898 # This is the shared library runtime path variable.
   10899 runpath_var=$runpath_var
   10900 
   10901 # This is the shared library path variable.
   10902 shlibpath_var=$shlibpath_var
   10903 
   10904 # Is shlibpath searched before the hard-coded library search path?
   10905 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10906 
   10907 # How to hardcode a shared library path into an executable.
   10908 hardcode_action=$hardcode_action
   10909 
   10910 # Whether we should hardcode library paths into libraries.
   10911 hardcode_into_libs=$hardcode_into_libs
   10912 
   10913 # Flag to hardcode \$libdir into a binary during linking.
   10914 # This must work even if \$libdir does not exist.
   10915 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10916 
   10917 # If ld is used when linking, flag to hardcode \$libdir into
   10918 # a binary during linking. This must work even if \$libdir does
   10919 # not exist.
   10920 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10921 
   10922 # Whether we need a single -rpath flag with a separated argument.
   10923 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10924 
   10925 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10926 # resulting binary.
   10927 hardcode_direct=$hardcode_direct
   10928 
   10929 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10930 # resulting binary.
   10931 hardcode_minus_L=$hardcode_minus_L
   10932 
   10933 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10934 # the resulting binary.
   10935 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10936 
   10937 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10938 # and all subsequent libraries and executables linked against it.
   10939 hardcode_automatic=$hardcode_automatic
   10940 
   10941 # Variables whose values should be saved in libtool wrapper scripts and
   10942 # restored at relink time.
   10943 variables_saved_for_relink="$variables_saved_for_relink"
   10944 
   10945 # Whether libtool must link a program against all its dependency libraries.
   10946 link_all_deplibs=$link_all_deplibs
   10947 
   10948 # Compile-time system search path for libraries
   10949 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10950 
   10951 # Run-time system search path for libraries
   10952 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10953 
   10954 # Fix the shell variable \$srcfile for the compiler.
   10955 fix_srcfile_path=$lt_fix_srcfile_path
   10956 
   10957 # Set to yes if exported symbols are required.
   10958 always_export_symbols=$always_export_symbols
   10959 
   10960 # The commands to list exported symbols.
   10961 export_symbols_cmds=$lt_export_symbols_cmds
   10962 
   10963 # The commands to extract the exported symbol list from a shared archive.
   10964 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10965 
   10966 # Symbols that should not be listed in the preloaded symbols.
   10967 exclude_expsyms=$lt_exclude_expsyms
   10968 
   10969 # Symbols that must always be exported.
   10970 include_expsyms=$lt_include_expsyms
   10971 
   10972 # ### END LIBTOOL CONFIG
   10973 
   10974 __EOF__
   10975 
   10976 
   10977   case $host_os in
   10978   aix3*)
   10979     cat <<\EOF >> "$cfgfile"
   10980 
   10981 # AIX sometimes has problems with the GCC collect2 program.  For some
   10982 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10983 # vanish in a puff of smoke.
   10984 if test "X${COLLECT_NAMES+set}" != Xset; then
   10985   COLLECT_NAMES=
   10986   export COLLECT_NAMES
   10987 fi
   10988 EOF
   10989     ;;
   10990   esac
   10991 
   10992   # We use sed instead of cat because bash on DJGPP gets confused if
   10993   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10994   # text mode, it properly converts lines to CR/LF.  This bash problem
   10995   # is reportedly fixed, but why not run on old versions too?
   10996   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10997 
   10998   mv -f "$cfgfile" "$ofile" || \
   10999     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11000   chmod +x "$ofile"
   11001 
   11002 else
   11003   # If there is no Makefile yet, we rely on a make rule to execute
   11004   # `config.status --recheck' to rerun these tests and create the
   11005   # libtool script then.
   11006   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11007   if test -f "$ltmain_in"; then
   11008     test -f Makefile && make "$ltmain"
   11009   fi
   11010 fi
   11011 
   11012 
   11013 ac_ext=c
   11014 ac_cpp='$CPP $CPPFLAGS'
   11015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11018 
   11019 CC="$lt_save_CC"
   11020 
   11021 
   11022 # Check whether --with-tags was given.
   11023 if test "${with_tags+set}" = set; then
   11024   withval=$with_tags; tagnames="$withval"
   11025 fi
   11026 
   11027 
   11028 if test -f "$ltmain" && test -n "$tagnames"; then
   11029   if test ! -f "${ofile}"; then
   11030     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11031 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11032   fi
   11033 
   11034   if test -z "$LTCC"; then
   11035     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11036     if test -z "$LTCC"; then
   11037       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11038 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11039     else
   11040       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11041 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11042     fi
   11043   fi
   11044   if test -z "$LTCFLAGS"; then
   11045     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11046   fi
   11047 
   11048   # Extract list of available tagged configurations in $ofile.
   11049   # Note that this assumes the entire list is on one line.
   11050   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11051 
   11052   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11053   for tagname in $tagnames; do
   11054     IFS="$lt_save_ifs"
   11055     # Check whether tagname contains only valid characters
   11056     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11057     "") ;;
   11058     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11059 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11060    { (exit 1); exit 1; }; }
   11061 	;;
   11062     esac
   11063 
   11064     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11065     then
   11066       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11067 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11068    { (exit 1); exit 1; }; }
   11069     fi
   11070 
   11071     # Update the list of available tags.
   11072     if test -n "$tagname"; then
   11073       echo appending configuration tag \"$tagname\" to $ofile
   11074 
   11075       case $tagname in
   11076       CXX)
   11077 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11078 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11079 	    (test "X$CXX" != "Xg++"))) ; then
   11080 	  ac_ext=cpp
   11081 ac_cpp='$CXXCPP $CPPFLAGS'
   11082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11085 
   11086 
   11087 
   11088 
   11089 archive_cmds_need_lc_CXX=no
   11090 allow_undefined_flag_CXX=
   11091 always_export_symbols_CXX=no
   11092 archive_expsym_cmds_CXX=
   11093 export_dynamic_flag_spec_CXX=
   11094 hardcode_direct_CXX=no
   11095 hardcode_libdir_flag_spec_CXX=
   11096 hardcode_libdir_flag_spec_ld_CXX=
   11097 hardcode_libdir_separator_CXX=
   11098 hardcode_minus_L_CXX=no
   11099 hardcode_shlibpath_var_CXX=unsupported
   11100 hardcode_automatic_CXX=no
   11101 module_cmds_CXX=
   11102 module_expsym_cmds_CXX=
   11103 link_all_deplibs_CXX=unknown
   11104 old_archive_cmds_CXX=$old_archive_cmds
   11105 no_undefined_flag_CXX=
   11106 whole_archive_flag_spec_CXX=
   11107 enable_shared_with_static_runtimes_CXX=no
   11108 
   11109 # Dependencies to place before and after the object being linked:
   11110 predep_objects_CXX=
   11111 postdep_objects_CXX=
   11112 predeps_CXX=
   11113 postdeps_CXX=
   11114 compiler_lib_search_path_CXX=
   11115 compiler_lib_search_dirs_CXX=
   11116 
   11117 # Source file extension for C++ test sources.
   11118 ac_ext=cpp
   11119 
   11120 # Object file extension for compiled C++ test sources.
   11121 objext=o
   11122 objext_CXX=$objext
   11123 
   11124 # Code to be used in simple compile tests
   11125 lt_simple_compile_test_code="int some_variable = 0;"
   11126 
   11127 # Code to be used in simple link tests
   11128 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11129 
   11130 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11131 
   11132 # If no C compiler was specified, use CC.
   11133 LTCC=${LTCC-"$CC"}
   11134 
   11135 # If no C compiler flags were specified, use CFLAGS.
   11136 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11137 
   11138 # Allow CC to be a program name with arguments.
   11139 compiler=$CC
   11140 
   11141 
   11142 # save warnings/boilerplate of simple test code
   11143 ac_outfile=conftest.$ac_objext
   11144 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11145 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11146 _lt_compiler_boilerplate=`cat conftest.err`
   11147 $rm conftest*
   11148 
   11149 ac_outfile=conftest.$ac_objext
   11150 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11151 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11152 _lt_linker_boilerplate=`cat conftest.err`
   11153 $rm -r conftest*
   11154 
   11155 
   11156 # Allow CC to be a program name with arguments.
   11157 lt_save_CC=$CC
   11158 lt_save_LD=$LD
   11159 lt_save_GCC=$GCC
   11160 GCC=$GXX
   11161 lt_save_with_gnu_ld=$with_gnu_ld
   11162 lt_save_path_LD=$lt_cv_path_LD
   11163 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11164   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11165 else
   11166   $as_unset lt_cv_prog_gnu_ld
   11167 fi
   11168 if test -n "${lt_cv_path_LDCXX+set}"; then
   11169   lt_cv_path_LD=$lt_cv_path_LDCXX
   11170 else
   11171   $as_unset lt_cv_path_LD
   11172 fi
   11173 test -z "${LDCXX+set}" || LD=$LDCXX
   11174 CC=${CXX-"c++"}
   11175 compiler=$CC
   11176 compiler_CXX=$CC
   11177 for cc_temp in $compiler""; do
   11178   case $cc_temp in
   11179     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11180     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11181     \-*) ;;
   11182     *) break;;
   11183   esac
   11184 done
   11185 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11186 
   11187 
   11188 # We don't want -fno-exception wen compiling C++ code, so set the
   11189 # no_builtin_flag separately
   11190 if test "$GXX" = yes; then
   11191   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11192 else
   11193   lt_prog_compiler_no_builtin_flag_CXX=
   11194 fi
   11195 
   11196 if test "$GXX" = yes; then
   11197   # Set up default GNU C++ configuration
   11198 
   11199 
   11200 # Check whether --with-gnu-ld was given.
   11201 if test "${with_gnu_ld+set}" = set; then
   11202   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11203 else
   11204   with_gnu_ld=no
   11205 fi
   11206 
   11207 ac_prog=ld
   11208 if test "$GCC" = yes; then
   11209   # Check if gcc -print-prog-name=ld gives a path.
   11210   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11211 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   11212   case $host in
   11213   *-*-mingw*)
   11214     # gcc leaves a trailing carriage return which upsets mingw
   11215     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11216   *)
   11217     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11218   esac
   11219   case $ac_prog in
   11220     # Accept absolute paths.
   11221     [\\/]* | ?:[\\/]*)
   11222       re_direlt='/[^/][^/]*/\.\./'
   11223       # Canonicalize the pathname of ld
   11224       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11225       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11226 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11227       done
   11228       test -z "$LD" && LD="$ac_prog"
   11229       ;;
   11230   "")
   11231     # If it fails, then pretend we aren't using GCC.
   11232     ac_prog=ld
   11233     ;;
   11234   *)
   11235     # If it is relative, then search for the first ld in PATH.
   11236     with_gnu_ld=unknown
   11237     ;;
   11238   esac
   11239 elif test "$with_gnu_ld" = yes; then
   11240   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   11241 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   11242 else
   11243   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11244 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   11245 fi
   11246 if test "${lt_cv_path_LD+set}" = set; then
   11247   echo $ECHO_N "(cached) $ECHO_C" >&6
   11248 else
   11249   if test -z "$LD"; then
   11250   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11251   for ac_dir in $PATH; do
   11252     IFS="$lt_save_ifs"
   11253     test -z "$ac_dir" && ac_dir=.
   11254     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11255       lt_cv_path_LD="$ac_dir/$ac_prog"
   11256       # Check to see if the program is GNU ld.  I'd rather use --version,
   11257       # but apparently some variants of GNU ld only accept -v.
   11258       # Break only if it was the GNU/non-GNU ld that we prefer.
   11259       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11260       *GNU* | *'with BFD'*)
   11261 	test "$with_gnu_ld" != no && break
   11262 	;;
   11263       *)
   11264 	test "$with_gnu_ld" != yes && break
   11265 	;;
   11266       esac
   11267     fi
   11268   done
   11269   IFS="$lt_save_ifs"
   11270 else
   11271   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11272 fi
   11273 fi
   11274 
   11275 LD="$lt_cv_path_LD"
   11276 if test -n "$LD"; then
   11277   { echo "$as_me:$LINENO: result: $LD" >&5
   11278 echo "${ECHO_T}$LD" >&6; }
   11279 else
   11280   { echo "$as_me:$LINENO: result: no" >&5
   11281 echo "${ECHO_T}no" >&6; }
   11282 fi
   11283 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11284 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11285    { (exit 1); exit 1; }; }
   11286 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11287 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   11288 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11289   echo $ECHO_N "(cached) $ECHO_C" >&6
   11290 else
   11291   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11292 case `$LD -v 2>&1 </dev/null` in
   11293 *GNU* | *'with BFD'*)
   11294   lt_cv_prog_gnu_ld=yes
   11295   ;;
   11296 *)
   11297   lt_cv_prog_gnu_ld=no
   11298   ;;
   11299 esac
   11300 fi
   11301 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11302 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   11303 with_gnu_ld=$lt_cv_prog_gnu_ld
   11304 
   11305 
   11306 
   11307   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11308   # archiving commands below assume that GNU ld is being used.
   11309   if test "$with_gnu_ld" = yes; then
   11310     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11311     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'
   11312 
   11313     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11314     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11315 
   11316     # If archive_cmds runs LD, not CC, wlarc should be empty
   11317     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11318     #     investigate it a little bit more. (MM)
   11319     wlarc='${wl}'
   11320 
   11321     # ancient GNU ld didn't support --whole-archive et. al.
   11322     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11323 	grep 'no-whole-archive' > /dev/null; then
   11324       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11325     else
   11326       whole_archive_flag_spec_CXX=
   11327     fi
   11328   else
   11329     with_gnu_ld=no
   11330     wlarc=
   11331 
   11332     # A generic and very simple default shared library creation
   11333     # command for GNU C++ for the case where it uses the native
   11334     # linker, instead of GNU ld.  If possible, this setting should
   11335     # overridden to take advantage of the native linker features on
   11336     # the platform it is being used on.
   11337     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11338   fi
   11339 
   11340   # Commands to make compiler produce verbose output that lists
   11341   # what "hidden" libraries, object files and flags are used when
   11342   # linking a shared library.
   11343   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11344 
   11345 else
   11346   GXX=no
   11347   with_gnu_ld=no
   11348   wlarc=
   11349 fi
   11350 
   11351 # PORTME: fill in a description of your system's C++ link characteristics
   11352 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11353 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   11354 ld_shlibs_CXX=yes
   11355 case $host_os in
   11356   aix3*)
   11357     # FIXME: insert proper C++ library support
   11358     ld_shlibs_CXX=no
   11359     ;;
   11360   aix[4-9]*)
   11361     if test "$host_cpu" = ia64; then
   11362       # On IA64, the linker does run time linking by default, so we don't
   11363       # have to do anything special.
   11364       aix_use_runtimelinking=no
   11365       exp_sym_flag='-Bexport'
   11366       no_entry_flag=""
   11367     else
   11368       aix_use_runtimelinking=no
   11369 
   11370       # Test if we are trying to use run time linking or normal
   11371       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11372       # need to do runtime linking.
   11373       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11374 	for ld_flag in $LDFLAGS; do
   11375 	  case $ld_flag in
   11376 	  *-brtl*)
   11377 	    aix_use_runtimelinking=yes
   11378 	    break
   11379 	    ;;
   11380 	  esac
   11381 	done
   11382 	;;
   11383       esac
   11384 
   11385       exp_sym_flag='-bexport'
   11386       no_entry_flag='-bnoentry'
   11387     fi
   11388 
   11389     # When large executables or shared objects are built, AIX ld can
   11390     # have problems creating the table of contents.  If linking a library
   11391     # or program results in "error TOC overflow" add -mminimal-toc to
   11392     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11393     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11394 
   11395     archive_cmds_CXX=''
   11396     hardcode_direct_CXX=yes
   11397     hardcode_libdir_separator_CXX=':'
   11398     link_all_deplibs_CXX=yes
   11399 
   11400     if test "$GXX" = yes; then
   11401       case $host_os in aix4.[012]|aix4.[012].*)
   11402       # We only want to do this on AIX 4.2 and lower, the check
   11403       # below for broken collect2 doesn't work under 4.3+
   11404 	collect2name=`${CC} -print-prog-name=collect2`
   11405 	if test -f "$collect2name" && \
   11406 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11407 	then
   11408 	  # We have reworked collect2
   11409 	  :
   11410 	else
   11411 	  # We have old collect2
   11412 	  hardcode_direct_CXX=unsupported
   11413 	  # It fails to find uninstalled libraries when the uninstalled
   11414 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11415 	  # to unsupported forces relinking
   11416 	  hardcode_minus_L_CXX=yes
   11417 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11418 	  hardcode_libdir_separator_CXX=
   11419 	fi
   11420 	;;
   11421       esac
   11422       shared_flag='-shared'
   11423       if test "$aix_use_runtimelinking" = yes; then
   11424 	shared_flag="$shared_flag "'${wl}-G'
   11425       fi
   11426     else
   11427       # not using gcc
   11428       if test "$host_cpu" = ia64; then
   11429 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11430 	# chokes on -Wl,-G. The following line is correct:
   11431 	shared_flag='-G'
   11432       else
   11433 	if test "$aix_use_runtimelinking" = yes; then
   11434 	  shared_flag='${wl}-G'
   11435 	else
   11436 	  shared_flag='${wl}-bM:SRE'
   11437 	fi
   11438       fi
   11439     fi
   11440 
   11441     # It seems that -bexpall does not export symbols beginning with
   11442     # underscore (_), so it is better to generate a list of symbols to export.
   11443     always_export_symbols_CXX=yes
   11444     if test "$aix_use_runtimelinking" = yes; then
   11445       # Warning - without using the other runtime loading flags (-brtl),
   11446       # -berok will link without error, but may produce a broken library.
   11447       allow_undefined_flag_CXX='-berok'
   11448       # Determine the default libpath from the value encoded in an empty executable.
   11449       cat >conftest.$ac_ext <<_ACEOF
   11450 /* confdefs.h.  */
   11451 _ACEOF
   11452 cat confdefs.h >>conftest.$ac_ext
   11453 cat >>conftest.$ac_ext <<_ACEOF
   11454 /* end confdefs.h.  */
   11455 
   11456 int
   11457 main ()
   11458 {
   11459 
   11460   ;
   11461   return 0;
   11462 }
   11463 _ACEOF
   11464 rm -f conftest.$ac_objext conftest$ac_exeext
   11465 if { (ac_try="$ac_link"
   11466 case "(($ac_try" in
   11467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11468   *) ac_try_echo=$ac_try;;
   11469 esac
   11470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11471   (eval "$ac_link") 2>conftest.er1
   11472   ac_status=$?
   11473   grep -v '^ *+' conftest.er1 >conftest.err
   11474   rm -f conftest.er1
   11475   cat conftest.err >&5
   11476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11477   (exit $ac_status); } && {
   11478 	 test -z "$ac_cxx_werror_flag" ||
   11479 	 test ! -s conftest.err
   11480        } && test -s conftest$ac_exeext &&
   11481        $as_test_x conftest$ac_exeext; then
   11482 
   11483 lt_aix_libpath_sed='
   11484     /Import File Strings/,/^$/ {
   11485 	/^0/ {
   11486 	    s/^0  *\(.*\)$/\1/
   11487 	    p
   11488 	}
   11489     }'
   11490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11491 # Check for a 64-bit object if we didn't find anything.
   11492 if test -z "$aix_libpath"; then
   11493   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11494 fi
   11495 else
   11496   echo "$as_me: failed program was:" >&5
   11497 sed 's/^/| /' conftest.$ac_ext >&5
   11498 
   11499 
   11500 fi
   11501 
   11502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11503       conftest$ac_exeext conftest.$ac_ext
   11504 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11505 
   11506       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11507 
   11508       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"
   11509      else
   11510       if test "$host_cpu" = ia64; then
   11511 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11512 	allow_undefined_flag_CXX="-z nodefs"
   11513 	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"
   11514       else
   11515 	# Determine the default libpath from the value encoded in an empty executable.
   11516 	cat >conftest.$ac_ext <<_ACEOF
   11517 /* confdefs.h.  */
   11518 _ACEOF
   11519 cat confdefs.h >>conftest.$ac_ext
   11520 cat >>conftest.$ac_ext <<_ACEOF
   11521 /* end confdefs.h.  */
   11522 
   11523 int
   11524 main ()
   11525 {
   11526 
   11527   ;
   11528   return 0;
   11529 }
   11530 _ACEOF
   11531 rm -f conftest.$ac_objext conftest$ac_exeext
   11532 if { (ac_try="$ac_link"
   11533 case "(($ac_try" in
   11534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11535   *) ac_try_echo=$ac_try;;
   11536 esac
   11537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11538   (eval "$ac_link") 2>conftest.er1
   11539   ac_status=$?
   11540   grep -v '^ *+' conftest.er1 >conftest.err
   11541   rm -f conftest.er1
   11542   cat conftest.err >&5
   11543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11544   (exit $ac_status); } && {
   11545 	 test -z "$ac_cxx_werror_flag" ||
   11546 	 test ! -s conftest.err
   11547        } && test -s conftest$ac_exeext &&
   11548        $as_test_x conftest$ac_exeext; then
   11549 
   11550 lt_aix_libpath_sed='
   11551     /Import File Strings/,/^$/ {
   11552 	/^0/ {
   11553 	    s/^0  *\(.*\)$/\1/
   11554 	    p
   11555 	}
   11556     }'
   11557 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11558 # Check for a 64-bit object if we didn't find anything.
   11559 if test -z "$aix_libpath"; then
   11560   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11561 fi
   11562 else
   11563   echo "$as_me: failed program was:" >&5
   11564 sed 's/^/| /' conftest.$ac_ext >&5
   11565 
   11566 
   11567 fi
   11568 
   11569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11570       conftest$ac_exeext conftest.$ac_ext
   11571 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11572 
   11573 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11574 	# Warning - without using the other run time loading flags,
   11575 	# -berok will link without error, but may produce a broken library.
   11576 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11577 	allow_undefined_flag_CXX=' ${wl}-berok'
   11578 	# Exported symbols can be pulled into shared objects from archives
   11579 	whole_archive_flag_spec_CXX='$convenience'
   11580 	archive_cmds_need_lc_CXX=yes
   11581 	# This is similar to how AIX traditionally builds its shared libraries.
   11582 	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'
   11583       fi
   11584     fi
   11585     ;;
   11586 
   11587   beos*)
   11588     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11589       allow_undefined_flag_CXX=unsupported
   11590       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11591       # support --undefined.  This deserves some investigation.  FIXME
   11592       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11593     else
   11594       ld_shlibs_CXX=no
   11595     fi
   11596     ;;
   11597 
   11598   chorus*)
   11599     case $cc_basename in
   11600       *)
   11601 	# FIXME: insert proper C++ library support
   11602 	ld_shlibs_CXX=no
   11603 	;;
   11604     esac
   11605     ;;
   11606 
   11607   cygwin* | mingw* | pw32*)
   11608     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11609     # as there is no search path for DLLs.
   11610     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11611     allow_undefined_flag_CXX=unsupported
   11612     always_export_symbols_CXX=no
   11613     enable_shared_with_static_runtimes_CXX=yes
   11614 
   11615     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11616       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'
   11617       # If the export-symbols file already is a .def file (1st line
   11618       # is EXPORTS), use it as is; otherwise, prepend...
   11619       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11620 	cp $export_symbols $output_objdir/$soname.def;
   11621       else
   11622 	echo EXPORTS > $output_objdir/$soname.def;
   11623 	cat $export_symbols >> $output_objdir/$soname.def;
   11624       fi~
   11625       $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'
   11626     else
   11627       ld_shlibs_CXX=no
   11628     fi
   11629   ;;
   11630       darwin* | rhapsody*)
   11631       archive_cmds_need_lc_CXX=no
   11632       hardcode_direct_CXX=no
   11633       hardcode_automatic_CXX=yes
   11634       hardcode_shlibpath_var_CXX=unsupported
   11635       whole_archive_flag_spec_CXX=''
   11636       link_all_deplibs_CXX=yes
   11637       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11638       if test "$GXX" = yes ; then
   11639       output_verbose_link_cmd='echo'
   11640       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11641       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11642       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11643       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11644       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11645         archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   11646         archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   11647       fi
   11648       else
   11649       case $cc_basename in
   11650         xlc*)
   11651          output_verbose_link_cmd='echo'
   11652           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11653           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11654           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11655           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11656           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}'
   11657           ;;
   11658        *)
   11659          ld_shlibs_CXX=no
   11660           ;;
   11661       esac
   11662       fi
   11663         ;;
   11664 
   11665   dgux*)
   11666     case $cc_basename in
   11667       ec++*)
   11668 	# FIXME: insert proper C++ library support
   11669 	ld_shlibs_CXX=no
   11670 	;;
   11671       ghcx*)
   11672 	# Green Hills C++ Compiler
   11673 	# FIXME: insert proper C++ library support
   11674 	ld_shlibs_CXX=no
   11675 	;;
   11676       *)
   11677 	# FIXME: insert proper C++ library support
   11678 	ld_shlibs_CXX=no
   11679 	;;
   11680     esac
   11681     ;;
   11682   freebsd[12]*)
   11683     # C++ shared libraries reported to be fairly broken before switch to ELF
   11684     ld_shlibs_CXX=no
   11685     ;;
   11686   freebsd-elf*)
   11687     archive_cmds_need_lc_CXX=no
   11688     ;;
   11689   freebsd* | dragonfly*)
   11690     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11691     # conventions
   11692     ld_shlibs_CXX=yes
   11693     ;;
   11694   gnu*)
   11695     ;;
   11696   hpux9*)
   11697     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11698     hardcode_libdir_separator_CXX=:
   11699     export_dynamic_flag_spec_CXX='${wl}-E'
   11700     hardcode_direct_CXX=yes
   11701     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11702 				# but as the default
   11703 				# location of the library.
   11704 
   11705     case $cc_basename in
   11706     CC*)
   11707       # FIXME: insert proper C++ library support
   11708       ld_shlibs_CXX=no
   11709       ;;
   11710     aCC*)
   11711       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'
   11712       # Commands to make compiler produce verbose output that lists
   11713       # what "hidden" libraries, object files and flags are used when
   11714       # linking a shared library.
   11715       #
   11716       # There doesn't appear to be a way to prevent this compiler from
   11717       # explicitly linking system object files so we need to strip them
   11718       # from the output so that they don't get included in the library
   11719       # dependencies.
   11720       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'
   11721       ;;
   11722     *)
   11723       if test "$GXX" = yes; then
   11724         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'
   11725       else
   11726         # FIXME: insert proper C++ library support
   11727         ld_shlibs_CXX=no
   11728       fi
   11729       ;;
   11730     esac
   11731     ;;
   11732   hpux10*|hpux11*)
   11733     if test $with_gnu_ld = no; then
   11734       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11735       hardcode_libdir_separator_CXX=:
   11736 
   11737       case $host_cpu in
   11738       hppa*64*|ia64*) ;;
   11739       *)
   11740 	export_dynamic_flag_spec_CXX='${wl}-E'
   11741         ;;
   11742       esac
   11743     fi
   11744     case $host_cpu in
   11745     hppa*64*|ia64*)
   11746       hardcode_direct_CXX=no
   11747       hardcode_shlibpath_var_CXX=no
   11748       ;;
   11749     *)
   11750       hardcode_direct_CXX=yes
   11751       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11752 					      # but as the default
   11753 					      # location of the library.
   11754       ;;
   11755     esac
   11756 
   11757     case $cc_basename in
   11758       CC*)
   11759 	# FIXME: insert proper C++ library support
   11760 	ld_shlibs_CXX=no
   11761 	;;
   11762       aCC*)
   11763 	case $host_cpu in
   11764 	hppa*64*)
   11765 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11766 	  ;;
   11767 	ia64*)
   11768 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11769 	  ;;
   11770 	*)
   11771 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11772 	  ;;
   11773 	esac
   11774 	# Commands to make compiler produce verbose output that lists
   11775 	# what "hidden" libraries, object files and flags are used when
   11776 	# linking a shared library.
   11777 	#
   11778 	# There doesn't appear to be a way to prevent this compiler from
   11779 	# explicitly linking system object files so we need to strip them
   11780 	# from the output so that they don't get included in the library
   11781 	# dependencies.
   11782 	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'
   11783 	;;
   11784       *)
   11785 	if test "$GXX" = yes; then
   11786 	  if test $with_gnu_ld = no; then
   11787 	    case $host_cpu in
   11788 	    hppa*64*)
   11789 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11790 	      ;;
   11791 	    ia64*)
   11792 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11793 	      ;;
   11794 	    *)
   11795 	      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'
   11796 	      ;;
   11797 	    esac
   11798 	  fi
   11799 	else
   11800 	  # FIXME: insert proper C++ library support
   11801 	  ld_shlibs_CXX=no
   11802 	fi
   11803 	;;
   11804     esac
   11805     ;;
   11806   interix[3-9]*)
   11807     hardcode_direct_CXX=no
   11808     hardcode_shlibpath_var_CXX=no
   11809     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11810     export_dynamic_flag_spec_CXX='${wl}-E'
   11811     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11812     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11813     # default) and relocated if they conflict, which is a slow very memory
   11814     # consuming and fragmenting process.  To avoid this, we pick a random,
   11815     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11816     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11817     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'
   11818     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'
   11819     ;;
   11820   irix5* | irix6*)
   11821     case $cc_basename in
   11822       CC*)
   11823 	# SGI C++
   11824 	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'
   11825 
   11826 	# Archives containing C++ object files must be created using
   11827 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11828 	# necessary to make sure instantiated templates are included
   11829 	# in the archive.
   11830 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11831 	;;
   11832       *)
   11833 	if test "$GXX" = yes; then
   11834 	  if test "$with_gnu_ld" = no; then
   11835 	    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'
   11836 	  else
   11837 	    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'
   11838 	  fi
   11839 	fi
   11840 	link_all_deplibs_CXX=yes
   11841 	;;
   11842     esac
   11843     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11844     hardcode_libdir_separator_CXX=:
   11845     ;;
   11846   linux* | k*bsd*-gnu)
   11847     case $cc_basename in
   11848       KCC*)
   11849 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11850 
   11851 	# KCC will only create a shared library if the output file
   11852 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11853 	# to its proper name (with version) after linking.
   11854 	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'
   11855 	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'
   11856 	# Commands to make compiler produce verbose output that lists
   11857 	# what "hidden" libraries, object files and flags are used when
   11858 	# linking a shared library.
   11859 	#
   11860 	# There doesn't appear to be a way to prevent this compiler from
   11861 	# explicitly linking system object files so we need to strip them
   11862 	# from the output so that they don't get included in the library
   11863 	# dependencies.
   11864 	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'
   11865 
   11866 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11867 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11868 
   11869 	# Archives containing C++ object files must be created using
   11870 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11871 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11872 	;;
   11873       icpc*)
   11874 	# Intel C++
   11875 	with_gnu_ld=yes
   11876 	# version 8.0 and above of icpc choke on multiply defined symbols
   11877 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11878 	# earlier do not add the objects themselves.
   11879 	case `$CC -V 2>&1` in
   11880 	*"Version 7."*)
   11881   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11882   	  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'
   11883 	  ;;
   11884 	*)  # Version 8.0 or newer
   11885 	  tmp_idyn=
   11886 	  case $host_cpu in
   11887 	    ia64*) tmp_idyn=' -i_dynamic';;
   11888 	  esac
   11889   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11890 	  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'
   11891 	  ;;
   11892 	esac
   11893 	archive_cmds_need_lc_CXX=no
   11894 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11895 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11896 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11897 	;;
   11898       pgCC* | pgcpp*)
   11899         # Portland Group C++ compiler
   11900 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11901   	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'
   11902 
   11903 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11904 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11905 	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'
   11906         ;;
   11907       cxx*)
   11908 	# Compaq C++
   11909 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11910 	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'
   11911 
   11912 	runpath_var=LD_RUN_PATH
   11913 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11914 	hardcode_libdir_separator_CXX=:
   11915 
   11916 	# Commands to make compiler produce verbose output that lists
   11917 	# what "hidden" libraries, object files and flags are used when
   11918 	# linking a shared library.
   11919 	#
   11920 	# There doesn't appear to be a way to prevent this compiler from
   11921 	# explicitly linking system object files so we need to strip them
   11922 	# from the output so that they don't get included in the library
   11923 	# dependencies.
   11924 	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'
   11925 	;;
   11926       *)
   11927 	case `$CC -V 2>&1 | sed 5q` in
   11928 	*Sun\ C*)
   11929 	  # Sun C++ 5.9
   11930 	  no_undefined_flag_CXX=' -zdefs'
   11931 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11932 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   11933 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   11934 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   11935 
   11936 	  # Not sure whether something based on
   11937 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   11938 	  # would be better.
   11939 	  output_verbose_link_cmd='echo'
   11940 
   11941 	  # Archives containing C++ object files must be created using
   11942 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11943 	  # necessary to make sure instantiated templates are included
   11944 	  # in the archive.
   11945 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11946 	  ;;
   11947 	esac
   11948 	;;
   11949     esac
   11950     ;;
   11951   lynxos*)
   11952     # FIXME: insert proper C++ library support
   11953     ld_shlibs_CXX=no
   11954     ;;
   11955   m88k*)
   11956     # FIXME: insert proper C++ library support
   11957     ld_shlibs_CXX=no
   11958     ;;
   11959   mvs*)
   11960     case $cc_basename in
   11961       cxx*)
   11962 	# FIXME: insert proper C++ library support
   11963 	ld_shlibs_CXX=no
   11964 	;;
   11965       *)
   11966 	# FIXME: insert proper C++ library support
   11967 	ld_shlibs_CXX=no
   11968 	;;
   11969     esac
   11970     ;;
   11971   netbsd*)
   11972     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11973       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11974       wlarc=
   11975       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11976       hardcode_direct_CXX=yes
   11977       hardcode_shlibpath_var_CXX=no
   11978     fi
   11979     # Workaround some broken pre-1.5 toolchains
   11980     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11981     ;;
   11982   openbsd2*)
   11983     # C++ shared libraries are fairly broken
   11984     ld_shlibs_CXX=no
   11985     ;;
   11986   openbsd*)
   11987     if test -f /usr/libexec/ld.so; then
   11988       hardcode_direct_CXX=yes
   11989       hardcode_shlibpath_var_CXX=no
   11990       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11991       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11992       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11993 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11994 	export_dynamic_flag_spec_CXX='${wl}-E'
   11995 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11996       fi
   11997       output_verbose_link_cmd='echo'
   11998     else
   11999       ld_shlibs_CXX=no
   12000     fi
   12001     ;;
   12002   osf3*)
   12003     case $cc_basename in
   12004       KCC*)
   12005 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12006 
   12007 	# KCC will only create a shared library if the output file
   12008 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12009 	# to its proper name (with version) after linking.
   12010 	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'
   12011 
   12012 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12013 	hardcode_libdir_separator_CXX=:
   12014 
   12015 	# Archives containing C++ object files must be created using
   12016 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12017 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12018 
   12019 	;;
   12020       RCC*)
   12021 	# Rational C++ 2.4.1
   12022 	# FIXME: insert proper C++ library support
   12023 	ld_shlibs_CXX=no
   12024 	;;
   12025       cxx*)
   12026 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12027 	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'
   12028 
   12029 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12030 	hardcode_libdir_separator_CXX=:
   12031 
   12032 	# Commands to make compiler produce verbose output that lists
   12033 	# what "hidden" libraries, object files and flags are used when
   12034 	# linking a shared library.
   12035 	#
   12036 	# There doesn't appear to be a way to prevent this compiler from
   12037 	# explicitly linking system object files so we need to strip them
   12038 	# from the output so that they don't get included in the library
   12039 	# dependencies.
   12040 	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'
   12041 	;;
   12042       *)
   12043 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12044 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12045 	  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'
   12046 
   12047 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12048 	  hardcode_libdir_separator_CXX=:
   12049 
   12050 	  # Commands to make compiler produce verbose output that lists
   12051 	  # what "hidden" libraries, object files and flags are used when
   12052 	  # linking a shared library.
   12053 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12054 
   12055 	else
   12056 	  # FIXME: insert proper C++ library support
   12057 	  ld_shlibs_CXX=no
   12058 	fi
   12059 	;;
   12060     esac
   12061     ;;
   12062   osf4* | osf5*)
   12063     case $cc_basename in
   12064       KCC*)
   12065 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12066 
   12067 	# KCC will only create a shared library if the output file
   12068 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12069 	# to its proper name (with version) after linking.
   12070 	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'
   12071 
   12072 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12073 	hardcode_libdir_separator_CXX=:
   12074 
   12075 	# Archives containing C++ object files must be created using
   12076 	# the KAI C++ compiler.
   12077 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12078 	;;
   12079       RCC*)
   12080 	# Rational C++ 2.4.1
   12081 	# FIXME: insert proper C++ library support
   12082 	ld_shlibs_CXX=no
   12083 	;;
   12084       cxx*)
   12085 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12086 	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'
   12087 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12088 	  echo "-hidden">> $lib.exp~
   12089 	  $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~
   12090 	  $rm $lib.exp'
   12091 
   12092 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12093 	hardcode_libdir_separator_CXX=:
   12094 
   12095 	# Commands to make compiler produce verbose output that lists
   12096 	# what "hidden" libraries, object files and flags are used when
   12097 	# linking a shared library.
   12098 	#
   12099 	# There doesn't appear to be a way to prevent this compiler from
   12100 	# explicitly linking system object files so we need to strip them
   12101 	# from the output so that they don't get included in the library
   12102 	# dependencies.
   12103 	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'
   12104 	;;
   12105       *)
   12106 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12107 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12108 	 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'
   12109 
   12110 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12111 	  hardcode_libdir_separator_CXX=:
   12112 
   12113 	  # Commands to make compiler produce verbose output that lists
   12114 	  # what "hidden" libraries, object files and flags are used when
   12115 	  # linking a shared library.
   12116 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12117 
   12118 	else
   12119 	  # FIXME: insert proper C++ library support
   12120 	  ld_shlibs_CXX=no
   12121 	fi
   12122 	;;
   12123     esac
   12124     ;;
   12125   psos*)
   12126     # FIXME: insert proper C++ library support
   12127     ld_shlibs_CXX=no
   12128     ;;
   12129   sunos4*)
   12130     case $cc_basename in
   12131       CC*)
   12132 	# Sun C++ 4.x
   12133 	# FIXME: insert proper C++ library support
   12134 	ld_shlibs_CXX=no
   12135 	;;
   12136       lcc*)
   12137 	# Lucid
   12138 	# FIXME: insert proper C++ library support
   12139 	ld_shlibs_CXX=no
   12140 	;;
   12141       *)
   12142 	# FIXME: insert proper C++ library support
   12143 	ld_shlibs_CXX=no
   12144 	;;
   12145     esac
   12146     ;;
   12147   solaris*)
   12148     case $cc_basename in
   12149       CC*)
   12150 	# Sun C++ 4.2, 5.x and Centerline C++
   12151         archive_cmds_need_lc_CXX=yes
   12152 	no_undefined_flag_CXX=' -zdefs'
   12153 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12154 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12155 	$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'
   12156 
   12157 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12158 	hardcode_shlibpath_var_CXX=no
   12159 	case $host_os in
   12160 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12161 	  *)
   12162 	    # The compiler driver will combine and reorder linker options,
   12163 	    # but understands `-z linker_flag'.
   12164 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12165 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12166 	    ;;
   12167 	esac
   12168 	link_all_deplibs_CXX=yes
   12169 
   12170 	output_verbose_link_cmd='echo'
   12171 
   12172 	# Archives containing C++ object files must be created using
   12173 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12174 	# necessary to make sure instantiated templates are included
   12175 	# in the archive.
   12176 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12177 	;;
   12178       gcx*)
   12179 	# Green Hills C++ Compiler
   12180 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12181 
   12182 	# The C++ compiler must be used to create the archive.
   12183 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12184 	;;
   12185       *)
   12186 	# GNU C++ compiler with Solaris linker
   12187 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12188 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12189 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12190 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12191 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12192 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12193 
   12194 	    # Commands to make compiler produce verbose output that lists
   12195 	    # what "hidden" libraries, object files and flags are used when
   12196 	    # linking a shared library.
   12197 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12198 	  else
   12199 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12200 	    # platform.
   12201 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12202 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12203 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12204 
   12205 	    # Commands to make compiler produce verbose output that lists
   12206 	    # what "hidden" libraries, object files and flags are used when
   12207 	    # linking a shared library.
   12208 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12209 	  fi
   12210 
   12211 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12212 	  case $host_os in
   12213 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12214 	  *)
   12215 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12216 	    ;;
   12217 	  esac
   12218 	fi
   12219 	;;
   12220     esac
   12221     ;;
   12222   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12223     no_undefined_flag_CXX='${wl}-z,text'
   12224     archive_cmds_need_lc_CXX=no
   12225     hardcode_shlibpath_var_CXX=no
   12226     runpath_var='LD_RUN_PATH'
   12227 
   12228     case $cc_basename in
   12229       CC*)
   12230 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12231 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12232 	;;
   12233       *)
   12234 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12235 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12236 	;;
   12237     esac
   12238     ;;
   12239   sysv5* | sco3.2v5* | sco5v6*)
   12240     # Note: We can NOT use -z defs as we might desire, because we do not
   12241     # link with -lc, and that would cause any symbols used from libc to
   12242     # always be unresolved, which means just about no library would
   12243     # ever link correctly.  If we're not using GNU ld we use -z text
   12244     # though, which does catch some bad symbols but isn't as heavy-handed
   12245     # as -z defs.
   12246     # For security reasons, it is highly recommended that you always
   12247     # use absolute paths for naming shared libraries, and exclude the
   12248     # DT_RUNPATH tag from executables and libraries.  But doing so
   12249     # requires that you compile everything twice, which is a pain.
   12250     # So that behaviour is only enabled if SCOABSPATH is set to a
   12251     # non-empty value in the environment.  Most likely only useful for
   12252     # creating official distributions of packages.
   12253     # This is a hack until libtool officially supports absolute path
   12254     # names for shared libraries.
   12255     no_undefined_flag_CXX='${wl}-z,text'
   12256     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12257     archive_cmds_need_lc_CXX=no
   12258     hardcode_shlibpath_var_CXX=no
   12259     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12260     hardcode_libdir_separator_CXX=':'
   12261     link_all_deplibs_CXX=yes
   12262     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12263     runpath_var='LD_RUN_PATH'
   12264 
   12265     case $cc_basename in
   12266       CC*)
   12267 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12268 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12269 	;;
   12270       *)
   12271 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12272 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12273 	;;
   12274     esac
   12275     ;;
   12276   tandem*)
   12277     case $cc_basename in
   12278       NCC*)
   12279 	# NonStop-UX NCC 3.20
   12280 	# FIXME: insert proper C++ library support
   12281 	ld_shlibs_CXX=no
   12282 	;;
   12283       *)
   12284 	# FIXME: insert proper C++ library support
   12285 	ld_shlibs_CXX=no
   12286 	;;
   12287     esac
   12288     ;;
   12289   vxworks*)
   12290     # FIXME: insert proper C++ library support
   12291     ld_shlibs_CXX=no
   12292     ;;
   12293   *)
   12294     # FIXME: insert proper C++ library support
   12295     ld_shlibs_CXX=no
   12296     ;;
   12297 esac
   12298 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12299 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12300 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12301 
   12302 GCC_CXX="$GXX"
   12303 LD_CXX="$LD"
   12304 
   12305 cat > conftest.$ac_ext <<EOF
   12306 class Foo
   12307 {
   12308 public:
   12309   Foo (void) { a = 0; }
   12310 private:
   12311   int a;
   12312 };
   12313 EOF
   12314 
   12315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12316   (eval $ac_compile) 2>&5
   12317   ac_status=$?
   12318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12319   (exit $ac_status); }; then
   12320   # Parse the compiler output and extract the necessary
   12321   # objects, libraries and library flags.
   12322 
   12323   # Sentinel used to keep track of whether or not we are before
   12324   # the conftest object file.
   12325   pre_test_object_deps_done=no
   12326 
   12327   # The `*' in the case matches for architectures that use `case' in
   12328   # $output_verbose_cmd can trigger glob expansion during the loop
   12329   # eval without this substitution.
   12330   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12331 
   12332   for p in `eval $output_verbose_link_cmd`; do
   12333     case $p in
   12334 
   12335     -L* | -R* | -l*)
   12336        # Some compilers place space between "-{L,R}" and the path.
   12337        # Remove the space.
   12338        if test $p = "-L" \
   12339 	  || test $p = "-R"; then
   12340 	 prev=$p
   12341 	 continue
   12342        else
   12343 	 prev=
   12344        fi
   12345 
   12346        if test "$pre_test_object_deps_done" = no; then
   12347 	 case $p in
   12348 	 -L* | -R*)
   12349 	   # Internal compiler library paths should come after those
   12350 	   # provided the user.  The postdeps already come after the
   12351 	   # user supplied libs so there is no need to process them.
   12352 	   if test -z "$compiler_lib_search_path_CXX"; then
   12353 	     compiler_lib_search_path_CXX="${prev}${p}"
   12354 	   else
   12355 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12356 	   fi
   12357 	   ;;
   12358 	 # The "-l" case would never come before the object being
   12359 	 # linked, so don't bother handling this case.
   12360 	 esac
   12361        else
   12362 	 if test -z "$postdeps_CXX"; then
   12363 	   postdeps_CXX="${prev}${p}"
   12364 	 else
   12365 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12366 	 fi
   12367        fi
   12368        ;;
   12369 
   12370     *.$objext)
   12371        # This assumes that the test object file only shows up
   12372        # once in the compiler output.
   12373        if test "$p" = "conftest.$objext"; then
   12374 	 pre_test_object_deps_done=yes
   12375 	 continue
   12376        fi
   12377 
   12378        if test "$pre_test_object_deps_done" = no; then
   12379 	 if test -z "$predep_objects_CXX"; then
   12380 	   predep_objects_CXX="$p"
   12381 	 else
   12382 	   predep_objects_CXX="$predep_objects_CXX $p"
   12383 	 fi
   12384        else
   12385 	 if test -z "$postdep_objects_CXX"; then
   12386 	   postdep_objects_CXX="$p"
   12387 	 else
   12388 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12389 	 fi
   12390        fi
   12391        ;;
   12392 
   12393     *) ;; # Ignore the rest.
   12394 
   12395     esac
   12396   done
   12397 
   12398   # Clean up.
   12399   rm -f a.out a.exe
   12400 else
   12401   echo "libtool.m4: error: problem compiling CXX test program"
   12402 fi
   12403 
   12404 $rm -f confest.$objext
   12405 
   12406 compiler_lib_search_dirs_CXX=
   12407 if test -n "$compiler_lib_search_path_CXX"; then
   12408   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12409 fi
   12410 
   12411 # PORTME: override above test on systems where it is broken
   12412 case $host_os in
   12413 interix[3-9]*)
   12414   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12415   # hack all around it, let's just trust "g++" to DTRT.
   12416   predep_objects_CXX=
   12417   postdep_objects_CXX=
   12418   postdeps_CXX=
   12419   ;;
   12420 
   12421 linux*)
   12422   case `$CC -V 2>&1 | sed 5q` in
   12423   *Sun\ C*)
   12424     # Sun C++ 5.9
   12425     #
   12426     # The more standards-conforming stlport4 library is
   12427     # incompatible with the Cstd library. Avoid specifying
   12428     # it if it's in CXXFLAGS. Ignore libCrun as
   12429     # -library=stlport4 depends on it.
   12430     case " $CXX $CXXFLAGS " in
   12431     *" -library=stlport4 "*)
   12432       solaris_use_stlport4=yes
   12433       ;;
   12434     esac
   12435     if test "$solaris_use_stlport4" != yes; then
   12436       postdeps_CXX='-library=Cstd -library=Crun'
   12437     fi
   12438     ;;
   12439   esac
   12440   ;;
   12441 
   12442 solaris*)
   12443   case $cc_basename in
   12444   CC*)
   12445     # The more standards-conforming stlport4 library is
   12446     # incompatible with the Cstd library. Avoid specifying
   12447     # it if it's in CXXFLAGS. Ignore libCrun as
   12448     # -library=stlport4 depends on it.
   12449     case " $CXX $CXXFLAGS " in
   12450     *" -library=stlport4 "*)
   12451       solaris_use_stlport4=yes
   12452       ;;
   12453     esac
   12454 
   12455     # Adding this requires a known-good setup of shared libraries for
   12456     # Sun compiler versions before 5.6, else PIC objects from an old
   12457     # archive will be linked into the output, leading to subtle bugs.
   12458     if test "$solaris_use_stlport4" != yes; then
   12459       postdeps_CXX='-library=Cstd -library=Crun'
   12460     fi
   12461     ;;
   12462   esac
   12463   ;;
   12464 esac
   12465 
   12466 case " $postdeps_CXX " in
   12467 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12468 esac
   12469 
   12470 lt_prog_compiler_wl_CXX=
   12471 lt_prog_compiler_pic_CXX=
   12472 lt_prog_compiler_static_CXX=
   12473 
   12474 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12475 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   12476 
   12477   # C++ specific cases for pic, static, wl, etc.
   12478   if test "$GXX" = yes; then
   12479     lt_prog_compiler_wl_CXX='-Wl,'
   12480     lt_prog_compiler_static_CXX='-static'
   12481 
   12482     case $host_os in
   12483     aix*)
   12484       # All AIX code is PIC.
   12485       if test "$host_cpu" = ia64; then
   12486 	# AIX 5 now supports IA64 processor
   12487 	lt_prog_compiler_static_CXX='-Bstatic'
   12488       fi
   12489       ;;
   12490     amigaos*)
   12491       # FIXME: we need at least 68020 code to build shared libraries, but
   12492       # adding the `-m68020' flag to GCC prevents building anything better,
   12493       # like `-m68040'.
   12494       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12495       ;;
   12496     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12497       # PIC is the default for these OSes.
   12498       ;;
   12499     mingw* | cygwin* | os2* | pw32*)
   12500       # This hack is so that the source file can tell whether it is being
   12501       # built for inclusion in a dll (and should export symbols for example).
   12502       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12503       # (--disable-auto-import) libraries
   12504       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12505       ;;
   12506     darwin* | rhapsody*)
   12507       # PIC is the default on this platform
   12508       # Common symbols not allowed in MH_DYLIB files
   12509       lt_prog_compiler_pic_CXX='-fno-common'
   12510       ;;
   12511     *djgpp*)
   12512       # DJGPP does not support shared libraries at all
   12513       lt_prog_compiler_pic_CXX=
   12514       ;;
   12515     interix[3-9]*)
   12516       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12517       # Instead, we relocate shared libraries at runtime.
   12518       ;;
   12519     sysv4*MP*)
   12520       if test -d /usr/nec; then
   12521 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12522       fi
   12523       ;;
   12524     hpux*)
   12525       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12526       # not for PA HP-UX.
   12527       case $host_cpu in
   12528       hppa*64*|ia64*)
   12529 	;;
   12530       *)
   12531 	lt_prog_compiler_pic_CXX='-fPIC'
   12532 	;;
   12533       esac
   12534       ;;
   12535     *)
   12536       lt_prog_compiler_pic_CXX='-fPIC'
   12537       ;;
   12538     esac
   12539   else
   12540     case $host_os in
   12541       aix[4-9]*)
   12542 	# All AIX code is PIC.
   12543 	if test "$host_cpu" = ia64; then
   12544 	  # AIX 5 now supports IA64 processor
   12545 	  lt_prog_compiler_static_CXX='-Bstatic'
   12546 	else
   12547 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12548 	fi
   12549 	;;
   12550       chorus*)
   12551 	case $cc_basename in
   12552 	cxch68*)
   12553 	  # Green Hills C++ Compiler
   12554 	  # _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"
   12555 	  ;;
   12556 	esac
   12557 	;;
   12558        darwin*)
   12559          # PIC is the default on this platform
   12560          # Common symbols not allowed in MH_DYLIB files
   12561          case $cc_basename in
   12562            xlc*)
   12563            lt_prog_compiler_pic_CXX='-qnocommon'
   12564            lt_prog_compiler_wl_CXX='-Wl,'
   12565            ;;
   12566          esac
   12567        ;;
   12568       dgux*)
   12569 	case $cc_basename in
   12570 	  ec++*)
   12571 	    lt_prog_compiler_pic_CXX='-KPIC'
   12572 	    ;;
   12573 	  ghcx*)
   12574 	    # Green Hills C++ Compiler
   12575 	    lt_prog_compiler_pic_CXX='-pic'
   12576 	    ;;
   12577 	  *)
   12578 	    ;;
   12579 	esac
   12580 	;;
   12581       freebsd* | dragonfly*)
   12582 	# FreeBSD uses GNU C++
   12583 	;;
   12584       hpux9* | hpux10* | hpux11*)
   12585 	case $cc_basename in
   12586 	  CC*)
   12587 	    lt_prog_compiler_wl_CXX='-Wl,'
   12588 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12589 	    if test "$host_cpu" != ia64; then
   12590 	      lt_prog_compiler_pic_CXX='+Z'
   12591 	    fi
   12592 	    ;;
   12593 	  aCC*)
   12594 	    lt_prog_compiler_wl_CXX='-Wl,'
   12595 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12596 	    case $host_cpu in
   12597 	    hppa*64*|ia64*)
   12598 	      # +Z the default
   12599 	      ;;
   12600 	    *)
   12601 	      lt_prog_compiler_pic_CXX='+Z'
   12602 	      ;;
   12603 	    esac
   12604 	    ;;
   12605 	  *)
   12606 	    ;;
   12607 	esac
   12608 	;;
   12609       interix*)
   12610 	# This is c89, which is MS Visual C++ (no shared libs)
   12611 	# Anyone wants to do a port?
   12612 	;;
   12613       irix5* | irix6* | nonstopux*)
   12614 	case $cc_basename in
   12615 	  CC*)
   12616 	    lt_prog_compiler_wl_CXX='-Wl,'
   12617 	    lt_prog_compiler_static_CXX='-non_shared'
   12618 	    # CC pic flag -KPIC is the default.
   12619 	    ;;
   12620 	  *)
   12621 	    ;;
   12622 	esac
   12623 	;;
   12624       linux* | k*bsd*-gnu)
   12625 	case $cc_basename in
   12626 	  KCC*)
   12627 	    # KAI C++ Compiler
   12628 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12629 	    lt_prog_compiler_pic_CXX='-fPIC'
   12630 	    ;;
   12631 	  icpc* | ecpc*)
   12632 	    # Intel C++
   12633 	    lt_prog_compiler_wl_CXX='-Wl,'
   12634 	    lt_prog_compiler_pic_CXX='-KPIC'
   12635 	    lt_prog_compiler_static_CXX='-static'
   12636 	    ;;
   12637 	  pgCC* | pgcpp*)
   12638 	    # Portland Group C++ compiler.
   12639 	    lt_prog_compiler_wl_CXX='-Wl,'
   12640 	    lt_prog_compiler_pic_CXX='-fpic'
   12641 	    lt_prog_compiler_static_CXX='-Bstatic'
   12642 	    ;;
   12643 	  cxx*)
   12644 	    # Compaq C++
   12645 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12646 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12647 	    lt_prog_compiler_pic_CXX=
   12648 	    lt_prog_compiler_static_CXX='-non_shared'
   12649 	    ;;
   12650 	  *)
   12651 	    case `$CC -V 2>&1 | sed 5q` in
   12652 	    *Sun\ C*)
   12653 	      # Sun C++ 5.9
   12654 	      lt_prog_compiler_pic_CXX='-KPIC'
   12655 	      lt_prog_compiler_static_CXX='-Bstatic'
   12656 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12657 	      ;;
   12658 	    esac
   12659 	    ;;
   12660 	esac
   12661 	;;
   12662       lynxos*)
   12663 	;;
   12664       m88k*)
   12665 	;;
   12666       mvs*)
   12667 	case $cc_basename in
   12668 	  cxx*)
   12669 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12670 	    ;;
   12671 	  *)
   12672 	    ;;
   12673 	esac
   12674 	;;
   12675       netbsd*)
   12676 	;;
   12677       osf3* | osf4* | osf5*)
   12678 	case $cc_basename in
   12679 	  KCC*)
   12680 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12681 	    ;;
   12682 	  RCC*)
   12683 	    # Rational C++ 2.4.1
   12684 	    lt_prog_compiler_pic_CXX='-pic'
   12685 	    ;;
   12686 	  cxx*)
   12687 	    # Digital/Compaq C++
   12688 	    lt_prog_compiler_wl_CXX='-Wl,'
   12689 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12690 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12691 	    lt_prog_compiler_pic_CXX=
   12692 	    lt_prog_compiler_static_CXX='-non_shared'
   12693 	    ;;
   12694 	  *)
   12695 	    ;;
   12696 	esac
   12697 	;;
   12698       psos*)
   12699 	;;
   12700       solaris*)
   12701 	case $cc_basename in
   12702 	  CC*)
   12703 	    # Sun C++ 4.2, 5.x and Centerline C++
   12704 	    lt_prog_compiler_pic_CXX='-KPIC'
   12705 	    lt_prog_compiler_static_CXX='-Bstatic'
   12706 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12707 	    ;;
   12708 	  gcx*)
   12709 	    # Green Hills C++ Compiler
   12710 	    lt_prog_compiler_pic_CXX='-PIC'
   12711 	    ;;
   12712 	  *)
   12713 	    ;;
   12714 	esac
   12715 	;;
   12716       sunos4*)
   12717 	case $cc_basename in
   12718 	  CC*)
   12719 	    # Sun C++ 4.x
   12720 	    lt_prog_compiler_pic_CXX='-pic'
   12721 	    lt_prog_compiler_static_CXX='-Bstatic'
   12722 	    ;;
   12723 	  lcc*)
   12724 	    # Lucid
   12725 	    lt_prog_compiler_pic_CXX='-pic'
   12726 	    ;;
   12727 	  *)
   12728 	    ;;
   12729 	esac
   12730 	;;
   12731       tandem*)
   12732 	case $cc_basename in
   12733 	  NCC*)
   12734 	    # NonStop-UX NCC 3.20
   12735 	    lt_prog_compiler_pic_CXX='-KPIC'
   12736 	    ;;
   12737 	  *)
   12738 	    ;;
   12739 	esac
   12740 	;;
   12741       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12742 	case $cc_basename in
   12743 	  CC*)
   12744 	    lt_prog_compiler_wl_CXX='-Wl,'
   12745 	    lt_prog_compiler_pic_CXX='-KPIC'
   12746 	    lt_prog_compiler_static_CXX='-Bstatic'
   12747 	    ;;
   12748 	esac
   12749 	;;
   12750       vxworks*)
   12751 	;;
   12752       *)
   12753 	lt_prog_compiler_can_build_shared_CXX=no
   12754 	;;
   12755     esac
   12756   fi
   12757 
   12758 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12759 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12760 
   12761 #
   12762 # Check to make sure the PIC flag actually works.
   12763 #
   12764 if test -n "$lt_prog_compiler_pic_CXX"; then
   12765 
   12766 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12767 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12768 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12769   echo $ECHO_N "(cached) $ECHO_C" >&6
   12770 else
   12771   lt_cv_prog_compiler_pic_works_CXX=no
   12772   ac_outfile=conftest.$ac_objext
   12773    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12774    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12775    # Insert the option either (1) after the last *FLAGS variable, or
   12776    # (2) before a word containing "conftest.", or (3) at the end.
   12777    # Note that $ac_compile itself does not contain backslashes and begins
   12778    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12779    # The option is referenced via a variable to avoid confusing sed.
   12780    lt_compile=`echo "$ac_compile" | $SED \
   12781    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12782    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12783    -e 's:$: $lt_compiler_flag:'`
   12784    (eval echo "\"\$as_me:12784: $lt_compile\"" >&5)
   12785    (eval "$lt_compile" 2>conftest.err)
   12786    ac_status=$?
   12787    cat conftest.err >&5
   12788    echo "$as_me:12788: \$? = $ac_status" >&5
   12789    if (exit $ac_status) && test -s "$ac_outfile"; then
   12790      # The compiler can only warn and ignore the option if not recognized
   12791      # So say no if there are warnings other than the usual output.
   12792      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12793      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12794      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12795        lt_cv_prog_compiler_pic_works_CXX=yes
   12796      fi
   12797    fi
   12798    $rm conftest*
   12799 
   12800 fi
   12801 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12802 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12803 
   12804 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12805     case $lt_prog_compiler_pic_CXX in
   12806      "" | " "*) ;;
   12807      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12808      esac
   12809 else
   12810     lt_prog_compiler_pic_CXX=
   12811      lt_prog_compiler_can_build_shared_CXX=no
   12812 fi
   12813 
   12814 fi
   12815 case $host_os in
   12816   # For platforms which do not support PIC, -DPIC is meaningless:
   12817   *djgpp*)
   12818     lt_prog_compiler_pic_CXX=
   12819     ;;
   12820   *)
   12821     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12822     ;;
   12823 esac
   12824 
   12825 #
   12826 # Check to make sure the static flag actually works.
   12827 #
   12828 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12829 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12830 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12831 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12832   echo $ECHO_N "(cached) $ECHO_C" >&6
   12833 else
   12834   lt_cv_prog_compiler_static_works_CXX=no
   12835    save_LDFLAGS="$LDFLAGS"
   12836    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12837    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12838    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12839      # The linker can only warn and ignore the option if not recognized
   12840      # So say no if there are warnings
   12841      if test -s conftest.err; then
   12842        # Append any errors to the config.log.
   12843        cat conftest.err 1>&5
   12844        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12845        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12846        if diff conftest.exp conftest.er2 >/dev/null; then
   12847          lt_cv_prog_compiler_static_works_CXX=yes
   12848        fi
   12849      else
   12850        lt_cv_prog_compiler_static_works_CXX=yes
   12851      fi
   12852    fi
   12853    $rm -r conftest*
   12854    LDFLAGS="$save_LDFLAGS"
   12855 
   12856 fi
   12857 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   12858 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
   12859 
   12860 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   12861     :
   12862 else
   12863     lt_prog_compiler_static_CXX=
   12864 fi
   12865 
   12866 
   12867 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12868 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12869 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12870   echo $ECHO_N "(cached) $ECHO_C" >&6
   12871 else
   12872   lt_cv_prog_compiler_c_o_CXX=no
   12873    $rm -r conftest 2>/dev/null
   12874    mkdir conftest
   12875    cd conftest
   12876    mkdir out
   12877    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12878 
   12879    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12880    # Insert the option either (1) after the last *FLAGS variable, or
   12881    # (2) before a word containing "conftest.", or (3) at the end.
   12882    # Note that $ac_compile itself does not contain backslashes and begins
   12883    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12884    lt_compile=`echo "$ac_compile" | $SED \
   12885    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12886    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12887    -e 's:$: $lt_compiler_flag:'`
   12888    (eval echo "\"\$as_me:12888: $lt_compile\"" >&5)
   12889    (eval "$lt_compile" 2>out/conftest.err)
   12890    ac_status=$?
   12891    cat out/conftest.err >&5
   12892    echo "$as_me:12892: \$? = $ac_status" >&5
   12893    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12894    then
   12895      # The compiler can only warn and ignore the option if not recognized
   12896      # So say no if there are warnings
   12897      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12898      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12899      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12900        lt_cv_prog_compiler_c_o_CXX=yes
   12901      fi
   12902    fi
   12903    chmod u+w . 2>&5
   12904    $rm conftest*
   12905    # SGI C++ compiler will create directory out/ii_files/ for
   12906    # template instantiation
   12907    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12908    $rm out/* && rmdir out
   12909    cd ..
   12910    rmdir conftest
   12911    $rm conftest*
   12912 
   12913 fi
   12914 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12915 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12916 
   12917 
   12918 hard_links="nottested"
   12919 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12920   # do not overwrite the value of need_locks provided by the user
   12921   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12922 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12923   hard_links=yes
   12924   $rm conftest*
   12925   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12926   touch conftest.a
   12927   ln conftest.a conftest.b 2>&5 || hard_links=no
   12928   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12929   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12930 echo "${ECHO_T}$hard_links" >&6; }
   12931   if test "$hard_links" = no; then
   12932     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12933 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12934     need_locks=warn
   12935   fi
   12936 else
   12937   need_locks=no
   12938 fi
   12939 
   12940 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12941 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12942 
   12943   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12944   case $host_os in
   12945   aix[4-9]*)
   12946     # If we're using GNU nm, then we don't want the "-C" option.
   12947     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12948     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12949       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'
   12950     else
   12951       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'
   12952     fi
   12953     ;;
   12954   pw32*)
   12955     export_symbols_cmds_CXX="$ltdll_cmds"
   12956   ;;
   12957   cygwin* | mingw*)
   12958     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'
   12959   ;;
   12960   *)
   12961     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12962   ;;
   12963   esac
   12964   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   12965 
   12966 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12967 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12968 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12969 
   12970 #
   12971 # Do we need to explicitly link libc?
   12972 #
   12973 case "x$archive_cmds_need_lc_CXX" in
   12974 x|xyes)
   12975   # Assume -lc should be added
   12976   archive_cmds_need_lc_CXX=yes
   12977 
   12978   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12979     case $archive_cmds_CXX in
   12980     *'~'*)
   12981       # FIXME: we may have to deal with multi-command sequences.
   12982       ;;
   12983     '$CC '*)
   12984       # Test whether the compiler implicitly links with -lc since on some
   12985       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12986       # to ld, don't add -lc before -lgcc.
   12987       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12988 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12989       $rm conftest*
   12990       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12991 
   12992       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12993   (eval $ac_compile) 2>&5
   12994   ac_status=$?
   12995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12996   (exit $ac_status); } 2>conftest.err; then
   12997         soname=conftest
   12998         lib=conftest
   12999         libobjs=conftest.$ac_objext
   13000         deplibs=
   13001         wl=$lt_prog_compiler_wl_CXX
   13002 	pic_flag=$lt_prog_compiler_pic_CXX
   13003         compiler_flags=-v
   13004         linker_flags=-v
   13005         verstring=
   13006         output_objdir=.
   13007         libname=conftest
   13008         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13009         allow_undefined_flag_CXX=
   13010         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13011   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13012   ac_status=$?
   13013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13014   (exit $ac_status); }
   13015         then
   13016 	  archive_cmds_need_lc_CXX=no
   13017         else
   13018 	  archive_cmds_need_lc_CXX=yes
   13019         fi
   13020         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13021       else
   13022         cat conftest.err 1>&5
   13023       fi
   13024       $rm conftest*
   13025       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13026 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   13027       ;;
   13028     esac
   13029   fi
   13030   ;;
   13031 esac
   13032 
   13033 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   13035 library_names_spec=
   13036 libname_spec='lib$name'
   13037 soname_spec=
   13038 shrext_cmds=".so"
   13039 postinstall_cmds=
   13040 postuninstall_cmds=
   13041 finish_cmds=
   13042 finish_eval=
   13043 shlibpath_var=
   13044 shlibpath_overrides_runpath=unknown
   13045 version_type=none
   13046 dynamic_linker="$host_os ld.so"
   13047 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13048 
   13049 need_lib_prefix=unknown
   13050 hardcode_into_libs=no
   13051 
   13052 # when you set need_version to no, make sure it does not cause -set_version
   13053 # flags to be left without arguments
   13054 need_version=unknown
   13055 
   13056 case $host_os in
   13057 aix3*)
   13058   version_type=linux
   13059   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13060   shlibpath_var=LIBPATH
   13061 
   13062   # AIX 3 has no versioning support, so we append a major version to the name.
   13063   soname_spec='${libname}${release}${shared_ext}$major'
   13064   ;;
   13065 
   13066 aix[4-9]*)
   13067   version_type=linux
   13068   need_lib_prefix=no
   13069   need_version=no
   13070   hardcode_into_libs=yes
   13071   if test "$host_cpu" = ia64; then
   13072     # AIX 5 supports IA64
   13073     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13074     shlibpath_var=LD_LIBRARY_PATH
   13075   else
   13076     # With GCC up to 2.95.x, collect2 would create an import file
   13077     # for dependence libraries.  The import file would start with
   13078     # the line `#! .'.  This would cause the generated library to
   13079     # depend on `.', always an invalid library.  This was fixed in
   13080     # development snapshots of GCC prior to 3.0.
   13081     case $host_os in
   13082       aix4 | aix4.[01] | aix4.[01].*)
   13083       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13084 	   echo ' yes '
   13085 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13086 	:
   13087       else
   13088 	can_build_shared=no
   13089       fi
   13090       ;;
   13091     esac
   13092     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13093     # soname into executable. Probably we can add versioning support to
   13094     # collect2, so additional links can be useful in future.
   13095     if test "$aix_use_runtimelinking" = yes; then
   13096       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13097       # instead of lib<name>.a to let people know that these are not
   13098       # typical AIX shared libraries.
   13099       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13100     else
   13101       # We preserve .a as extension for shared libraries through AIX4.2
   13102       # and later when we are not doing run time linking.
   13103       library_names_spec='${libname}${release}.a $libname.a'
   13104       soname_spec='${libname}${release}${shared_ext}$major'
   13105     fi
   13106     shlibpath_var=LIBPATH
   13107   fi
   13108   ;;
   13109 
   13110 amigaos*)
   13111   library_names_spec='$libname.ixlibrary $libname.a'
   13112   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13113   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'
   13114   ;;
   13115 
   13116 beos*)
   13117   library_names_spec='${libname}${shared_ext}'
   13118   dynamic_linker="$host_os ld.so"
   13119   shlibpath_var=LIBRARY_PATH
   13120   ;;
   13121 
   13122 bsdi[45]*)
   13123   version_type=linux
   13124   need_version=no
   13125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13126   soname_spec='${libname}${release}${shared_ext}$major'
   13127   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13128   shlibpath_var=LD_LIBRARY_PATH
   13129   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13130   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13131   # the default ld.so.conf also contains /usr/contrib/lib and
   13132   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13133   # libtool to hard-code these into programs
   13134   ;;
   13135 
   13136 cygwin* | mingw* | pw32*)
   13137   version_type=windows
   13138   shrext_cmds=".dll"
   13139   need_version=no
   13140   need_lib_prefix=no
   13141 
   13142   case $GCC,$host_os in
   13143   yes,cygwin* | yes,mingw* | yes,pw32*)
   13144     library_names_spec='$libname.dll.a'
   13145     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13146     postinstall_cmds='base_file=`basename \${file}`~
   13147       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13148       dldir=$destdir/`dirname \$dlpath`~
   13149       test -d \$dldir || mkdir -p \$dldir~
   13150       $install_prog $dir/$dlname \$dldir/$dlname~
   13151       chmod a+x \$dldir/$dlname'
   13152     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13153       dlpath=$dir/\$dldll~
   13154        $rm \$dlpath'
   13155     shlibpath_overrides_runpath=yes
   13156 
   13157     case $host_os in
   13158     cygwin*)
   13159       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13160       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13161       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13162       ;;
   13163     mingw*)
   13164       # MinGW DLLs use traditional 'lib' prefix
   13165       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13166       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13167       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13168         # It is most probably a Windows format PATH printed by
   13169         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13170         # path with ; separators, and with drive letters. We can handle the
   13171         # drive letters (cygwin fileutils understands them), so leave them,
   13172         # especially as we might pass files found there to a mingw objdump,
   13173         # which wouldn't understand a cygwinified path. Ahh.
   13174         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13175       else
   13176         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13177       fi
   13178       ;;
   13179     pw32*)
   13180       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13181       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13182       ;;
   13183     esac
   13184     ;;
   13185 
   13186   *)
   13187     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13188     ;;
   13189   esac
   13190   dynamic_linker='Win32 ld.exe'
   13191   # FIXME: first we should search . and the directory the executable is in
   13192   shlibpath_var=PATH
   13193   ;;
   13194 
   13195 darwin* | rhapsody*)
   13196   dynamic_linker="$host_os dyld"
   13197   version_type=darwin
   13198   need_lib_prefix=no
   13199   need_version=no
   13200   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13201   soname_spec='${libname}${release}${major}$shared_ext'
   13202   shlibpath_overrides_runpath=yes
   13203   shlibpath_var=DYLD_LIBRARY_PATH
   13204   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13205 
   13206   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13207   ;;
   13208 
   13209 dgux*)
   13210   version_type=linux
   13211   need_lib_prefix=no
   13212   need_version=no
   13213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13214   soname_spec='${libname}${release}${shared_ext}$major'
   13215   shlibpath_var=LD_LIBRARY_PATH
   13216   ;;
   13217 
   13218 freebsd1*)
   13219   dynamic_linker=no
   13220   ;;
   13221 
   13222 freebsd* | dragonfly*)
   13223   # DragonFly does not have aout.  When/if they implement a new
   13224   # versioning mechanism, adjust this.
   13225   if test -x /usr/bin/objformat; then
   13226     objformat=`/usr/bin/objformat`
   13227   else
   13228     case $host_os in
   13229     freebsd[123]*) objformat=aout ;;
   13230     *) objformat=elf ;;
   13231     esac
   13232   fi
   13233   # Handle Gentoo/FreeBSD as it was Linux
   13234   case $host_vendor in
   13235     gentoo)
   13236       version_type=linux ;;
   13237     *)
   13238       version_type=freebsd-$objformat ;;
   13239   esac
   13240 
   13241   case $version_type in
   13242     freebsd-elf*)
   13243       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13244       need_version=no
   13245       need_lib_prefix=no
   13246       ;;
   13247     freebsd-*)
   13248       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13249       need_version=yes
   13250       ;;
   13251     linux)
   13252       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13253       soname_spec='${libname}${release}${shared_ext}$major'
   13254       need_lib_prefix=no
   13255       need_version=no
   13256       ;;
   13257   esac
   13258   shlibpath_var=LD_LIBRARY_PATH
   13259   case $host_os in
   13260   freebsd2*)
   13261     shlibpath_overrides_runpath=yes
   13262     ;;
   13263   freebsd3.[01]* | freebsdelf3.[01]*)
   13264     shlibpath_overrides_runpath=yes
   13265     hardcode_into_libs=yes
   13266     ;;
   13267   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13268   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13269     shlibpath_overrides_runpath=no
   13270     hardcode_into_libs=yes
   13271     ;;
   13272   *) # from 4.6 on, and DragonFly
   13273     shlibpath_overrides_runpath=yes
   13274     hardcode_into_libs=yes
   13275     ;;
   13276   esac
   13277   ;;
   13278 
   13279 gnu*)
   13280   version_type=linux
   13281   need_lib_prefix=no
   13282   need_version=no
   13283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13284   soname_spec='${libname}${release}${shared_ext}$major'
   13285   shlibpath_var=LD_LIBRARY_PATH
   13286   hardcode_into_libs=yes
   13287   ;;
   13288 
   13289 hpux9* | hpux10* | hpux11*)
   13290   # Give a soname corresponding to the major version so that dld.sl refuses to
   13291   # link against other versions.
   13292   version_type=sunos
   13293   need_lib_prefix=no
   13294   need_version=no
   13295   case $host_cpu in
   13296   ia64*)
   13297     shrext_cmds='.so'
   13298     hardcode_into_libs=yes
   13299     dynamic_linker="$host_os dld.so"
   13300     shlibpath_var=LD_LIBRARY_PATH
   13301     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13302     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13303     soname_spec='${libname}${release}${shared_ext}$major'
   13304     if test "X$HPUX_IA64_MODE" = X32; then
   13305       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13306     else
   13307       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13308     fi
   13309     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13310     ;;
   13311    hppa*64*)
   13312      shrext_cmds='.sl'
   13313      hardcode_into_libs=yes
   13314      dynamic_linker="$host_os dld.sl"
   13315      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13316      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13317      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13318      soname_spec='${libname}${release}${shared_ext}$major'
   13319      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13320      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13321      ;;
   13322    *)
   13323     shrext_cmds='.sl'
   13324     dynamic_linker="$host_os dld.sl"
   13325     shlibpath_var=SHLIB_PATH
   13326     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13327     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13328     soname_spec='${libname}${release}${shared_ext}$major'
   13329     ;;
   13330   esac
   13331   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13332   postinstall_cmds='chmod 555 $lib'
   13333   ;;
   13334 
   13335 interix[3-9]*)
   13336   version_type=linux
   13337   need_lib_prefix=no
   13338   need_version=no
   13339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13340   soname_spec='${libname}${release}${shared_ext}$major'
   13341   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13342   shlibpath_var=LD_LIBRARY_PATH
   13343   shlibpath_overrides_runpath=no
   13344   hardcode_into_libs=yes
   13345   ;;
   13346 
   13347 irix5* | irix6* | nonstopux*)
   13348   case $host_os in
   13349     nonstopux*) version_type=nonstopux ;;
   13350     *)
   13351 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13352 		version_type=linux
   13353 	else
   13354 		version_type=irix
   13355 	fi ;;
   13356   esac
   13357   need_lib_prefix=no
   13358   need_version=no
   13359   soname_spec='${libname}${release}${shared_ext}$major'
   13360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13361   case $host_os in
   13362   irix5* | nonstopux*)
   13363     libsuff= shlibsuff=
   13364     ;;
   13365   *)
   13366     case $LD in # libtool.m4 will add one of these switches to LD
   13367     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13368       libsuff= shlibsuff= libmagic=32-bit;;
   13369     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13370       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13371     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13372       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13373     *) libsuff= shlibsuff= libmagic=never-match;;
   13374     esac
   13375     ;;
   13376   esac
   13377   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13378   shlibpath_overrides_runpath=no
   13379   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13380   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13381   hardcode_into_libs=yes
   13382   ;;
   13383 
   13384 # No shared lib support for Linux oldld, aout, or coff.
   13385 linux*oldld* | linux*aout* | linux*coff*)
   13386   dynamic_linker=no
   13387   ;;
   13388 
   13389 # This must be Linux ELF.
   13390 linux* | k*bsd*-gnu)
   13391   version_type=linux
   13392   need_lib_prefix=no
   13393   need_version=no
   13394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13395   soname_spec='${libname}${release}${shared_ext}$major'
   13396   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13397   shlibpath_var=LD_LIBRARY_PATH
   13398   shlibpath_overrides_runpath=no
   13399   # This implies no fast_install, which is unacceptable.
   13400   # Some rework will be needed to allow for fast_install
   13401   # before this can be enabled.
   13402   hardcode_into_libs=yes
   13403 
   13404   # Append ld.so.conf contents to the search path
   13405   if test -f /etc/ld.so.conf; then
   13406     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13407     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13408   fi
   13409 
   13410   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13411   # powerpc, because MkLinux only supported shared libraries with the
   13412   # GNU dynamic linker.  Since this was broken with cross compilers,
   13413   # most powerpc-linux boxes support dynamic linking these days and
   13414   # people can always --disable-shared, the test was removed, and we
   13415   # assume the GNU/Linux dynamic linker is in use.
   13416   dynamic_linker='GNU/Linux ld.so'
   13417   ;;
   13418 
   13419 netbsd*)
   13420   version_type=sunos
   13421   need_lib_prefix=no
   13422   need_version=no
   13423   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13424     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13425     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13426     dynamic_linker='NetBSD (a.out) ld.so'
   13427   else
   13428     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13429     soname_spec='${libname}${release}${shared_ext}$major'
   13430     dynamic_linker='NetBSD ld.elf_so'
   13431   fi
   13432   shlibpath_var=LD_LIBRARY_PATH
   13433   shlibpath_overrides_runpath=yes
   13434   hardcode_into_libs=yes
   13435   ;;
   13436 
   13437 newsos6)
   13438   version_type=linux
   13439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13440   shlibpath_var=LD_LIBRARY_PATH
   13441   shlibpath_overrides_runpath=yes
   13442   ;;
   13443 
   13444 nto-qnx*)
   13445   version_type=linux
   13446   need_lib_prefix=no
   13447   need_version=no
   13448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13449   soname_spec='${libname}${release}${shared_ext}$major'
   13450   shlibpath_var=LD_LIBRARY_PATH
   13451   shlibpath_overrides_runpath=yes
   13452   ;;
   13453 
   13454 openbsd*)
   13455   version_type=sunos
   13456   sys_lib_dlsearch_path_spec="/usr/lib"
   13457   need_lib_prefix=no
   13458   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13459   case $host_os in
   13460     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13461     *)                         need_version=no  ;;
   13462   esac
   13463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13464   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13465   shlibpath_var=LD_LIBRARY_PATH
   13466   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13467     case $host_os in
   13468       openbsd2.[89] | openbsd2.[89].*)
   13469 	shlibpath_overrides_runpath=no
   13470 	;;
   13471       *)
   13472 	shlibpath_overrides_runpath=yes
   13473 	;;
   13474       esac
   13475   else
   13476     shlibpath_overrides_runpath=yes
   13477   fi
   13478   ;;
   13479 
   13480 os2*)
   13481   libname_spec='$name'
   13482   shrext_cmds=".dll"
   13483   need_lib_prefix=no
   13484   library_names_spec='$libname${shared_ext} $libname.a'
   13485   dynamic_linker='OS/2 ld.exe'
   13486   shlibpath_var=LIBPATH
   13487   ;;
   13488 
   13489 osf3* | osf4* | osf5*)
   13490   version_type=osf
   13491   need_lib_prefix=no
   13492   need_version=no
   13493   soname_spec='${libname}${release}${shared_ext}$major'
   13494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13495   shlibpath_var=LD_LIBRARY_PATH
   13496   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13497   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13498   ;;
   13499 
   13500 rdos*)
   13501   dynamic_linker=no
   13502   ;;
   13503 
   13504 solaris*)
   13505   version_type=linux
   13506   need_lib_prefix=no
   13507   need_version=no
   13508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13509   soname_spec='${libname}${release}${shared_ext}$major'
   13510   shlibpath_var=LD_LIBRARY_PATH
   13511   shlibpath_overrides_runpath=yes
   13512   hardcode_into_libs=yes
   13513   # ldd complains unless libraries are executable
   13514   postinstall_cmds='chmod +x $lib'
   13515   ;;
   13516 
   13517 sunos4*)
   13518   version_type=sunos
   13519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13520   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13521   shlibpath_var=LD_LIBRARY_PATH
   13522   shlibpath_overrides_runpath=yes
   13523   if test "$with_gnu_ld" = yes; then
   13524     need_lib_prefix=no
   13525   fi
   13526   need_version=yes
   13527   ;;
   13528 
   13529 sysv4 | sysv4.3*)
   13530   version_type=linux
   13531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13532   soname_spec='${libname}${release}${shared_ext}$major'
   13533   shlibpath_var=LD_LIBRARY_PATH
   13534   case $host_vendor in
   13535     sni)
   13536       shlibpath_overrides_runpath=no
   13537       need_lib_prefix=no
   13538       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13539       runpath_var=LD_RUN_PATH
   13540       ;;
   13541     siemens)
   13542       need_lib_prefix=no
   13543       ;;
   13544     motorola)
   13545       need_lib_prefix=no
   13546       need_version=no
   13547       shlibpath_overrides_runpath=no
   13548       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13549       ;;
   13550   esac
   13551   ;;
   13552 
   13553 sysv4*MP*)
   13554   if test -d /usr/nec ;then
   13555     version_type=linux
   13556     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13557     soname_spec='$libname${shared_ext}.$major'
   13558     shlibpath_var=LD_LIBRARY_PATH
   13559   fi
   13560   ;;
   13561 
   13562 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13563   version_type=freebsd-elf
   13564   need_lib_prefix=no
   13565   need_version=no
   13566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13567   soname_spec='${libname}${release}${shared_ext}$major'
   13568   shlibpath_var=LD_LIBRARY_PATH
   13569   hardcode_into_libs=yes
   13570   if test "$with_gnu_ld" = yes; then
   13571     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13572     shlibpath_overrides_runpath=no
   13573   else
   13574     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13575     shlibpath_overrides_runpath=yes
   13576     case $host_os in
   13577       sco3.2v5*)
   13578         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13579 	;;
   13580     esac
   13581   fi
   13582   sys_lib_dlsearch_path_spec='/usr/lib'
   13583   ;;
   13584 
   13585 uts4*)
   13586   version_type=linux
   13587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13588   soname_spec='${libname}${release}${shared_ext}$major'
   13589   shlibpath_var=LD_LIBRARY_PATH
   13590   ;;
   13591 
   13592 *)
   13593   dynamic_linker=no
   13594   ;;
   13595 esac
   13596 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13597 echo "${ECHO_T}$dynamic_linker" >&6; }
   13598 test "$dynamic_linker" = no && can_build_shared=no
   13599 
   13600 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13601   echo $ECHO_N "(cached) $ECHO_C" >&6
   13602 else
   13603   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13604 fi
   13605 
   13606 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13607 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13608   echo $ECHO_N "(cached) $ECHO_C" >&6
   13609 else
   13610   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13611 fi
   13612 
   13613 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13614 
   13615 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13616 if test "$GCC" = yes; then
   13617   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13618 fi
   13619 
   13620 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13621 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13622 hardcode_action_CXX=
   13623 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13624    test -n "$runpath_var_CXX" || \
   13625    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13626 
   13627   # We can hardcode non-existant directories.
   13628   if test "$hardcode_direct_CXX" != no &&
   13629      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13630      # have to relink, otherwise we might link with an installed library
   13631      # when we should be linking with a yet-to-be-installed one
   13632      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13633      test "$hardcode_minus_L_CXX" != no; then
   13634     # Linking always hardcodes the temporary library directory.
   13635     hardcode_action_CXX=relink
   13636   else
   13637     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13638     hardcode_action_CXX=immediate
   13639   fi
   13640 else
   13641   # We cannot hardcode anything, or else we can only hardcode existing
   13642   # directories.
   13643   hardcode_action_CXX=unsupported
   13644 fi
   13645 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13646 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13647 
   13648 if test "$hardcode_action_CXX" = relink; then
   13649   # Fast installation is not supported
   13650   enable_fast_install=no
   13651 elif test "$shlibpath_overrides_runpath" = yes ||
   13652      test "$enable_shared" = no; then
   13653   # Fast installation is not necessary
   13654   enable_fast_install=needless
   13655 fi
   13656 
   13657 
   13658 # The else clause should only fire when bootstrapping the
   13659 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13660 # with your package, and you will get complaints that there are
   13661 # no rules to generate ltmain.sh.
   13662 if test -f "$ltmain"; then
   13663   # See if we are running on zsh, and set the options which allow our commands through
   13664   # without removal of \ escapes.
   13665   if test -n "${ZSH_VERSION+set}" ; then
   13666     setopt NO_GLOB_SUBST
   13667   fi
   13668   # Now quote all the things that may contain metacharacters while being
   13669   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13670   # variables and quote the copies for generation of the libtool script.
   13671   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13672     SED SHELL STRIP \
   13673     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13674     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13675     deplibs_check_method reload_flag reload_cmds need_locks \
   13676     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13677     lt_cv_sys_global_symbol_to_c_name_address \
   13678     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13679     old_postinstall_cmds old_postuninstall_cmds \
   13680     compiler_CXX \
   13681     CC_CXX \
   13682     LD_CXX \
   13683     lt_prog_compiler_wl_CXX \
   13684     lt_prog_compiler_pic_CXX \
   13685     lt_prog_compiler_static_CXX \
   13686     lt_prog_compiler_no_builtin_flag_CXX \
   13687     export_dynamic_flag_spec_CXX \
   13688     thread_safe_flag_spec_CXX \
   13689     whole_archive_flag_spec_CXX \
   13690     enable_shared_with_static_runtimes_CXX \
   13691     old_archive_cmds_CXX \
   13692     old_archive_from_new_cmds_CXX \
   13693     predep_objects_CXX \
   13694     postdep_objects_CXX \
   13695     predeps_CXX \
   13696     postdeps_CXX \
   13697     compiler_lib_search_path_CXX \
   13698     compiler_lib_search_dirs_CXX \
   13699     archive_cmds_CXX \
   13700     archive_expsym_cmds_CXX \
   13701     postinstall_cmds_CXX \
   13702     postuninstall_cmds_CXX \
   13703     old_archive_from_expsyms_cmds_CXX \
   13704     allow_undefined_flag_CXX \
   13705     no_undefined_flag_CXX \
   13706     export_symbols_cmds_CXX \
   13707     hardcode_libdir_flag_spec_CXX \
   13708     hardcode_libdir_flag_spec_ld_CXX \
   13709     hardcode_libdir_separator_CXX \
   13710     hardcode_automatic_CXX \
   13711     module_cmds_CXX \
   13712     module_expsym_cmds_CXX \
   13713     lt_cv_prog_compiler_c_o_CXX \
   13714     fix_srcfile_path_CXX \
   13715     exclude_expsyms_CXX \
   13716     include_expsyms_CXX; do
   13717 
   13718     case $var in
   13719     old_archive_cmds_CXX | \
   13720     old_archive_from_new_cmds_CXX | \
   13721     archive_cmds_CXX | \
   13722     archive_expsym_cmds_CXX | \
   13723     module_cmds_CXX | \
   13724     module_expsym_cmds_CXX | \
   13725     old_archive_from_expsyms_cmds_CXX | \
   13726     export_symbols_cmds_CXX | \
   13727     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13728     postinstall_cmds | postuninstall_cmds | \
   13729     old_postinstall_cmds | old_postuninstall_cmds | \
   13730     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13731       # Double-quote double-evaled strings.
   13732       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13733       ;;
   13734     *)
   13735       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13736       ;;
   13737     esac
   13738   done
   13739 
   13740   case $lt_echo in
   13741   *'\$0 --fallback-echo"')
   13742     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13743     ;;
   13744   esac
   13745 
   13746 cfgfile="$ofile"
   13747 
   13748   cat <<__EOF__ >> "$cfgfile"
   13749 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13750 
   13751 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13752 
   13753 # Shell to use when invoking shell scripts.
   13754 SHELL=$lt_SHELL
   13755 
   13756 # Whether or not to build shared libraries.
   13757 build_libtool_libs=$enable_shared
   13758 
   13759 # Whether or not to build static libraries.
   13760 build_old_libs=$enable_static
   13761 
   13762 # Whether or not to add -lc for building shared libraries.
   13763 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13764 
   13765 # Whether or not to disallow shared libs when runtime libs are static
   13766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13767 
   13768 # Whether or not to optimize for fast installation.
   13769 fast_install=$enable_fast_install
   13770 
   13771 # The host system.
   13772 host_alias=$host_alias
   13773 host=$host
   13774 host_os=$host_os
   13775 
   13776 # The build system.
   13777 build_alias=$build_alias
   13778 build=$build
   13779 build_os=$build_os
   13780 
   13781 # An echo program that does not interpret backslashes.
   13782 echo=$lt_echo
   13783 
   13784 # The archiver.
   13785 AR=$lt_AR
   13786 AR_FLAGS=$lt_AR_FLAGS
   13787 
   13788 # A C compiler.
   13789 LTCC=$lt_LTCC
   13790 
   13791 # LTCC compiler flags.
   13792 LTCFLAGS=$lt_LTCFLAGS
   13793 
   13794 # A language-specific compiler.
   13795 CC=$lt_compiler_CXX
   13796 
   13797 # Is the compiler the GNU C compiler?
   13798 with_gcc=$GCC_CXX
   13799 
   13800 # An ERE matcher.
   13801 EGREP=$lt_EGREP
   13802 
   13803 # The linker used to build libraries.
   13804 LD=$lt_LD_CXX
   13805 
   13806 # Whether we need hard or soft links.
   13807 LN_S=$lt_LN_S
   13808 
   13809 # A BSD-compatible nm program.
   13810 NM=$lt_NM
   13811 
   13812 # A symbol stripping program
   13813 STRIP=$lt_STRIP
   13814 
   13815 # Used to examine libraries when file_magic_cmd begins "file"
   13816 MAGIC_CMD=$MAGIC_CMD
   13817 
   13818 # Used on cygwin: DLL creation program.
   13819 DLLTOOL="$DLLTOOL"
   13820 
   13821 # Used on cygwin: object dumper.
   13822 OBJDUMP="$OBJDUMP"
   13823 
   13824 # Used on cygwin: assembler.
   13825 AS="$AS"
   13826 
   13827 # The name of the directory that contains temporary libtool files.
   13828 objdir=$objdir
   13829 
   13830 # How to create reloadable object files.
   13831 reload_flag=$lt_reload_flag
   13832 reload_cmds=$lt_reload_cmds
   13833 
   13834 # How to pass a linker flag through the compiler.
   13835 wl=$lt_lt_prog_compiler_wl_CXX
   13836 
   13837 # Object file suffix (normally "o").
   13838 objext="$ac_objext"
   13839 
   13840 # Old archive suffix (normally "a").
   13841 libext="$libext"
   13842 
   13843 # Shared library suffix (normally ".so").
   13844 shrext_cmds='$shrext_cmds'
   13845 
   13846 # Executable file suffix (normally "").
   13847 exeext="$exeext"
   13848 
   13849 # Additional compiler flags for building library objects.
   13850 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13851 pic_mode=$pic_mode
   13852 
   13853 # What is the maximum length of a command?
   13854 max_cmd_len=$lt_cv_sys_max_cmd_len
   13855 
   13856 # Does compiler simultaneously support -c and -o options?
   13857 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13858 
   13859 # Must we lock files when doing compilation?
   13860 need_locks=$lt_need_locks
   13861 
   13862 # Do we need the lib prefix for modules?
   13863 need_lib_prefix=$need_lib_prefix
   13864 
   13865 # Do we need a version for libraries?
   13866 need_version=$need_version
   13867 
   13868 # Whether dlopen is supported.
   13869 dlopen_support=$enable_dlopen
   13870 
   13871 # Whether dlopen of programs is supported.
   13872 dlopen_self=$enable_dlopen_self
   13873 
   13874 # Whether dlopen of statically linked programs is supported.
   13875 dlopen_self_static=$enable_dlopen_self_static
   13876 
   13877 # Compiler flag to prevent dynamic linking.
   13878 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13879 
   13880 # Compiler flag to turn off builtin functions.
   13881 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13882 
   13883 # Compiler flag to allow reflexive dlopens.
   13884 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13885 
   13886 # Compiler flag to generate shared objects directly from archives.
   13887 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13888 
   13889 # Compiler flag to generate thread-safe objects.
   13890 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13891 
   13892 # Library versioning type.
   13893 version_type=$version_type
   13894 
   13895 # Format of library name prefix.
   13896 libname_spec=$lt_libname_spec
   13897 
   13898 # List of archive names.  First name is the real one, the rest are links.
   13899 # The last name is the one that the linker finds with -lNAME.
   13900 library_names_spec=$lt_library_names_spec
   13901 
   13902 # The coded name of the library, if different from the real name.
   13903 soname_spec=$lt_soname_spec
   13904 
   13905 # Commands used to build and install an old-style archive.
   13906 RANLIB=$lt_RANLIB
   13907 old_archive_cmds=$lt_old_archive_cmds_CXX
   13908 old_postinstall_cmds=$lt_old_postinstall_cmds
   13909 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13910 
   13911 # Create an old-style archive from a shared archive.
   13912 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13913 
   13914 # Create a temporary old-style archive to link instead of a shared archive.
   13915 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13916 
   13917 # Commands used to build and install a shared archive.
   13918 archive_cmds=$lt_archive_cmds_CXX
   13919 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13920 postinstall_cmds=$lt_postinstall_cmds
   13921 postuninstall_cmds=$lt_postuninstall_cmds
   13922 
   13923 # Commands used to build a loadable module (assumed same as above if empty)
   13924 module_cmds=$lt_module_cmds_CXX
   13925 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13926 
   13927 # Commands to strip libraries.
   13928 old_striplib=$lt_old_striplib
   13929 striplib=$lt_striplib
   13930 
   13931 # Dependencies to place before the objects being linked to create a
   13932 # shared library.
   13933 predep_objects=$lt_predep_objects_CXX
   13934 
   13935 # Dependencies to place after the objects being linked to create a
   13936 # shared library.
   13937 postdep_objects=$lt_postdep_objects_CXX
   13938 
   13939 # Dependencies to place before the objects being linked to create a
   13940 # shared library.
   13941 predeps=$lt_predeps_CXX
   13942 
   13943 # Dependencies to place after the objects being linked to create a
   13944 # shared library.
   13945 postdeps=$lt_postdeps_CXX
   13946 
   13947 # The directories searched by this compiler when creating a shared
   13948 # library
   13949 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   13950 
   13951 # The library search path used internally by the compiler when linking
   13952 # a shared library.
   13953 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13954 
   13955 # Method to check whether dependent libraries are shared objects.
   13956 deplibs_check_method=$lt_deplibs_check_method
   13957 
   13958 # Command to use when deplibs_check_method == file_magic.
   13959 file_magic_cmd=$lt_file_magic_cmd
   13960 
   13961 # Flag that allows shared libraries with undefined symbols to be built.
   13962 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13963 
   13964 # Flag that forces no undefined symbols.
   13965 no_undefined_flag=$lt_no_undefined_flag_CXX
   13966 
   13967 # Commands used to finish a libtool library installation in a directory.
   13968 finish_cmds=$lt_finish_cmds
   13969 
   13970 # Same as above, but a single script fragment to be evaled but not shown.
   13971 finish_eval=$lt_finish_eval
   13972 
   13973 # Take the output of nm and produce a listing of raw symbols and C names.
   13974 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13975 
   13976 # Transform the output of nm in a proper C declaration
   13977 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13978 
   13979 # Transform the output of nm in a C name address pair
   13980 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13981 
   13982 # This is the shared library runtime path variable.
   13983 runpath_var=$runpath_var
   13984 
   13985 # This is the shared library path variable.
   13986 shlibpath_var=$shlibpath_var
   13987 
   13988 # Is shlibpath searched before the hard-coded library search path?
   13989 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13990 
   13991 # How to hardcode a shared library path into an executable.
   13992 hardcode_action=$hardcode_action_CXX
   13993 
   13994 # Whether we should hardcode library paths into libraries.
   13995 hardcode_into_libs=$hardcode_into_libs
   13996 
   13997 # Flag to hardcode \$libdir into a binary during linking.
   13998 # This must work even if \$libdir does not exist.
   13999 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14000 
   14001 # If ld is used when linking, flag to hardcode \$libdir into
   14002 # a binary during linking. This must work even if \$libdir does
   14003 # not exist.
   14004 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14005 
   14006 # Whether we need a single -rpath flag with a separated argument.
   14007 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14008 
   14009 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14010 # resulting binary.
   14011 hardcode_direct=$hardcode_direct_CXX
   14012 
   14013 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14014 # resulting binary.
   14015 hardcode_minus_L=$hardcode_minus_L_CXX
   14016 
   14017 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14018 # the resulting binary.
   14019 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14020 
   14021 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14022 # and all subsequent libraries and executables linked against it.
   14023 hardcode_automatic=$hardcode_automatic_CXX
   14024 
   14025 # Variables whose values should be saved in libtool wrapper scripts and
   14026 # restored at relink time.
   14027 variables_saved_for_relink="$variables_saved_for_relink"
   14028 
   14029 # Whether libtool must link a program against all its dependency libraries.
   14030 link_all_deplibs=$link_all_deplibs_CXX
   14031 
   14032 # Compile-time system search path for libraries
   14033 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14034 
   14035 # Run-time system search path for libraries
   14036 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14037 
   14038 # Fix the shell variable \$srcfile for the compiler.
   14039 fix_srcfile_path=$lt_fix_srcfile_path
   14040 
   14041 # Set to yes if exported symbols are required.
   14042 always_export_symbols=$always_export_symbols_CXX
   14043 
   14044 # The commands to list exported symbols.
   14045 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14046 
   14047 # The commands to extract the exported symbol list from a shared archive.
   14048 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14049 
   14050 # Symbols that should not be listed in the preloaded symbols.
   14051 exclude_expsyms=$lt_exclude_expsyms_CXX
   14052 
   14053 # Symbols that must always be exported.
   14054 include_expsyms=$lt_include_expsyms_CXX
   14055 
   14056 # ### END LIBTOOL TAG CONFIG: $tagname
   14057 
   14058 __EOF__
   14059 
   14060 
   14061 else
   14062   # If there is no Makefile yet, we rely on a make rule to execute
   14063   # `config.status --recheck' to rerun these tests and create the
   14064   # libtool script then.
   14065   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14066   if test -f "$ltmain_in"; then
   14067     test -f Makefile && make "$ltmain"
   14068   fi
   14069 fi
   14070 
   14071 
   14072 ac_ext=c
   14073 ac_cpp='$CPP $CPPFLAGS'
   14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14077 
   14078 CC=$lt_save_CC
   14079 LDCXX=$LD
   14080 LD=$lt_save_LD
   14081 GCC=$lt_save_GCC
   14082 with_gnu_ldcxx=$with_gnu_ld
   14083 with_gnu_ld=$lt_save_with_gnu_ld
   14084 lt_cv_path_LDCXX=$lt_cv_path_LD
   14085 lt_cv_path_LD=$lt_save_path_LD
   14086 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14087 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14088 
   14089 	else
   14090 	  tagname=""
   14091 	fi
   14092 	;;
   14093 
   14094       F77)
   14095 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14096 
   14097 ac_ext=f
   14098 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14099 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14100 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14101 
   14102 
   14103 archive_cmds_need_lc_F77=no
   14104 allow_undefined_flag_F77=
   14105 always_export_symbols_F77=no
   14106 archive_expsym_cmds_F77=
   14107 export_dynamic_flag_spec_F77=
   14108 hardcode_direct_F77=no
   14109 hardcode_libdir_flag_spec_F77=
   14110 hardcode_libdir_flag_spec_ld_F77=
   14111 hardcode_libdir_separator_F77=
   14112 hardcode_minus_L_F77=no
   14113 hardcode_automatic_F77=no
   14114 module_cmds_F77=
   14115 module_expsym_cmds_F77=
   14116 link_all_deplibs_F77=unknown
   14117 old_archive_cmds_F77=$old_archive_cmds
   14118 no_undefined_flag_F77=
   14119 whole_archive_flag_spec_F77=
   14120 enable_shared_with_static_runtimes_F77=no
   14121 
   14122 # Source file extension for f77 test sources.
   14123 ac_ext=f
   14124 
   14125 # Object file extension for compiled f77 test sources.
   14126 objext=o
   14127 objext_F77=$objext
   14128 
   14129 # Code to be used in simple compile tests
   14130 lt_simple_compile_test_code="\
   14131       subroutine t
   14132       return
   14133       end
   14134 "
   14135 
   14136 # Code to be used in simple link tests
   14137 lt_simple_link_test_code="\
   14138       program t
   14139       end
   14140 "
   14141 
   14142 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14143 
   14144 # If no C compiler was specified, use CC.
   14145 LTCC=${LTCC-"$CC"}
   14146 
   14147 # If no C compiler flags were specified, use CFLAGS.
   14148 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14149 
   14150 # Allow CC to be a program name with arguments.
   14151 compiler=$CC
   14152 
   14153 
   14154 # save warnings/boilerplate of simple test code
   14155 ac_outfile=conftest.$ac_objext
   14156 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14157 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14158 _lt_compiler_boilerplate=`cat conftest.err`
   14159 $rm conftest*
   14160 
   14161 ac_outfile=conftest.$ac_objext
   14162 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14163 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14164 _lt_linker_boilerplate=`cat conftest.err`
   14165 $rm -r conftest*
   14166 
   14167 
   14168 # Allow CC to be a program name with arguments.
   14169 lt_save_CC="$CC"
   14170 CC=${F77-"f77"}
   14171 compiler=$CC
   14172 compiler_F77=$CC
   14173 for cc_temp in $compiler""; do
   14174   case $cc_temp in
   14175     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14176     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14177     \-*) ;;
   14178     *) break;;
   14179   esac
   14180 done
   14181 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14182 
   14183 
   14184 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14185 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   14186 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14187 echo "${ECHO_T}$can_build_shared" >&6; }
   14188 
   14189 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14190 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   14191 test "$can_build_shared" = "no" && enable_shared=no
   14192 
   14193 # On AIX, shared libraries and static libraries use the same namespace, and
   14194 # are all built from PIC.
   14195 case $host_os in
   14196 aix3*)
   14197   test "$enable_shared" = yes && enable_static=no
   14198   if test -n "$RANLIB"; then
   14199     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14200     postinstall_cmds='$RANLIB $lib'
   14201   fi
   14202   ;;
   14203 aix[4-9]*)
   14204   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14205     test "$enable_shared" = yes && enable_static=no
   14206   fi
   14207   ;;
   14208 esac
   14209 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   14210 echo "${ECHO_T}$enable_shared" >&6; }
   14211 
   14212 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14213 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   14214 # Make sure either enable_shared or enable_static is yes.
   14215 test "$enable_shared" = yes || enable_static=yes
   14216 { echo "$as_me:$LINENO: result: $enable_static" >&5
   14217 echo "${ECHO_T}$enable_static" >&6; }
   14218 
   14219 GCC_F77="$G77"
   14220 LD_F77="$LD"
   14221 
   14222 lt_prog_compiler_wl_F77=
   14223 lt_prog_compiler_pic_F77=
   14224 lt_prog_compiler_static_F77=
   14225 
   14226 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14227 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   14228 
   14229   if test "$GCC" = yes; then
   14230     lt_prog_compiler_wl_F77='-Wl,'
   14231     lt_prog_compiler_static_F77='-static'
   14232 
   14233     case $host_os in
   14234       aix*)
   14235       # All AIX code is PIC.
   14236       if test "$host_cpu" = ia64; then
   14237 	# AIX 5 now supports IA64 processor
   14238 	lt_prog_compiler_static_F77='-Bstatic'
   14239       fi
   14240       ;;
   14241 
   14242     amigaos*)
   14243       # FIXME: we need at least 68020 code to build shared libraries, but
   14244       # adding the `-m68020' flag to GCC prevents building anything better,
   14245       # like `-m68040'.
   14246       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14247       ;;
   14248 
   14249     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14250       # PIC is the default for these OSes.
   14251       ;;
   14252 
   14253     mingw* | cygwin* | pw32* | os2*)
   14254       # This hack is so that the source file can tell whether it is being
   14255       # built for inclusion in a dll (and should export symbols for example).
   14256       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14257       # (--disable-auto-import) libraries
   14258       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14259       ;;
   14260 
   14261     darwin* | rhapsody*)
   14262       # PIC is the default on this platform
   14263       # Common symbols not allowed in MH_DYLIB files
   14264       lt_prog_compiler_pic_F77='-fno-common'
   14265       ;;
   14266 
   14267     interix[3-9]*)
   14268       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14269       # Instead, we relocate shared libraries at runtime.
   14270       ;;
   14271 
   14272     msdosdjgpp*)
   14273       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14274       # on systems that don't support them.
   14275       lt_prog_compiler_can_build_shared_F77=no
   14276       enable_shared=no
   14277       ;;
   14278 
   14279     sysv4*MP*)
   14280       if test -d /usr/nec; then
   14281 	lt_prog_compiler_pic_F77=-Kconform_pic
   14282       fi
   14283       ;;
   14284 
   14285     hpux*)
   14286       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14287       # not for PA HP-UX.
   14288       case $host_cpu in
   14289       hppa*64*|ia64*)
   14290 	# +Z the default
   14291 	;;
   14292       *)
   14293 	lt_prog_compiler_pic_F77='-fPIC'
   14294 	;;
   14295       esac
   14296       ;;
   14297 
   14298     *)
   14299       lt_prog_compiler_pic_F77='-fPIC'
   14300       ;;
   14301     esac
   14302   else
   14303     # PORTME Check for flag to pass linker flags through the system compiler.
   14304     case $host_os in
   14305     aix*)
   14306       lt_prog_compiler_wl_F77='-Wl,'
   14307       if test "$host_cpu" = ia64; then
   14308 	# AIX 5 now supports IA64 processor
   14309 	lt_prog_compiler_static_F77='-Bstatic'
   14310       else
   14311 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14312       fi
   14313       ;;
   14314       darwin*)
   14315         # PIC is the default on this platform
   14316         # Common symbols not allowed in MH_DYLIB files
   14317        case $cc_basename in
   14318          xlc*)
   14319          lt_prog_compiler_pic_F77='-qnocommon'
   14320          lt_prog_compiler_wl_F77='-Wl,'
   14321          ;;
   14322        esac
   14323        ;;
   14324 
   14325     mingw* | cygwin* | pw32* | os2*)
   14326       # This hack is so that the source file can tell whether it is being
   14327       # built for inclusion in a dll (and should export symbols for example).
   14328       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14329       ;;
   14330 
   14331     hpux9* | hpux10* | hpux11*)
   14332       lt_prog_compiler_wl_F77='-Wl,'
   14333       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14334       # not for PA HP-UX.
   14335       case $host_cpu in
   14336       hppa*64*|ia64*)
   14337 	# +Z the default
   14338 	;;
   14339       *)
   14340 	lt_prog_compiler_pic_F77='+Z'
   14341 	;;
   14342       esac
   14343       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14344       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14345       ;;
   14346 
   14347     irix5* | irix6* | nonstopux*)
   14348       lt_prog_compiler_wl_F77='-Wl,'
   14349       # PIC (with -KPIC) is the default.
   14350       lt_prog_compiler_static_F77='-non_shared'
   14351       ;;
   14352 
   14353     newsos6)
   14354       lt_prog_compiler_pic_F77='-KPIC'
   14355       lt_prog_compiler_static_F77='-Bstatic'
   14356       ;;
   14357 
   14358     linux* | k*bsd*-gnu)
   14359       case $cc_basename in
   14360       icc* | ecc*)
   14361 	lt_prog_compiler_wl_F77='-Wl,'
   14362 	lt_prog_compiler_pic_F77='-KPIC'
   14363 	lt_prog_compiler_static_F77='-static'
   14364         ;;
   14365       pgcc* | pgf77* | pgf90* | pgf95*)
   14366         # Portland Group compilers (*not* the Pentium gcc compiler,
   14367 	# which looks to be a dead project)
   14368 	lt_prog_compiler_wl_F77='-Wl,'
   14369 	lt_prog_compiler_pic_F77='-fpic'
   14370 	lt_prog_compiler_static_F77='-Bstatic'
   14371         ;;
   14372       ccc*)
   14373         lt_prog_compiler_wl_F77='-Wl,'
   14374         # All Alpha code is PIC.
   14375         lt_prog_compiler_static_F77='-non_shared'
   14376         ;;
   14377       *)
   14378         case `$CC -V 2>&1 | sed 5q` in
   14379 	*Sun\ C*)
   14380 	  # Sun C 5.9
   14381 	  lt_prog_compiler_pic_F77='-KPIC'
   14382 	  lt_prog_compiler_static_F77='-Bstatic'
   14383 	  lt_prog_compiler_wl_F77='-Wl,'
   14384 	  ;;
   14385 	*Sun\ F*)
   14386 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14387 	  lt_prog_compiler_pic_F77='-KPIC'
   14388 	  lt_prog_compiler_static_F77='-Bstatic'
   14389 	  lt_prog_compiler_wl_F77=''
   14390 	  ;;
   14391 	esac
   14392 	;;
   14393       esac
   14394       ;;
   14395 
   14396     osf3* | osf4* | osf5*)
   14397       lt_prog_compiler_wl_F77='-Wl,'
   14398       # All OSF/1 code is PIC.
   14399       lt_prog_compiler_static_F77='-non_shared'
   14400       ;;
   14401 
   14402     rdos*)
   14403       lt_prog_compiler_static_F77='-non_shared'
   14404       ;;
   14405 
   14406     solaris*)
   14407       lt_prog_compiler_pic_F77='-KPIC'
   14408       lt_prog_compiler_static_F77='-Bstatic'
   14409       case $cc_basename in
   14410       f77* | f90* | f95*)
   14411 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14412       *)
   14413 	lt_prog_compiler_wl_F77='-Wl,';;
   14414       esac
   14415       ;;
   14416 
   14417     sunos4*)
   14418       lt_prog_compiler_wl_F77='-Qoption ld '
   14419       lt_prog_compiler_pic_F77='-PIC'
   14420       lt_prog_compiler_static_F77='-Bstatic'
   14421       ;;
   14422 
   14423     sysv4 | sysv4.2uw2* | sysv4.3*)
   14424       lt_prog_compiler_wl_F77='-Wl,'
   14425       lt_prog_compiler_pic_F77='-KPIC'
   14426       lt_prog_compiler_static_F77='-Bstatic'
   14427       ;;
   14428 
   14429     sysv4*MP*)
   14430       if test -d /usr/nec ;then
   14431 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14432 	lt_prog_compiler_static_F77='-Bstatic'
   14433       fi
   14434       ;;
   14435 
   14436     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14437       lt_prog_compiler_wl_F77='-Wl,'
   14438       lt_prog_compiler_pic_F77='-KPIC'
   14439       lt_prog_compiler_static_F77='-Bstatic'
   14440       ;;
   14441 
   14442     unicos*)
   14443       lt_prog_compiler_wl_F77='-Wl,'
   14444       lt_prog_compiler_can_build_shared_F77=no
   14445       ;;
   14446 
   14447     uts4*)
   14448       lt_prog_compiler_pic_F77='-pic'
   14449       lt_prog_compiler_static_F77='-Bstatic'
   14450       ;;
   14451 
   14452     *)
   14453       lt_prog_compiler_can_build_shared_F77=no
   14454       ;;
   14455     esac
   14456   fi
   14457 
   14458 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14459 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   14460 
   14461 #
   14462 # Check to make sure the PIC flag actually works.
   14463 #
   14464 if test -n "$lt_prog_compiler_pic_F77"; then
   14465 
   14466 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14467 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   14468 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14469   echo $ECHO_N "(cached) $ECHO_C" >&6
   14470 else
   14471   lt_cv_prog_compiler_pic_works_F77=no
   14472   ac_outfile=conftest.$ac_objext
   14473    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14474    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14475    # Insert the option either (1) after the last *FLAGS variable, or
   14476    # (2) before a word containing "conftest.", or (3) at the end.
   14477    # Note that $ac_compile itself does not contain backslashes and begins
   14478    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14479    # The option is referenced via a variable to avoid confusing sed.
   14480    lt_compile=`echo "$ac_compile" | $SED \
   14481    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14482    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14483    -e 's:$: $lt_compiler_flag:'`
   14484    (eval echo "\"\$as_me:14484: $lt_compile\"" >&5)
   14485    (eval "$lt_compile" 2>conftest.err)
   14486    ac_status=$?
   14487    cat conftest.err >&5
   14488    echo "$as_me:14488: \$? = $ac_status" >&5
   14489    if (exit $ac_status) && test -s "$ac_outfile"; then
   14490      # The compiler can only warn and ignore the option if not recognized
   14491      # So say no if there are warnings other than the usual output.
   14492      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14493      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14494      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14495        lt_cv_prog_compiler_pic_works_F77=yes
   14496      fi
   14497    fi
   14498    $rm conftest*
   14499 
   14500 fi
   14501 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14502 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14503 
   14504 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14505     case $lt_prog_compiler_pic_F77 in
   14506      "" | " "*) ;;
   14507      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14508      esac
   14509 else
   14510     lt_prog_compiler_pic_F77=
   14511      lt_prog_compiler_can_build_shared_F77=no
   14512 fi
   14513 
   14514 fi
   14515 case $host_os in
   14516   # For platforms which do not support PIC, -DPIC is meaningless:
   14517   *djgpp*)
   14518     lt_prog_compiler_pic_F77=
   14519     ;;
   14520   *)
   14521     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14522     ;;
   14523 esac
   14524 
   14525 #
   14526 # Check to make sure the static flag actually works.
   14527 #
   14528 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14529 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14530 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   14531 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14532   echo $ECHO_N "(cached) $ECHO_C" >&6
   14533 else
   14534   lt_cv_prog_compiler_static_works_F77=no
   14535    save_LDFLAGS="$LDFLAGS"
   14536    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14537    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14538    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14539      # The linker can only warn and ignore the option if not recognized
   14540      # So say no if there are warnings
   14541      if test -s conftest.err; then
   14542        # Append any errors to the config.log.
   14543        cat conftest.err 1>&5
   14544        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14545        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14546        if diff conftest.exp conftest.er2 >/dev/null; then
   14547          lt_cv_prog_compiler_static_works_F77=yes
   14548        fi
   14549      else
   14550        lt_cv_prog_compiler_static_works_F77=yes
   14551      fi
   14552    fi
   14553    $rm -r conftest*
   14554    LDFLAGS="$save_LDFLAGS"
   14555 
   14556 fi
   14557 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14558 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
   14559 
   14560 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14561     :
   14562 else
   14563     lt_prog_compiler_static_F77=
   14564 fi
   14565 
   14566 
   14567 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14568 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14569 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14570   echo $ECHO_N "(cached) $ECHO_C" >&6
   14571 else
   14572   lt_cv_prog_compiler_c_o_F77=no
   14573    $rm -r conftest 2>/dev/null
   14574    mkdir conftest
   14575    cd conftest
   14576    mkdir out
   14577    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14578 
   14579    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14580    # Insert the option either (1) after the last *FLAGS variable, or
   14581    # (2) before a word containing "conftest.", or (3) at the end.
   14582    # Note that $ac_compile itself does not contain backslashes and begins
   14583    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14584    lt_compile=`echo "$ac_compile" | $SED \
   14585    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14586    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14587    -e 's:$: $lt_compiler_flag:'`
   14588    (eval echo "\"\$as_me:14588: $lt_compile\"" >&5)
   14589    (eval "$lt_compile" 2>out/conftest.err)
   14590    ac_status=$?
   14591    cat out/conftest.err >&5
   14592    echo "$as_me:14592: \$? = $ac_status" >&5
   14593    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14594    then
   14595      # The compiler can only warn and ignore the option if not recognized
   14596      # So say no if there are warnings
   14597      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14598      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14599      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14600        lt_cv_prog_compiler_c_o_F77=yes
   14601      fi
   14602    fi
   14603    chmod u+w . 2>&5
   14604    $rm conftest*
   14605    # SGI C++ compiler will create directory out/ii_files/ for
   14606    # template instantiation
   14607    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14608    $rm out/* && rmdir out
   14609    cd ..
   14610    rmdir conftest
   14611    $rm conftest*
   14612 
   14613 fi
   14614 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14615 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14616 
   14617 
   14618 hard_links="nottested"
   14619 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14620   # do not overwrite the value of need_locks provided by the user
   14621   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14622 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14623   hard_links=yes
   14624   $rm conftest*
   14625   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14626   touch conftest.a
   14627   ln conftest.a conftest.b 2>&5 || hard_links=no
   14628   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14629   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14630 echo "${ECHO_T}$hard_links" >&6; }
   14631   if test "$hard_links" = no; then
   14632     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14633 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14634     need_locks=warn
   14635   fi
   14636 else
   14637   need_locks=no
   14638 fi
   14639 
   14640 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14641 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14642 
   14643   runpath_var=
   14644   allow_undefined_flag_F77=
   14645   enable_shared_with_static_runtimes_F77=no
   14646   archive_cmds_F77=
   14647   archive_expsym_cmds_F77=
   14648   old_archive_From_new_cmds_F77=
   14649   old_archive_from_expsyms_cmds_F77=
   14650   export_dynamic_flag_spec_F77=
   14651   whole_archive_flag_spec_F77=
   14652   thread_safe_flag_spec_F77=
   14653   hardcode_libdir_flag_spec_F77=
   14654   hardcode_libdir_flag_spec_ld_F77=
   14655   hardcode_libdir_separator_F77=
   14656   hardcode_direct_F77=no
   14657   hardcode_minus_L_F77=no
   14658   hardcode_shlibpath_var_F77=unsupported
   14659   link_all_deplibs_F77=unknown
   14660   hardcode_automatic_F77=no
   14661   module_cmds_F77=
   14662   module_expsym_cmds_F77=
   14663   always_export_symbols_F77=no
   14664   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14665   # include_expsyms should be a list of space-separated symbols to be *always*
   14666   # included in the symbol list
   14667   include_expsyms_F77=
   14668   # exclude_expsyms can be an extended regexp of symbols to exclude
   14669   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14670   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14671   # as well as any symbol that contains `d'.
   14672   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14673   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14674   # platforms (ab)use it in PIC code, but their linkers get confused if
   14675   # the symbol is explicitly referenced.  Since portable code cannot
   14676   # rely on this symbol name, it's probably fine to never include it in
   14677   # preloaded symbol tables.
   14678   # Exclude shared library initialization/finalization symbols.
   14679   extract_expsyms_cmds=
   14680   # Just being paranoid about ensuring that cc_basename is set.
   14681   for cc_temp in $compiler""; do
   14682   case $cc_temp in
   14683     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14684     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14685     \-*) ;;
   14686     *) break;;
   14687   esac
   14688 done
   14689 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14690 
   14691   case $host_os in
   14692   cygwin* | mingw* | pw32*)
   14693     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14694     # When not using gcc, we currently assume that we are using
   14695     # Microsoft Visual C++.
   14696     if test "$GCC" != yes; then
   14697       with_gnu_ld=no
   14698     fi
   14699     ;;
   14700   interix*)
   14701     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14702     with_gnu_ld=yes
   14703     ;;
   14704   openbsd*)
   14705     with_gnu_ld=no
   14706     ;;
   14707   esac
   14708 
   14709   ld_shlibs_F77=yes
   14710   if test "$with_gnu_ld" = yes; then
   14711     # If archive_cmds runs LD, not CC, wlarc should be empty
   14712     wlarc='${wl}'
   14713 
   14714     # Set some defaults for GNU ld with shared library support. These
   14715     # are reset later if shared libraries are not supported. Putting them
   14716     # here allows them to be overridden if necessary.
   14717     runpath_var=LD_RUN_PATH
   14718     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14719     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14720     # ancient GNU ld didn't support --whole-archive et. al.
   14721     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14722 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14723       else
   14724   	whole_archive_flag_spec_F77=
   14725     fi
   14726     supports_anon_versioning=no
   14727     case `$LD -v 2>/dev/null` in
   14728       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14729       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14730       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14731       *\ 2.11.*) ;; # other 2.11 versions
   14732       *) supports_anon_versioning=yes ;;
   14733     esac
   14734 
   14735     # See if GNU ld supports shared libraries.
   14736     case $host_os in
   14737     aix[3-9]*)
   14738       # On AIX/PPC, the GNU linker is very broken
   14739       if test "$host_cpu" != ia64; then
   14740 	ld_shlibs_F77=no
   14741 	cat <<EOF 1>&2
   14742 
   14743 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14744 *** to be unable to reliably create shared libraries on AIX.
   14745 *** Therefore, libtool is disabling shared libraries support.  If you
   14746 *** really care for shared libraries, you may want to modify your PATH
   14747 *** so that a non-GNU linker is found, and then restart.
   14748 
   14749 EOF
   14750       fi
   14751       ;;
   14752 
   14753     amigaos*)
   14754       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)'
   14755       hardcode_libdir_flag_spec_F77='-L$libdir'
   14756       hardcode_minus_L_F77=yes
   14757 
   14758       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14759       # that the semantics of dynamic libraries on AmigaOS, at least up
   14760       # to version 4, is to share data among multiple programs linked
   14761       # with the same dynamic library.  Since this doesn't match the
   14762       # behavior of shared libraries on other platforms, we can't use
   14763       # them.
   14764       ld_shlibs_F77=no
   14765       ;;
   14766 
   14767     beos*)
   14768       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14769 	allow_undefined_flag_F77=unsupported
   14770 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14771 	# support --undefined.  This deserves some investigation.  FIXME
   14772 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14773       else
   14774 	ld_shlibs_F77=no
   14775       fi
   14776       ;;
   14777 
   14778     cygwin* | mingw* | pw32*)
   14779       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14780       # as there is no search path for DLLs.
   14781       hardcode_libdir_flag_spec_F77='-L$libdir'
   14782       allow_undefined_flag_F77=unsupported
   14783       always_export_symbols_F77=no
   14784       enable_shared_with_static_runtimes_F77=yes
   14785       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14786 
   14787       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14788         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14789 	# If the export-symbols file already is a .def file (1st line
   14790 	# is EXPORTS), use it as is; otherwise, prepend...
   14791 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14792 	  cp $export_symbols $output_objdir/$soname.def;
   14793 	else
   14794 	  echo EXPORTS > $output_objdir/$soname.def;
   14795 	  cat $export_symbols >> $output_objdir/$soname.def;
   14796 	fi~
   14797 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14798       else
   14799 	ld_shlibs_F77=no
   14800       fi
   14801       ;;
   14802 
   14803     interix[3-9]*)
   14804       hardcode_direct_F77=no
   14805       hardcode_shlibpath_var_F77=no
   14806       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14807       export_dynamic_flag_spec_F77='${wl}-E'
   14808       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14809       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14810       # default) and relocated if they conflict, which is a slow very memory
   14811       # consuming and fragmenting process.  To avoid this, we pick a random,
   14812       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14813       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14814       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'
   14815       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'
   14816       ;;
   14817 
   14818     gnu* | linux* | k*bsd*-gnu)
   14819       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14820 	tmp_addflag=
   14821 	case $cc_basename,$host_cpu in
   14822 	pgcc*)				# Portland Group C compiler
   14823 	  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'
   14824 	  tmp_addflag=' $pic_flag'
   14825 	  ;;
   14826 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14827 	  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'
   14828 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14829 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14830 	  tmp_addflag=' -i_dynamic' ;;
   14831 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14832 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14833 	ifc* | ifort*)			# Intel Fortran compiler
   14834 	  tmp_addflag=' -nofor_main' ;;
   14835 	esac
   14836 	case `$CC -V 2>&1 | sed 5q` in
   14837 	*Sun\ C*)			# Sun C 5.9
   14838 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14839 	  tmp_sharedflag='-G' ;;
   14840 	*Sun\ F*)			# Sun Fortran 8.3
   14841 	  tmp_sharedflag='-G' ;;
   14842 	*)
   14843 	  tmp_sharedflag='-shared' ;;
   14844 	esac
   14845 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14846 
   14847 	if test $supports_anon_versioning = yes; then
   14848 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14849   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14850   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14851 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14852 	fi
   14853       else
   14854 	ld_shlibs_F77=no
   14855       fi
   14856       ;;
   14857 
   14858     netbsd*)
   14859       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14860 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14861 	wlarc=
   14862       else
   14863 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14864 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14865       fi
   14866       ;;
   14867 
   14868     solaris*)
   14869       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14870 	ld_shlibs_F77=no
   14871 	cat <<EOF 1>&2
   14872 
   14873 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14874 *** create shared libraries on Solaris systems.  Therefore, libtool
   14875 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14876 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14877 *** your PATH or compiler configuration so that the native linker is
   14878 *** used, and then restart.
   14879 
   14880 EOF
   14881       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14882 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14883 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14884       else
   14885 	ld_shlibs_F77=no
   14886       fi
   14887       ;;
   14888 
   14889     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14890       case `$LD -v 2>&1` in
   14891         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14892 	ld_shlibs_F77=no
   14893 	cat <<_LT_EOF 1>&2
   14894 
   14895 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14896 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14897 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14898 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14899 *** your PATH or compiler configuration so that the native linker is
   14900 *** used, and then restart.
   14901 
   14902 _LT_EOF
   14903 	;;
   14904 	*)
   14905 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14906 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14907 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14908 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14909 	  else
   14910 	    ld_shlibs_F77=no
   14911 	  fi
   14912 	;;
   14913       esac
   14914       ;;
   14915 
   14916     sunos4*)
   14917       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14918       wlarc=
   14919       hardcode_direct_F77=yes
   14920       hardcode_shlibpath_var_F77=no
   14921       ;;
   14922 
   14923     *)
   14924       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14925 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14926 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14927       else
   14928 	ld_shlibs_F77=no
   14929       fi
   14930       ;;
   14931     esac
   14932 
   14933     if test "$ld_shlibs_F77" = no; then
   14934       runpath_var=
   14935       hardcode_libdir_flag_spec_F77=
   14936       export_dynamic_flag_spec_F77=
   14937       whole_archive_flag_spec_F77=
   14938     fi
   14939   else
   14940     # PORTME fill in a description of your system's linker (not GNU ld)
   14941     case $host_os in
   14942     aix3*)
   14943       allow_undefined_flag_F77=unsupported
   14944       always_export_symbols_F77=yes
   14945       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'
   14946       # Note: this linker hardcodes the directories in LIBPATH if there
   14947       # are no directories specified by -L.
   14948       hardcode_minus_L_F77=yes
   14949       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14950 	# Neither direct hardcoding nor static linking is supported with a
   14951 	# broken collect2.
   14952 	hardcode_direct_F77=unsupported
   14953       fi
   14954       ;;
   14955 
   14956     aix[4-9]*)
   14957       if test "$host_cpu" = ia64; then
   14958 	# On IA64, the linker does run time linking by default, so we don't
   14959 	# have to do anything special.
   14960 	aix_use_runtimelinking=no
   14961 	exp_sym_flag='-Bexport'
   14962 	no_entry_flag=""
   14963       else
   14964 	# If we're using GNU nm, then we don't want the "-C" option.
   14965 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14966 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14967 	  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'
   14968 	else
   14969 	  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'
   14970 	fi
   14971 	aix_use_runtimelinking=no
   14972 
   14973 	# Test if we are trying to use run time linking or normal
   14974 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14975 	# need to do runtime linking.
   14976 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   14977 	  for ld_flag in $LDFLAGS; do
   14978   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14979   	    aix_use_runtimelinking=yes
   14980   	    break
   14981   	  fi
   14982 	  done
   14983 	  ;;
   14984 	esac
   14985 
   14986 	exp_sym_flag='-bexport'
   14987 	no_entry_flag='-bnoentry'
   14988       fi
   14989 
   14990       # When large executables or shared objects are built, AIX ld can
   14991       # have problems creating the table of contents.  If linking a library
   14992       # or program results in "error TOC overflow" add -mminimal-toc to
   14993       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14994       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14995 
   14996       archive_cmds_F77=''
   14997       hardcode_direct_F77=yes
   14998       hardcode_libdir_separator_F77=':'
   14999       link_all_deplibs_F77=yes
   15000 
   15001       if test "$GCC" = yes; then
   15002 	case $host_os in aix4.[012]|aix4.[012].*)
   15003 	# We only want to do this on AIX 4.2 and lower, the check
   15004 	# below for broken collect2 doesn't work under 4.3+
   15005 	  collect2name=`${CC} -print-prog-name=collect2`
   15006 	  if test -f "$collect2name" && \
   15007   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15008 	  then
   15009   	  # We have reworked collect2
   15010   	  :
   15011 	  else
   15012   	  # We have old collect2
   15013   	  hardcode_direct_F77=unsupported
   15014   	  # It fails to find uninstalled libraries when the uninstalled
   15015   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15016   	  # to unsupported forces relinking
   15017   	  hardcode_minus_L_F77=yes
   15018   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15019   	  hardcode_libdir_separator_F77=
   15020 	  fi
   15021 	  ;;
   15022 	esac
   15023 	shared_flag='-shared'
   15024 	if test "$aix_use_runtimelinking" = yes; then
   15025 	  shared_flag="$shared_flag "'${wl}-G'
   15026 	fi
   15027       else
   15028 	# not using gcc
   15029 	if test "$host_cpu" = ia64; then
   15030   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15031   	# chokes on -Wl,-G. The following line is correct:
   15032 	  shared_flag='-G'
   15033 	else
   15034 	  if test "$aix_use_runtimelinking" = yes; then
   15035 	    shared_flag='${wl}-G'
   15036 	  else
   15037 	    shared_flag='${wl}-bM:SRE'
   15038 	  fi
   15039 	fi
   15040       fi
   15041 
   15042       # It seems that -bexpall does not export symbols beginning with
   15043       # underscore (_), so it is better to generate a list of symbols to export.
   15044       always_export_symbols_F77=yes
   15045       if test "$aix_use_runtimelinking" = yes; then
   15046 	# Warning - without using the other runtime loading flags (-brtl),
   15047 	# -berok will link without error, but may produce a broken library.
   15048 	allow_undefined_flag_F77='-berok'
   15049        # Determine the default libpath from the value encoded in an empty executable.
   15050        cat >conftest.$ac_ext <<_ACEOF
   15051       program main
   15052 
   15053       end
   15054 _ACEOF
   15055 rm -f conftest.$ac_objext conftest$ac_exeext
   15056 if { (ac_try="$ac_link"
   15057 case "(($ac_try" in
   15058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15059   *) ac_try_echo=$ac_try;;
   15060 esac
   15061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15062   (eval "$ac_link") 2>conftest.er1
   15063   ac_status=$?
   15064   grep -v '^ *+' conftest.er1 >conftest.err
   15065   rm -f conftest.er1
   15066   cat conftest.err >&5
   15067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15068   (exit $ac_status); } && {
   15069 	 test -z "$ac_f77_werror_flag" ||
   15070 	 test ! -s conftest.err
   15071        } && test -s conftest$ac_exeext &&
   15072        $as_test_x conftest$ac_exeext; then
   15073 
   15074 lt_aix_libpath_sed='
   15075     /Import File Strings/,/^$/ {
   15076 	/^0/ {
   15077 	    s/^0  *\(.*\)$/\1/
   15078 	    p
   15079 	}
   15080     }'
   15081 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15082 # Check for a 64-bit object if we didn't find anything.
   15083 if test -z "$aix_libpath"; then
   15084   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15085 fi
   15086 else
   15087   echo "$as_me: failed program was:" >&5
   15088 sed 's/^/| /' conftest.$ac_ext >&5
   15089 
   15090 
   15091 fi
   15092 
   15093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15094       conftest$ac_exeext conftest.$ac_ext
   15095 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15096 
   15097        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15098 	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"
   15099        else
   15100 	if test "$host_cpu" = ia64; then
   15101 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15102 	  allow_undefined_flag_F77="-z nodefs"
   15103 	  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"
   15104 	else
   15105 	 # Determine the default libpath from the value encoded in an empty executable.
   15106 	 cat >conftest.$ac_ext <<_ACEOF
   15107       program main
   15108 
   15109       end
   15110 _ACEOF
   15111 rm -f conftest.$ac_objext conftest$ac_exeext
   15112 if { (ac_try="$ac_link"
   15113 case "(($ac_try" in
   15114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15115   *) ac_try_echo=$ac_try;;
   15116 esac
   15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15118   (eval "$ac_link") 2>conftest.er1
   15119   ac_status=$?
   15120   grep -v '^ *+' conftest.er1 >conftest.err
   15121   rm -f conftest.er1
   15122   cat conftest.err >&5
   15123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15124   (exit $ac_status); } && {
   15125 	 test -z "$ac_f77_werror_flag" ||
   15126 	 test ! -s conftest.err
   15127        } && test -s conftest$ac_exeext &&
   15128        $as_test_x conftest$ac_exeext; then
   15129 
   15130 lt_aix_libpath_sed='
   15131     /Import File Strings/,/^$/ {
   15132 	/^0/ {
   15133 	    s/^0  *\(.*\)$/\1/
   15134 	    p
   15135 	}
   15136     }'
   15137 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15138 # Check for a 64-bit object if we didn't find anything.
   15139 if test -z "$aix_libpath"; then
   15140   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15141 fi
   15142 else
   15143   echo "$as_me: failed program was:" >&5
   15144 sed 's/^/| /' conftest.$ac_ext >&5
   15145 
   15146 
   15147 fi
   15148 
   15149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15150       conftest$ac_exeext conftest.$ac_ext
   15151 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15152 
   15153 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15154 	  # Warning - without using the other run time loading flags,
   15155 	  # -berok will link without error, but may produce a broken library.
   15156 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15157 	  allow_undefined_flag_F77=' ${wl}-berok'
   15158 	  # Exported symbols can be pulled into shared objects from archives
   15159 	  whole_archive_flag_spec_F77='$convenience'
   15160 	  archive_cmds_need_lc_F77=yes
   15161 	  # This is similar to how AIX traditionally builds its shared libraries.
   15162 	  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'
   15163 	fi
   15164       fi
   15165       ;;
   15166 
   15167     amigaos*)
   15168       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)'
   15169       hardcode_libdir_flag_spec_F77='-L$libdir'
   15170       hardcode_minus_L_F77=yes
   15171       # see comment about different semantics on the GNU ld section
   15172       ld_shlibs_F77=no
   15173       ;;
   15174 
   15175     bsdi[45]*)
   15176       export_dynamic_flag_spec_F77=-rdynamic
   15177       ;;
   15178 
   15179     cygwin* | mingw* | pw32*)
   15180       # When not using gcc, we currently assume that we are using
   15181       # Microsoft Visual C++.
   15182       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15183       # no search path for DLLs.
   15184       hardcode_libdir_flag_spec_F77=' '
   15185       allow_undefined_flag_F77=unsupported
   15186       # Tell ltmain to make .lib files, not .a files.
   15187       libext=lib
   15188       # Tell ltmain to make .dll files, not .so files.
   15189       shrext_cmds=".dll"
   15190       # FIXME: Setting linknames here is a bad hack.
   15191       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15192       # The linker will automatically build a .lib file if we build a DLL.
   15193       old_archive_From_new_cmds_F77='true'
   15194       # FIXME: Should let the user specify the lib program.
   15195       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15196       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15197       enable_shared_with_static_runtimes_F77=yes
   15198       ;;
   15199 
   15200     darwin* | rhapsody*)
   15201       case $host_os in
   15202         rhapsody* | darwin1.[012])
   15203          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15204          ;;
   15205        *) # Darwin 1.3 on
   15206          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15207            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15208          else
   15209            case ${MACOSX_DEPLOYMENT_TARGET} in
   15210              10.[012])
   15211                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15212                ;;
   15213              10.*)
   15214                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15215                ;;
   15216            esac
   15217          fi
   15218          ;;
   15219       esac
   15220       archive_cmds_need_lc_F77=no
   15221       hardcode_direct_F77=no
   15222       hardcode_automatic_F77=yes
   15223       hardcode_shlibpath_var_F77=unsupported
   15224       whole_archive_flag_spec_F77=''
   15225       link_all_deplibs_F77=yes
   15226     if test "$GCC" = yes ; then
   15227     	output_verbose_link_cmd='echo'
   15228         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15229         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15230         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15231         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15232     else
   15233       case $cc_basename in
   15234         xlc*)
   15235          output_verbose_link_cmd='echo'
   15236          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15237          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15238           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15239          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15240           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}'
   15241           ;;
   15242        *)
   15243          ld_shlibs_F77=no
   15244           ;;
   15245       esac
   15246     fi
   15247       ;;
   15248 
   15249     dgux*)
   15250       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15251       hardcode_libdir_flag_spec_F77='-L$libdir'
   15252       hardcode_shlibpath_var_F77=no
   15253       ;;
   15254 
   15255     freebsd1*)
   15256       ld_shlibs_F77=no
   15257       ;;
   15258 
   15259     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15260     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15261     # does not break anything, and helps significantly (at the cost of a little
   15262     # extra space).
   15263     freebsd2.2*)
   15264       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15265       hardcode_libdir_flag_spec_F77='-R$libdir'
   15266       hardcode_direct_F77=yes
   15267       hardcode_shlibpath_var_F77=no
   15268       ;;
   15269 
   15270     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15271     freebsd2*)
   15272       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15273       hardcode_direct_F77=yes
   15274       hardcode_minus_L_F77=yes
   15275       hardcode_shlibpath_var_F77=no
   15276       ;;
   15277 
   15278     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15279     freebsd* | dragonfly*)
   15280       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15281       hardcode_libdir_flag_spec_F77='-R$libdir'
   15282       hardcode_direct_F77=yes
   15283       hardcode_shlibpath_var_F77=no
   15284       ;;
   15285 
   15286     hpux9*)
   15287       if test "$GCC" = yes; then
   15288 	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'
   15289       else
   15290 	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'
   15291       fi
   15292       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15293       hardcode_libdir_separator_F77=:
   15294       hardcode_direct_F77=yes
   15295 
   15296       # hardcode_minus_L: Not really in the search PATH,
   15297       # but as the default location of the library.
   15298       hardcode_minus_L_F77=yes
   15299       export_dynamic_flag_spec_F77='${wl}-E'
   15300       ;;
   15301 
   15302     hpux10*)
   15303       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15304 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15305       else
   15306 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15307       fi
   15308       if test "$with_gnu_ld" = no; then
   15309 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15310 	hardcode_libdir_separator_F77=:
   15311 
   15312 	hardcode_direct_F77=yes
   15313 	export_dynamic_flag_spec_F77='${wl}-E'
   15314 
   15315 	# hardcode_minus_L: Not really in the search PATH,
   15316 	# but as the default location of the library.
   15317 	hardcode_minus_L_F77=yes
   15318       fi
   15319       ;;
   15320 
   15321     hpux11*)
   15322       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15323 	case $host_cpu in
   15324 	hppa*64*)
   15325 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15326 	  ;;
   15327 	ia64*)
   15328 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15329 	  ;;
   15330 	*)
   15331 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15332 	  ;;
   15333 	esac
   15334       else
   15335 	case $host_cpu in
   15336 	hppa*64*)
   15337 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15338 	  ;;
   15339 	ia64*)
   15340 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15341 	  ;;
   15342 	*)
   15343 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15344 	  ;;
   15345 	esac
   15346       fi
   15347       if test "$with_gnu_ld" = no; then
   15348 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15349 	hardcode_libdir_separator_F77=:
   15350 
   15351 	case $host_cpu in
   15352 	hppa*64*|ia64*)
   15353 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15354 	  hardcode_direct_F77=no
   15355 	  hardcode_shlibpath_var_F77=no
   15356 	  ;;
   15357 	*)
   15358 	  hardcode_direct_F77=yes
   15359 	  export_dynamic_flag_spec_F77='${wl}-E'
   15360 
   15361 	  # hardcode_minus_L: Not really in the search PATH,
   15362 	  # but as the default location of the library.
   15363 	  hardcode_minus_L_F77=yes
   15364 	  ;;
   15365 	esac
   15366       fi
   15367       ;;
   15368 
   15369     irix5* | irix6* | nonstopux*)
   15370       if test "$GCC" = yes; then
   15371 	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'
   15372       else
   15373 	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'
   15374 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15375       fi
   15376       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15377       hardcode_libdir_separator_F77=:
   15378       link_all_deplibs_F77=yes
   15379       ;;
   15380 
   15381     netbsd*)
   15382       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15383 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15384       else
   15385 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15386       fi
   15387       hardcode_libdir_flag_spec_F77='-R$libdir'
   15388       hardcode_direct_F77=yes
   15389       hardcode_shlibpath_var_F77=no
   15390       ;;
   15391 
   15392     newsos6)
   15393       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15394       hardcode_direct_F77=yes
   15395       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15396       hardcode_libdir_separator_F77=:
   15397       hardcode_shlibpath_var_F77=no
   15398       ;;
   15399 
   15400     openbsd*)
   15401       if test -f /usr/libexec/ld.so; then
   15402 	hardcode_direct_F77=yes
   15403 	hardcode_shlibpath_var_F77=no
   15404 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15405 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15406 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15407 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15408 	  export_dynamic_flag_spec_F77='${wl}-E'
   15409 	else
   15410 	  case $host_os in
   15411 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15412 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15413 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15414 	     ;;
   15415 	   *)
   15416 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15417 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15418 	     ;;
   15419 	  esac
   15420         fi
   15421       else
   15422 	ld_shlibs_F77=no
   15423       fi
   15424       ;;
   15425 
   15426     os2*)
   15427       hardcode_libdir_flag_spec_F77='-L$libdir'
   15428       hardcode_minus_L_F77=yes
   15429       allow_undefined_flag_F77=unsupported
   15430       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'
   15431       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15432       ;;
   15433 
   15434     osf3*)
   15435       if test "$GCC" = yes; then
   15436 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15437 	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'
   15438       else
   15439 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15440 	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'
   15441       fi
   15442       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15443       hardcode_libdir_separator_F77=:
   15444       ;;
   15445 
   15446     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15447       if test "$GCC" = yes; then
   15448 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15449 	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'
   15450 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15451       else
   15452 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15453 	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'
   15454 	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~
   15455 	$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'
   15456 
   15457 	# Both c and cxx compiler support -rpath directly
   15458 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15459       fi
   15460       hardcode_libdir_separator_F77=:
   15461       ;;
   15462 
   15463     solaris*)
   15464       no_undefined_flag_F77=' -z text'
   15465       if test "$GCC" = yes; then
   15466 	wlarc='${wl}'
   15467 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15468 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15469 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15470       else
   15471 	wlarc=''
   15472 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15473 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15474   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15475       fi
   15476       hardcode_libdir_flag_spec_F77='-R$libdir'
   15477       hardcode_shlibpath_var_F77=no
   15478       case $host_os in
   15479       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15480       *)
   15481 	# The compiler driver will combine and reorder linker options,
   15482 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15483 	# but is careful enough not to reorder.
   15484  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15485 	if test "$GCC" = yes; then
   15486 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15487 	else
   15488 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15489 	fi
   15490 	;;
   15491       esac
   15492       link_all_deplibs_F77=yes
   15493       ;;
   15494 
   15495     sunos4*)
   15496       if test "x$host_vendor" = xsequent; then
   15497 	# Use $CC to link under sequent, because it throws in some extra .o
   15498 	# files that make .init and .fini sections work.
   15499 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15500       else
   15501 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15502       fi
   15503       hardcode_libdir_flag_spec_F77='-L$libdir'
   15504       hardcode_direct_F77=yes
   15505       hardcode_minus_L_F77=yes
   15506       hardcode_shlibpath_var_F77=no
   15507       ;;
   15508 
   15509     sysv4)
   15510       case $host_vendor in
   15511 	sni)
   15512 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15513 	  hardcode_direct_F77=yes # is this really true???
   15514 	;;
   15515 	siemens)
   15516 	  ## LD is ld it makes a PLAMLIB
   15517 	  ## CC just makes a GrossModule.
   15518 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15519 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15520 	  hardcode_direct_F77=no
   15521         ;;
   15522 	motorola)
   15523 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15524 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15525 	;;
   15526       esac
   15527       runpath_var='LD_RUN_PATH'
   15528       hardcode_shlibpath_var_F77=no
   15529       ;;
   15530 
   15531     sysv4.3*)
   15532       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15533       hardcode_shlibpath_var_F77=no
   15534       export_dynamic_flag_spec_F77='-Bexport'
   15535       ;;
   15536 
   15537     sysv4*MP*)
   15538       if test -d /usr/nec; then
   15539 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15540 	hardcode_shlibpath_var_F77=no
   15541 	runpath_var=LD_RUN_PATH
   15542 	hardcode_runpath_var=yes
   15543 	ld_shlibs_F77=yes
   15544       fi
   15545       ;;
   15546 
   15547     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15548       no_undefined_flag_F77='${wl}-z,text'
   15549       archive_cmds_need_lc_F77=no
   15550       hardcode_shlibpath_var_F77=no
   15551       runpath_var='LD_RUN_PATH'
   15552 
   15553       if test "$GCC" = yes; then
   15554 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15555 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15556       else
   15557 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15558 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15559       fi
   15560       ;;
   15561 
   15562     sysv5* | sco3.2v5* | sco5v6*)
   15563       # Note: We can NOT use -z defs as we might desire, because we do not
   15564       # link with -lc, and that would cause any symbols used from libc to
   15565       # always be unresolved, which means just about no library would
   15566       # ever link correctly.  If we're not using GNU ld we use -z text
   15567       # though, which does catch some bad symbols but isn't as heavy-handed
   15568       # as -z defs.
   15569       no_undefined_flag_F77='${wl}-z,text'
   15570       allow_undefined_flag_F77='${wl}-z,nodefs'
   15571       archive_cmds_need_lc_F77=no
   15572       hardcode_shlibpath_var_F77=no
   15573       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15574       hardcode_libdir_separator_F77=':'
   15575       link_all_deplibs_F77=yes
   15576       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15577       runpath_var='LD_RUN_PATH'
   15578 
   15579       if test "$GCC" = yes; then
   15580 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15581 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15582       else
   15583 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15584 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15585       fi
   15586       ;;
   15587 
   15588     uts4*)
   15589       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15590       hardcode_libdir_flag_spec_F77='-L$libdir'
   15591       hardcode_shlibpath_var_F77=no
   15592       ;;
   15593 
   15594     *)
   15595       ld_shlibs_F77=no
   15596       ;;
   15597     esac
   15598   fi
   15599 
   15600 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15601 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15602 test "$ld_shlibs_F77" = no && can_build_shared=no
   15603 
   15604 #
   15605 # Do we need to explicitly link libc?
   15606 #
   15607 case "x$archive_cmds_need_lc_F77" in
   15608 x|xyes)
   15609   # Assume -lc should be added
   15610   archive_cmds_need_lc_F77=yes
   15611 
   15612   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15613     case $archive_cmds_F77 in
   15614     *'~'*)
   15615       # FIXME: we may have to deal with multi-command sequences.
   15616       ;;
   15617     '$CC '*)
   15618       # Test whether the compiler implicitly links with -lc since on some
   15619       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15620       # to ld, don't add -lc before -lgcc.
   15621       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15622 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15623       $rm conftest*
   15624       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15625 
   15626       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15627   (eval $ac_compile) 2>&5
   15628   ac_status=$?
   15629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15630   (exit $ac_status); } 2>conftest.err; then
   15631         soname=conftest
   15632         lib=conftest
   15633         libobjs=conftest.$ac_objext
   15634         deplibs=
   15635         wl=$lt_prog_compiler_wl_F77
   15636 	pic_flag=$lt_prog_compiler_pic_F77
   15637         compiler_flags=-v
   15638         linker_flags=-v
   15639         verstring=
   15640         output_objdir=.
   15641         libname=conftest
   15642         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15643         allow_undefined_flag_F77=
   15644         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15645   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15646   ac_status=$?
   15647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15648   (exit $ac_status); }
   15649         then
   15650 	  archive_cmds_need_lc_F77=no
   15651         else
   15652 	  archive_cmds_need_lc_F77=yes
   15653         fi
   15654         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15655       else
   15656         cat conftest.err 1>&5
   15657       fi
   15658       $rm conftest*
   15659       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15660 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15661       ;;
   15662     esac
   15663   fi
   15664   ;;
   15665 esac
   15666 
   15667 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15668 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15669 library_names_spec=
   15670 libname_spec='lib$name'
   15671 soname_spec=
   15672 shrext_cmds=".so"
   15673 postinstall_cmds=
   15674 postuninstall_cmds=
   15675 finish_cmds=
   15676 finish_eval=
   15677 shlibpath_var=
   15678 shlibpath_overrides_runpath=unknown
   15679 version_type=none
   15680 dynamic_linker="$host_os ld.so"
   15681 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15682 
   15683 need_lib_prefix=unknown
   15684 hardcode_into_libs=no
   15685 
   15686 # when you set need_version to no, make sure it does not cause -set_version
   15687 # flags to be left without arguments
   15688 need_version=unknown
   15689 
   15690 case $host_os in
   15691 aix3*)
   15692   version_type=linux
   15693   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15694   shlibpath_var=LIBPATH
   15695 
   15696   # AIX 3 has no versioning support, so we append a major version to the name.
   15697   soname_spec='${libname}${release}${shared_ext}$major'
   15698   ;;
   15699 
   15700 aix[4-9]*)
   15701   version_type=linux
   15702   need_lib_prefix=no
   15703   need_version=no
   15704   hardcode_into_libs=yes
   15705   if test "$host_cpu" = ia64; then
   15706     # AIX 5 supports IA64
   15707     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15708     shlibpath_var=LD_LIBRARY_PATH
   15709   else
   15710     # With GCC up to 2.95.x, collect2 would create an import file
   15711     # for dependence libraries.  The import file would start with
   15712     # the line `#! .'.  This would cause the generated library to
   15713     # depend on `.', always an invalid library.  This was fixed in
   15714     # development snapshots of GCC prior to 3.0.
   15715     case $host_os in
   15716       aix4 | aix4.[01] | aix4.[01].*)
   15717       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15718 	   echo ' yes '
   15719 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15720 	:
   15721       else
   15722 	can_build_shared=no
   15723       fi
   15724       ;;
   15725     esac
   15726     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15727     # soname into executable. Probably we can add versioning support to
   15728     # collect2, so additional links can be useful in future.
   15729     if test "$aix_use_runtimelinking" = yes; then
   15730       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15731       # instead of lib<name>.a to let people know that these are not
   15732       # typical AIX shared libraries.
   15733       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15734     else
   15735       # We preserve .a as extension for shared libraries through AIX4.2
   15736       # and later when we are not doing run time linking.
   15737       library_names_spec='${libname}${release}.a $libname.a'
   15738       soname_spec='${libname}${release}${shared_ext}$major'
   15739     fi
   15740     shlibpath_var=LIBPATH
   15741   fi
   15742   ;;
   15743 
   15744 amigaos*)
   15745   library_names_spec='$libname.ixlibrary $libname.a'
   15746   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15747   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'
   15748   ;;
   15749 
   15750 beos*)
   15751   library_names_spec='${libname}${shared_ext}'
   15752   dynamic_linker="$host_os ld.so"
   15753   shlibpath_var=LIBRARY_PATH
   15754   ;;
   15755 
   15756 bsdi[45]*)
   15757   version_type=linux
   15758   need_version=no
   15759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15760   soname_spec='${libname}${release}${shared_ext}$major'
   15761   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15762   shlibpath_var=LD_LIBRARY_PATH
   15763   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15764   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15765   # the default ld.so.conf also contains /usr/contrib/lib and
   15766   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15767   # libtool to hard-code these into programs
   15768   ;;
   15769 
   15770 cygwin* | mingw* | pw32*)
   15771   version_type=windows
   15772   shrext_cmds=".dll"
   15773   need_version=no
   15774   need_lib_prefix=no
   15775 
   15776   case $GCC,$host_os in
   15777   yes,cygwin* | yes,mingw* | yes,pw32*)
   15778     library_names_spec='$libname.dll.a'
   15779     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15780     postinstall_cmds='base_file=`basename \${file}`~
   15781       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15782       dldir=$destdir/`dirname \$dlpath`~
   15783       test -d \$dldir || mkdir -p \$dldir~
   15784       $install_prog $dir/$dlname \$dldir/$dlname~
   15785       chmod a+x \$dldir/$dlname'
   15786     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15787       dlpath=$dir/\$dldll~
   15788        $rm \$dlpath'
   15789     shlibpath_overrides_runpath=yes
   15790 
   15791     case $host_os in
   15792     cygwin*)
   15793       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15794       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15795       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15796       ;;
   15797     mingw*)
   15798       # MinGW DLLs use traditional 'lib' prefix
   15799       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15800       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15801       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15802         # It is most probably a Windows format PATH printed by
   15803         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15804         # path with ; separators, and with drive letters. We can handle the
   15805         # drive letters (cygwin fileutils understands them), so leave them,
   15806         # especially as we might pass files found there to a mingw objdump,
   15807         # which wouldn't understand a cygwinified path. Ahh.
   15808         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15809       else
   15810         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15811       fi
   15812       ;;
   15813     pw32*)
   15814       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15815       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15816       ;;
   15817     esac
   15818     ;;
   15819 
   15820   *)
   15821     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15822     ;;
   15823   esac
   15824   dynamic_linker='Win32 ld.exe'
   15825   # FIXME: first we should search . and the directory the executable is in
   15826   shlibpath_var=PATH
   15827   ;;
   15828 
   15829 darwin* | rhapsody*)
   15830   dynamic_linker="$host_os dyld"
   15831   version_type=darwin
   15832   need_lib_prefix=no
   15833   need_version=no
   15834   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15835   soname_spec='${libname}${release}${major}$shared_ext'
   15836   shlibpath_overrides_runpath=yes
   15837   shlibpath_var=DYLD_LIBRARY_PATH
   15838   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15839 
   15840   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15841   ;;
   15842 
   15843 dgux*)
   15844   version_type=linux
   15845   need_lib_prefix=no
   15846   need_version=no
   15847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15848   soname_spec='${libname}${release}${shared_ext}$major'
   15849   shlibpath_var=LD_LIBRARY_PATH
   15850   ;;
   15851 
   15852 freebsd1*)
   15853   dynamic_linker=no
   15854   ;;
   15855 
   15856 freebsd* | dragonfly*)
   15857   # DragonFly does not have aout.  When/if they implement a new
   15858   # versioning mechanism, adjust this.
   15859   if test -x /usr/bin/objformat; then
   15860     objformat=`/usr/bin/objformat`
   15861   else
   15862     case $host_os in
   15863     freebsd[123]*) objformat=aout ;;
   15864     *) objformat=elf ;;
   15865     esac
   15866   fi
   15867   # Handle Gentoo/FreeBSD as it was Linux
   15868   case $host_vendor in
   15869     gentoo)
   15870       version_type=linux ;;
   15871     *)
   15872       version_type=freebsd-$objformat ;;
   15873   esac
   15874 
   15875   case $version_type in
   15876     freebsd-elf*)
   15877       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15878       need_version=no
   15879       need_lib_prefix=no
   15880       ;;
   15881     freebsd-*)
   15882       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15883       need_version=yes
   15884       ;;
   15885     linux)
   15886       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15887       soname_spec='${libname}${release}${shared_ext}$major'
   15888       need_lib_prefix=no
   15889       need_version=no
   15890       ;;
   15891   esac
   15892   shlibpath_var=LD_LIBRARY_PATH
   15893   case $host_os in
   15894   freebsd2*)
   15895     shlibpath_overrides_runpath=yes
   15896     ;;
   15897   freebsd3.[01]* | freebsdelf3.[01]*)
   15898     shlibpath_overrides_runpath=yes
   15899     hardcode_into_libs=yes
   15900     ;;
   15901   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15902   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15903     shlibpath_overrides_runpath=no
   15904     hardcode_into_libs=yes
   15905     ;;
   15906   *) # from 4.6 on, and DragonFly
   15907     shlibpath_overrides_runpath=yes
   15908     hardcode_into_libs=yes
   15909     ;;
   15910   esac
   15911   ;;
   15912 
   15913 gnu*)
   15914   version_type=linux
   15915   need_lib_prefix=no
   15916   need_version=no
   15917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15918   soname_spec='${libname}${release}${shared_ext}$major'
   15919   shlibpath_var=LD_LIBRARY_PATH
   15920   hardcode_into_libs=yes
   15921   ;;
   15922 
   15923 hpux9* | hpux10* | hpux11*)
   15924   # Give a soname corresponding to the major version so that dld.sl refuses to
   15925   # link against other versions.
   15926   version_type=sunos
   15927   need_lib_prefix=no
   15928   need_version=no
   15929   case $host_cpu in
   15930   ia64*)
   15931     shrext_cmds='.so'
   15932     hardcode_into_libs=yes
   15933     dynamic_linker="$host_os dld.so"
   15934     shlibpath_var=LD_LIBRARY_PATH
   15935     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15936     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15937     soname_spec='${libname}${release}${shared_ext}$major'
   15938     if test "X$HPUX_IA64_MODE" = X32; then
   15939       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15940     else
   15941       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15942     fi
   15943     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15944     ;;
   15945    hppa*64*)
   15946      shrext_cmds='.sl'
   15947      hardcode_into_libs=yes
   15948      dynamic_linker="$host_os dld.sl"
   15949      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15950      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15951      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15952      soname_spec='${libname}${release}${shared_ext}$major'
   15953      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15954      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15955      ;;
   15956    *)
   15957     shrext_cmds='.sl'
   15958     dynamic_linker="$host_os dld.sl"
   15959     shlibpath_var=SHLIB_PATH
   15960     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15962     soname_spec='${libname}${release}${shared_ext}$major'
   15963     ;;
   15964   esac
   15965   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15966   postinstall_cmds='chmod 555 $lib'
   15967   ;;
   15968 
   15969 interix[3-9]*)
   15970   version_type=linux
   15971   need_lib_prefix=no
   15972   need_version=no
   15973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15974   soname_spec='${libname}${release}${shared_ext}$major'
   15975   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15976   shlibpath_var=LD_LIBRARY_PATH
   15977   shlibpath_overrides_runpath=no
   15978   hardcode_into_libs=yes
   15979   ;;
   15980 
   15981 irix5* | irix6* | nonstopux*)
   15982   case $host_os in
   15983     nonstopux*) version_type=nonstopux ;;
   15984     *)
   15985 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15986 		version_type=linux
   15987 	else
   15988 		version_type=irix
   15989 	fi ;;
   15990   esac
   15991   need_lib_prefix=no
   15992   need_version=no
   15993   soname_spec='${libname}${release}${shared_ext}$major'
   15994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15995   case $host_os in
   15996   irix5* | nonstopux*)
   15997     libsuff= shlibsuff=
   15998     ;;
   15999   *)
   16000     case $LD in # libtool.m4 will add one of these switches to LD
   16001     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16002       libsuff= shlibsuff= libmagic=32-bit;;
   16003     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16004       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16005     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16006       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16007     *) libsuff= shlibsuff= libmagic=never-match;;
   16008     esac
   16009     ;;
   16010   esac
   16011   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16012   shlibpath_overrides_runpath=no
   16013   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16014   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16015   hardcode_into_libs=yes
   16016   ;;
   16017 
   16018 # No shared lib support for Linux oldld, aout, or coff.
   16019 linux*oldld* | linux*aout* | linux*coff*)
   16020   dynamic_linker=no
   16021   ;;
   16022 
   16023 # This must be Linux ELF.
   16024 linux* | k*bsd*-gnu)
   16025   version_type=linux
   16026   need_lib_prefix=no
   16027   need_version=no
   16028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16029   soname_spec='${libname}${release}${shared_ext}$major'
   16030   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16031   shlibpath_var=LD_LIBRARY_PATH
   16032   shlibpath_overrides_runpath=no
   16033   # This implies no fast_install, which is unacceptable.
   16034   # Some rework will be needed to allow for fast_install
   16035   # before this can be enabled.
   16036   hardcode_into_libs=yes
   16037 
   16038   # Append ld.so.conf contents to the search path
   16039   if test -f /etc/ld.so.conf; then
   16040     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   16041     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16042   fi
   16043 
   16044   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16045   # powerpc, because MkLinux only supported shared libraries with the
   16046   # GNU dynamic linker.  Since this was broken with cross compilers,
   16047   # most powerpc-linux boxes support dynamic linking these days and
   16048   # people can always --disable-shared, the test was removed, and we
   16049   # assume the GNU/Linux dynamic linker is in use.
   16050   dynamic_linker='GNU/Linux ld.so'
   16051   ;;
   16052 
   16053 netbsd*)
   16054   version_type=sunos
   16055   need_lib_prefix=no
   16056   need_version=no
   16057   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16058     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16059     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16060     dynamic_linker='NetBSD (a.out) ld.so'
   16061   else
   16062     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16063     soname_spec='${libname}${release}${shared_ext}$major'
   16064     dynamic_linker='NetBSD ld.elf_so'
   16065   fi
   16066   shlibpath_var=LD_LIBRARY_PATH
   16067   shlibpath_overrides_runpath=yes
   16068   hardcode_into_libs=yes
   16069   ;;
   16070 
   16071 newsos6)
   16072   version_type=linux
   16073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16074   shlibpath_var=LD_LIBRARY_PATH
   16075   shlibpath_overrides_runpath=yes
   16076   ;;
   16077 
   16078 nto-qnx*)
   16079   version_type=linux
   16080   need_lib_prefix=no
   16081   need_version=no
   16082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16083   soname_spec='${libname}${release}${shared_ext}$major'
   16084   shlibpath_var=LD_LIBRARY_PATH
   16085   shlibpath_overrides_runpath=yes
   16086   ;;
   16087 
   16088 openbsd*)
   16089   version_type=sunos
   16090   sys_lib_dlsearch_path_spec="/usr/lib"
   16091   need_lib_prefix=no
   16092   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16093   case $host_os in
   16094     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16095     *)                         need_version=no  ;;
   16096   esac
   16097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16098   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16099   shlibpath_var=LD_LIBRARY_PATH
   16100   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16101     case $host_os in
   16102       openbsd2.[89] | openbsd2.[89].*)
   16103 	shlibpath_overrides_runpath=no
   16104 	;;
   16105       *)
   16106 	shlibpath_overrides_runpath=yes
   16107 	;;
   16108       esac
   16109   else
   16110     shlibpath_overrides_runpath=yes
   16111   fi
   16112   ;;
   16113 
   16114 os2*)
   16115   libname_spec='$name'
   16116   shrext_cmds=".dll"
   16117   need_lib_prefix=no
   16118   library_names_spec='$libname${shared_ext} $libname.a'
   16119   dynamic_linker='OS/2 ld.exe'
   16120   shlibpath_var=LIBPATH
   16121   ;;
   16122 
   16123 osf3* | osf4* | osf5*)
   16124   version_type=osf
   16125   need_lib_prefix=no
   16126   need_version=no
   16127   soname_spec='${libname}${release}${shared_ext}$major'
   16128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16129   shlibpath_var=LD_LIBRARY_PATH
   16130   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16131   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16132   ;;
   16133 
   16134 rdos*)
   16135   dynamic_linker=no
   16136   ;;
   16137 
   16138 solaris*)
   16139   version_type=linux
   16140   need_lib_prefix=no
   16141   need_version=no
   16142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16143   soname_spec='${libname}${release}${shared_ext}$major'
   16144   shlibpath_var=LD_LIBRARY_PATH
   16145   shlibpath_overrides_runpath=yes
   16146   hardcode_into_libs=yes
   16147   # ldd complains unless libraries are executable
   16148   postinstall_cmds='chmod +x $lib'
   16149   ;;
   16150 
   16151 sunos4*)
   16152   version_type=sunos
   16153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16154   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16155   shlibpath_var=LD_LIBRARY_PATH
   16156   shlibpath_overrides_runpath=yes
   16157   if test "$with_gnu_ld" = yes; then
   16158     need_lib_prefix=no
   16159   fi
   16160   need_version=yes
   16161   ;;
   16162 
   16163 sysv4 | sysv4.3*)
   16164   version_type=linux
   16165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16166   soname_spec='${libname}${release}${shared_ext}$major'
   16167   shlibpath_var=LD_LIBRARY_PATH
   16168   case $host_vendor in
   16169     sni)
   16170       shlibpath_overrides_runpath=no
   16171       need_lib_prefix=no
   16172       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16173       runpath_var=LD_RUN_PATH
   16174       ;;
   16175     siemens)
   16176       need_lib_prefix=no
   16177       ;;
   16178     motorola)
   16179       need_lib_prefix=no
   16180       need_version=no
   16181       shlibpath_overrides_runpath=no
   16182       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16183       ;;
   16184   esac
   16185   ;;
   16186 
   16187 sysv4*MP*)
   16188   if test -d /usr/nec ;then
   16189     version_type=linux
   16190     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16191     soname_spec='$libname${shared_ext}.$major'
   16192     shlibpath_var=LD_LIBRARY_PATH
   16193   fi
   16194   ;;
   16195 
   16196 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16197   version_type=freebsd-elf
   16198   need_lib_prefix=no
   16199   need_version=no
   16200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16201   soname_spec='${libname}${release}${shared_ext}$major'
   16202   shlibpath_var=LD_LIBRARY_PATH
   16203   hardcode_into_libs=yes
   16204   if test "$with_gnu_ld" = yes; then
   16205     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16206     shlibpath_overrides_runpath=no
   16207   else
   16208     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16209     shlibpath_overrides_runpath=yes
   16210     case $host_os in
   16211       sco3.2v5*)
   16212         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16213 	;;
   16214     esac
   16215   fi
   16216   sys_lib_dlsearch_path_spec='/usr/lib'
   16217   ;;
   16218 
   16219 uts4*)
   16220   version_type=linux
   16221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16222   soname_spec='${libname}${release}${shared_ext}$major'
   16223   shlibpath_var=LD_LIBRARY_PATH
   16224   ;;
   16225 
   16226 *)
   16227   dynamic_linker=no
   16228   ;;
   16229 esac
   16230 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16231 echo "${ECHO_T}$dynamic_linker" >&6; }
   16232 test "$dynamic_linker" = no && can_build_shared=no
   16233 
   16234 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16235   echo $ECHO_N "(cached) $ECHO_C" >&6
   16236 else
   16237   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16238 fi
   16239 
   16240 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16241 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16242   echo $ECHO_N "(cached) $ECHO_C" >&6
   16243 else
   16244   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16245 fi
   16246 
   16247 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16248 
   16249 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16250 if test "$GCC" = yes; then
   16251   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16252 fi
   16253 
   16254 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16255 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   16256 hardcode_action_F77=
   16257 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16258    test -n "$runpath_var_F77" || \
   16259    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16260 
   16261   # We can hardcode non-existant directories.
   16262   if test "$hardcode_direct_F77" != no &&
   16263      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16264      # have to relink, otherwise we might link with an installed library
   16265      # when we should be linking with a yet-to-be-installed one
   16266      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16267      test "$hardcode_minus_L_F77" != no; then
   16268     # Linking always hardcodes the temporary library directory.
   16269     hardcode_action_F77=relink
   16270   else
   16271     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16272     hardcode_action_F77=immediate
   16273   fi
   16274 else
   16275   # We cannot hardcode anything, or else we can only hardcode existing
   16276   # directories.
   16277   hardcode_action_F77=unsupported
   16278 fi
   16279 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16280 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   16281 
   16282 if test "$hardcode_action_F77" = relink; then
   16283   # Fast installation is not supported
   16284   enable_fast_install=no
   16285 elif test "$shlibpath_overrides_runpath" = yes ||
   16286      test "$enable_shared" = no; then
   16287   # Fast installation is not necessary
   16288   enable_fast_install=needless
   16289 fi
   16290 
   16291 
   16292 # The else clause should only fire when bootstrapping the
   16293 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16294 # with your package, and you will get complaints that there are
   16295 # no rules to generate ltmain.sh.
   16296 if test -f "$ltmain"; then
   16297   # See if we are running on zsh, and set the options which allow our commands through
   16298   # without removal of \ escapes.
   16299   if test -n "${ZSH_VERSION+set}" ; then
   16300     setopt NO_GLOB_SUBST
   16301   fi
   16302   # Now quote all the things that may contain metacharacters while being
   16303   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16304   # variables and quote the copies for generation of the libtool script.
   16305   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16306     SED SHELL STRIP \
   16307     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16308     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16309     deplibs_check_method reload_flag reload_cmds need_locks \
   16310     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16311     lt_cv_sys_global_symbol_to_c_name_address \
   16312     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16313     old_postinstall_cmds old_postuninstall_cmds \
   16314     compiler_F77 \
   16315     CC_F77 \
   16316     LD_F77 \
   16317     lt_prog_compiler_wl_F77 \
   16318     lt_prog_compiler_pic_F77 \
   16319     lt_prog_compiler_static_F77 \
   16320     lt_prog_compiler_no_builtin_flag_F77 \
   16321     export_dynamic_flag_spec_F77 \
   16322     thread_safe_flag_spec_F77 \
   16323     whole_archive_flag_spec_F77 \
   16324     enable_shared_with_static_runtimes_F77 \
   16325     old_archive_cmds_F77 \
   16326     old_archive_from_new_cmds_F77 \
   16327     predep_objects_F77 \
   16328     postdep_objects_F77 \
   16329     predeps_F77 \
   16330     postdeps_F77 \
   16331     compiler_lib_search_path_F77 \
   16332     compiler_lib_search_dirs_F77 \
   16333     archive_cmds_F77 \
   16334     archive_expsym_cmds_F77 \
   16335     postinstall_cmds_F77 \
   16336     postuninstall_cmds_F77 \
   16337     old_archive_from_expsyms_cmds_F77 \
   16338     allow_undefined_flag_F77 \
   16339     no_undefined_flag_F77 \
   16340     export_symbols_cmds_F77 \
   16341     hardcode_libdir_flag_spec_F77 \
   16342     hardcode_libdir_flag_spec_ld_F77 \
   16343     hardcode_libdir_separator_F77 \
   16344     hardcode_automatic_F77 \
   16345     module_cmds_F77 \
   16346     module_expsym_cmds_F77 \
   16347     lt_cv_prog_compiler_c_o_F77 \
   16348     fix_srcfile_path_F77 \
   16349     exclude_expsyms_F77 \
   16350     include_expsyms_F77; do
   16351 
   16352     case $var in
   16353     old_archive_cmds_F77 | \
   16354     old_archive_from_new_cmds_F77 | \
   16355     archive_cmds_F77 | \
   16356     archive_expsym_cmds_F77 | \
   16357     module_cmds_F77 | \
   16358     module_expsym_cmds_F77 | \
   16359     old_archive_from_expsyms_cmds_F77 | \
   16360     export_symbols_cmds_F77 | \
   16361     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16362     postinstall_cmds | postuninstall_cmds | \
   16363     old_postinstall_cmds | old_postuninstall_cmds | \
   16364     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16365       # Double-quote double-evaled strings.
   16366       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16367       ;;
   16368     *)
   16369       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16370       ;;
   16371     esac
   16372   done
   16373 
   16374   case $lt_echo in
   16375   *'\$0 --fallback-echo"')
   16376     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16377     ;;
   16378   esac
   16379 
   16380 cfgfile="$ofile"
   16381 
   16382   cat <<__EOF__ >> "$cfgfile"
   16383 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16384 
   16385 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16386 
   16387 # Shell to use when invoking shell scripts.
   16388 SHELL=$lt_SHELL
   16389 
   16390 # Whether or not to build shared libraries.
   16391 build_libtool_libs=$enable_shared
   16392 
   16393 # Whether or not to build static libraries.
   16394 build_old_libs=$enable_static
   16395 
   16396 # Whether or not to add -lc for building shared libraries.
   16397 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16398 
   16399 # Whether or not to disallow shared libs when runtime libs are static
   16400 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16401 
   16402 # Whether or not to optimize for fast installation.
   16403 fast_install=$enable_fast_install
   16404 
   16405 # The host system.
   16406 host_alias=$host_alias
   16407 host=$host
   16408 host_os=$host_os
   16409 
   16410 # The build system.
   16411 build_alias=$build_alias
   16412 build=$build
   16413 build_os=$build_os
   16414 
   16415 # An echo program that does not interpret backslashes.
   16416 echo=$lt_echo
   16417 
   16418 # The archiver.
   16419 AR=$lt_AR
   16420 AR_FLAGS=$lt_AR_FLAGS
   16421 
   16422 # A C compiler.
   16423 LTCC=$lt_LTCC
   16424 
   16425 # LTCC compiler flags.
   16426 LTCFLAGS=$lt_LTCFLAGS
   16427 
   16428 # A language-specific compiler.
   16429 CC=$lt_compiler_F77
   16430 
   16431 # Is the compiler the GNU C compiler?
   16432 with_gcc=$GCC_F77
   16433 
   16434 # An ERE matcher.
   16435 EGREP=$lt_EGREP
   16436 
   16437 # The linker used to build libraries.
   16438 LD=$lt_LD_F77
   16439 
   16440 # Whether we need hard or soft links.
   16441 LN_S=$lt_LN_S
   16442 
   16443 # A BSD-compatible nm program.
   16444 NM=$lt_NM
   16445 
   16446 # A symbol stripping program
   16447 STRIP=$lt_STRIP
   16448 
   16449 # Used to examine libraries when file_magic_cmd begins "file"
   16450 MAGIC_CMD=$MAGIC_CMD
   16451 
   16452 # Used on cygwin: DLL creation program.
   16453 DLLTOOL="$DLLTOOL"
   16454 
   16455 # Used on cygwin: object dumper.
   16456 OBJDUMP="$OBJDUMP"
   16457 
   16458 # Used on cygwin: assembler.
   16459 AS="$AS"
   16460 
   16461 # The name of the directory that contains temporary libtool files.
   16462 objdir=$objdir
   16463 
   16464 # How to create reloadable object files.
   16465 reload_flag=$lt_reload_flag
   16466 reload_cmds=$lt_reload_cmds
   16467 
   16468 # How to pass a linker flag through the compiler.
   16469 wl=$lt_lt_prog_compiler_wl_F77
   16470 
   16471 # Object file suffix (normally "o").
   16472 objext="$ac_objext"
   16473 
   16474 # Old archive suffix (normally "a").
   16475 libext="$libext"
   16476 
   16477 # Shared library suffix (normally ".so").
   16478 shrext_cmds='$shrext_cmds'
   16479 
   16480 # Executable file suffix (normally "").
   16481 exeext="$exeext"
   16482 
   16483 # Additional compiler flags for building library objects.
   16484 pic_flag=$lt_lt_prog_compiler_pic_F77
   16485 pic_mode=$pic_mode
   16486 
   16487 # What is the maximum length of a command?
   16488 max_cmd_len=$lt_cv_sys_max_cmd_len
   16489 
   16490 # Does compiler simultaneously support -c and -o options?
   16491 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16492 
   16493 # Must we lock files when doing compilation?
   16494 need_locks=$lt_need_locks
   16495 
   16496 # Do we need the lib prefix for modules?
   16497 need_lib_prefix=$need_lib_prefix
   16498 
   16499 # Do we need a version for libraries?
   16500 need_version=$need_version
   16501 
   16502 # Whether dlopen is supported.
   16503 dlopen_support=$enable_dlopen
   16504 
   16505 # Whether dlopen of programs is supported.
   16506 dlopen_self=$enable_dlopen_self
   16507 
   16508 # Whether dlopen of statically linked programs is supported.
   16509 dlopen_self_static=$enable_dlopen_self_static
   16510 
   16511 # Compiler flag to prevent dynamic linking.
   16512 link_static_flag=$lt_lt_prog_compiler_static_F77
   16513 
   16514 # Compiler flag to turn off builtin functions.
   16515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16516 
   16517 # Compiler flag to allow reflexive dlopens.
   16518 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16519 
   16520 # Compiler flag to generate shared objects directly from archives.
   16521 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16522 
   16523 # Compiler flag to generate thread-safe objects.
   16524 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16525 
   16526 # Library versioning type.
   16527 version_type=$version_type
   16528 
   16529 # Format of library name prefix.
   16530 libname_spec=$lt_libname_spec
   16531 
   16532 # List of archive names.  First name is the real one, the rest are links.
   16533 # The last name is the one that the linker finds with -lNAME.
   16534 library_names_spec=$lt_library_names_spec
   16535 
   16536 # The coded name of the library, if different from the real name.
   16537 soname_spec=$lt_soname_spec
   16538 
   16539 # Commands used to build and install an old-style archive.
   16540 RANLIB=$lt_RANLIB
   16541 old_archive_cmds=$lt_old_archive_cmds_F77
   16542 old_postinstall_cmds=$lt_old_postinstall_cmds
   16543 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16544 
   16545 # Create an old-style archive from a shared archive.
   16546 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16547 
   16548 # Create a temporary old-style archive to link instead of a shared archive.
   16549 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16550 
   16551 # Commands used to build and install a shared archive.
   16552 archive_cmds=$lt_archive_cmds_F77
   16553 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16554 postinstall_cmds=$lt_postinstall_cmds
   16555 postuninstall_cmds=$lt_postuninstall_cmds
   16556 
   16557 # Commands used to build a loadable module (assumed same as above if empty)
   16558 module_cmds=$lt_module_cmds_F77
   16559 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16560 
   16561 # Commands to strip libraries.
   16562 old_striplib=$lt_old_striplib
   16563 striplib=$lt_striplib
   16564 
   16565 # Dependencies to place before the objects being linked to create a
   16566 # shared library.
   16567 predep_objects=$lt_predep_objects_F77
   16568 
   16569 # Dependencies to place after the objects being linked to create a
   16570 # shared library.
   16571 postdep_objects=$lt_postdep_objects_F77
   16572 
   16573 # Dependencies to place before the objects being linked to create a
   16574 # shared library.
   16575 predeps=$lt_predeps_F77
   16576 
   16577 # Dependencies to place after the objects being linked to create a
   16578 # shared library.
   16579 postdeps=$lt_postdeps_F77
   16580 
   16581 # The directories searched by this compiler when creating a shared
   16582 # library
   16583 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16584 
   16585 # The library search path used internally by the compiler when linking
   16586 # a shared library.
   16587 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16588 
   16589 # Method to check whether dependent libraries are shared objects.
   16590 deplibs_check_method=$lt_deplibs_check_method
   16591 
   16592 # Command to use when deplibs_check_method == file_magic.
   16593 file_magic_cmd=$lt_file_magic_cmd
   16594 
   16595 # Flag that allows shared libraries with undefined symbols to be built.
   16596 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16597 
   16598 # Flag that forces no undefined symbols.
   16599 no_undefined_flag=$lt_no_undefined_flag_F77
   16600 
   16601 # Commands used to finish a libtool library installation in a directory.
   16602 finish_cmds=$lt_finish_cmds
   16603 
   16604 # Same as above, but a single script fragment to be evaled but not shown.
   16605 finish_eval=$lt_finish_eval
   16606 
   16607 # Take the output of nm and produce a listing of raw symbols and C names.
   16608 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16609 
   16610 # Transform the output of nm in a proper C declaration
   16611 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16612 
   16613 # Transform the output of nm in a C name address pair
   16614 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16615 
   16616 # This is the shared library runtime path variable.
   16617 runpath_var=$runpath_var
   16618 
   16619 # This is the shared library path variable.
   16620 shlibpath_var=$shlibpath_var
   16621 
   16622 # Is shlibpath searched before the hard-coded library search path?
   16623 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16624 
   16625 # How to hardcode a shared library path into an executable.
   16626 hardcode_action=$hardcode_action_F77
   16627 
   16628 # Whether we should hardcode library paths into libraries.
   16629 hardcode_into_libs=$hardcode_into_libs
   16630 
   16631 # Flag to hardcode \$libdir into a binary during linking.
   16632 # This must work even if \$libdir does not exist.
   16633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16634 
   16635 # If ld is used when linking, flag to hardcode \$libdir into
   16636 # a binary during linking. This must work even if \$libdir does
   16637 # not exist.
   16638 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16639 
   16640 # Whether we need a single -rpath flag with a separated argument.
   16641 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16642 
   16643 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16644 # resulting binary.
   16645 hardcode_direct=$hardcode_direct_F77
   16646 
   16647 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16648 # resulting binary.
   16649 hardcode_minus_L=$hardcode_minus_L_F77
   16650 
   16651 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16652 # the resulting binary.
   16653 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16654 
   16655 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16656 # and all subsequent libraries and executables linked against it.
   16657 hardcode_automatic=$hardcode_automatic_F77
   16658 
   16659 # Variables whose values should be saved in libtool wrapper scripts and
   16660 # restored at relink time.
   16661 variables_saved_for_relink="$variables_saved_for_relink"
   16662 
   16663 # Whether libtool must link a program against all its dependency libraries.
   16664 link_all_deplibs=$link_all_deplibs_F77
   16665 
   16666 # Compile-time system search path for libraries
   16667 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16668 
   16669 # Run-time system search path for libraries
   16670 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16671 
   16672 # Fix the shell variable \$srcfile for the compiler.
   16673 fix_srcfile_path=$lt_fix_srcfile_path
   16674 
   16675 # Set to yes if exported symbols are required.
   16676 always_export_symbols=$always_export_symbols_F77
   16677 
   16678 # The commands to list exported symbols.
   16679 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16680 
   16681 # The commands to extract the exported symbol list from a shared archive.
   16682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16683 
   16684 # Symbols that should not be listed in the preloaded symbols.
   16685 exclude_expsyms=$lt_exclude_expsyms_F77
   16686 
   16687 # Symbols that must always be exported.
   16688 include_expsyms=$lt_include_expsyms_F77
   16689 
   16690 # ### END LIBTOOL TAG CONFIG: $tagname
   16691 
   16692 __EOF__
   16693 
   16694 
   16695 else
   16696   # If there is no Makefile yet, we rely on a make rule to execute
   16697   # `config.status --recheck' to rerun these tests and create the
   16698   # libtool script then.
   16699   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16700   if test -f "$ltmain_in"; then
   16701     test -f Makefile && make "$ltmain"
   16702   fi
   16703 fi
   16704 
   16705 
   16706 ac_ext=c
   16707 ac_cpp='$CPP $CPPFLAGS'
   16708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16711 
   16712 CC="$lt_save_CC"
   16713 
   16714 	else
   16715 	  tagname=""
   16716 	fi
   16717 	;;
   16718 
   16719       GCJ)
   16720 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16721 
   16722 
   16723 # Source file extension for Java test sources.
   16724 ac_ext=java
   16725 
   16726 # Object file extension for compiled Java test sources.
   16727 objext=o
   16728 objext_GCJ=$objext
   16729 
   16730 # Code to be used in simple compile tests
   16731 lt_simple_compile_test_code="class foo {}"
   16732 
   16733 # Code to be used in simple link tests
   16734 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16735 
   16736 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16737 
   16738 # If no C compiler was specified, use CC.
   16739 LTCC=${LTCC-"$CC"}
   16740 
   16741 # If no C compiler flags were specified, use CFLAGS.
   16742 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16743 
   16744 # Allow CC to be a program name with arguments.
   16745 compiler=$CC
   16746 
   16747 
   16748 # save warnings/boilerplate of simple test code
   16749 ac_outfile=conftest.$ac_objext
   16750 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16751 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16752 _lt_compiler_boilerplate=`cat conftest.err`
   16753 $rm conftest*
   16754 
   16755 ac_outfile=conftest.$ac_objext
   16756 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16757 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16758 _lt_linker_boilerplate=`cat conftest.err`
   16759 $rm -r conftest*
   16760 
   16761 
   16762 # Allow CC to be a program name with arguments.
   16763 lt_save_CC="$CC"
   16764 CC=${GCJ-"gcj"}
   16765 compiler=$CC
   16766 compiler_GCJ=$CC
   16767 for cc_temp in $compiler""; do
   16768   case $cc_temp in
   16769     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16770     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16771     \-*) ;;
   16772     *) break;;
   16773   esac
   16774 done
   16775 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16776 
   16777 
   16778 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16779 archive_cmds_need_lc_GCJ=no
   16780 
   16781 old_archive_cmds_GCJ=$old_archive_cmds
   16782 
   16783 
   16784 lt_prog_compiler_no_builtin_flag_GCJ=
   16785 
   16786 if test "$GCC" = yes; then
   16787   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16788 
   16789 
   16790 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16791 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16792 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16793   echo $ECHO_N "(cached) $ECHO_C" >&6
   16794 else
   16795   lt_cv_prog_compiler_rtti_exceptions=no
   16796   ac_outfile=conftest.$ac_objext
   16797    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16798    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16799    # Insert the option either (1) after the last *FLAGS variable, or
   16800    # (2) before a word containing "conftest.", or (3) at the end.
   16801    # Note that $ac_compile itself does not contain backslashes and begins
   16802    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16803    # The option is referenced via a variable to avoid confusing sed.
   16804    lt_compile=`echo "$ac_compile" | $SED \
   16805    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16806    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16807    -e 's:$: $lt_compiler_flag:'`
   16808    (eval echo "\"\$as_me:16808: $lt_compile\"" >&5)
   16809    (eval "$lt_compile" 2>conftest.err)
   16810    ac_status=$?
   16811    cat conftest.err >&5
   16812    echo "$as_me:16812: \$? = $ac_status" >&5
   16813    if (exit $ac_status) && test -s "$ac_outfile"; then
   16814      # The compiler can only warn and ignore the option if not recognized
   16815      # So say no if there are warnings other than the usual output.
   16816      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16817      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16818      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16819        lt_cv_prog_compiler_rtti_exceptions=yes
   16820      fi
   16821    fi
   16822    $rm conftest*
   16823 
   16824 fi
   16825 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16826 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16827 
   16828 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16829     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16830 else
   16831     :
   16832 fi
   16833 
   16834 fi
   16835 
   16836 lt_prog_compiler_wl_GCJ=
   16837 lt_prog_compiler_pic_GCJ=
   16838 lt_prog_compiler_static_GCJ=
   16839 
   16840 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16841 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16842 
   16843   if test "$GCC" = yes; then
   16844     lt_prog_compiler_wl_GCJ='-Wl,'
   16845     lt_prog_compiler_static_GCJ='-static'
   16846 
   16847     case $host_os in
   16848       aix*)
   16849       # All AIX code is PIC.
   16850       if test "$host_cpu" = ia64; then
   16851 	# AIX 5 now supports IA64 processor
   16852 	lt_prog_compiler_static_GCJ='-Bstatic'
   16853       fi
   16854       ;;
   16855 
   16856     amigaos*)
   16857       # FIXME: we need at least 68020 code to build shared libraries, but
   16858       # adding the `-m68020' flag to GCC prevents building anything better,
   16859       # like `-m68040'.
   16860       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16861       ;;
   16862 
   16863     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16864       # PIC is the default for these OSes.
   16865       ;;
   16866 
   16867     mingw* | cygwin* | pw32* | os2*)
   16868       # This hack is so that the source file can tell whether it is being
   16869       # built for inclusion in a dll (and should export symbols for example).
   16870       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16871       # (--disable-auto-import) libraries
   16872 
   16873       ;;
   16874 
   16875     darwin* | rhapsody*)
   16876       # PIC is the default on this platform
   16877       # Common symbols not allowed in MH_DYLIB files
   16878       lt_prog_compiler_pic_GCJ='-fno-common'
   16879       ;;
   16880 
   16881     interix[3-9]*)
   16882       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16883       # Instead, we relocate shared libraries at runtime.
   16884       ;;
   16885 
   16886     msdosdjgpp*)
   16887       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16888       # on systems that don't support them.
   16889       lt_prog_compiler_can_build_shared_GCJ=no
   16890       enable_shared=no
   16891       ;;
   16892 
   16893     sysv4*MP*)
   16894       if test -d /usr/nec; then
   16895 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16896       fi
   16897       ;;
   16898 
   16899     hpux*)
   16900       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16901       # not for PA HP-UX.
   16902       case $host_cpu in
   16903       hppa*64*|ia64*)
   16904 	# +Z the default
   16905 	;;
   16906       *)
   16907 	lt_prog_compiler_pic_GCJ='-fPIC'
   16908 	;;
   16909       esac
   16910       ;;
   16911 
   16912     *)
   16913       lt_prog_compiler_pic_GCJ='-fPIC'
   16914       ;;
   16915     esac
   16916   else
   16917     # PORTME Check for flag to pass linker flags through the system compiler.
   16918     case $host_os in
   16919     aix*)
   16920       lt_prog_compiler_wl_GCJ='-Wl,'
   16921       if test "$host_cpu" = ia64; then
   16922 	# AIX 5 now supports IA64 processor
   16923 	lt_prog_compiler_static_GCJ='-Bstatic'
   16924       else
   16925 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16926       fi
   16927       ;;
   16928       darwin*)
   16929         # PIC is the default on this platform
   16930         # Common symbols not allowed in MH_DYLIB files
   16931        case $cc_basename in
   16932          xlc*)
   16933          lt_prog_compiler_pic_GCJ='-qnocommon'
   16934          lt_prog_compiler_wl_GCJ='-Wl,'
   16935          ;;
   16936        esac
   16937        ;;
   16938 
   16939     mingw* | cygwin* | pw32* | os2*)
   16940       # This hack is so that the source file can tell whether it is being
   16941       # built for inclusion in a dll (and should export symbols for example).
   16942 
   16943       ;;
   16944 
   16945     hpux9* | hpux10* | hpux11*)
   16946       lt_prog_compiler_wl_GCJ='-Wl,'
   16947       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16948       # not for PA HP-UX.
   16949       case $host_cpu in
   16950       hppa*64*|ia64*)
   16951 	# +Z the default
   16952 	;;
   16953       *)
   16954 	lt_prog_compiler_pic_GCJ='+Z'
   16955 	;;
   16956       esac
   16957       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16958       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16959       ;;
   16960 
   16961     irix5* | irix6* | nonstopux*)
   16962       lt_prog_compiler_wl_GCJ='-Wl,'
   16963       # PIC (with -KPIC) is the default.
   16964       lt_prog_compiler_static_GCJ='-non_shared'
   16965       ;;
   16966 
   16967     newsos6)
   16968       lt_prog_compiler_pic_GCJ='-KPIC'
   16969       lt_prog_compiler_static_GCJ='-Bstatic'
   16970       ;;
   16971 
   16972     linux* | k*bsd*-gnu)
   16973       case $cc_basename in
   16974       icc* | ecc*)
   16975 	lt_prog_compiler_wl_GCJ='-Wl,'
   16976 	lt_prog_compiler_pic_GCJ='-KPIC'
   16977 	lt_prog_compiler_static_GCJ='-static'
   16978         ;;
   16979       pgcc* | pgf77* | pgf90* | pgf95*)
   16980         # Portland Group compilers (*not* the Pentium gcc compiler,
   16981 	# which looks to be a dead project)
   16982 	lt_prog_compiler_wl_GCJ='-Wl,'
   16983 	lt_prog_compiler_pic_GCJ='-fpic'
   16984 	lt_prog_compiler_static_GCJ='-Bstatic'
   16985         ;;
   16986       ccc*)
   16987         lt_prog_compiler_wl_GCJ='-Wl,'
   16988         # All Alpha code is PIC.
   16989         lt_prog_compiler_static_GCJ='-non_shared'
   16990         ;;
   16991       *)
   16992         case `$CC -V 2>&1 | sed 5q` in
   16993 	*Sun\ C*)
   16994 	  # Sun C 5.9
   16995 	  lt_prog_compiler_pic_GCJ='-KPIC'
   16996 	  lt_prog_compiler_static_GCJ='-Bstatic'
   16997 	  lt_prog_compiler_wl_GCJ='-Wl,'
   16998 	  ;;
   16999 	*Sun\ F*)
   17000 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17001 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17002 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17003 	  lt_prog_compiler_wl_GCJ=''
   17004 	  ;;
   17005 	esac
   17006 	;;
   17007       esac
   17008       ;;
   17009 
   17010     osf3* | osf4* | osf5*)
   17011       lt_prog_compiler_wl_GCJ='-Wl,'
   17012       # All OSF/1 code is PIC.
   17013       lt_prog_compiler_static_GCJ='-non_shared'
   17014       ;;
   17015 
   17016     rdos*)
   17017       lt_prog_compiler_static_GCJ='-non_shared'
   17018       ;;
   17019 
   17020     solaris*)
   17021       lt_prog_compiler_pic_GCJ='-KPIC'
   17022       lt_prog_compiler_static_GCJ='-Bstatic'
   17023       case $cc_basename in
   17024       f77* | f90* | f95*)
   17025 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17026       *)
   17027 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17028       esac
   17029       ;;
   17030 
   17031     sunos4*)
   17032       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17033       lt_prog_compiler_pic_GCJ='-PIC'
   17034       lt_prog_compiler_static_GCJ='-Bstatic'
   17035       ;;
   17036 
   17037     sysv4 | sysv4.2uw2* | sysv4.3*)
   17038       lt_prog_compiler_wl_GCJ='-Wl,'
   17039       lt_prog_compiler_pic_GCJ='-KPIC'
   17040       lt_prog_compiler_static_GCJ='-Bstatic'
   17041       ;;
   17042 
   17043     sysv4*MP*)
   17044       if test -d /usr/nec ;then
   17045 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17046 	lt_prog_compiler_static_GCJ='-Bstatic'
   17047       fi
   17048       ;;
   17049 
   17050     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17051       lt_prog_compiler_wl_GCJ='-Wl,'
   17052       lt_prog_compiler_pic_GCJ='-KPIC'
   17053       lt_prog_compiler_static_GCJ='-Bstatic'
   17054       ;;
   17055 
   17056     unicos*)
   17057       lt_prog_compiler_wl_GCJ='-Wl,'
   17058       lt_prog_compiler_can_build_shared_GCJ=no
   17059       ;;
   17060 
   17061     uts4*)
   17062       lt_prog_compiler_pic_GCJ='-pic'
   17063       lt_prog_compiler_static_GCJ='-Bstatic'
   17064       ;;
   17065 
   17066     *)
   17067       lt_prog_compiler_can_build_shared_GCJ=no
   17068       ;;
   17069     esac
   17070   fi
   17071 
   17072 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17073 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   17074 
   17075 #
   17076 # Check to make sure the PIC flag actually works.
   17077 #
   17078 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17079 
   17080 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17081 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   17082 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17083   echo $ECHO_N "(cached) $ECHO_C" >&6
   17084 else
   17085   lt_cv_prog_compiler_pic_works_GCJ=no
   17086   ac_outfile=conftest.$ac_objext
   17087    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17088    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17089    # Insert the option either (1) after the last *FLAGS variable, or
   17090    # (2) before a word containing "conftest.", or (3) at the end.
   17091    # Note that $ac_compile itself does not contain backslashes and begins
   17092    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17093    # The option is referenced via a variable to avoid confusing sed.
   17094    lt_compile=`echo "$ac_compile" | $SED \
   17095    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17096    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17097    -e 's:$: $lt_compiler_flag:'`
   17098    (eval echo "\"\$as_me:17098: $lt_compile\"" >&5)
   17099    (eval "$lt_compile" 2>conftest.err)
   17100    ac_status=$?
   17101    cat conftest.err >&5
   17102    echo "$as_me:17102: \$? = $ac_status" >&5
   17103    if (exit $ac_status) && test -s "$ac_outfile"; then
   17104      # The compiler can only warn and ignore the option if not recognized
   17105      # So say no if there are warnings other than the usual output.
   17106      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17107      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17108      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17109        lt_cv_prog_compiler_pic_works_GCJ=yes
   17110      fi
   17111    fi
   17112    $rm conftest*
   17113 
   17114 fi
   17115 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17116 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17117 
   17118 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17119     case $lt_prog_compiler_pic_GCJ in
   17120      "" | " "*) ;;
   17121      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17122      esac
   17123 else
   17124     lt_prog_compiler_pic_GCJ=
   17125      lt_prog_compiler_can_build_shared_GCJ=no
   17126 fi
   17127 
   17128 fi
   17129 case $host_os in
   17130   # For platforms which do not support PIC, -DPIC is meaningless:
   17131   *djgpp*)
   17132     lt_prog_compiler_pic_GCJ=
   17133     ;;
   17134   *)
   17135     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17136     ;;
   17137 esac
   17138 
   17139 #
   17140 # Check to make sure the static flag actually works.
   17141 #
   17142 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17143 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17144 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   17145 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17146   echo $ECHO_N "(cached) $ECHO_C" >&6
   17147 else
   17148   lt_cv_prog_compiler_static_works_GCJ=no
   17149    save_LDFLAGS="$LDFLAGS"
   17150    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17151    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17152    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17153      # The linker can only warn and ignore the option if not recognized
   17154      # So say no if there are warnings
   17155      if test -s conftest.err; then
   17156        # Append any errors to the config.log.
   17157        cat conftest.err 1>&5
   17158        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17159        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17160        if diff conftest.exp conftest.er2 >/dev/null; then
   17161          lt_cv_prog_compiler_static_works_GCJ=yes
   17162        fi
   17163      else
   17164        lt_cv_prog_compiler_static_works_GCJ=yes
   17165      fi
   17166    fi
   17167    $rm -r conftest*
   17168    LDFLAGS="$save_LDFLAGS"
   17169 
   17170 fi
   17171 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17172 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17173 
   17174 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17175     :
   17176 else
   17177     lt_prog_compiler_static_GCJ=
   17178 fi
   17179 
   17180 
   17181 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17182 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   17183 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17184   echo $ECHO_N "(cached) $ECHO_C" >&6
   17185 else
   17186   lt_cv_prog_compiler_c_o_GCJ=no
   17187    $rm -r conftest 2>/dev/null
   17188    mkdir conftest
   17189    cd conftest
   17190    mkdir out
   17191    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17192 
   17193    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17194    # Insert the option either (1) after the last *FLAGS variable, or
   17195    # (2) before a word containing "conftest.", or (3) at the end.
   17196    # Note that $ac_compile itself does not contain backslashes and begins
   17197    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17198    lt_compile=`echo "$ac_compile" | $SED \
   17199    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17200    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17201    -e 's:$: $lt_compiler_flag:'`
   17202    (eval echo "\"\$as_me:17202: $lt_compile\"" >&5)
   17203    (eval "$lt_compile" 2>out/conftest.err)
   17204    ac_status=$?
   17205    cat out/conftest.err >&5
   17206    echo "$as_me:17206: \$? = $ac_status" >&5
   17207    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17208    then
   17209      # The compiler can only warn and ignore the option if not recognized
   17210      # So say no if there are warnings
   17211      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17212      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17213      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17214        lt_cv_prog_compiler_c_o_GCJ=yes
   17215      fi
   17216    fi
   17217    chmod u+w . 2>&5
   17218    $rm conftest*
   17219    # SGI C++ compiler will create directory out/ii_files/ for
   17220    # template instantiation
   17221    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17222    $rm out/* && rmdir out
   17223    cd ..
   17224    rmdir conftest
   17225    $rm conftest*
   17226 
   17227 fi
   17228 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17229 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17230 
   17231 
   17232 hard_links="nottested"
   17233 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17234   # do not overwrite the value of need_locks provided by the user
   17235   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17236 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   17237   hard_links=yes
   17238   $rm conftest*
   17239   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17240   touch conftest.a
   17241   ln conftest.a conftest.b 2>&5 || hard_links=no
   17242   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17243   { echo "$as_me:$LINENO: result: $hard_links" >&5
   17244 echo "${ECHO_T}$hard_links" >&6; }
   17245   if test "$hard_links" = no; then
   17246     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17247 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17248     need_locks=warn
   17249   fi
   17250 else
   17251   need_locks=no
   17252 fi
   17253 
   17254 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17255 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   17256 
   17257   runpath_var=
   17258   allow_undefined_flag_GCJ=
   17259   enable_shared_with_static_runtimes_GCJ=no
   17260   archive_cmds_GCJ=
   17261   archive_expsym_cmds_GCJ=
   17262   old_archive_From_new_cmds_GCJ=
   17263   old_archive_from_expsyms_cmds_GCJ=
   17264   export_dynamic_flag_spec_GCJ=
   17265   whole_archive_flag_spec_GCJ=
   17266   thread_safe_flag_spec_GCJ=
   17267   hardcode_libdir_flag_spec_GCJ=
   17268   hardcode_libdir_flag_spec_ld_GCJ=
   17269   hardcode_libdir_separator_GCJ=
   17270   hardcode_direct_GCJ=no
   17271   hardcode_minus_L_GCJ=no
   17272   hardcode_shlibpath_var_GCJ=unsupported
   17273   link_all_deplibs_GCJ=unknown
   17274   hardcode_automatic_GCJ=no
   17275   module_cmds_GCJ=
   17276   module_expsym_cmds_GCJ=
   17277   always_export_symbols_GCJ=no
   17278   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17279   # include_expsyms should be a list of space-separated symbols to be *always*
   17280   # included in the symbol list
   17281   include_expsyms_GCJ=
   17282   # exclude_expsyms can be an extended regexp of symbols to exclude
   17283   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17284   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17285   # as well as any symbol that contains `d'.
   17286   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17287   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17288   # platforms (ab)use it in PIC code, but their linkers get confused if
   17289   # the symbol is explicitly referenced.  Since portable code cannot
   17290   # rely on this symbol name, it's probably fine to never include it in
   17291   # preloaded symbol tables.
   17292   # Exclude shared library initialization/finalization symbols.
   17293   extract_expsyms_cmds=
   17294   # Just being paranoid about ensuring that cc_basename is set.
   17295   for cc_temp in $compiler""; do
   17296   case $cc_temp in
   17297     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17298     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17299     \-*) ;;
   17300     *) break;;
   17301   esac
   17302 done
   17303 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17304 
   17305   case $host_os in
   17306   cygwin* | mingw* | pw32*)
   17307     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17308     # When not using gcc, we currently assume that we are using
   17309     # Microsoft Visual C++.
   17310     if test "$GCC" != yes; then
   17311       with_gnu_ld=no
   17312     fi
   17313     ;;
   17314   interix*)
   17315     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17316     with_gnu_ld=yes
   17317     ;;
   17318   openbsd*)
   17319     with_gnu_ld=no
   17320     ;;
   17321   esac
   17322 
   17323   ld_shlibs_GCJ=yes
   17324   if test "$with_gnu_ld" = yes; then
   17325     # If archive_cmds runs LD, not CC, wlarc should be empty
   17326     wlarc='${wl}'
   17327 
   17328     # Set some defaults for GNU ld with shared library support. These
   17329     # are reset later if shared libraries are not supported. Putting them
   17330     # here allows them to be overridden if necessary.
   17331     runpath_var=LD_RUN_PATH
   17332     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17333     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17334     # ancient GNU ld didn't support --whole-archive et. al.
   17335     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17336 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17337       else
   17338   	whole_archive_flag_spec_GCJ=
   17339     fi
   17340     supports_anon_versioning=no
   17341     case `$LD -v 2>/dev/null` in
   17342       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17343       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17344       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17345       *\ 2.11.*) ;; # other 2.11 versions
   17346       *) supports_anon_versioning=yes ;;
   17347     esac
   17348 
   17349     # See if GNU ld supports shared libraries.
   17350     case $host_os in
   17351     aix[3-9]*)
   17352       # On AIX/PPC, the GNU linker is very broken
   17353       if test "$host_cpu" != ia64; then
   17354 	ld_shlibs_GCJ=no
   17355 	cat <<EOF 1>&2
   17356 
   17357 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17358 *** to be unable to reliably create shared libraries on AIX.
   17359 *** Therefore, libtool is disabling shared libraries support.  If you
   17360 *** really care for shared libraries, you may want to modify your PATH
   17361 *** so that a non-GNU linker is found, and then restart.
   17362 
   17363 EOF
   17364       fi
   17365       ;;
   17366 
   17367     amigaos*)
   17368       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)'
   17369       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17370       hardcode_minus_L_GCJ=yes
   17371 
   17372       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17373       # that the semantics of dynamic libraries on AmigaOS, at least up
   17374       # to version 4, is to share data among multiple programs linked
   17375       # with the same dynamic library.  Since this doesn't match the
   17376       # behavior of shared libraries on other platforms, we can't use
   17377       # them.
   17378       ld_shlibs_GCJ=no
   17379       ;;
   17380 
   17381     beos*)
   17382       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17383 	allow_undefined_flag_GCJ=unsupported
   17384 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17385 	# support --undefined.  This deserves some investigation.  FIXME
   17386 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17387       else
   17388 	ld_shlibs_GCJ=no
   17389       fi
   17390       ;;
   17391 
   17392     cygwin* | mingw* | pw32*)
   17393       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17394       # as there is no search path for DLLs.
   17395       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17396       allow_undefined_flag_GCJ=unsupported
   17397       always_export_symbols_GCJ=no
   17398       enable_shared_with_static_runtimes_GCJ=yes
   17399       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17400 
   17401       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17402         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17403 	# If the export-symbols file already is a .def file (1st line
   17404 	# is EXPORTS), use it as is; otherwise, prepend...
   17405 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17406 	  cp $export_symbols $output_objdir/$soname.def;
   17407 	else
   17408 	  echo EXPORTS > $output_objdir/$soname.def;
   17409 	  cat $export_symbols >> $output_objdir/$soname.def;
   17410 	fi~
   17411 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17412       else
   17413 	ld_shlibs_GCJ=no
   17414       fi
   17415       ;;
   17416 
   17417     interix[3-9]*)
   17418       hardcode_direct_GCJ=no
   17419       hardcode_shlibpath_var_GCJ=no
   17420       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17421       export_dynamic_flag_spec_GCJ='${wl}-E'
   17422       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17423       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17424       # default) and relocated if they conflict, which is a slow very memory
   17425       # consuming and fragmenting process.  To avoid this, we pick a random,
   17426       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17427       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17428       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'
   17429       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'
   17430       ;;
   17431 
   17432     gnu* | linux* | k*bsd*-gnu)
   17433       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17434 	tmp_addflag=
   17435 	case $cc_basename,$host_cpu in
   17436 	pgcc*)				# Portland Group C compiler
   17437 	  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'
   17438 	  tmp_addflag=' $pic_flag'
   17439 	  ;;
   17440 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17441 	  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'
   17442 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17443 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17444 	  tmp_addflag=' -i_dynamic' ;;
   17445 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17446 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17447 	ifc* | ifort*)			# Intel Fortran compiler
   17448 	  tmp_addflag=' -nofor_main' ;;
   17449 	esac
   17450 	case `$CC -V 2>&1 | sed 5q` in
   17451 	*Sun\ C*)			# Sun C 5.9
   17452 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17453 	  tmp_sharedflag='-G' ;;
   17454 	*Sun\ F*)			# Sun Fortran 8.3
   17455 	  tmp_sharedflag='-G' ;;
   17456 	*)
   17457 	  tmp_sharedflag='-shared' ;;
   17458 	esac
   17459 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17460 
   17461 	if test $supports_anon_versioning = yes; then
   17462 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17463   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17464   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17465 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17466 	fi
   17467       else
   17468 	ld_shlibs_GCJ=no
   17469       fi
   17470       ;;
   17471 
   17472     netbsd*)
   17473       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17474 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17475 	wlarc=
   17476       else
   17477 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17478 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17479       fi
   17480       ;;
   17481 
   17482     solaris*)
   17483       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17484 	ld_shlibs_GCJ=no
   17485 	cat <<EOF 1>&2
   17486 
   17487 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17488 *** create shared libraries on Solaris systems.  Therefore, libtool
   17489 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17490 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17491 *** your PATH or compiler configuration so that the native linker is
   17492 *** used, and then restart.
   17493 
   17494 EOF
   17495       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17496 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17497 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17498       else
   17499 	ld_shlibs_GCJ=no
   17500       fi
   17501       ;;
   17502 
   17503     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17504       case `$LD -v 2>&1` in
   17505         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17506 	ld_shlibs_GCJ=no
   17507 	cat <<_LT_EOF 1>&2
   17508 
   17509 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17510 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17511 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17512 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17513 *** your PATH or compiler configuration so that the native linker is
   17514 *** used, and then restart.
   17515 
   17516 _LT_EOF
   17517 	;;
   17518 	*)
   17519 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17520 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17521 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17522 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17523 	  else
   17524 	    ld_shlibs_GCJ=no
   17525 	  fi
   17526 	;;
   17527       esac
   17528       ;;
   17529 
   17530     sunos4*)
   17531       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17532       wlarc=
   17533       hardcode_direct_GCJ=yes
   17534       hardcode_shlibpath_var_GCJ=no
   17535       ;;
   17536 
   17537     *)
   17538       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17539 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17540 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17541       else
   17542 	ld_shlibs_GCJ=no
   17543       fi
   17544       ;;
   17545     esac
   17546 
   17547     if test "$ld_shlibs_GCJ" = no; then
   17548       runpath_var=
   17549       hardcode_libdir_flag_spec_GCJ=
   17550       export_dynamic_flag_spec_GCJ=
   17551       whole_archive_flag_spec_GCJ=
   17552     fi
   17553   else
   17554     # PORTME fill in a description of your system's linker (not GNU ld)
   17555     case $host_os in
   17556     aix3*)
   17557       allow_undefined_flag_GCJ=unsupported
   17558       always_export_symbols_GCJ=yes
   17559       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'
   17560       # Note: this linker hardcodes the directories in LIBPATH if there
   17561       # are no directories specified by -L.
   17562       hardcode_minus_L_GCJ=yes
   17563       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17564 	# Neither direct hardcoding nor static linking is supported with a
   17565 	# broken collect2.
   17566 	hardcode_direct_GCJ=unsupported
   17567       fi
   17568       ;;
   17569 
   17570     aix[4-9]*)
   17571       if test "$host_cpu" = ia64; then
   17572 	# On IA64, the linker does run time linking by default, so we don't
   17573 	# have to do anything special.
   17574 	aix_use_runtimelinking=no
   17575 	exp_sym_flag='-Bexport'
   17576 	no_entry_flag=""
   17577       else
   17578 	# If we're using GNU nm, then we don't want the "-C" option.
   17579 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17580 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17581 	  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'
   17582 	else
   17583 	  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'
   17584 	fi
   17585 	aix_use_runtimelinking=no
   17586 
   17587 	# Test if we are trying to use run time linking or normal
   17588 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17589 	# need to do runtime linking.
   17590 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17591 	  for ld_flag in $LDFLAGS; do
   17592   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17593   	    aix_use_runtimelinking=yes
   17594   	    break
   17595   	  fi
   17596 	  done
   17597 	  ;;
   17598 	esac
   17599 
   17600 	exp_sym_flag='-bexport'
   17601 	no_entry_flag='-bnoentry'
   17602       fi
   17603 
   17604       # When large executables or shared objects are built, AIX ld can
   17605       # have problems creating the table of contents.  If linking a library
   17606       # or program results in "error TOC overflow" add -mminimal-toc to
   17607       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17608       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17609 
   17610       archive_cmds_GCJ=''
   17611       hardcode_direct_GCJ=yes
   17612       hardcode_libdir_separator_GCJ=':'
   17613       link_all_deplibs_GCJ=yes
   17614 
   17615       if test "$GCC" = yes; then
   17616 	case $host_os in aix4.[012]|aix4.[012].*)
   17617 	# We only want to do this on AIX 4.2 and lower, the check
   17618 	# below for broken collect2 doesn't work under 4.3+
   17619 	  collect2name=`${CC} -print-prog-name=collect2`
   17620 	  if test -f "$collect2name" && \
   17621   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17622 	  then
   17623   	  # We have reworked collect2
   17624   	  :
   17625 	  else
   17626   	  # We have old collect2
   17627   	  hardcode_direct_GCJ=unsupported
   17628   	  # It fails to find uninstalled libraries when the uninstalled
   17629   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17630   	  # to unsupported forces relinking
   17631   	  hardcode_minus_L_GCJ=yes
   17632   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17633   	  hardcode_libdir_separator_GCJ=
   17634 	  fi
   17635 	  ;;
   17636 	esac
   17637 	shared_flag='-shared'
   17638 	if test "$aix_use_runtimelinking" = yes; then
   17639 	  shared_flag="$shared_flag "'${wl}-G'
   17640 	fi
   17641       else
   17642 	# not using gcc
   17643 	if test "$host_cpu" = ia64; then
   17644   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17645   	# chokes on -Wl,-G. The following line is correct:
   17646 	  shared_flag='-G'
   17647 	else
   17648 	  if test "$aix_use_runtimelinking" = yes; then
   17649 	    shared_flag='${wl}-G'
   17650 	  else
   17651 	    shared_flag='${wl}-bM:SRE'
   17652 	  fi
   17653 	fi
   17654       fi
   17655 
   17656       # It seems that -bexpall does not export symbols beginning with
   17657       # underscore (_), so it is better to generate a list of symbols to export.
   17658       always_export_symbols_GCJ=yes
   17659       if test "$aix_use_runtimelinking" = yes; then
   17660 	# Warning - without using the other runtime loading flags (-brtl),
   17661 	# -berok will link without error, but may produce a broken library.
   17662 	allow_undefined_flag_GCJ='-berok'
   17663        # Determine the default libpath from the value encoded in an empty executable.
   17664        cat >conftest.$ac_ext <<_ACEOF
   17665 /* confdefs.h.  */
   17666 _ACEOF
   17667 cat confdefs.h >>conftest.$ac_ext
   17668 cat >>conftest.$ac_ext <<_ACEOF
   17669 /* end confdefs.h.  */
   17670 
   17671 int
   17672 main ()
   17673 {
   17674 
   17675   ;
   17676   return 0;
   17677 }
   17678 _ACEOF
   17679 rm -f conftest.$ac_objext conftest$ac_exeext
   17680 if { (ac_try="$ac_link"
   17681 case "(($ac_try" in
   17682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17683   *) ac_try_echo=$ac_try;;
   17684 esac
   17685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17686   (eval "$ac_link") 2>conftest.er1
   17687   ac_status=$?
   17688   grep -v '^ *+' conftest.er1 >conftest.err
   17689   rm -f conftest.er1
   17690   cat conftest.err >&5
   17691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17692   (exit $ac_status); } && {
   17693 	 test -z "$ac_c_werror_flag" ||
   17694 	 test ! -s conftest.err
   17695        } && test -s conftest$ac_exeext &&
   17696        $as_test_x conftest$ac_exeext; then
   17697 
   17698 lt_aix_libpath_sed='
   17699     /Import File Strings/,/^$/ {
   17700 	/^0/ {
   17701 	    s/^0  *\(.*\)$/\1/
   17702 	    p
   17703 	}
   17704     }'
   17705 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17706 # Check for a 64-bit object if we didn't find anything.
   17707 if test -z "$aix_libpath"; then
   17708   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17709 fi
   17710 else
   17711   echo "$as_me: failed program was:" >&5
   17712 sed 's/^/| /' conftest.$ac_ext >&5
   17713 
   17714 
   17715 fi
   17716 
   17717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17718       conftest$ac_exeext conftest.$ac_ext
   17719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17720 
   17721        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17722 	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"
   17723        else
   17724 	if test "$host_cpu" = ia64; then
   17725 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17726 	  allow_undefined_flag_GCJ="-z nodefs"
   17727 	  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"
   17728 	else
   17729 	 # Determine the default libpath from the value encoded in an empty executable.
   17730 	 cat >conftest.$ac_ext <<_ACEOF
   17731 /* confdefs.h.  */
   17732 _ACEOF
   17733 cat confdefs.h >>conftest.$ac_ext
   17734 cat >>conftest.$ac_ext <<_ACEOF
   17735 /* end confdefs.h.  */
   17736 
   17737 int
   17738 main ()
   17739 {
   17740 
   17741   ;
   17742   return 0;
   17743 }
   17744 _ACEOF
   17745 rm -f conftest.$ac_objext conftest$ac_exeext
   17746 if { (ac_try="$ac_link"
   17747 case "(($ac_try" in
   17748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17749   *) ac_try_echo=$ac_try;;
   17750 esac
   17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17752   (eval "$ac_link") 2>conftest.er1
   17753   ac_status=$?
   17754   grep -v '^ *+' conftest.er1 >conftest.err
   17755   rm -f conftest.er1
   17756   cat conftest.err >&5
   17757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17758   (exit $ac_status); } && {
   17759 	 test -z "$ac_c_werror_flag" ||
   17760 	 test ! -s conftest.err
   17761        } && test -s conftest$ac_exeext &&
   17762        $as_test_x conftest$ac_exeext; then
   17763 
   17764 lt_aix_libpath_sed='
   17765     /Import File Strings/,/^$/ {
   17766 	/^0/ {
   17767 	    s/^0  *\(.*\)$/\1/
   17768 	    p
   17769 	}
   17770     }'
   17771 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17772 # Check for a 64-bit object if we didn't find anything.
   17773 if test -z "$aix_libpath"; then
   17774   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17775 fi
   17776 else
   17777   echo "$as_me: failed program was:" >&5
   17778 sed 's/^/| /' conftest.$ac_ext >&5
   17779 
   17780 
   17781 fi
   17782 
   17783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17784       conftest$ac_exeext conftest.$ac_ext
   17785 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17786 
   17787 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17788 	  # Warning - without using the other run time loading flags,
   17789 	  # -berok will link without error, but may produce a broken library.
   17790 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17791 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17792 	  # Exported symbols can be pulled into shared objects from archives
   17793 	  whole_archive_flag_spec_GCJ='$convenience'
   17794 	  archive_cmds_need_lc_GCJ=yes
   17795 	  # This is similar to how AIX traditionally builds its shared libraries.
   17796 	  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'
   17797 	fi
   17798       fi
   17799       ;;
   17800 
   17801     amigaos*)
   17802       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)'
   17803       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17804       hardcode_minus_L_GCJ=yes
   17805       # see comment about different semantics on the GNU ld section
   17806       ld_shlibs_GCJ=no
   17807       ;;
   17808 
   17809     bsdi[45]*)
   17810       export_dynamic_flag_spec_GCJ=-rdynamic
   17811       ;;
   17812 
   17813     cygwin* | mingw* | pw32*)
   17814       # When not using gcc, we currently assume that we are using
   17815       # Microsoft Visual C++.
   17816       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17817       # no search path for DLLs.
   17818       hardcode_libdir_flag_spec_GCJ=' '
   17819       allow_undefined_flag_GCJ=unsupported
   17820       # Tell ltmain to make .lib files, not .a files.
   17821       libext=lib
   17822       # Tell ltmain to make .dll files, not .so files.
   17823       shrext_cmds=".dll"
   17824       # FIXME: Setting linknames here is a bad hack.
   17825       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17826       # The linker will automatically build a .lib file if we build a DLL.
   17827       old_archive_From_new_cmds_GCJ='true'
   17828       # FIXME: Should let the user specify the lib program.
   17829       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17830       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17831       enable_shared_with_static_runtimes_GCJ=yes
   17832       ;;
   17833 
   17834     darwin* | rhapsody*)
   17835       case $host_os in
   17836         rhapsody* | darwin1.[012])
   17837          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17838          ;;
   17839        *) # Darwin 1.3 on
   17840          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17841            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17842          else
   17843            case ${MACOSX_DEPLOYMENT_TARGET} in
   17844              10.[012])
   17845                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17846                ;;
   17847              10.*)
   17848                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17849                ;;
   17850            esac
   17851          fi
   17852          ;;
   17853       esac
   17854       archive_cmds_need_lc_GCJ=no
   17855       hardcode_direct_GCJ=no
   17856       hardcode_automatic_GCJ=yes
   17857       hardcode_shlibpath_var_GCJ=unsupported
   17858       whole_archive_flag_spec_GCJ=''
   17859       link_all_deplibs_GCJ=yes
   17860     if test "$GCC" = yes ; then
   17861     	output_verbose_link_cmd='echo'
   17862         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   17863         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   17864         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   17865         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   17866     else
   17867       case $cc_basename in
   17868         xlc*)
   17869          output_verbose_link_cmd='echo'
   17870          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17871          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17872           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17873          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17874           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}'
   17875           ;;
   17876        *)
   17877          ld_shlibs_GCJ=no
   17878           ;;
   17879       esac
   17880     fi
   17881       ;;
   17882 
   17883     dgux*)
   17884       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17885       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17886       hardcode_shlibpath_var_GCJ=no
   17887       ;;
   17888 
   17889     freebsd1*)
   17890       ld_shlibs_GCJ=no
   17891       ;;
   17892 
   17893     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17894     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17895     # does not break anything, and helps significantly (at the cost of a little
   17896     # extra space).
   17897     freebsd2.2*)
   17898       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17899       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17900       hardcode_direct_GCJ=yes
   17901       hardcode_shlibpath_var_GCJ=no
   17902       ;;
   17903 
   17904     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17905     freebsd2*)
   17906       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17907       hardcode_direct_GCJ=yes
   17908       hardcode_minus_L_GCJ=yes
   17909       hardcode_shlibpath_var_GCJ=no
   17910       ;;
   17911 
   17912     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17913     freebsd* | dragonfly*)
   17914       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17915       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17916       hardcode_direct_GCJ=yes
   17917       hardcode_shlibpath_var_GCJ=no
   17918       ;;
   17919 
   17920     hpux9*)
   17921       if test "$GCC" = yes; then
   17922 	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'
   17923       else
   17924 	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'
   17925       fi
   17926       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17927       hardcode_libdir_separator_GCJ=:
   17928       hardcode_direct_GCJ=yes
   17929 
   17930       # hardcode_minus_L: Not really in the search PATH,
   17931       # but as the default location of the library.
   17932       hardcode_minus_L_GCJ=yes
   17933       export_dynamic_flag_spec_GCJ='${wl}-E'
   17934       ;;
   17935 
   17936     hpux10*)
   17937       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17938 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17939       else
   17940 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17941       fi
   17942       if test "$with_gnu_ld" = no; then
   17943 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17944 	hardcode_libdir_separator_GCJ=:
   17945 
   17946 	hardcode_direct_GCJ=yes
   17947 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17948 
   17949 	# hardcode_minus_L: Not really in the search PATH,
   17950 	# but as the default location of the library.
   17951 	hardcode_minus_L_GCJ=yes
   17952       fi
   17953       ;;
   17954 
   17955     hpux11*)
   17956       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17957 	case $host_cpu in
   17958 	hppa*64*)
   17959 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17960 	  ;;
   17961 	ia64*)
   17962 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17963 	  ;;
   17964 	*)
   17965 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17966 	  ;;
   17967 	esac
   17968       else
   17969 	case $host_cpu in
   17970 	hppa*64*)
   17971 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17972 	  ;;
   17973 	ia64*)
   17974 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17975 	  ;;
   17976 	*)
   17977 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17978 	  ;;
   17979 	esac
   17980       fi
   17981       if test "$with_gnu_ld" = no; then
   17982 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17983 	hardcode_libdir_separator_GCJ=:
   17984 
   17985 	case $host_cpu in
   17986 	hppa*64*|ia64*)
   17987 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17988 	  hardcode_direct_GCJ=no
   17989 	  hardcode_shlibpath_var_GCJ=no
   17990 	  ;;
   17991 	*)
   17992 	  hardcode_direct_GCJ=yes
   17993 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17994 
   17995 	  # hardcode_minus_L: Not really in the search PATH,
   17996 	  # but as the default location of the library.
   17997 	  hardcode_minus_L_GCJ=yes
   17998 	  ;;
   17999 	esac
   18000       fi
   18001       ;;
   18002 
   18003     irix5* | irix6* | nonstopux*)
   18004       if test "$GCC" = yes; then
   18005 	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'
   18006       else
   18007 	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'
   18008 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18009       fi
   18010       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18011       hardcode_libdir_separator_GCJ=:
   18012       link_all_deplibs_GCJ=yes
   18013       ;;
   18014 
   18015     netbsd*)
   18016       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18017 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18018       else
   18019 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18020       fi
   18021       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18022       hardcode_direct_GCJ=yes
   18023       hardcode_shlibpath_var_GCJ=no
   18024       ;;
   18025 
   18026     newsos6)
   18027       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18028       hardcode_direct_GCJ=yes
   18029       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18030       hardcode_libdir_separator_GCJ=:
   18031       hardcode_shlibpath_var_GCJ=no
   18032       ;;
   18033 
   18034     openbsd*)
   18035       if test -f /usr/libexec/ld.so; then
   18036 	hardcode_direct_GCJ=yes
   18037 	hardcode_shlibpath_var_GCJ=no
   18038 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18039 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18040 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18041 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18042 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18043 	else
   18044 	  case $host_os in
   18045 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18046 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18047 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18048 	     ;;
   18049 	   *)
   18050 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18051 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18052 	     ;;
   18053 	  esac
   18054         fi
   18055       else
   18056 	ld_shlibs_GCJ=no
   18057       fi
   18058       ;;
   18059 
   18060     os2*)
   18061       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18062       hardcode_minus_L_GCJ=yes
   18063       allow_undefined_flag_GCJ=unsupported
   18064       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'
   18065       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18066       ;;
   18067 
   18068     osf3*)
   18069       if test "$GCC" = yes; then
   18070 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18071 	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'
   18072       else
   18073 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18074 	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'
   18075       fi
   18076       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18077       hardcode_libdir_separator_GCJ=:
   18078       ;;
   18079 
   18080     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18081       if test "$GCC" = yes; then
   18082 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18083 	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'
   18084 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18085       else
   18086 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18087 	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'
   18088 	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~
   18089 	$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'
   18090 
   18091 	# Both c and cxx compiler support -rpath directly
   18092 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18093       fi
   18094       hardcode_libdir_separator_GCJ=:
   18095       ;;
   18096 
   18097     solaris*)
   18098       no_undefined_flag_GCJ=' -z text'
   18099       if test "$GCC" = yes; then
   18100 	wlarc='${wl}'
   18101 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18102 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18103 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18104       else
   18105 	wlarc=''
   18106 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18107 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18108   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18109       fi
   18110       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18111       hardcode_shlibpath_var_GCJ=no
   18112       case $host_os in
   18113       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18114       *)
   18115 	# The compiler driver will combine and reorder linker options,
   18116 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18117 	# but is careful enough not to reorder.
   18118  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18119 	if test "$GCC" = yes; then
   18120 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18121 	else
   18122 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18123 	fi
   18124 	;;
   18125       esac
   18126       link_all_deplibs_GCJ=yes
   18127       ;;
   18128 
   18129     sunos4*)
   18130       if test "x$host_vendor" = xsequent; then
   18131 	# Use $CC to link under sequent, because it throws in some extra .o
   18132 	# files that make .init and .fini sections work.
   18133 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18134       else
   18135 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18136       fi
   18137       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18138       hardcode_direct_GCJ=yes
   18139       hardcode_minus_L_GCJ=yes
   18140       hardcode_shlibpath_var_GCJ=no
   18141       ;;
   18142 
   18143     sysv4)
   18144       case $host_vendor in
   18145 	sni)
   18146 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18147 	  hardcode_direct_GCJ=yes # is this really true???
   18148 	;;
   18149 	siemens)
   18150 	  ## LD is ld it makes a PLAMLIB
   18151 	  ## CC just makes a GrossModule.
   18152 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18153 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18154 	  hardcode_direct_GCJ=no
   18155         ;;
   18156 	motorola)
   18157 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18158 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18159 	;;
   18160       esac
   18161       runpath_var='LD_RUN_PATH'
   18162       hardcode_shlibpath_var_GCJ=no
   18163       ;;
   18164 
   18165     sysv4.3*)
   18166       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18167       hardcode_shlibpath_var_GCJ=no
   18168       export_dynamic_flag_spec_GCJ='-Bexport'
   18169       ;;
   18170 
   18171     sysv4*MP*)
   18172       if test -d /usr/nec; then
   18173 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18174 	hardcode_shlibpath_var_GCJ=no
   18175 	runpath_var=LD_RUN_PATH
   18176 	hardcode_runpath_var=yes
   18177 	ld_shlibs_GCJ=yes
   18178       fi
   18179       ;;
   18180 
   18181     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18182       no_undefined_flag_GCJ='${wl}-z,text'
   18183       archive_cmds_need_lc_GCJ=no
   18184       hardcode_shlibpath_var_GCJ=no
   18185       runpath_var='LD_RUN_PATH'
   18186 
   18187       if test "$GCC" = yes; then
   18188 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18189 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18190       else
   18191 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18192 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18193       fi
   18194       ;;
   18195 
   18196     sysv5* | sco3.2v5* | sco5v6*)
   18197       # Note: We can NOT use -z defs as we might desire, because we do not
   18198       # link with -lc, and that would cause any symbols used from libc to
   18199       # always be unresolved, which means just about no library would
   18200       # ever link correctly.  If we're not using GNU ld we use -z text
   18201       # though, which does catch some bad symbols but isn't as heavy-handed
   18202       # as -z defs.
   18203       no_undefined_flag_GCJ='${wl}-z,text'
   18204       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18205       archive_cmds_need_lc_GCJ=no
   18206       hardcode_shlibpath_var_GCJ=no
   18207       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18208       hardcode_libdir_separator_GCJ=':'
   18209       link_all_deplibs_GCJ=yes
   18210       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18211       runpath_var='LD_RUN_PATH'
   18212 
   18213       if test "$GCC" = yes; then
   18214 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18215 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18216       else
   18217 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18218 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18219       fi
   18220       ;;
   18221 
   18222     uts4*)
   18223       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18224       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18225       hardcode_shlibpath_var_GCJ=no
   18226       ;;
   18227 
   18228     *)
   18229       ld_shlibs_GCJ=no
   18230       ;;
   18231     esac
   18232   fi
   18233 
   18234 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18235 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   18236 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18237 
   18238 #
   18239 # Do we need to explicitly link libc?
   18240 #
   18241 case "x$archive_cmds_need_lc_GCJ" in
   18242 x|xyes)
   18243   # Assume -lc should be added
   18244   archive_cmds_need_lc_GCJ=yes
   18245 
   18246   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18247     case $archive_cmds_GCJ in
   18248     *'~'*)
   18249       # FIXME: we may have to deal with multi-command sequences.
   18250       ;;
   18251     '$CC '*)
   18252       # Test whether the compiler implicitly links with -lc since on some
   18253       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18254       # to ld, don't add -lc before -lgcc.
   18255       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18256 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   18257       $rm conftest*
   18258       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18259 
   18260       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18261   (eval $ac_compile) 2>&5
   18262   ac_status=$?
   18263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18264   (exit $ac_status); } 2>conftest.err; then
   18265         soname=conftest
   18266         lib=conftest
   18267         libobjs=conftest.$ac_objext
   18268         deplibs=
   18269         wl=$lt_prog_compiler_wl_GCJ
   18270 	pic_flag=$lt_prog_compiler_pic_GCJ
   18271         compiler_flags=-v
   18272         linker_flags=-v
   18273         verstring=
   18274         output_objdir=.
   18275         libname=conftest
   18276         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18277         allow_undefined_flag_GCJ=
   18278         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18279   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18280   ac_status=$?
   18281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18282   (exit $ac_status); }
   18283         then
   18284 	  archive_cmds_need_lc_GCJ=no
   18285         else
   18286 	  archive_cmds_need_lc_GCJ=yes
   18287         fi
   18288         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18289       else
   18290         cat conftest.err 1>&5
   18291       fi
   18292       $rm conftest*
   18293       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18294 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   18295       ;;
   18296     esac
   18297   fi
   18298   ;;
   18299 esac
   18300 
   18301 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18302 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   18303 library_names_spec=
   18304 libname_spec='lib$name'
   18305 soname_spec=
   18306 shrext_cmds=".so"
   18307 postinstall_cmds=
   18308 postuninstall_cmds=
   18309 finish_cmds=
   18310 finish_eval=
   18311 shlibpath_var=
   18312 shlibpath_overrides_runpath=unknown
   18313 version_type=none
   18314 dynamic_linker="$host_os ld.so"
   18315 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18316 
   18317 need_lib_prefix=unknown
   18318 hardcode_into_libs=no
   18319 
   18320 # when you set need_version to no, make sure it does not cause -set_version
   18321 # flags to be left without arguments
   18322 need_version=unknown
   18323 
   18324 case $host_os in
   18325 aix3*)
   18326   version_type=linux
   18327   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18328   shlibpath_var=LIBPATH
   18329 
   18330   # AIX 3 has no versioning support, so we append a major version to the name.
   18331   soname_spec='${libname}${release}${shared_ext}$major'
   18332   ;;
   18333 
   18334 aix[4-9]*)
   18335   version_type=linux
   18336   need_lib_prefix=no
   18337   need_version=no
   18338   hardcode_into_libs=yes
   18339   if test "$host_cpu" = ia64; then
   18340     # AIX 5 supports IA64
   18341     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18342     shlibpath_var=LD_LIBRARY_PATH
   18343   else
   18344     # With GCC up to 2.95.x, collect2 would create an import file
   18345     # for dependence libraries.  The import file would start with
   18346     # the line `#! .'.  This would cause the generated library to
   18347     # depend on `.', always an invalid library.  This was fixed in
   18348     # development snapshots of GCC prior to 3.0.
   18349     case $host_os in
   18350       aix4 | aix4.[01] | aix4.[01].*)
   18351       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18352 	   echo ' yes '
   18353 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18354 	:
   18355       else
   18356 	can_build_shared=no
   18357       fi
   18358       ;;
   18359     esac
   18360     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18361     # soname into executable. Probably we can add versioning support to
   18362     # collect2, so additional links can be useful in future.
   18363     if test "$aix_use_runtimelinking" = yes; then
   18364       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18365       # instead of lib<name>.a to let people know that these are not
   18366       # typical AIX shared libraries.
   18367       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18368     else
   18369       # We preserve .a as extension for shared libraries through AIX4.2
   18370       # and later when we are not doing run time linking.
   18371       library_names_spec='${libname}${release}.a $libname.a'
   18372       soname_spec='${libname}${release}${shared_ext}$major'
   18373     fi
   18374     shlibpath_var=LIBPATH
   18375   fi
   18376   ;;
   18377 
   18378 amigaos*)
   18379   library_names_spec='$libname.ixlibrary $libname.a'
   18380   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18381   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'
   18382   ;;
   18383 
   18384 beos*)
   18385   library_names_spec='${libname}${shared_ext}'
   18386   dynamic_linker="$host_os ld.so"
   18387   shlibpath_var=LIBRARY_PATH
   18388   ;;
   18389 
   18390 bsdi[45]*)
   18391   version_type=linux
   18392   need_version=no
   18393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18394   soname_spec='${libname}${release}${shared_ext}$major'
   18395   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18396   shlibpath_var=LD_LIBRARY_PATH
   18397   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18398   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18399   # the default ld.so.conf also contains /usr/contrib/lib and
   18400   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18401   # libtool to hard-code these into programs
   18402   ;;
   18403 
   18404 cygwin* | mingw* | pw32*)
   18405   version_type=windows
   18406   shrext_cmds=".dll"
   18407   need_version=no
   18408   need_lib_prefix=no
   18409 
   18410   case $GCC,$host_os in
   18411   yes,cygwin* | yes,mingw* | yes,pw32*)
   18412     library_names_spec='$libname.dll.a'
   18413     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18414     postinstall_cmds='base_file=`basename \${file}`~
   18415       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18416       dldir=$destdir/`dirname \$dlpath`~
   18417       test -d \$dldir || mkdir -p \$dldir~
   18418       $install_prog $dir/$dlname \$dldir/$dlname~
   18419       chmod a+x \$dldir/$dlname'
   18420     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18421       dlpath=$dir/\$dldll~
   18422        $rm \$dlpath'
   18423     shlibpath_overrides_runpath=yes
   18424 
   18425     case $host_os in
   18426     cygwin*)
   18427       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18428       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18429       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18430       ;;
   18431     mingw*)
   18432       # MinGW DLLs use traditional 'lib' prefix
   18433       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18434       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18435       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18436         # It is most probably a Windows format PATH printed by
   18437         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18438         # path with ; separators, and with drive letters. We can handle the
   18439         # drive letters (cygwin fileutils understands them), so leave them,
   18440         # especially as we might pass files found there to a mingw objdump,
   18441         # which wouldn't understand a cygwinified path. Ahh.
   18442         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18443       else
   18444         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18445       fi
   18446       ;;
   18447     pw32*)
   18448       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18449       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18450       ;;
   18451     esac
   18452     ;;
   18453 
   18454   *)
   18455     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18456     ;;
   18457   esac
   18458   dynamic_linker='Win32 ld.exe'
   18459   # FIXME: first we should search . and the directory the executable is in
   18460   shlibpath_var=PATH
   18461   ;;
   18462 
   18463 darwin* | rhapsody*)
   18464   dynamic_linker="$host_os dyld"
   18465   version_type=darwin
   18466   need_lib_prefix=no
   18467   need_version=no
   18468   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18469   soname_spec='${libname}${release}${major}$shared_ext'
   18470   shlibpath_overrides_runpath=yes
   18471   shlibpath_var=DYLD_LIBRARY_PATH
   18472   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18473 
   18474   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18475   ;;
   18476 
   18477 dgux*)
   18478   version_type=linux
   18479   need_lib_prefix=no
   18480   need_version=no
   18481   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18482   soname_spec='${libname}${release}${shared_ext}$major'
   18483   shlibpath_var=LD_LIBRARY_PATH
   18484   ;;
   18485 
   18486 freebsd1*)
   18487   dynamic_linker=no
   18488   ;;
   18489 
   18490 freebsd* | dragonfly*)
   18491   # DragonFly does not have aout.  When/if they implement a new
   18492   # versioning mechanism, adjust this.
   18493   if test -x /usr/bin/objformat; then
   18494     objformat=`/usr/bin/objformat`
   18495   else
   18496     case $host_os in
   18497     freebsd[123]*) objformat=aout ;;
   18498     *) objformat=elf ;;
   18499     esac
   18500   fi
   18501   # Handle Gentoo/FreeBSD as it was Linux
   18502   case $host_vendor in
   18503     gentoo)
   18504       version_type=linux ;;
   18505     *)
   18506       version_type=freebsd-$objformat ;;
   18507   esac
   18508 
   18509   case $version_type in
   18510     freebsd-elf*)
   18511       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18512       need_version=no
   18513       need_lib_prefix=no
   18514       ;;
   18515     freebsd-*)
   18516       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18517       need_version=yes
   18518       ;;
   18519     linux)
   18520       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18521       soname_spec='${libname}${release}${shared_ext}$major'
   18522       need_lib_prefix=no
   18523       need_version=no
   18524       ;;
   18525   esac
   18526   shlibpath_var=LD_LIBRARY_PATH
   18527   case $host_os in
   18528   freebsd2*)
   18529     shlibpath_overrides_runpath=yes
   18530     ;;
   18531   freebsd3.[01]* | freebsdelf3.[01]*)
   18532     shlibpath_overrides_runpath=yes
   18533     hardcode_into_libs=yes
   18534     ;;
   18535   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18536   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18537     shlibpath_overrides_runpath=no
   18538     hardcode_into_libs=yes
   18539     ;;
   18540   *) # from 4.6 on, and DragonFly
   18541     shlibpath_overrides_runpath=yes
   18542     hardcode_into_libs=yes
   18543     ;;
   18544   esac
   18545   ;;
   18546 
   18547 gnu*)
   18548   version_type=linux
   18549   need_lib_prefix=no
   18550   need_version=no
   18551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18552   soname_spec='${libname}${release}${shared_ext}$major'
   18553   shlibpath_var=LD_LIBRARY_PATH
   18554   hardcode_into_libs=yes
   18555   ;;
   18556 
   18557 hpux9* | hpux10* | hpux11*)
   18558   # Give a soname corresponding to the major version so that dld.sl refuses to
   18559   # link against other versions.
   18560   version_type=sunos
   18561   need_lib_prefix=no
   18562   need_version=no
   18563   case $host_cpu in
   18564   ia64*)
   18565     shrext_cmds='.so'
   18566     hardcode_into_libs=yes
   18567     dynamic_linker="$host_os dld.so"
   18568     shlibpath_var=LD_LIBRARY_PATH
   18569     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18570     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18571     soname_spec='${libname}${release}${shared_ext}$major'
   18572     if test "X$HPUX_IA64_MODE" = X32; then
   18573       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18574     else
   18575       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18576     fi
   18577     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18578     ;;
   18579    hppa*64*)
   18580      shrext_cmds='.sl'
   18581      hardcode_into_libs=yes
   18582      dynamic_linker="$host_os dld.sl"
   18583      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18584      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18585      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18586      soname_spec='${libname}${release}${shared_ext}$major'
   18587      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18588      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18589      ;;
   18590    *)
   18591     shrext_cmds='.sl'
   18592     dynamic_linker="$host_os dld.sl"
   18593     shlibpath_var=SHLIB_PATH
   18594     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18595     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18596     soname_spec='${libname}${release}${shared_ext}$major'
   18597     ;;
   18598   esac
   18599   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18600   postinstall_cmds='chmod 555 $lib'
   18601   ;;
   18602 
   18603 interix[3-9]*)
   18604   version_type=linux
   18605   need_lib_prefix=no
   18606   need_version=no
   18607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18608   soname_spec='${libname}${release}${shared_ext}$major'
   18609   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18610   shlibpath_var=LD_LIBRARY_PATH
   18611   shlibpath_overrides_runpath=no
   18612   hardcode_into_libs=yes
   18613   ;;
   18614 
   18615 irix5* | irix6* | nonstopux*)
   18616   case $host_os in
   18617     nonstopux*) version_type=nonstopux ;;
   18618     *)
   18619 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18620 		version_type=linux
   18621 	else
   18622 		version_type=irix
   18623 	fi ;;
   18624   esac
   18625   need_lib_prefix=no
   18626   need_version=no
   18627   soname_spec='${libname}${release}${shared_ext}$major'
   18628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18629   case $host_os in
   18630   irix5* | nonstopux*)
   18631     libsuff= shlibsuff=
   18632     ;;
   18633   *)
   18634     case $LD in # libtool.m4 will add one of these switches to LD
   18635     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18636       libsuff= shlibsuff= libmagic=32-bit;;
   18637     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18638       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18639     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18640       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18641     *) libsuff= shlibsuff= libmagic=never-match;;
   18642     esac
   18643     ;;
   18644   esac
   18645   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18646   shlibpath_overrides_runpath=no
   18647   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18648   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18649   hardcode_into_libs=yes
   18650   ;;
   18651 
   18652 # No shared lib support for Linux oldld, aout, or coff.
   18653 linux*oldld* | linux*aout* | linux*coff*)
   18654   dynamic_linker=no
   18655   ;;
   18656 
   18657 # This must be Linux ELF.
   18658 linux* | k*bsd*-gnu)
   18659   version_type=linux
   18660   need_lib_prefix=no
   18661   need_version=no
   18662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18663   soname_spec='${libname}${release}${shared_ext}$major'
   18664   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18665   shlibpath_var=LD_LIBRARY_PATH
   18666   shlibpath_overrides_runpath=no
   18667   # This implies no fast_install, which is unacceptable.
   18668   # Some rework will be needed to allow for fast_install
   18669   # before this can be enabled.
   18670   hardcode_into_libs=yes
   18671 
   18672   # Append ld.so.conf contents to the search path
   18673   if test -f /etc/ld.so.conf; then
   18674     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18675     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18676   fi
   18677 
   18678   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18679   # powerpc, because MkLinux only supported shared libraries with the
   18680   # GNU dynamic linker.  Since this was broken with cross compilers,
   18681   # most powerpc-linux boxes support dynamic linking these days and
   18682   # people can always --disable-shared, the test was removed, and we
   18683   # assume the GNU/Linux dynamic linker is in use.
   18684   dynamic_linker='GNU/Linux ld.so'
   18685   ;;
   18686 
   18687 netbsd*)
   18688   version_type=sunos
   18689   need_lib_prefix=no
   18690   need_version=no
   18691   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18692     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18693     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18694     dynamic_linker='NetBSD (a.out) ld.so'
   18695   else
   18696     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18697     soname_spec='${libname}${release}${shared_ext}$major'
   18698     dynamic_linker='NetBSD ld.elf_so'
   18699   fi
   18700   shlibpath_var=LD_LIBRARY_PATH
   18701   shlibpath_overrides_runpath=yes
   18702   hardcode_into_libs=yes
   18703   ;;
   18704 
   18705 newsos6)
   18706   version_type=linux
   18707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18708   shlibpath_var=LD_LIBRARY_PATH
   18709   shlibpath_overrides_runpath=yes
   18710   ;;
   18711 
   18712 nto-qnx*)
   18713   version_type=linux
   18714   need_lib_prefix=no
   18715   need_version=no
   18716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18717   soname_spec='${libname}${release}${shared_ext}$major'
   18718   shlibpath_var=LD_LIBRARY_PATH
   18719   shlibpath_overrides_runpath=yes
   18720   ;;
   18721 
   18722 openbsd*)
   18723   version_type=sunos
   18724   sys_lib_dlsearch_path_spec="/usr/lib"
   18725   need_lib_prefix=no
   18726   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18727   case $host_os in
   18728     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18729     *)                         need_version=no  ;;
   18730   esac
   18731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18732   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18733   shlibpath_var=LD_LIBRARY_PATH
   18734   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18735     case $host_os in
   18736       openbsd2.[89] | openbsd2.[89].*)
   18737 	shlibpath_overrides_runpath=no
   18738 	;;
   18739       *)
   18740 	shlibpath_overrides_runpath=yes
   18741 	;;
   18742       esac
   18743   else
   18744     shlibpath_overrides_runpath=yes
   18745   fi
   18746   ;;
   18747 
   18748 os2*)
   18749   libname_spec='$name'
   18750   shrext_cmds=".dll"
   18751   need_lib_prefix=no
   18752   library_names_spec='$libname${shared_ext} $libname.a'
   18753   dynamic_linker='OS/2 ld.exe'
   18754   shlibpath_var=LIBPATH
   18755   ;;
   18756 
   18757 osf3* | osf4* | osf5*)
   18758   version_type=osf
   18759   need_lib_prefix=no
   18760   need_version=no
   18761   soname_spec='${libname}${release}${shared_ext}$major'
   18762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18763   shlibpath_var=LD_LIBRARY_PATH
   18764   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18765   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18766   ;;
   18767 
   18768 rdos*)
   18769   dynamic_linker=no
   18770   ;;
   18771 
   18772 solaris*)
   18773   version_type=linux
   18774   need_lib_prefix=no
   18775   need_version=no
   18776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18777   soname_spec='${libname}${release}${shared_ext}$major'
   18778   shlibpath_var=LD_LIBRARY_PATH
   18779   shlibpath_overrides_runpath=yes
   18780   hardcode_into_libs=yes
   18781   # ldd complains unless libraries are executable
   18782   postinstall_cmds='chmod +x $lib'
   18783   ;;
   18784 
   18785 sunos4*)
   18786   version_type=sunos
   18787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18788   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18789   shlibpath_var=LD_LIBRARY_PATH
   18790   shlibpath_overrides_runpath=yes
   18791   if test "$with_gnu_ld" = yes; then
   18792     need_lib_prefix=no
   18793   fi
   18794   need_version=yes
   18795   ;;
   18796 
   18797 sysv4 | sysv4.3*)
   18798   version_type=linux
   18799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18800   soname_spec='${libname}${release}${shared_ext}$major'
   18801   shlibpath_var=LD_LIBRARY_PATH
   18802   case $host_vendor in
   18803     sni)
   18804       shlibpath_overrides_runpath=no
   18805       need_lib_prefix=no
   18806       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18807       runpath_var=LD_RUN_PATH
   18808       ;;
   18809     siemens)
   18810       need_lib_prefix=no
   18811       ;;
   18812     motorola)
   18813       need_lib_prefix=no
   18814       need_version=no
   18815       shlibpath_overrides_runpath=no
   18816       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18817       ;;
   18818   esac
   18819   ;;
   18820 
   18821 sysv4*MP*)
   18822   if test -d /usr/nec ;then
   18823     version_type=linux
   18824     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18825     soname_spec='$libname${shared_ext}.$major'
   18826     shlibpath_var=LD_LIBRARY_PATH
   18827   fi
   18828   ;;
   18829 
   18830 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18831   version_type=freebsd-elf
   18832   need_lib_prefix=no
   18833   need_version=no
   18834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18835   soname_spec='${libname}${release}${shared_ext}$major'
   18836   shlibpath_var=LD_LIBRARY_PATH
   18837   hardcode_into_libs=yes
   18838   if test "$with_gnu_ld" = yes; then
   18839     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18840     shlibpath_overrides_runpath=no
   18841   else
   18842     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18843     shlibpath_overrides_runpath=yes
   18844     case $host_os in
   18845       sco3.2v5*)
   18846         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18847 	;;
   18848     esac
   18849   fi
   18850   sys_lib_dlsearch_path_spec='/usr/lib'
   18851   ;;
   18852 
   18853 uts4*)
   18854   version_type=linux
   18855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18856   soname_spec='${libname}${release}${shared_ext}$major'
   18857   shlibpath_var=LD_LIBRARY_PATH
   18858   ;;
   18859 
   18860 *)
   18861   dynamic_linker=no
   18862   ;;
   18863 esac
   18864 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18865 echo "${ECHO_T}$dynamic_linker" >&6; }
   18866 test "$dynamic_linker" = no && can_build_shared=no
   18867 
   18868 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   18869   echo $ECHO_N "(cached) $ECHO_C" >&6
   18870 else
   18871   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   18872 fi
   18873 
   18874 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   18875 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   18876   echo $ECHO_N "(cached) $ECHO_C" >&6
   18877 else
   18878   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   18879 fi
   18880 
   18881 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   18882 
   18883 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18884 if test "$GCC" = yes; then
   18885   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18886 fi
   18887 
   18888 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18889 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18890 hardcode_action_GCJ=
   18891 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18892    test -n "$runpath_var_GCJ" || \
   18893    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18894 
   18895   # We can hardcode non-existant directories.
   18896   if test "$hardcode_direct_GCJ" != no &&
   18897      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18898      # have to relink, otherwise we might link with an installed library
   18899      # when we should be linking with a yet-to-be-installed one
   18900      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18901      test "$hardcode_minus_L_GCJ" != no; then
   18902     # Linking always hardcodes the temporary library directory.
   18903     hardcode_action_GCJ=relink
   18904   else
   18905     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18906     hardcode_action_GCJ=immediate
   18907   fi
   18908 else
   18909   # We cannot hardcode anything, or else we can only hardcode existing
   18910   # directories.
   18911   hardcode_action_GCJ=unsupported
   18912 fi
   18913 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18914 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18915 
   18916 if test "$hardcode_action_GCJ" = relink; then
   18917   # Fast installation is not supported
   18918   enable_fast_install=no
   18919 elif test "$shlibpath_overrides_runpath" = yes ||
   18920      test "$enable_shared" = no; then
   18921   # Fast installation is not necessary
   18922   enable_fast_install=needless
   18923 fi
   18924 
   18925 
   18926 # The else clause should only fire when bootstrapping the
   18927 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18928 # with your package, and you will get complaints that there are
   18929 # no rules to generate ltmain.sh.
   18930 if test -f "$ltmain"; then
   18931   # See if we are running on zsh, and set the options which allow our commands through
   18932   # without removal of \ escapes.
   18933   if test -n "${ZSH_VERSION+set}" ; then
   18934     setopt NO_GLOB_SUBST
   18935   fi
   18936   # Now quote all the things that may contain metacharacters while being
   18937   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18938   # variables and quote the copies for generation of the libtool script.
   18939   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18940     SED SHELL STRIP \
   18941     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18942     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18943     deplibs_check_method reload_flag reload_cmds need_locks \
   18944     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18945     lt_cv_sys_global_symbol_to_c_name_address \
   18946     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18947     old_postinstall_cmds old_postuninstall_cmds \
   18948     compiler_GCJ \
   18949     CC_GCJ \
   18950     LD_GCJ \
   18951     lt_prog_compiler_wl_GCJ \
   18952     lt_prog_compiler_pic_GCJ \
   18953     lt_prog_compiler_static_GCJ \
   18954     lt_prog_compiler_no_builtin_flag_GCJ \
   18955     export_dynamic_flag_spec_GCJ \
   18956     thread_safe_flag_spec_GCJ \
   18957     whole_archive_flag_spec_GCJ \
   18958     enable_shared_with_static_runtimes_GCJ \
   18959     old_archive_cmds_GCJ \
   18960     old_archive_from_new_cmds_GCJ \
   18961     predep_objects_GCJ \
   18962     postdep_objects_GCJ \
   18963     predeps_GCJ \
   18964     postdeps_GCJ \
   18965     compiler_lib_search_path_GCJ \
   18966     compiler_lib_search_dirs_GCJ \
   18967     archive_cmds_GCJ \
   18968     archive_expsym_cmds_GCJ \
   18969     postinstall_cmds_GCJ \
   18970     postuninstall_cmds_GCJ \
   18971     old_archive_from_expsyms_cmds_GCJ \
   18972     allow_undefined_flag_GCJ \
   18973     no_undefined_flag_GCJ \
   18974     export_symbols_cmds_GCJ \
   18975     hardcode_libdir_flag_spec_GCJ \
   18976     hardcode_libdir_flag_spec_ld_GCJ \
   18977     hardcode_libdir_separator_GCJ \
   18978     hardcode_automatic_GCJ \
   18979     module_cmds_GCJ \
   18980     module_expsym_cmds_GCJ \
   18981     lt_cv_prog_compiler_c_o_GCJ \
   18982     fix_srcfile_path_GCJ \
   18983     exclude_expsyms_GCJ \
   18984     include_expsyms_GCJ; do
   18985 
   18986     case $var in
   18987     old_archive_cmds_GCJ | \
   18988     old_archive_from_new_cmds_GCJ | \
   18989     archive_cmds_GCJ | \
   18990     archive_expsym_cmds_GCJ | \
   18991     module_cmds_GCJ | \
   18992     module_expsym_cmds_GCJ | \
   18993     old_archive_from_expsyms_cmds_GCJ | \
   18994     export_symbols_cmds_GCJ | \
   18995     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18996     postinstall_cmds | postuninstall_cmds | \
   18997     old_postinstall_cmds | old_postuninstall_cmds | \
   18998     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18999       # Double-quote double-evaled strings.
   19000       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19001       ;;
   19002     *)
   19003       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19004       ;;
   19005     esac
   19006   done
   19007 
   19008   case $lt_echo in
   19009   *'\$0 --fallback-echo"')
   19010     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19011     ;;
   19012   esac
   19013 
   19014 cfgfile="$ofile"
   19015 
   19016   cat <<__EOF__ >> "$cfgfile"
   19017 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19018 
   19019 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19020 
   19021 # Shell to use when invoking shell scripts.
   19022 SHELL=$lt_SHELL
   19023 
   19024 # Whether or not to build shared libraries.
   19025 build_libtool_libs=$enable_shared
   19026 
   19027 # Whether or not to build static libraries.
   19028 build_old_libs=$enable_static
   19029 
   19030 # Whether or not to add -lc for building shared libraries.
   19031 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19032 
   19033 # Whether or not to disallow shared libs when runtime libs are static
   19034 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19035 
   19036 # Whether or not to optimize for fast installation.
   19037 fast_install=$enable_fast_install
   19038 
   19039 # The host system.
   19040 host_alias=$host_alias
   19041 host=$host
   19042 host_os=$host_os
   19043 
   19044 # The build system.
   19045 build_alias=$build_alias
   19046 build=$build
   19047 build_os=$build_os
   19048 
   19049 # An echo program that does not interpret backslashes.
   19050 echo=$lt_echo
   19051 
   19052 # The archiver.
   19053 AR=$lt_AR
   19054 AR_FLAGS=$lt_AR_FLAGS
   19055 
   19056 # A C compiler.
   19057 LTCC=$lt_LTCC
   19058 
   19059 # LTCC compiler flags.
   19060 LTCFLAGS=$lt_LTCFLAGS
   19061 
   19062 # A language-specific compiler.
   19063 CC=$lt_compiler_GCJ
   19064 
   19065 # Is the compiler the GNU C compiler?
   19066 with_gcc=$GCC_GCJ
   19067 
   19068 # An ERE matcher.
   19069 EGREP=$lt_EGREP
   19070 
   19071 # The linker used to build libraries.
   19072 LD=$lt_LD_GCJ
   19073 
   19074 # Whether we need hard or soft links.
   19075 LN_S=$lt_LN_S
   19076 
   19077 # A BSD-compatible nm program.
   19078 NM=$lt_NM
   19079 
   19080 # A symbol stripping program
   19081 STRIP=$lt_STRIP
   19082 
   19083 # Used to examine libraries when file_magic_cmd begins "file"
   19084 MAGIC_CMD=$MAGIC_CMD
   19085 
   19086 # Used on cygwin: DLL creation program.
   19087 DLLTOOL="$DLLTOOL"
   19088 
   19089 # Used on cygwin: object dumper.
   19090 OBJDUMP="$OBJDUMP"
   19091 
   19092 # Used on cygwin: assembler.
   19093 AS="$AS"
   19094 
   19095 # The name of the directory that contains temporary libtool files.
   19096 objdir=$objdir
   19097 
   19098 # How to create reloadable object files.
   19099 reload_flag=$lt_reload_flag
   19100 reload_cmds=$lt_reload_cmds
   19101 
   19102 # How to pass a linker flag through the compiler.
   19103 wl=$lt_lt_prog_compiler_wl_GCJ
   19104 
   19105 # Object file suffix (normally "o").
   19106 objext="$ac_objext"
   19107 
   19108 # Old archive suffix (normally "a").
   19109 libext="$libext"
   19110 
   19111 # Shared library suffix (normally ".so").
   19112 shrext_cmds='$shrext_cmds'
   19113 
   19114 # Executable file suffix (normally "").
   19115 exeext="$exeext"
   19116 
   19117 # Additional compiler flags for building library objects.
   19118 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19119 pic_mode=$pic_mode
   19120 
   19121 # What is the maximum length of a command?
   19122 max_cmd_len=$lt_cv_sys_max_cmd_len
   19123 
   19124 # Does compiler simultaneously support -c and -o options?
   19125 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19126 
   19127 # Must we lock files when doing compilation?
   19128 need_locks=$lt_need_locks
   19129 
   19130 # Do we need the lib prefix for modules?
   19131 need_lib_prefix=$need_lib_prefix
   19132 
   19133 # Do we need a version for libraries?
   19134 need_version=$need_version
   19135 
   19136 # Whether dlopen is supported.
   19137 dlopen_support=$enable_dlopen
   19138 
   19139 # Whether dlopen of programs is supported.
   19140 dlopen_self=$enable_dlopen_self
   19141 
   19142 # Whether dlopen of statically linked programs is supported.
   19143 dlopen_self_static=$enable_dlopen_self_static
   19144 
   19145 # Compiler flag to prevent dynamic linking.
   19146 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19147 
   19148 # Compiler flag to turn off builtin functions.
   19149 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19150 
   19151 # Compiler flag to allow reflexive dlopens.
   19152 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19153 
   19154 # Compiler flag to generate shared objects directly from archives.
   19155 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19156 
   19157 # Compiler flag to generate thread-safe objects.
   19158 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19159 
   19160 # Library versioning type.
   19161 version_type=$version_type
   19162 
   19163 # Format of library name prefix.
   19164 libname_spec=$lt_libname_spec
   19165 
   19166 # List of archive names.  First name is the real one, the rest are links.
   19167 # The last name is the one that the linker finds with -lNAME.
   19168 library_names_spec=$lt_library_names_spec
   19169 
   19170 # The coded name of the library, if different from the real name.
   19171 soname_spec=$lt_soname_spec
   19172 
   19173 # Commands used to build and install an old-style archive.
   19174 RANLIB=$lt_RANLIB
   19175 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19176 old_postinstall_cmds=$lt_old_postinstall_cmds
   19177 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19178 
   19179 # Create an old-style archive from a shared archive.
   19180 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19181 
   19182 # Create a temporary old-style archive to link instead of a shared archive.
   19183 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19184 
   19185 # Commands used to build and install a shared archive.
   19186 archive_cmds=$lt_archive_cmds_GCJ
   19187 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19188 postinstall_cmds=$lt_postinstall_cmds
   19189 postuninstall_cmds=$lt_postuninstall_cmds
   19190 
   19191 # Commands used to build a loadable module (assumed same as above if empty)
   19192 module_cmds=$lt_module_cmds_GCJ
   19193 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19194 
   19195 # Commands to strip libraries.
   19196 old_striplib=$lt_old_striplib
   19197 striplib=$lt_striplib
   19198 
   19199 # Dependencies to place before the objects being linked to create a
   19200 # shared library.
   19201 predep_objects=$lt_predep_objects_GCJ
   19202 
   19203 # Dependencies to place after the objects being linked to create a
   19204 # shared library.
   19205 postdep_objects=$lt_postdep_objects_GCJ
   19206 
   19207 # Dependencies to place before the objects being linked to create a
   19208 # shared library.
   19209 predeps=$lt_predeps_GCJ
   19210 
   19211 # Dependencies to place after the objects being linked to create a
   19212 # shared library.
   19213 postdeps=$lt_postdeps_GCJ
   19214 
   19215 # The directories searched by this compiler when creating a shared
   19216 # library
   19217 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19218 
   19219 # The library search path used internally by the compiler when linking
   19220 # a shared library.
   19221 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19222 
   19223 # Method to check whether dependent libraries are shared objects.
   19224 deplibs_check_method=$lt_deplibs_check_method
   19225 
   19226 # Command to use when deplibs_check_method == file_magic.
   19227 file_magic_cmd=$lt_file_magic_cmd
   19228 
   19229 # Flag that allows shared libraries with undefined symbols to be built.
   19230 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19231 
   19232 # Flag that forces no undefined symbols.
   19233 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19234 
   19235 # Commands used to finish a libtool library installation in a directory.
   19236 finish_cmds=$lt_finish_cmds
   19237 
   19238 # Same as above, but a single script fragment to be evaled but not shown.
   19239 finish_eval=$lt_finish_eval
   19240 
   19241 # Take the output of nm and produce a listing of raw symbols and C names.
   19242 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19243 
   19244 # Transform the output of nm in a proper C declaration
   19245 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19246 
   19247 # Transform the output of nm in a C name address pair
   19248 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19249 
   19250 # This is the shared library runtime path variable.
   19251 runpath_var=$runpath_var
   19252 
   19253 # This is the shared library path variable.
   19254 shlibpath_var=$shlibpath_var
   19255 
   19256 # Is shlibpath searched before the hard-coded library search path?
   19257 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19258 
   19259 # How to hardcode a shared library path into an executable.
   19260 hardcode_action=$hardcode_action_GCJ
   19261 
   19262 # Whether we should hardcode library paths into libraries.
   19263 hardcode_into_libs=$hardcode_into_libs
   19264 
   19265 # Flag to hardcode \$libdir into a binary during linking.
   19266 # This must work even if \$libdir does not exist.
   19267 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19268 
   19269 # If ld is used when linking, flag to hardcode \$libdir into
   19270 # a binary during linking. This must work even if \$libdir does
   19271 # not exist.
   19272 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19273 
   19274 # Whether we need a single -rpath flag with a separated argument.
   19275 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19276 
   19277 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19278 # resulting binary.
   19279 hardcode_direct=$hardcode_direct_GCJ
   19280 
   19281 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19282 # resulting binary.
   19283 hardcode_minus_L=$hardcode_minus_L_GCJ
   19284 
   19285 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19286 # the resulting binary.
   19287 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19288 
   19289 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19290 # and all subsequent libraries and executables linked against it.
   19291 hardcode_automatic=$hardcode_automatic_GCJ
   19292 
   19293 # Variables whose values should be saved in libtool wrapper scripts and
   19294 # restored at relink time.
   19295 variables_saved_for_relink="$variables_saved_for_relink"
   19296 
   19297 # Whether libtool must link a program against all its dependency libraries.
   19298 link_all_deplibs=$link_all_deplibs_GCJ
   19299 
   19300 # Compile-time system search path for libraries
   19301 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19302 
   19303 # Run-time system search path for libraries
   19304 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19305 
   19306 # Fix the shell variable \$srcfile for the compiler.
   19307 fix_srcfile_path=$lt_fix_srcfile_path
   19308 
   19309 # Set to yes if exported symbols are required.
   19310 always_export_symbols=$always_export_symbols_GCJ
   19311 
   19312 # The commands to list exported symbols.
   19313 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19314 
   19315 # The commands to extract the exported symbol list from a shared archive.
   19316 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19317 
   19318 # Symbols that should not be listed in the preloaded symbols.
   19319 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19320 
   19321 # Symbols that must always be exported.
   19322 include_expsyms=$lt_include_expsyms_GCJ
   19323 
   19324 # ### END LIBTOOL TAG CONFIG: $tagname
   19325 
   19326 __EOF__
   19327 
   19328 
   19329 else
   19330   # If there is no Makefile yet, we rely on a make rule to execute
   19331   # `config.status --recheck' to rerun these tests and create the
   19332   # libtool script then.
   19333   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19334   if test -f "$ltmain_in"; then
   19335     test -f Makefile && make "$ltmain"
   19336   fi
   19337 fi
   19338 
   19339 
   19340 ac_ext=c
   19341 ac_cpp='$CPP $CPPFLAGS'
   19342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19345 
   19346 CC="$lt_save_CC"
   19347 
   19348 	else
   19349 	  tagname=""
   19350 	fi
   19351 	;;
   19352 
   19353       RC)
   19354 
   19355 
   19356 # Source file extension for RC test sources.
   19357 ac_ext=rc
   19358 
   19359 # Object file extension for compiled RC test sources.
   19360 objext=o
   19361 objext_RC=$objext
   19362 
   19363 # Code to be used in simple compile tests
   19364 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19365 
   19366 # Code to be used in simple link tests
   19367 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19368 
   19369 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19370 
   19371 # If no C compiler was specified, use CC.
   19372 LTCC=${LTCC-"$CC"}
   19373 
   19374 # If no C compiler flags were specified, use CFLAGS.
   19375 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19376 
   19377 # Allow CC to be a program name with arguments.
   19378 compiler=$CC
   19379 
   19380 
   19381 # save warnings/boilerplate of simple test code
   19382 ac_outfile=conftest.$ac_objext
   19383 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19384 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19385 _lt_compiler_boilerplate=`cat conftest.err`
   19386 $rm conftest*
   19387 
   19388 ac_outfile=conftest.$ac_objext
   19389 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19390 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19391 _lt_linker_boilerplate=`cat conftest.err`
   19392 $rm -r conftest*
   19393 
   19394 
   19395 # Allow CC to be a program name with arguments.
   19396 lt_save_CC="$CC"
   19397 CC=${RC-"windres"}
   19398 compiler=$CC
   19399 compiler_RC=$CC
   19400 for cc_temp in $compiler""; do
   19401   case $cc_temp in
   19402     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19403     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19404     \-*) ;;
   19405     *) break;;
   19406   esac
   19407 done
   19408 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19409 
   19410 lt_cv_prog_compiler_c_o_RC=yes
   19411 
   19412 # The else clause should only fire when bootstrapping the
   19413 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19414 # with your package, and you will get complaints that there are
   19415 # no rules to generate ltmain.sh.
   19416 if test -f "$ltmain"; then
   19417   # See if we are running on zsh, and set the options which allow our commands through
   19418   # without removal of \ escapes.
   19419   if test -n "${ZSH_VERSION+set}" ; then
   19420     setopt NO_GLOB_SUBST
   19421   fi
   19422   # Now quote all the things that may contain metacharacters while being
   19423   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19424   # variables and quote the copies for generation of the libtool script.
   19425   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19426     SED SHELL STRIP \
   19427     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19428     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19429     deplibs_check_method reload_flag reload_cmds need_locks \
   19430     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19431     lt_cv_sys_global_symbol_to_c_name_address \
   19432     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19433     old_postinstall_cmds old_postuninstall_cmds \
   19434     compiler_RC \
   19435     CC_RC \
   19436     LD_RC \
   19437     lt_prog_compiler_wl_RC \
   19438     lt_prog_compiler_pic_RC \
   19439     lt_prog_compiler_static_RC \
   19440     lt_prog_compiler_no_builtin_flag_RC \
   19441     export_dynamic_flag_spec_RC \
   19442     thread_safe_flag_spec_RC \
   19443     whole_archive_flag_spec_RC \
   19444     enable_shared_with_static_runtimes_RC \
   19445     old_archive_cmds_RC \
   19446     old_archive_from_new_cmds_RC \
   19447     predep_objects_RC \
   19448     postdep_objects_RC \
   19449     predeps_RC \
   19450     postdeps_RC \
   19451     compiler_lib_search_path_RC \
   19452     compiler_lib_search_dirs_RC \
   19453     archive_cmds_RC \
   19454     archive_expsym_cmds_RC \
   19455     postinstall_cmds_RC \
   19456     postuninstall_cmds_RC \
   19457     old_archive_from_expsyms_cmds_RC \
   19458     allow_undefined_flag_RC \
   19459     no_undefined_flag_RC \
   19460     export_symbols_cmds_RC \
   19461     hardcode_libdir_flag_spec_RC \
   19462     hardcode_libdir_flag_spec_ld_RC \
   19463     hardcode_libdir_separator_RC \
   19464     hardcode_automatic_RC \
   19465     module_cmds_RC \
   19466     module_expsym_cmds_RC \
   19467     lt_cv_prog_compiler_c_o_RC \
   19468     fix_srcfile_path_RC \
   19469     exclude_expsyms_RC \
   19470     include_expsyms_RC; do
   19471 
   19472     case $var in
   19473     old_archive_cmds_RC | \
   19474     old_archive_from_new_cmds_RC | \
   19475     archive_cmds_RC | \
   19476     archive_expsym_cmds_RC | \
   19477     module_cmds_RC | \
   19478     module_expsym_cmds_RC | \
   19479     old_archive_from_expsyms_cmds_RC | \
   19480     export_symbols_cmds_RC | \
   19481     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19482     postinstall_cmds | postuninstall_cmds | \
   19483     old_postinstall_cmds | old_postuninstall_cmds | \
   19484     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19485       # Double-quote double-evaled strings.
   19486       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19487       ;;
   19488     *)
   19489       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19490       ;;
   19491     esac
   19492   done
   19493 
   19494   case $lt_echo in
   19495   *'\$0 --fallback-echo"')
   19496     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19497     ;;
   19498   esac
   19499 
   19500 cfgfile="$ofile"
   19501 
   19502   cat <<__EOF__ >> "$cfgfile"
   19503 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19504 
   19505 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19506 
   19507 # Shell to use when invoking shell scripts.
   19508 SHELL=$lt_SHELL
   19509 
   19510 # Whether or not to build shared libraries.
   19511 build_libtool_libs=$enable_shared
   19512 
   19513 # Whether or not to build static libraries.
   19514 build_old_libs=$enable_static
   19515 
   19516 # Whether or not to add -lc for building shared libraries.
   19517 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19518 
   19519 # Whether or not to disallow shared libs when runtime libs are static
   19520 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19521 
   19522 # Whether or not to optimize for fast installation.
   19523 fast_install=$enable_fast_install
   19524 
   19525 # The host system.
   19526 host_alias=$host_alias
   19527 host=$host
   19528 host_os=$host_os
   19529 
   19530 # The build system.
   19531 build_alias=$build_alias
   19532 build=$build
   19533 build_os=$build_os
   19534 
   19535 # An echo program that does not interpret backslashes.
   19536 echo=$lt_echo
   19537 
   19538 # The archiver.
   19539 AR=$lt_AR
   19540 AR_FLAGS=$lt_AR_FLAGS
   19541 
   19542 # A C compiler.
   19543 LTCC=$lt_LTCC
   19544 
   19545 # LTCC compiler flags.
   19546 LTCFLAGS=$lt_LTCFLAGS
   19547 
   19548 # A language-specific compiler.
   19549 CC=$lt_compiler_RC
   19550 
   19551 # Is the compiler the GNU C compiler?
   19552 with_gcc=$GCC_RC
   19553 
   19554 # An ERE matcher.
   19555 EGREP=$lt_EGREP
   19556 
   19557 # The linker used to build libraries.
   19558 LD=$lt_LD_RC
   19559 
   19560 # Whether we need hard or soft links.
   19561 LN_S=$lt_LN_S
   19562 
   19563 # A BSD-compatible nm program.
   19564 NM=$lt_NM
   19565 
   19566 # A symbol stripping program
   19567 STRIP=$lt_STRIP
   19568 
   19569 # Used to examine libraries when file_magic_cmd begins "file"
   19570 MAGIC_CMD=$MAGIC_CMD
   19571 
   19572 # Used on cygwin: DLL creation program.
   19573 DLLTOOL="$DLLTOOL"
   19574 
   19575 # Used on cygwin: object dumper.
   19576 OBJDUMP="$OBJDUMP"
   19577 
   19578 # Used on cygwin: assembler.
   19579 AS="$AS"
   19580 
   19581 # The name of the directory that contains temporary libtool files.
   19582 objdir=$objdir
   19583 
   19584 # How to create reloadable object files.
   19585 reload_flag=$lt_reload_flag
   19586 reload_cmds=$lt_reload_cmds
   19587 
   19588 # How to pass a linker flag through the compiler.
   19589 wl=$lt_lt_prog_compiler_wl_RC
   19590 
   19591 # Object file suffix (normally "o").
   19592 objext="$ac_objext"
   19593 
   19594 # Old archive suffix (normally "a").
   19595 libext="$libext"
   19596 
   19597 # Shared library suffix (normally ".so").
   19598 shrext_cmds='$shrext_cmds'
   19599 
   19600 # Executable file suffix (normally "").
   19601 exeext="$exeext"
   19602 
   19603 # Additional compiler flags for building library objects.
   19604 pic_flag=$lt_lt_prog_compiler_pic_RC
   19605 pic_mode=$pic_mode
   19606 
   19607 # What is the maximum length of a command?
   19608 max_cmd_len=$lt_cv_sys_max_cmd_len
   19609 
   19610 # Does compiler simultaneously support -c and -o options?
   19611 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19612 
   19613 # Must we lock files when doing compilation?
   19614 need_locks=$lt_need_locks
   19615 
   19616 # Do we need the lib prefix for modules?
   19617 need_lib_prefix=$need_lib_prefix
   19618 
   19619 # Do we need a version for libraries?
   19620 need_version=$need_version
   19621 
   19622 # Whether dlopen is supported.
   19623 dlopen_support=$enable_dlopen
   19624 
   19625 # Whether dlopen of programs is supported.
   19626 dlopen_self=$enable_dlopen_self
   19627 
   19628 # Whether dlopen of statically linked programs is supported.
   19629 dlopen_self_static=$enable_dlopen_self_static
   19630 
   19631 # Compiler flag to prevent dynamic linking.
   19632 link_static_flag=$lt_lt_prog_compiler_static_RC
   19633 
   19634 # Compiler flag to turn off builtin functions.
   19635 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19636 
   19637 # Compiler flag to allow reflexive dlopens.
   19638 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19639 
   19640 # Compiler flag to generate shared objects directly from archives.
   19641 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19642 
   19643 # Compiler flag to generate thread-safe objects.
   19644 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19645 
   19646 # Library versioning type.
   19647 version_type=$version_type
   19648 
   19649 # Format of library name prefix.
   19650 libname_spec=$lt_libname_spec
   19651 
   19652 # List of archive names.  First name is the real one, the rest are links.
   19653 # The last name is the one that the linker finds with -lNAME.
   19654 library_names_spec=$lt_library_names_spec
   19655 
   19656 # The coded name of the library, if different from the real name.
   19657 soname_spec=$lt_soname_spec
   19658 
   19659 # Commands used to build and install an old-style archive.
   19660 RANLIB=$lt_RANLIB
   19661 old_archive_cmds=$lt_old_archive_cmds_RC
   19662 old_postinstall_cmds=$lt_old_postinstall_cmds
   19663 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19664 
   19665 # Create an old-style archive from a shared archive.
   19666 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19667 
   19668 # Create a temporary old-style archive to link instead of a shared archive.
   19669 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19670 
   19671 # Commands used to build and install a shared archive.
   19672 archive_cmds=$lt_archive_cmds_RC
   19673 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19674 postinstall_cmds=$lt_postinstall_cmds
   19675 postuninstall_cmds=$lt_postuninstall_cmds
   19676 
   19677 # Commands used to build a loadable module (assumed same as above if empty)
   19678 module_cmds=$lt_module_cmds_RC
   19679 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19680 
   19681 # Commands to strip libraries.
   19682 old_striplib=$lt_old_striplib
   19683 striplib=$lt_striplib
   19684 
   19685 # Dependencies to place before the objects being linked to create a
   19686 # shared library.
   19687 predep_objects=$lt_predep_objects_RC
   19688 
   19689 # Dependencies to place after the objects being linked to create a
   19690 # shared library.
   19691 postdep_objects=$lt_postdep_objects_RC
   19692 
   19693 # Dependencies to place before the objects being linked to create a
   19694 # shared library.
   19695 predeps=$lt_predeps_RC
   19696 
   19697 # Dependencies to place after the objects being linked to create a
   19698 # shared library.
   19699 postdeps=$lt_postdeps_RC
   19700 
   19701 # The directories searched by this compiler when creating a shared
   19702 # library
   19703 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19704 
   19705 # The library search path used internally by the compiler when linking
   19706 # a shared library.
   19707 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19708 
   19709 # Method to check whether dependent libraries are shared objects.
   19710 deplibs_check_method=$lt_deplibs_check_method
   19711 
   19712 # Command to use when deplibs_check_method == file_magic.
   19713 file_magic_cmd=$lt_file_magic_cmd
   19714 
   19715 # Flag that allows shared libraries with undefined symbols to be built.
   19716 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19717 
   19718 # Flag that forces no undefined symbols.
   19719 no_undefined_flag=$lt_no_undefined_flag_RC
   19720 
   19721 # Commands used to finish a libtool library installation in a directory.
   19722 finish_cmds=$lt_finish_cmds
   19723 
   19724 # Same as above, but a single script fragment to be evaled but not shown.
   19725 finish_eval=$lt_finish_eval
   19726 
   19727 # Take the output of nm and produce a listing of raw symbols and C names.
   19728 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19729 
   19730 # Transform the output of nm in a proper C declaration
   19731 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19732 
   19733 # Transform the output of nm in a C name address pair
   19734 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19735 
   19736 # This is the shared library runtime path variable.
   19737 runpath_var=$runpath_var
   19738 
   19739 # This is the shared library path variable.
   19740 shlibpath_var=$shlibpath_var
   19741 
   19742 # Is shlibpath searched before the hard-coded library search path?
   19743 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19744 
   19745 # How to hardcode a shared library path into an executable.
   19746 hardcode_action=$hardcode_action_RC
   19747 
   19748 # Whether we should hardcode library paths into libraries.
   19749 hardcode_into_libs=$hardcode_into_libs
   19750 
   19751 # Flag to hardcode \$libdir into a binary during linking.
   19752 # This must work even if \$libdir does not exist.
   19753 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19754 
   19755 # If ld is used when linking, flag to hardcode \$libdir into
   19756 # a binary during linking. This must work even if \$libdir does
   19757 # not exist.
   19758 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19759 
   19760 # Whether we need a single -rpath flag with a separated argument.
   19761 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19762 
   19763 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19764 # resulting binary.
   19765 hardcode_direct=$hardcode_direct_RC
   19766 
   19767 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19768 # resulting binary.
   19769 hardcode_minus_L=$hardcode_minus_L_RC
   19770 
   19771 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19772 # the resulting binary.
   19773 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19774 
   19775 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19776 # and all subsequent libraries and executables linked against it.
   19777 hardcode_automatic=$hardcode_automatic_RC
   19778 
   19779 # Variables whose values should be saved in libtool wrapper scripts and
   19780 # restored at relink time.
   19781 variables_saved_for_relink="$variables_saved_for_relink"
   19782 
   19783 # Whether libtool must link a program against all its dependency libraries.
   19784 link_all_deplibs=$link_all_deplibs_RC
   19785 
   19786 # Compile-time system search path for libraries
   19787 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19788 
   19789 # Run-time system search path for libraries
   19790 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19791 
   19792 # Fix the shell variable \$srcfile for the compiler.
   19793 fix_srcfile_path=$lt_fix_srcfile_path
   19794 
   19795 # Set to yes if exported symbols are required.
   19796 always_export_symbols=$always_export_symbols_RC
   19797 
   19798 # The commands to list exported symbols.
   19799 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19800 
   19801 # The commands to extract the exported symbol list from a shared archive.
   19802 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19803 
   19804 # Symbols that should not be listed in the preloaded symbols.
   19805 exclude_expsyms=$lt_exclude_expsyms_RC
   19806 
   19807 # Symbols that must always be exported.
   19808 include_expsyms=$lt_include_expsyms_RC
   19809 
   19810 # ### END LIBTOOL TAG CONFIG: $tagname
   19811 
   19812 __EOF__
   19813 
   19814 
   19815 else
   19816   # If there is no Makefile yet, we rely on a make rule to execute
   19817   # `config.status --recheck' to rerun these tests and create the
   19818   # libtool script then.
   19819   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19820   if test -f "$ltmain_in"; then
   19821     test -f Makefile && make "$ltmain"
   19822   fi
   19823 fi
   19824 
   19825 
   19826 ac_ext=c
   19827 ac_cpp='$CPP $CPPFLAGS'
   19828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19831 
   19832 CC="$lt_save_CC"
   19833 
   19834 	;;
   19835 
   19836       *)
   19837 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19838 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19839    { (exit 1); exit 1; }; }
   19840 	;;
   19841       esac
   19842 
   19843       # Append the new tag name to the list of available tags.
   19844       if test -n "$tagname" ; then
   19845       available_tags="$available_tags $tagname"
   19846     fi
   19847     fi
   19848   done
   19849   IFS="$lt_save_ifs"
   19850 
   19851   # Now substitute the updated list of available tags.
   19852   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19853     mv "${ofile}T" "$ofile"
   19854     chmod +x "$ofile"
   19855   else
   19856     rm -f "${ofile}T"
   19857     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19858 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19859    { (exit 1); exit 1; }; }
   19860   fi
   19861 fi
   19862 
   19863 
   19864 
   19865 # This can be used to rebuild libtool when needed
   19866 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19867 
   19868 # Always use our own libtool.
   19869 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19870 
   19871 # Prevent multiple expansion
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 
   19879 
   19880 
   19881 
   19882 
   19883 
   19884 
   19885 
   19886 
   19887 
   19888 
   19889 
   19890 
   19891 
   19892 ac_ext=c
   19893 ac_cpp='$CPP $CPPFLAGS'
   19894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19897 if test -n "$ac_tool_prefix"; then
   19898   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19899 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19902 if test "${ac_cv_prog_CC+set}" = set; then
   19903   echo $ECHO_N "(cached) $ECHO_C" >&6
   19904 else
   19905   if test -n "$CC"; then
   19906   ac_cv_prog_CC="$CC" # Let the user override the test.
   19907 else
   19908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19909 for as_dir in $PATH
   19910 do
   19911   IFS=$as_save_IFS
   19912   test -z "$as_dir" && as_dir=.
   19913   for ac_exec_ext in '' $ac_executable_extensions; do
   19914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19915     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19916     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19917     break 2
   19918   fi
   19919 done
   19920 done
   19921 IFS=$as_save_IFS
   19922 
   19923 fi
   19924 fi
   19925 CC=$ac_cv_prog_CC
   19926 if test -n "$CC"; then
   19927   { echo "$as_me:$LINENO: result: $CC" >&5
   19928 echo "${ECHO_T}$CC" >&6; }
   19929 else
   19930   { echo "$as_me:$LINENO: result: no" >&5
   19931 echo "${ECHO_T}no" >&6; }
   19932 fi
   19933 
   19934 
   19935 fi
   19936 if test -z "$ac_cv_prog_CC"; then
   19937   ac_ct_CC=$CC
   19938   # Extract the first word of "gcc", so it can be a program name with args.
   19939 set dummy gcc; ac_word=$2
   19940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19942 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19943   echo $ECHO_N "(cached) $ECHO_C" >&6
   19944 else
   19945   if test -n "$ac_ct_CC"; then
   19946   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19947 else
   19948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19949 for as_dir in $PATH
   19950 do
   19951   IFS=$as_save_IFS
   19952   test -z "$as_dir" && as_dir=.
   19953   for ac_exec_ext in '' $ac_executable_extensions; do
   19954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19955     ac_cv_prog_ac_ct_CC="gcc"
   19956     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19957     break 2
   19958   fi
   19959 done
   19960 done
   19961 IFS=$as_save_IFS
   19962 
   19963 fi
   19964 fi
   19965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19966 if test -n "$ac_ct_CC"; then
   19967   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19968 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19969 else
   19970   { echo "$as_me:$LINENO: result: no" >&5
   19971 echo "${ECHO_T}no" >&6; }
   19972 fi
   19973 
   19974   if test "x$ac_ct_CC" = x; then
   19975     CC=""
   19976   else
   19977     case $cross_compiling:$ac_tool_warned in
   19978 yes:)
   19979 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19980 whose name does not start with the host triplet.  If you think this
   19981 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19982 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19983 whose name does not start with the host triplet.  If you think this
   19984 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19985 ac_tool_warned=yes ;;
   19986 esac
   19987     CC=$ac_ct_CC
   19988   fi
   19989 else
   19990   CC="$ac_cv_prog_CC"
   19991 fi
   19992 
   19993 if test -z "$CC"; then
   19994           if test -n "$ac_tool_prefix"; then
   19995     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19996 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19999 if test "${ac_cv_prog_CC+set}" = set; then
   20000   echo $ECHO_N "(cached) $ECHO_C" >&6
   20001 else
   20002   if test -n "$CC"; then
   20003   ac_cv_prog_CC="$CC" # Let the user override the test.
   20004 else
   20005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20006 for as_dir in $PATH
   20007 do
   20008   IFS=$as_save_IFS
   20009   test -z "$as_dir" && as_dir=.
   20010   for ac_exec_ext in '' $ac_executable_extensions; do
   20011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20012     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20013     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20014     break 2
   20015   fi
   20016 done
   20017 done
   20018 IFS=$as_save_IFS
   20019 
   20020 fi
   20021 fi
   20022 CC=$ac_cv_prog_CC
   20023 if test -n "$CC"; then
   20024   { echo "$as_me:$LINENO: result: $CC" >&5
   20025 echo "${ECHO_T}$CC" >&6; }
   20026 else
   20027   { echo "$as_me:$LINENO: result: no" >&5
   20028 echo "${ECHO_T}no" >&6; }
   20029 fi
   20030 
   20031 
   20032   fi
   20033 fi
   20034 if test -z "$CC"; then
   20035   # Extract the first word of "cc", so it can be a program name with args.
   20036 set dummy cc; ac_word=$2
   20037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20039 if test "${ac_cv_prog_CC+set}" = set; then
   20040   echo $ECHO_N "(cached) $ECHO_C" >&6
   20041 else
   20042   if test -n "$CC"; then
   20043   ac_cv_prog_CC="$CC" # Let the user override the test.
   20044 else
   20045   ac_prog_rejected=no
   20046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20047 for as_dir in $PATH
   20048 do
   20049   IFS=$as_save_IFS
   20050   test -z "$as_dir" && as_dir=.
   20051   for ac_exec_ext in '' $ac_executable_extensions; do
   20052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20053     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20054        ac_prog_rejected=yes
   20055        continue
   20056      fi
   20057     ac_cv_prog_CC="cc"
   20058     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20059     break 2
   20060   fi
   20061 done
   20062 done
   20063 IFS=$as_save_IFS
   20064 
   20065 if test $ac_prog_rejected = yes; then
   20066   # We found a bogon in the path, so make sure we never use it.
   20067   set dummy $ac_cv_prog_CC
   20068   shift
   20069   if test $# != 0; then
   20070     # We chose a different compiler from the bogus one.
   20071     # However, it has the same basename, so the bogon will be chosen
   20072     # first if we set CC to just the basename; use the full file name.
   20073     shift
   20074     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20075   fi
   20076 fi
   20077 fi
   20078 fi
   20079 CC=$ac_cv_prog_CC
   20080 if test -n "$CC"; then
   20081   { echo "$as_me:$LINENO: result: $CC" >&5
   20082 echo "${ECHO_T}$CC" >&6; }
   20083 else
   20084   { echo "$as_me:$LINENO: result: no" >&5
   20085 echo "${ECHO_T}no" >&6; }
   20086 fi
   20087 
   20088 
   20089 fi
   20090 if test -z "$CC"; then
   20091   if test -n "$ac_tool_prefix"; then
   20092   for ac_prog in cl.exe
   20093   do
   20094     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20095 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20098 if test "${ac_cv_prog_CC+set}" = set; then
   20099   echo $ECHO_N "(cached) $ECHO_C" >&6
   20100 else
   20101   if test -n "$CC"; then
   20102   ac_cv_prog_CC="$CC" # Let the user override the test.
   20103 else
   20104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20105 for as_dir in $PATH
   20106 do
   20107   IFS=$as_save_IFS
   20108   test -z "$as_dir" && as_dir=.
   20109   for ac_exec_ext in '' $ac_executable_extensions; do
   20110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20111     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20112     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20113     break 2
   20114   fi
   20115 done
   20116 done
   20117 IFS=$as_save_IFS
   20118 
   20119 fi
   20120 fi
   20121 CC=$ac_cv_prog_CC
   20122 if test -n "$CC"; then
   20123   { echo "$as_me:$LINENO: result: $CC" >&5
   20124 echo "${ECHO_T}$CC" >&6; }
   20125 else
   20126   { echo "$as_me:$LINENO: result: no" >&5
   20127 echo "${ECHO_T}no" >&6; }
   20128 fi
   20129 
   20130 
   20131     test -n "$CC" && break
   20132   done
   20133 fi
   20134 if test -z "$CC"; then
   20135   ac_ct_CC=$CC
   20136   for ac_prog in cl.exe
   20137 do
   20138   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20139 set dummy $ac_prog; ac_word=$2
   20140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20142 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20143   echo $ECHO_N "(cached) $ECHO_C" >&6
   20144 else
   20145   if test -n "$ac_ct_CC"; then
   20146   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20147 else
   20148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20149 for as_dir in $PATH
   20150 do
   20151   IFS=$as_save_IFS
   20152   test -z "$as_dir" && as_dir=.
   20153   for ac_exec_ext in '' $ac_executable_extensions; do
   20154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20155     ac_cv_prog_ac_ct_CC="$ac_prog"
   20156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20157     break 2
   20158   fi
   20159 done
   20160 done
   20161 IFS=$as_save_IFS
   20162 
   20163 fi
   20164 fi
   20165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20166 if test -n "$ac_ct_CC"; then
   20167   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20168 echo "${ECHO_T}$ac_ct_CC" >&6; }
   20169 else
   20170   { echo "$as_me:$LINENO: result: no" >&5
   20171 echo "${ECHO_T}no" >&6; }
   20172 fi
   20173 
   20174 
   20175   test -n "$ac_ct_CC" && break
   20176 done
   20177 
   20178   if test "x$ac_ct_CC" = x; then
   20179     CC=""
   20180   else
   20181     case $cross_compiling:$ac_tool_warned in
   20182 yes:)
   20183 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20184 whose name does not start with the host triplet.  If you think this
   20185 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20186 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20187 whose name does not start with the host triplet.  If you think this
   20188 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20189 ac_tool_warned=yes ;;
   20190 esac
   20191     CC=$ac_ct_CC
   20192   fi
   20193 fi
   20194 
   20195 fi
   20196 
   20197 
   20198 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20199 See \`config.log' for more details." >&5
   20200 echo "$as_me: error: no acceptable C compiler found in \$PATH
   20201 See \`config.log' for more details." >&2;}
   20202    { (exit 1); exit 1; }; }
   20203 
   20204 # Provide some information about the compiler.
   20205 echo "$as_me:$LINENO: checking for C compiler version" >&5
   20206 ac_compiler=`set X $ac_compile; echo $2`
   20207 { (ac_try="$ac_compiler --version >&5"
   20208 case "(($ac_try" in
   20209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20210   *) ac_try_echo=$ac_try;;
   20211 esac
   20212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20213   (eval "$ac_compiler --version >&5") 2>&5
   20214   ac_status=$?
   20215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20216   (exit $ac_status); }
   20217 { (ac_try="$ac_compiler -v >&5"
   20218 case "(($ac_try" in
   20219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20220   *) ac_try_echo=$ac_try;;
   20221 esac
   20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20223   (eval "$ac_compiler -v >&5") 2>&5
   20224   ac_status=$?
   20225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20226   (exit $ac_status); }
   20227 { (ac_try="$ac_compiler -V >&5"
   20228 case "(($ac_try" in
   20229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20230   *) ac_try_echo=$ac_try;;
   20231 esac
   20232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20233   (eval "$ac_compiler -V >&5") 2>&5
   20234   ac_status=$?
   20235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20236   (exit $ac_status); }
   20237 
   20238 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20239 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   20240 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20241   echo $ECHO_N "(cached) $ECHO_C" >&6
   20242 else
   20243   cat >conftest.$ac_ext <<_ACEOF
   20244 /* confdefs.h.  */
   20245 _ACEOF
   20246 cat confdefs.h >>conftest.$ac_ext
   20247 cat >>conftest.$ac_ext <<_ACEOF
   20248 /* end confdefs.h.  */
   20249 
   20250 int
   20251 main ()
   20252 {
   20253 #ifndef __GNUC__
   20254        choke me
   20255 #endif
   20256 
   20257   ;
   20258   return 0;
   20259 }
   20260 _ACEOF
   20261 rm -f conftest.$ac_objext
   20262 if { (ac_try="$ac_compile"
   20263 case "(($ac_try" in
   20264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20265   *) ac_try_echo=$ac_try;;
   20266 esac
   20267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20268   (eval "$ac_compile") 2>conftest.er1
   20269   ac_status=$?
   20270   grep -v '^ *+' conftest.er1 >conftest.err
   20271   rm -f conftest.er1
   20272   cat conftest.err >&5
   20273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20274   (exit $ac_status); } && {
   20275 	 test -z "$ac_c_werror_flag" ||
   20276 	 test ! -s conftest.err
   20277        } && test -s conftest.$ac_objext; then
   20278   ac_compiler_gnu=yes
   20279 else
   20280   echo "$as_me: failed program was:" >&5
   20281 sed 's/^/| /' conftest.$ac_ext >&5
   20282 
   20283 	ac_compiler_gnu=no
   20284 fi
   20285 
   20286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20287 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20288 
   20289 fi
   20290 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20291 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   20292 GCC=`test $ac_compiler_gnu = yes && echo yes`
   20293 ac_test_CFLAGS=${CFLAGS+set}
   20294 ac_save_CFLAGS=$CFLAGS
   20295 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20296 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   20297 if test "${ac_cv_prog_cc_g+set}" = set; then
   20298   echo $ECHO_N "(cached) $ECHO_C" >&6
   20299 else
   20300   ac_save_c_werror_flag=$ac_c_werror_flag
   20301    ac_c_werror_flag=yes
   20302    ac_cv_prog_cc_g=no
   20303    CFLAGS="-g"
   20304    cat >conftest.$ac_ext <<_ACEOF
   20305 /* confdefs.h.  */
   20306 _ACEOF
   20307 cat confdefs.h >>conftest.$ac_ext
   20308 cat >>conftest.$ac_ext <<_ACEOF
   20309 /* end confdefs.h.  */
   20310 
   20311 int
   20312 main ()
   20313 {
   20314 
   20315   ;
   20316   return 0;
   20317 }
   20318 _ACEOF
   20319 rm -f conftest.$ac_objext
   20320 if { (ac_try="$ac_compile"
   20321 case "(($ac_try" in
   20322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20323   *) ac_try_echo=$ac_try;;
   20324 esac
   20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20326   (eval "$ac_compile") 2>conftest.er1
   20327   ac_status=$?
   20328   grep -v '^ *+' conftest.er1 >conftest.err
   20329   rm -f conftest.er1
   20330   cat conftest.err >&5
   20331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20332   (exit $ac_status); } && {
   20333 	 test -z "$ac_c_werror_flag" ||
   20334 	 test ! -s conftest.err
   20335        } && test -s conftest.$ac_objext; then
   20336   ac_cv_prog_cc_g=yes
   20337 else
   20338   echo "$as_me: failed program was:" >&5
   20339 sed 's/^/| /' conftest.$ac_ext >&5
   20340 
   20341 	CFLAGS=""
   20342       cat >conftest.$ac_ext <<_ACEOF
   20343 /* confdefs.h.  */
   20344 _ACEOF
   20345 cat confdefs.h >>conftest.$ac_ext
   20346 cat >>conftest.$ac_ext <<_ACEOF
   20347 /* end confdefs.h.  */
   20348 
   20349 int
   20350 main ()
   20351 {
   20352 
   20353   ;
   20354   return 0;
   20355 }
   20356 _ACEOF
   20357 rm -f conftest.$ac_objext
   20358 if { (ac_try="$ac_compile"
   20359 case "(($ac_try" in
   20360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20361   *) ac_try_echo=$ac_try;;
   20362 esac
   20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20364   (eval "$ac_compile") 2>conftest.er1
   20365   ac_status=$?
   20366   grep -v '^ *+' conftest.er1 >conftest.err
   20367   rm -f conftest.er1
   20368   cat conftest.err >&5
   20369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20370   (exit $ac_status); } && {
   20371 	 test -z "$ac_c_werror_flag" ||
   20372 	 test ! -s conftest.err
   20373        } && test -s conftest.$ac_objext; then
   20374   :
   20375 else
   20376   echo "$as_me: failed program was:" >&5
   20377 sed 's/^/| /' conftest.$ac_ext >&5
   20378 
   20379 	ac_c_werror_flag=$ac_save_c_werror_flag
   20380 	 CFLAGS="-g"
   20381 	 cat >conftest.$ac_ext <<_ACEOF
   20382 /* confdefs.h.  */
   20383 _ACEOF
   20384 cat confdefs.h >>conftest.$ac_ext
   20385 cat >>conftest.$ac_ext <<_ACEOF
   20386 /* end confdefs.h.  */
   20387 
   20388 int
   20389 main ()
   20390 {
   20391 
   20392   ;
   20393   return 0;
   20394 }
   20395 _ACEOF
   20396 rm -f conftest.$ac_objext
   20397 if { (ac_try="$ac_compile"
   20398 case "(($ac_try" in
   20399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20400   *) ac_try_echo=$ac_try;;
   20401 esac
   20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20403   (eval "$ac_compile") 2>conftest.er1
   20404   ac_status=$?
   20405   grep -v '^ *+' conftest.er1 >conftest.err
   20406   rm -f conftest.er1
   20407   cat conftest.err >&5
   20408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20409   (exit $ac_status); } && {
   20410 	 test -z "$ac_c_werror_flag" ||
   20411 	 test ! -s conftest.err
   20412        } && test -s conftest.$ac_objext; then
   20413   ac_cv_prog_cc_g=yes
   20414 else
   20415   echo "$as_me: failed program was:" >&5
   20416 sed 's/^/| /' conftest.$ac_ext >&5
   20417 
   20418 
   20419 fi
   20420 
   20421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20422 fi
   20423 
   20424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20425 fi
   20426 
   20427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20428    ac_c_werror_flag=$ac_save_c_werror_flag
   20429 fi
   20430 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20431 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   20432 if test "$ac_test_CFLAGS" = set; then
   20433   CFLAGS=$ac_save_CFLAGS
   20434 elif test $ac_cv_prog_cc_g = yes; then
   20435   if test "$GCC" = yes; then
   20436     CFLAGS="-g -O2"
   20437   else
   20438     CFLAGS="-g"
   20439   fi
   20440 else
   20441   if test "$GCC" = yes; then
   20442     CFLAGS="-O2"
   20443   else
   20444     CFLAGS=
   20445   fi
   20446 fi
   20447 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20448 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   20449 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20450   echo $ECHO_N "(cached) $ECHO_C" >&6
   20451 else
   20452   ac_cv_prog_cc_c89=no
   20453 ac_save_CC=$CC
   20454 cat >conftest.$ac_ext <<_ACEOF
   20455 /* confdefs.h.  */
   20456 _ACEOF
   20457 cat confdefs.h >>conftest.$ac_ext
   20458 cat >>conftest.$ac_ext <<_ACEOF
   20459 /* end confdefs.h.  */
   20460 #include <stdarg.h>
   20461 #include <stdio.h>
   20462 #include <sys/types.h>
   20463 #include <sys/stat.h>
   20464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20465 struct buf { int x; };
   20466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20467 static char *e (p, i)
   20468      char **p;
   20469      int i;
   20470 {
   20471   return p[i];
   20472 }
   20473 static char *f (char * (*g) (char **, int), char **p, ...)
   20474 {
   20475   char *s;
   20476   va_list v;
   20477   va_start (v,p);
   20478   s = g (p, va_arg (v,int));
   20479   va_end (v);
   20480   return s;
   20481 }
   20482 
   20483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20484    function prototypes and stuff, but not '\xHH' hex character constants.
   20485    These don't provoke an error unfortunately, instead are silently treated
   20486    as 'x'.  The following induces an error, until -std is added to get
   20487    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20488    array size at least.  It's necessary to write '\x00'==0 to get something
   20489    that's true only with -std.  */
   20490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20491 
   20492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20493    inside strings and character constants.  */
   20494 #define FOO(x) 'x'
   20495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20496 
   20497 int test (int i, double x);
   20498 struct s1 {int (*f) (int a);};
   20499 struct s2 {int (*f) (double a);};
   20500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20501 int argc;
   20502 char **argv;
   20503 int
   20504 main ()
   20505 {
   20506 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20507   ;
   20508   return 0;
   20509 }
   20510 _ACEOF
   20511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20512 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20513 do
   20514   CC="$ac_save_CC $ac_arg"
   20515   rm -f conftest.$ac_objext
   20516 if { (ac_try="$ac_compile"
   20517 case "(($ac_try" in
   20518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20519   *) ac_try_echo=$ac_try;;
   20520 esac
   20521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20522   (eval "$ac_compile") 2>conftest.er1
   20523   ac_status=$?
   20524   grep -v '^ *+' conftest.er1 >conftest.err
   20525   rm -f conftest.er1
   20526   cat conftest.err >&5
   20527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20528   (exit $ac_status); } && {
   20529 	 test -z "$ac_c_werror_flag" ||
   20530 	 test ! -s conftest.err
   20531        } && test -s conftest.$ac_objext; then
   20532   ac_cv_prog_cc_c89=$ac_arg
   20533 else
   20534   echo "$as_me: failed program was:" >&5
   20535 sed 's/^/| /' conftest.$ac_ext >&5
   20536 
   20537 
   20538 fi
   20539 
   20540 rm -f core conftest.err conftest.$ac_objext
   20541   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20542 done
   20543 rm -f conftest.$ac_ext
   20544 CC=$ac_save_CC
   20545 
   20546 fi
   20547 # AC_CACHE_VAL
   20548 case "x$ac_cv_prog_cc_c89" in
   20549   x)
   20550     { echo "$as_me:$LINENO: result: none needed" >&5
   20551 echo "${ECHO_T}none needed" >&6; } ;;
   20552   xno)
   20553     { echo "$as_me:$LINENO: result: unsupported" >&5
   20554 echo "${ECHO_T}unsupported" >&6; } ;;
   20555   *)
   20556     CC="$CC $ac_cv_prog_cc_c89"
   20557     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20558 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   20559 esac
   20560 
   20561 
   20562 ac_ext=c
   20563 ac_cpp='$CPP $CPPFLAGS'
   20564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20567 
   20568 depcc="$CC"   am_compiler_list=
   20569 
   20570 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20571 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   20572 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20573   echo $ECHO_N "(cached) $ECHO_C" >&6
   20574 else
   20575   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20576   # We make a subdir and do the tests there.  Otherwise we can end up
   20577   # making bogus files that we don't know about and never remove.  For
   20578   # instance it was reported that on HP-UX the gcc test will end up
   20579   # making a dummy file named `D' -- because `-MD' means `put the output
   20580   # in D'.
   20581   mkdir conftest.dir
   20582   # Copy depcomp to subdir because otherwise we won't find it if we're
   20583   # using a relative directory.
   20584   cp "$am_depcomp" conftest.dir
   20585   cd conftest.dir
   20586   # We will build objects and dependencies in a subdirectory because
   20587   # it helps to detect inapplicable dependency modes.  For instance
   20588   # both Tru64's cc and ICC support -MD to output dependencies as a
   20589   # side effect of compilation, but ICC will put the dependencies in
   20590   # the current directory while Tru64 will put them in the object
   20591   # directory.
   20592   mkdir sub
   20593 
   20594   am_cv_CC_dependencies_compiler_type=none
   20595   if test "$am_compiler_list" = ""; then
   20596      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20597   fi
   20598   for depmode in $am_compiler_list; do
   20599     # Setup a source with many dependencies, because some compilers
   20600     # like to wrap large dependency lists on column 80 (with \), and
   20601     # we should not choose a depcomp mode which is confused by this.
   20602     #
   20603     # We need to recreate these files for each test, as the compiler may
   20604     # overwrite some of them when testing with obscure command lines.
   20605     # This happens at least with the AIX C compiler.
   20606     : > sub/conftest.c
   20607     for i in 1 2 3 4 5 6; do
   20608       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20609       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20610       # Solaris 8's {/usr,}/bin/sh.
   20611       touch sub/conftst$i.h
   20612     done
   20613     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20614 
   20615     case $depmode in
   20616     nosideeffect)
   20617       # after this tag, mechanisms are not by side-effect, so they'll
   20618       # only be used when explicitly requested
   20619       if test "x$enable_dependency_tracking" = xyes; then
   20620 	continue
   20621       else
   20622 	break
   20623       fi
   20624       ;;
   20625     none) break ;;
   20626     esac
   20627     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20628     # mode.  It turns out that the SunPro C++ compiler does not properly
   20629     # handle `-M -o', and we need to detect this.
   20630     if depmode=$depmode \
   20631        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20632        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20633        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20634          >/dev/null 2>conftest.err &&
   20635        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20636        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20637        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20638        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20639       # icc doesn't choke on unknown options, it will just issue warnings
   20640       # or remarks (even with -Werror).  So we grep stderr for any message
   20641       # that says an option was ignored or not supported.
   20642       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20643       #   icc: Command line warning: ignoring option '-M'; no argument required
   20644       # The diagnosis changed in icc 8.0:
   20645       #   icc: Command line remark: option '-MP' not supported
   20646       if (grep 'ignoring option' conftest.err ||
   20647           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20648         am_cv_CC_dependencies_compiler_type=$depmode
   20649         break
   20650       fi
   20651     fi
   20652   done
   20653 
   20654   cd ..
   20655   rm -rf conftest.dir
   20656 else
   20657   am_cv_CC_dependencies_compiler_type=none
   20658 fi
   20659 
   20660 fi
   20661 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20662 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20663 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20664 
   20665  if
   20666   test "x$enable_dependency_tracking" != xno \
   20667   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20668   am__fastdepCC_TRUE=
   20669   am__fastdepCC_FALSE='#'
   20670 else
   20671   am__fastdepCC_TRUE='#'
   20672   am__fastdepCC_FALSE=
   20673 fi
   20674 
   20675 
   20676 
   20677 
   20678 
   20679 
   20680 # Options
   20681 
   20682 # Check whether --with-xorg-module-dir was given.
   20683 if test "${with_xorg_module_dir+set}" = set; then
   20684   withval=$with_xorg_module_dir; moduledir="$withval"
   20685 else
   20686   moduledir="$libdir/xorg/modules"
   20687 fi
   20688 
   20689 
   20690 
   20691 # Check whether --with-xserver-source was given.
   20692 if test "${with_xserver_source+set}" = set; then
   20693   withval=$with_xserver_source;  XSERVER_SOURCE="$withval"
   20694 else
   20695    XSERVER_SOURCE=""
   20696 fi
   20697 
   20698 
   20699 # Checks for extensions
   20700 
   20701 	SAVE_CFLAGS="$CFLAGS"
   20702 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20703 	cat >conftest.$ac_ext <<_ACEOF
   20704 /* confdefs.h.  */
   20705 _ACEOF
   20706 cat confdefs.h >>conftest.$ac_ext
   20707 cat >>conftest.$ac_ext <<_ACEOF
   20708 /* end confdefs.h.  */
   20709 
   20710 #include "xorg-server.h"
   20711 #if !defined RANDR
   20712 #error RANDR not defined
   20713 #endif
   20714 
   20715 int
   20716 main ()
   20717 {
   20718 
   20719   ;
   20720   return 0;
   20721 }
   20722 _ACEOF
   20723 rm -f conftest.$ac_objext
   20724 if { (ac_try="$ac_compile"
   20725 case "(($ac_try" in
   20726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20727   *) ac_try_echo=$ac_try;;
   20728 esac
   20729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20730   (eval "$ac_compile") 2>conftest.er1
   20731   ac_status=$?
   20732   grep -v '^ *+' conftest.er1 >conftest.err
   20733   rm -f conftest.er1
   20734   cat conftest.err >&5
   20735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20736   (exit $ac_status); } && {
   20737 	 test -z "$ac_c_werror_flag" ||
   20738 	 test ! -s conftest.err
   20739        } && test -s conftest.$ac_objext; then
   20740   _EXT_CHECK=yes
   20741 else
   20742   echo "$as_me: failed program was:" >&5
   20743 sed 's/^/| /' conftest.$ac_ext >&5
   20744 
   20745 	_EXT_CHECK=no
   20746 fi
   20747 
   20748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20749 	CFLAGS="$SAVE_CFLAGS"
   20750 	{ echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20751 echo $ECHO_N "checking if RANDR is defined... $ECHO_C" >&6; }
   20752 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20753 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20754 	if test "$_EXT_CHECK" != no; then
   20755 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20756 	fi
   20757 
   20758 
   20759 	SAVE_CFLAGS="$CFLAGS"
   20760 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20761 	cat >conftest.$ac_ext <<_ACEOF
   20762 /* confdefs.h.  */
   20763 _ACEOF
   20764 cat confdefs.h >>conftest.$ac_ext
   20765 cat >>conftest.$ac_ext <<_ACEOF
   20766 /* end confdefs.h.  */
   20767 
   20768 #include "xorg-server.h"
   20769 #if !defined RENDER
   20770 #error RENDER not defined
   20771 #endif
   20772 
   20773 int
   20774 main ()
   20775 {
   20776 
   20777   ;
   20778   return 0;
   20779 }
   20780 _ACEOF
   20781 rm -f conftest.$ac_objext
   20782 if { (ac_try="$ac_compile"
   20783 case "(($ac_try" in
   20784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20785   *) ac_try_echo=$ac_try;;
   20786 esac
   20787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20788   (eval "$ac_compile") 2>conftest.er1
   20789   ac_status=$?
   20790   grep -v '^ *+' conftest.er1 >conftest.err
   20791   rm -f conftest.er1
   20792   cat conftest.err >&5
   20793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20794   (exit $ac_status); } && {
   20795 	 test -z "$ac_c_werror_flag" ||
   20796 	 test ! -s conftest.err
   20797        } && test -s conftest.$ac_objext; then
   20798   _EXT_CHECK=yes
   20799 else
   20800   echo "$as_me: failed program was:" >&5
   20801 sed 's/^/| /' conftest.$ac_ext >&5
   20802 
   20803 	_EXT_CHECK=no
   20804 fi
   20805 
   20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20807 	CFLAGS="$SAVE_CFLAGS"
   20808 	{ echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20809 echo $ECHO_N "checking if RENDER is defined... $ECHO_C" >&6; }
   20810 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20811 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20812 	if test "$_EXT_CHECK" != no; then
   20813 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20814 	fi
   20815 
   20816 
   20817 	SAVE_CFLAGS="$CFLAGS"
   20818 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20819 	cat >conftest.$ac_ext <<_ACEOF
   20820 /* confdefs.h.  */
   20821 _ACEOF
   20822 cat confdefs.h >>conftest.$ac_ext
   20823 cat >>conftest.$ac_ext <<_ACEOF
   20824 /* end confdefs.h.  */
   20825 
   20826 #include "xorg-server.h"
   20827 #if !defined XV
   20828 #error XV not defined
   20829 #endif
   20830 
   20831 int
   20832 main ()
   20833 {
   20834 
   20835   ;
   20836   return 0;
   20837 }
   20838 _ACEOF
   20839 rm -f conftest.$ac_objext
   20840 if { (ac_try="$ac_compile"
   20841 case "(($ac_try" in
   20842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20843   *) ac_try_echo=$ac_try;;
   20844 esac
   20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20846   (eval "$ac_compile") 2>conftest.er1
   20847   ac_status=$?
   20848   grep -v '^ *+' conftest.er1 >conftest.err
   20849   rm -f conftest.er1
   20850   cat conftest.err >&5
   20851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20852   (exit $ac_status); } && {
   20853 	 test -z "$ac_c_werror_flag" ||
   20854 	 test ! -s conftest.err
   20855        } && test -s conftest.$ac_objext; then
   20856   _EXT_CHECK=yes
   20857 else
   20858   echo "$as_me: failed program was:" >&5
   20859 sed 's/^/| /' conftest.$ac_ext >&5
   20860 
   20861 	_EXT_CHECK=no
   20862 fi
   20863 
   20864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20865 	CFLAGS="$SAVE_CFLAGS"
   20866 	{ echo "$as_me:$LINENO: checking if XV is defined" >&5
   20867 echo $ECHO_N "checking if XV is defined... $ECHO_C" >&6; }
   20868 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20869 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20870 	if test "$_EXT_CHECK" != no; then
   20871 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20872 	fi
   20873 
   20874 
   20875 	SAVE_CFLAGS="$CFLAGS"
   20876 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20877 	cat >conftest.$ac_ext <<_ACEOF
   20878 /* confdefs.h.  */
   20879 _ACEOF
   20880 cat confdefs.h >>conftest.$ac_ext
   20881 cat >>conftest.$ac_ext <<_ACEOF
   20882 /* end confdefs.h.  */
   20883 
   20884 #include "xorg-server.h"
   20885 #if !defined DPMSExtension
   20886 #error DPMSExtension not defined
   20887 #endif
   20888 
   20889 int
   20890 main ()
   20891 {
   20892 
   20893   ;
   20894   return 0;
   20895 }
   20896 _ACEOF
   20897 rm -f conftest.$ac_objext
   20898 if { (ac_try="$ac_compile"
   20899 case "(($ac_try" in
   20900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20901   *) ac_try_echo=$ac_try;;
   20902 esac
   20903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20904   (eval "$ac_compile") 2>conftest.er1
   20905   ac_status=$?
   20906   grep -v '^ *+' conftest.er1 >conftest.err
   20907   rm -f conftest.er1
   20908   cat conftest.err >&5
   20909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20910   (exit $ac_status); } && {
   20911 	 test -z "$ac_c_werror_flag" ||
   20912 	 test ! -s conftest.err
   20913        } && test -s conftest.$ac_objext; then
   20914   _EXT_CHECK=yes
   20915 else
   20916   echo "$as_me: failed program was:" >&5
   20917 sed 's/^/| /' conftest.$ac_ext >&5
   20918 
   20919 	_EXT_CHECK=no
   20920 fi
   20921 
   20922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20923 	CFLAGS="$SAVE_CFLAGS"
   20924 	{ echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   20925 echo $ECHO_N "checking if DPMSExtension is defined... $ECHO_C" >&6; }
   20926 	{ echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20927 echo "${ECHO_T}$_EXT_CHECK" >&6; }
   20928 	if test "$_EXT_CHECK" != no; then
   20929 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20930 	fi
   20931 
   20932 
   20933 # Checks for pkg-config packages
   20934 
   20935 
   20936 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20937 	if test -n "$ac_tool_prefix"; then
   20938   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20939 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20942 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20943   echo $ECHO_N "(cached) $ECHO_C" >&6
   20944 else
   20945   case $PKG_CONFIG in
   20946   [\\/]* | ?:[\\/]*)
   20947   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20948   ;;
   20949   *)
   20950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20951 for as_dir in $PATH
   20952 do
   20953   IFS=$as_save_IFS
   20954   test -z "$as_dir" && as_dir=.
   20955   for ac_exec_ext in '' $ac_executable_extensions; do
   20956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20957     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20958     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20959     break 2
   20960   fi
   20961 done
   20962 done
   20963 IFS=$as_save_IFS
   20964 
   20965   ;;
   20966 esac
   20967 fi
   20968 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20969 if test -n "$PKG_CONFIG"; then
   20970   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20971 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20972 else
   20973   { echo "$as_me:$LINENO: result: no" >&5
   20974 echo "${ECHO_T}no" >&6; }
   20975 fi
   20976 
   20977 
   20978 fi
   20979 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20980   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20981   # Extract the first word of "pkg-config", so it can be a program name with args.
   20982 set dummy pkg-config; ac_word=$2
   20983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20985 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20986   echo $ECHO_N "(cached) $ECHO_C" >&6
   20987 else
   20988   case $ac_pt_PKG_CONFIG in
   20989   [\\/]* | ?:[\\/]*)
   20990   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20991   ;;
   20992   *)
   20993   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20994 for as_dir in $PATH
   20995 do
   20996   IFS=$as_save_IFS
   20997   test -z "$as_dir" && as_dir=.
   20998   for ac_exec_ext in '' $ac_executable_extensions; do
   20999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21000     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21001     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21002     break 2
   21003   fi
   21004 done
   21005 done
   21006 IFS=$as_save_IFS
   21007 
   21008   ;;
   21009 esac
   21010 fi
   21011 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21012 if test -n "$ac_pt_PKG_CONFIG"; then
   21013   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21014 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   21015 else
   21016   { echo "$as_me:$LINENO: result: no" >&5
   21017 echo "${ECHO_T}no" >&6; }
   21018 fi
   21019 
   21020   if test "x$ac_pt_PKG_CONFIG" = x; then
   21021     PKG_CONFIG=""
   21022   else
   21023     case $cross_compiling:$ac_tool_warned in
   21024 yes:)
   21025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   21026 whose name does not start with the host triplet.  If you think this
   21027 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   21028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   21029 whose name does not start with the host triplet.  If you think this
   21030 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   21031 ac_tool_warned=yes ;;
   21032 esac
   21033     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21034   fi
   21035 else
   21036   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21037 fi
   21038 
   21039 fi
   21040 if test -n "$PKG_CONFIG"; then
   21041 	_pkg_min_version=0.9.0
   21042 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21043 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   21044 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21045 		{ echo "$as_me:$LINENO: result: yes" >&5
   21046 echo "${ECHO_T}yes" >&6; }
   21047 	else
   21048 		{ echo "$as_me:$LINENO: result: no" >&5
   21049 echo "${ECHO_T}no" >&6; }
   21050 		PKG_CONFIG=""
   21051 	fi
   21052 
   21053 fi
   21054 
   21055 pkg_failed=no
   21056 { echo "$as_me:$LINENO: checking for XORG" >&5
   21057 echo $ECHO_N "checking for XORG... $ECHO_C" >&6; }
   21058 
   21059 if test -n "$PKG_CONFIG"; then
   21060     if test -n "$XORG_CFLAGS"; then
   21061         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21062     else
   21063         if test -n "$PKG_CONFIG" && \
   21064     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21065   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21066   ac_status=$?
   21067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21068   (exit $ac_status); }; then
   21069   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21070 else
   21071   pkg_failed=yes
   21072 fi
   21073     fi
   21074 else
   21075 	pkg_failed=untried
   21076 fi
   21077 if test -n "$PKG_CONFIG"; then
   21078     if test -n "$XORG_LIBS"; then
   21079         pkg_cv_XORG_LIBS="$XORG_LIBS"
   21080     else
   21081         if test -n "$PKG_CONFIG" && \
   21082     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21083   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21084   ac_status=$?
   21085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21086   (exit $ac_status); }; then
   21087   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21088 else
   21089   pkg_failed=yes
   21090 fi
   21091     fi
   21092 else
   21093 	pkg_failed=untried
   21094 fi
   21095 
   21096 
   21097 
   21098 if test $pkg_failed = yes; then
   21099 
   21100 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21101         _pkg_short_errors_supported=yes
   21102 else
   21103         _pkg_short_errors_supported=no
   21104 fi
   21105         if test $_pkg_short_errors_supported = yes; then
   21106 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES"`
   21107         else
   21108 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES"`
   21109         fi
   21110 	# Put the nasty error message in config.log where it belongs
   21111 	echo "$XORG_PKG_ERRORS" >&5
   21112 
   21113 	{ { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   21114 
   21115 $XORG_PKG_ERRORS
   21116 
   21117 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21118 installed software in a non-standard prefix.
   21119 
   21120 Alternatively, you may set the environment variables XORG_CFLAGS
   21121 and XORG_LIBS to avoid the need to call pkg-config.
   21122 See the pkg-config man page for more details.
   21123 " >&5
   21124 echo "$as_me: error: Package requirements (xorg-server >= 1.2 xproto fontsproto $REQUIRED_MODULES) were not met:
   21125 
   21126 $XORG_PKG_ERRORS
   21127 
   21128 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21129 installed software in a non-standard prefix.
   21130 
   21131 Alternatively, you may set the environment variables XORG_CFLAGS
   21132 and XORG_LIBS to avoid the need to call pkg-config.
   21133 See the pkg-config man page for more details.
   21134 " >&2;}
   21135    { (exit 1); exit 1; }; }
   21136 elif test $pkg_failed = untried; then
   21137 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21138 is in your PATH or set the PKG_CONFIG environment variable to the full
   21139 path to pkg-config.
   21140 
   21141 Alternatively, you may set the environment variables XORG_CFLAGS
   21142 and XORG_LIBS to avoid the need to call pkg-config.
   21143 See the pkg-config man page for more details.
   21144 
   21145 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21146 See \`config.log' for more details." >&5
   21147 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21148 is in your PATH or set the PKG_CONFIG environment variable to the full
   21149 path to pkg-config.
   21150 
   21151 Alternatively, you may set the environment variables XORG_CFLAGS
   21152 and XORG_LIBS to avoid the need to call pkg-config.
   21153 See the pkg-config man page for more details.
   21154 
   21155 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21156 See \`config.log' for more details." >&2;}
   21157    { (exit 1); exit 1; }; }
   21158 else
   21159 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21160 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21161         { echo "$as_me:$LINENO: result: yes" >&5
   21162 echo "${ECHO_T}yes" >&6; }
   21163 	:
   21164 fi
   21165 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21166 
   21167 # Checks for libraries.
   21168 
   21169 # Checks for header files.
   21170 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   21172 if test "${ac_cv_header_stdc+set}" = set; then
   21173   echo $ECHO_N "(cached) $ECHO_C" >&6
   21174 else
   21175   cat >conftest.$ac_ext <<_ACEOF
   21176 /* confdefs.h.  */
   21177 _ACEOF
   21178 cat confdefs.h >>conftest.$ac_ext
   21179 cat >>conftest.$ac_ext <<_ACEOF
   21180 /* end confdefs.h.  */
   21181 #include <stdlib.h>
   21182 #include <stdarg.h>
   21183 #include <string.h>
   21184 #include <float.h>
   21185 
   21186 int
   21187 main ()
   21188 {
   21189 
   21190   ;
   21191   return 0;
   21192 }
   21193 _ACEOF
   21194 rm -f conftest.$ac_objext
   21195 if { (ac_try="$ac_compile"
   21196 case "(($ac_try" in
   21197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21198   *) ac_try_echo=$ac_try;;
   21199 esac
   21200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21201   (eval "$ac_compile") 2>conftest.er1
   21202   ac_status=$?
   21203   grep -v '^ *+' conftest.er1 >conftest.err
   21204   rm -f conftest.er1
   21205   cat conftest.err >&5
   21206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21207   (exit $ac_status); } && {
   21208 	 test -z "$ac_c_werror_flag" ||
   21209 	 test ! -s conftest.err
   21210        } && test -s conftest.$ac_objext; then
   21211   ac_cv_header_stdc=yes
   21212 else
   21213   echo "$as_me: failed program was:" >&5
   21214 sed 's/^/| /' conftest.$ac_ext >&5
   21215 
   21216 	ac_cv_header_stdc=no
   21217 fi
   21218 
   21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21220 
   21221 if test $ac_cv_header_stdc = yes; then
   21222   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21223   cat >conftest.$ac_ext <<_ACEOF
   21224 /* confdefs.h.  */
   21225 _ACEOF
   21226 cat confdefs.h >>conftest.$ac_ext
   21227 cat >>conftest.$ac_ext <<_ACEOF
   21228 /* end confdefs.h.  */
   21229 #include <string.h>
   21230 
   21231 _ACEOF
   21232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21233   $EGREP "memchr" >/dev/null 2>&1; then
   21234   :
   21235 else
   21236   ac_cv_header_stdc=no
   21237 fi
   21238 rm -f conftest*
   21239 
   21240 fi
   21241 
   21242 if test $ac_cv_header_stdc = yes; then
   21243   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21244   cat >conftest.$ac_ext <<_ACEOF
   21245 /* confdefs.h.  */
   21246 _ACEOF
   21247 cat confdefs.h >>conftest.$ac_ext
   21248 cat >>conftest.$ac_ext <<_ACEOF
   21249 /* end confdefs.h.  */
   21250 #include <stdlib.h>
   21251 
   21252 _ACEOF
   21253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21254   $EGREP "free" >/dev/null 2>&1; then
   21255   :
   21256 else
   21257   ac_cv_header_stdc=no
   21258 fi
   21259 rm -f conftest*
   21260 
   21261 fi
   21262 
   21263 if test $ac_cv_header_stdc = yes; then
   21264   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21265   if test "$cross_compiling" = yes; then
   21266   :
   21267 else
   21268   cat >conftest.$ac_ext <<_ACEOF
   21269 /* confdefs.h.  */
   21270 _ACEOF
   21271 cat confdefs.h >>conftest.$ac_ext
   21272 cat >>conftest.$ac_ext <<_ACEOF
   21273 /* end confdefs.h.  */
   21274 #include <ctype.h>
   21275 #include <stdlib.h>
   21276 #if ((' ' & 0x0FF) == 0x020)
   21277 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21278 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21279 #else
   21280 # define ISLOWER(c) \
   21281 		   (('a' <= (c) && (c) <= 'i') \
   21282 		     || ('j' <= (c) && (c) <= 'r') \
   21283 		     || ('s' <= (c) && (c) <= 'z'))
   21284 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21285 #endif
   21286 
   21287 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21288 int
   21289 main ()
   21290 {
   21291   int i;
   21292   for (i = 0; i < 256; i++)
   21293     if (XOR (islower (i), ISLOWER (i))
   21294 	|| toupper (i) != TOUPPER (i))
   21295       return 2;
   21296   return 0;
   21297 }
   21298 _ACEOF
   21299 rm -f conftest$ac_exeext
   21300 if { (ac_try="$ac_link"
   21301 case "(($ac_try" in
   21302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21303   *) ac_try_echo=$ac_try;;
   21304 esac
   21305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21306   (eval "$ac_link") 2>&5
   21307   ac_status=$?
   21308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21309   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21310   { (case "(($ac_try" in
   21311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21312   *) ac_try_echo=$ac_try;;
   21313 esac
   21314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21315   (eval "$ac_try") 2>&5
   21316   ac_status=$?
   21317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21318   (exit $ac_status); }; }; then
   21319   :
   21320 else
   21321   echo "$as_me: program exited with status $ac_status" >&5
   21322 echo "$as_me: failed program was:" >&5
   21323 sed 's/^/| /' conftest.$ac_ext >&5
   21324 
   21325 ( exit $ac_status )
   21326 ac_cv_header_stdc=no
   21327 fi
   21328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21329 fi
   21330 
   21331 
   21332 fi
   21333 fi
   21334 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21335 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   21336 if test $ac_cv_header_stdc = yes; then
   21337 
   21338 cat >>confdefs.h <<\_ACEOF
   21339 #define STDC_HEADERS 1
   21340 _ACEOF
   21341 
   21342 fi
   21343 
   21344 
   21345 save_CFLAGS="$CFLAGS"
   21346 CFLAGS="$XORG_CFLAGS"
   21347 
   21348 # RandR 1.2
   21349 { echo "$as_me:$LINENO: checking for xf86Modes.h" >&5
   21350 echo $ECHO_N "checking for xf86Modes.h... $ECHO_C" >&6; }
   21351 if test "${ac_cv_header_xf86Modes_h+set}" = set; then
   21352   echo $ECHO_N "(cached) $ECHO_C" >&6
   21353 else
   21354   cat >conftest.$ac_ext <<_ACEOF
   21355 /* confdefs.h.  */
   21356 _ACEOF
   21357 cat confdefs.h >>conftest.$ac_ext
   21358 cat >>conftest.$ac_ext <<_ACEOF
   21359 /* end confdefs.h.  */
   21360 #include "xorg-server.h"
   21361 
   21362 #include <xf86Modes.h>
   21363 _ACEOF
   21364 rm -f conftest.$ac_objext
   21365 if { (ac_try="$ac_compile"
   21366 case "(($ac_try" in
   21367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21368   *) ac_try_echo=$ac_try;;
   21369 esac
   21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21371   (eval "$ac_compile") 2>conftest.er1
   21372   ac_status=$?
   21373   grep -v '^ *+' conftest.er1 >conftest.err
   21374   rm -f conftest.er1
   21375   cat conftest.err >&5
   21376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21377   (exit $ac_status); } && {
   21378 	 test -z "$ac_c_werror_flag" ||
   21379 	 test ! -s conftest.err
   21380        } && test -s conftest.$ac_objext; then
   21381   ac_cv_header_xf86Modes_h=yes
   21382 else
   21383   echo "$as_me: failed program was:" >&5
   21384 sed 's/^/| /' conftest.$ac_ext >&5
   21385 
   21386 	ac_cv_header_xf86Modes_h=no
   21387 fi
   21388 
   21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21390 fi
   21391 { echo "$as_me:$LINENO: result: $ac_cv_header_xf86Modes_h" >&5
   21392 echo "${ECHO_T}$ac_cv_header_xf86Modes_h" >&6; }
   21393 if test $ac_cv_header_xf86Modes_h = yes; then
   21394   BUILD_XMODES=no
   21395 else
   21396   BUILD_XMODES=yes
   21397 fi
   21398 
   21399 
   21400 
   21401 # PCI rework
   21402 { echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21403 echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
   21404 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21405   echo $ECHO_N "(cached) $ECHO_C" >&6
   21406 else
   21407   cat >conftest.$ac_ext <<_ACEOF
   21408 /* confdefs.h.  */
   21409 _ACEOF
   21410 cat confdefs.h >>conftest.$ac_ext
   21411 cat >>conftest.$ac_ext <<_ACEOF
   21412 /* end confdefs.h.  */
   21413 #include "xorg-server.h"
   21414 
   21415 int
   21416 main ()
   21417 {
   21418 #ifndef XSERVER_LIBPCIACCESS
   21419   (void) XSERVER_LIBPCIACCESS;
   21420 #endif
   21421 
   21422   ;
   21423   return 0;
   21424 }
   21425 _ACEOF
   21426 rm -f conftest.$ac_objext
   21427 if { (ac_try="$ac_compile"
   21428 case "(($ac_try" in
   21429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21430   *) ac_try_echo=$ac_try;;
   21431 esac
   21432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   21433   (eval "$ac_compile") 2>conftest.er1
   21434   ac_status=$?
   21435   grep -v '^ *+' conftest.er1 >conftest.err
   21436   rm -f conftest.er1
   21437   cat conftest.err >&5
   21438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21439   (exit $ac_status); } && {
   21440 	 test -z "$ac_c_werror_flag" ||
   21441 	 test ! -s conftest.err
   21442        } && test -s conftest.$ac_objext; then
   21443   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21444 else
   21445   echo "$as_me: failed program was:" >&5
   21446 sed 's/^/| /' conftest.$ac_ext >&5
   21447 
   21448 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21449 fi
   21450 
   21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21452 fi
   21453 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21454 echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21455 if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
   21456   XSERVER_LIBPCIACCESS=yes
   21457 else
   21458   XSERVER_LIBPCIACCESS=no
   21459 fi
   21460 
   21461 if test "x$XSERVER_LIBPCIACCESS" = "xyes"; then
   21462 
   21463 pkg_failed=no
   21464 { echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21465 echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
   21466 
   21467 if test -n "$PKG_CONFIG"; then
   21468     if test -n "$PCIACCESS_CFLAGS"; then
   21469         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21470     else
   21471         if test -n "$PKG_CONFIG" && \
   21472     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21473   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21474   ac_status=$?
   21475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21476   (exit $ac_status); }; then
   21477   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21478 else
   21479   pkg_failed=yes
   21480 fi
   21481     fi
   21482 else
   21483 	pkg_failed=untried
   21484 fi
   21485 if test -n "$PKG_CONFIG"; then
   21486     if test -n "$PCIACCESS_LIBS"; then
   21487         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21488     else
   21489         if test -n "$PKG_CONFIG" && \
   21490     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21491   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21492   ac_status=$?
   21493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21494   (exit $ac_status); }; then
   21495   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21496 else
   21497   pkg_failed=yes
   21498 fi
   21499     fi
   21500 else
   21501 	pkg_failed=untried
   21502 fi
   21503 
   21504 
   21505 
   21506 if test $pkg_failed = yes; then
   21507 
   21508 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21509         _pkg_short_errors_supported=yes
   21510 else
   21511         _pkg_short_errors_supported=no
   21512 fi
   21513         if test $_pkg_short_errors_supported = yes; then
   21514 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   21515         else
   21516 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   21517         fi
   21518 	# Put the nasty error message in config.log where it belongs
   21519 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21520 
   21521 	{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21522 
   21523 $PCIACCESS_PKG_ERRORS
   21524 
   21525 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21526 installed software in a non-standard prefix.
   21527 
   21528 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21529 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21530 See the pkg-config man page for more details.
   21531 " >&5
   21532 echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21533 
   21534 $PCIACCESS_PKG_ERRORS
   21535 
   21536 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21537 installed software in a non-standard prefix.
   21538 
   21539 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21540 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21541 See the pkg-config man page for more details.
   21542 " >&2;}
   21543    { (exit 1); exit 1; }; }
   21544 elif test $pkg_failed = untried; then
   21545 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21546 is in your PATH or set the PKG_CONFIG environment variable to the full
   21547 path to pkg-config.
   21548 
   21549 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21550 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21551 See the pkg-config man page for more details.
   21552 
   21553 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21554 See \`config.log' for more details." >&5
   21555 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21556 is in your PATH or set the PKG_CONFIG environment variable to the full
   21557 path to pkg-config.
   21558 
   21559 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21560 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21561 See the pkg-config man page for more details.
   21562 
   21563 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21564 See \`config.log' for more details." >&2;}
   21565    { (exit 1); exit 1; }; }
   21566 else
   21567 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21568 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21569         { echo "$as_me:$LINENO: result: yes" >&5
   21570 echo "${ECHO_T}yes" >&6; }
   21571 	:
   21572 fi
   21573 fi
   21574 
   21575 CFLAGS="$save_CFLAGS"
   21576 
   21577  if test "x$BUILD_XMODES" = xyes; then
   21578   BUILD_XMODES_TRUE=
   21579   BUILD_XMODES_FALSE='#'
   21580 else
   21581   BUILD_XMODES_TRUE='#'
   21582   BUILD_XMODES_FALSE=
   21583 fi
   21584 
   21585 if test "x$XSERVER_SOURCE" != x; then
   21586     if test -d "$XSERVER_SOURCE"; then
   21587         XSERVER_SOURCE=`cd "$XSERVER_SOURCE" && pwd`
   21588         if test -f "$XSERVER_SOURCE/hw/xfree86/modes/xf86Modes.h" -a -f "$XSERVER_SOURCE/hw/xfree86/parser/xf86Parser.h"; then
   21589             :
   21590         else
   21591             { { echo "$as_me:$LINENO: error: Server source at $XSERVER_SOURCE doesn't have the new mode code" >&5
   21592 echo "$as_me: error: Server source at $XSERVER_SOURCE doesn't have the new mode code" >&2;}
   21593    { (exit 1); exit 1; }; }
   21594         fi
   21595     else
   21596         { { echo "$as_me:$LINENO: error: Can't find xserver-source path $XSERVER_SOURCE" >&5
   21597 echo "$as_me: error: Can't find xserver-source path $XSERVER_SOURCE" >&2;}
   21598    { (exit 1); exit 1; }; }
   21599     fi
   21600 fi
   21601 if test "x$BUILD_XMODES" = xno; then
   21602     { echo "$as_me:$LINENO: X server has new mode code" >&5
   21603 echo "$as_me: X server has new mode code" >&6;}
   21604     XMODES_CFLAGS=
   21605     parser_dir=
   21606     modes_dir=
   21607 else
   21608     if test "x$XSERVER_SOURCE" = x; then
   21609             { echo "$as_me:$LINENO: X server is missing new mode code and --with-xserver-source not specified, using local copy" >&5
   21610 echo "$as_me: X server is missing new mode code and --with-xserver-source not specified, using local copy" >&6;}
   21611             { echo "$as_me:$LINENO: If you're building from git, please read compat/README" >&5
   21612 echo "$as_me: If you're building from git, please read compat/README" >&6;}
   21613             parser_dir='$(top_srcdir)/compat/parser'
   21614             modes_dir='$(top_srcdir)/compat/modes'
   21615     else
   21616             { echo "$as_me:$LINENO: Using mode code from $XSERVER_SOURCE" >&5
   21617 echo "$as_me: Using mode code from $XSERVER_SOURCE" >&6;}
   21618             parser_dir="$XSERVER_SOURCE/hw/xfree86/parser"
   21619             modes_dir="$XSERVER_SOURCE/hw/xfree86/modes"
   21620     fi
   21621     XMODES_CFLAGS="-DXF86_MODES_RENAME -I\"$modes_dir\" -I\"$parser_dir\""
   21622 
   21623 cat >>confdefs.h <<\_ACEOF
   21624 #define BUILD_XMODES 1
   21625 _ACEOF
   21626 
   21627 fi
   21628 
   21629 
   21630 
   21631 
   21632 # Substitutions
   21633 
   21634 
   21635 
   21636 DRIVER_NAME=nv
   21637 
   21638 
   21639 
   21640 
   21641 
   21642 if test x$APP_MAN_SUFFIX = x    ; then
   21643     APP_MAN_SUFFIX=1
   21644 fi
   21645 if test x$APP_MAN_DIR = x    ; then
   21646     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21647 fi
   21648 
   21649 if test x$LIB_MAN_SUFFIX = x    ; then
   21650     LIB_MAN_SUFFIX=3
   21651 fi
   21652 if test x$LIB_MAN_DIR = x    ; then
   21653     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21654 fi
   21655 
   21656 if test x$FILE_MAN_SUFFIX = x    ; then
   21657     case $host_os in
   21658 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21659 	*)		FILE_MAN_SUFFIX=5  ;;
   21660     esac
   21661 fi
   21662 if test x$FILE_MAN_DIR = x    ; then
   21663     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21664 fi
   21665 
   21666 if test x$MISC_MAN_SUFFIX = x    ; then
   21667     case $host_os in
   21668 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21669 	*)		MISC_MAN_SUFFIX=7  ;;
   21670     esac
   21671 fi
   21672 if test x$MISC_MAN_DIR = x    ; then
   21673     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21674 fi
   21675 
   21676 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21677     case $host_os in
   21678 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21679 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21680     esac
   21681 fi
   21682 if test x$DRIVER_MAN_DIR = x    ; then
   21683     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21684 fi
   21685 
   21686 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21687     case $host_os in
   21688 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21689 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21690     esac
   21691 fi
   21692 if test x$ADMIN_MAN_DIR = x    ; then
   21693     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21694 fi
   21695 
   21696 
   21697 
   21698 
   21699 
   21700 
   21701 
   21702 
   21703 
   21704 
   21705 
   21706 
   21707 
   21708 
   21709 
   21710 
   21711 
   21712 # Check whether --with-release-version was given.
   21713 if test "${with_release_version+set}" = set; then
   21714   withval=$with_release_version; RELEASE_VERSION="$withval"
   21715 else
   21716   RELEASE_VERSION=""
   21717 fi
   21718 
   21719 	if test "x$RELEASE_VERSION" != "x"; then
   21720 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21721 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21722 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21723 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21724 	fi
   21725 
   21726 cat >>confdefs.h <<_ACEOF
   21727 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21728 _ACEOF
   21729 
   21730 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21731 	if test "x$PVM" = "x"; then
   21732 		PVM="0"
   21733 	fi
   21734 
   21735 cat >>confdefs.h <<_ACEOF
   21736 #define PACKAGE_VERSION_MINOR $PVM
   21737 _ACEOF
   21738 
   21739 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21740 	if test "x$PVP" = "x"; then
   21741 		PVP="0"
   21742 	fi
   21743 
   21744 cat >>confdefs.h <<_ACEOF
   21745 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21746 _ACEOF
   21747 
   21748 
   21749 
   21750 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile compat/Makefile"
   21751 
   21752 cat >confcache <<\_ACEOF
   21753 # This file is a shell script that caches the results of configure
   21754 # tests run on this system so they can be shared between configure
   21755 # scripts and configure runs, see configure's option --config-cache.
   21756 # It is not useful on other systems.  If it contains results you don't
   21757 # want to keep, you may remove or edit it.
   21758 #
   21759 # config.status only pays attention to the cache file if you give it
   21760 # the --recheck option to rerun configure.
   21761 #
   21762 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21763 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21764 # following values.
   21765 
   21766 _ACEOF
   21767 
   21768 # The following way of writing the cache mishandles newlines in values,
   21769 # but we know of no workaround that is simple, portable, and efficient.
   21770 # So, we kill variables containing newlines.
   21771 # Ultrix sh set writes to stderr and can't be redirected directly,
   21772 # and sets the high bit in the cache file unless we assign to the vars.
   21773 (
   21774   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21775     eval ac_val=\$$ac_var
   21776     case $ac_val in #(
   21777     *${as_nl}*)
   21778       case $ac_var in #(
   21779       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   21780 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21781       esac
   21782       case $ac_var in #(
   21783       _ | IFS | as_nl) ;; #(
   21784       *) $as_unset $ac_var ;;
   21785       esac ;;
   21786     esac
   21787   done
   21788 
   21789   (set) 2>&1 |
   21790     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21791     *${as_nl}ac_space=\ *)
   21792       # `set' does not quote correctly, so add quotes (double-quote
   21793       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21794       sed -n \
   21795 	"s/'/'\\\\''/g;
   21796 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21797       ;; #(
   21798     *)
   21799       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21800       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21801       ;;
   21802     esac |
   21803     sort
   21804 ) |
   21805   sed '
   21806      /^ac_cv_env_/b end
   21807      t clear
   21808      :clear
   21809      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21810      t end
   21811      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21812      :end' >>confcache
   21813 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21814   if test -w "$cache_file"; then
   21815     test "x$cache_file" != "x/dev/null" &&
   21816       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21817 echo "$as_me: updating cache $cache_file" >&6;}
   21818     cat confcache >$cache_file
   21819   else
   21820     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21821 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21822   fi
   21823 fi
   21824 rm -f confcache
   21825 
   21826 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21827 # Let make expand exec_prefix.
   21828 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21829 
   21830 DEFS=-DHAVE_CONFIG_H
   21831 
   21832 ac_libobjs=
   21833 ac_ltlibobjs=
   21834 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21835   # 1. Remove the extension, and $U if already installed.
   21836   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21837   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21838   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21839   #    will be set to the directory where LIBOBJS objects are built.
   21840   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21841   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21842 done
   21843 LIBOBJS=$ac_libobjs
   21844 
   21845 LTLIBOBJS=$ac_ltlibobjs
   21846 
   21847 
   21848 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21849   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21850 Usually this means the macro was only invoked conditionally." >&5
   21851 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21852 Usually this means the macro was only invoked conditionally." >&2;}
   21853    { (exit 1); exit 1; }; }
   21854 fi
   21855 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21856   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21857 Usually this means the macro was only invoked conditionally." >&5
   21858 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21859 Usually this means the macro was only invoked conditionally." >&2;}
   21860    { (exit 1); exit 1; }; }
   21861 fi
   21862 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21863   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21864 Usually this means the macro was only invoked conditionally." >&5
   21865 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21866 Usually this means the macro was only invoked conditionally." >&2;}
   21867    { (exit 1); exit 1; }; }
   21868 fi
   21869 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21870   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21871 Usually this means the macro was only invoked conditionally." >&5
   21872 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21873 Usually this means the macro was only invoked conditionally." >&2;}
   21874    { (exit 1); exit 1; }; }
   21875 fi
   21876 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21877   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21878 Usually this means the macro was only invoked conditionally." >&5
   21879 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21880 Usually this means the macro was only invoked conditionally." >&2;}
   21881    { (exit 1); exit 1; }; }
   21882 fi
   21883 if test -z "${BUILD_XMODES_TRUE}" && test -z "${BUILD_XMODES_FALSE}"; then
   21884   { { echo "$as_me:$LINENO: error: conditional \"BUILD_XMODES\" was never defined.
   21885 Usually this means the macro was only invoked conditionally." >&5
   21886 echo "$as_me: error: conditional \"BUILD_XMODES\" was never defined.
   21887 Usually this means the macro was only invoked conditionally." >&2;}
   21888    { (exit 1); exit 1; }; }
   21889 fi
   21890 
   21891 : ${CONFIG_STATUS=./config.status}
   21892 ac_clean_files_save=$ac_clean_files
   21893 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21894 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21895 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21896 cat >$CONFIG_STATUS <<_ACEOF
   21897 #! $SHELL
   21898 # Generated by $as_me.
   21899 # Run this file to recreate the current configuration.
   21900 # Compiler output produced by configure, useful for debugging
   21901 # configure, is in config.log if it exists.
   21902 
   21903 debug=false
   21904 ac_cs_recheck=false
   21905 ac_cs_silent=false
   21906 SHELL=\${CONFIG_SHELL-$SHELL}
   21907 _ACEOF
   21908 
   21909 cat >>$CONFIG_STATUS <<\_ACEOF
   21910 ## --------------------- ##
   21911 ## M4sh Initialization.  ##
   21912 ## --------------------- ##
   21913 
   21914 # Be more Bourne compatible
   21915 DUALCASE=1; export DUALCASE # for MKS sh
   21916 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21917   emulate sh
   21918   NULLCMD=:
   21919   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21920   # is contrary to our usage.  Disable this feature.
   21921   alias -g '${1+"$@"}'='"$@"'
   21922   setopt NO_GLOB_SUBST
   21923 else
   21924   case `(set -o) 2>/dev/null` in
   21925   *posix*) set -o posix ;;
   21926 esac
   21927 
   21928 fi
   21929 
   21930 
   21931 
   21932 
   21933 # PATH needs CR
   21934 # Avoid depending upon Character Ranges.
   21935 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21936 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21937 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21938 as_cr_digits='0123456789'
   21939 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21940 
   21941 # The user is always right.
   21942 if test "${PATH_SEPARATOR+set}" != set; then
   21943   echo "#! /bin/sh" >conf$$.sh
   21944   echo  "exit 0"   >>conf$$.sh
   21945   chmod +x conf$$.sh
   21946   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21947     PATH_SEPARATOR=';'
   21948   else
   21949     PATH_SEPARATOR=:
   21950   fi
   21951   rm -f conf$$.sh
   21952 fi
   21953 
   21954 # Support unset when possible.
   21955 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21956   as_unset=unset
   21957 else
   21958   as_unset=false
   21959 fi
   21960 
   21961 
   21962 # IFS
   21963 # We need space, tab and new line, in precisely that order.  Quoting is
   21964 # there to prevent editors from complaining about space-tab.
   21965 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21966 # splitting by setting IFS to empty value.)
   21967 as_nl='
   21968 '
   21969 IFS=" ""	$as_nl"
   21970 
   21971 # Find who we are.  Look in the path if we contain no directory separator.
   21972 case $0 in
   21973   *[\\/]* ) as_myself=$0 ;;
   21974   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21975 for as_dir in $PATH
   21976 do
   21977   IFS=$as_save_IFS
   21978   test -z "$as_dir" && as_dir=.
   21979   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21980 done
   21981 IFS=$as_save_IFS
   21982 
   21983      ;;
   21984 esac
   21985 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21986 # in which case we are not to be found in the path.
   21987 if test "x$as_myself" = x; then
   21988   as_myself=$0
   21989 fi
   21990 if test ! -f "$as_myself"; then
   21991   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21992   { (exit 1); exit 1; }
   21993 fi
   21994 
   21995 # Work around bugs in pre-3.0 UWIN ksh.
   21996 for as_var in ENV MAIL MAILPATH
   21997 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21998 done
   21999 PS1='$ '
   22000 PS2='> '
   22001 PS4='+ '
   22002 
   22003 # NLS nuisances.
   22004 for as_var in \
   22005   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   22006   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   22007   LC_TELEPHONE LC_TIME
   22008 do
   22009   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   22010     eval $as_var=C; export $as_var
   22011   else
   22012     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22013   fi
   22014 done
   22015 
   22016 # Required to use basename.
   22017 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22018    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22019   as_expr=expr
   22020 else
   22021   as_expr=false
   22022 fi
   22023 
   22024 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22025   as_basename=basename
   22026 else
   22027   as_basename=false
   22028 fi
   22029 
   22030 
   22031 # Name of the executable.
   22032 as_me=`$as_basename -- "$0" ||
   22033 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22034 	 X"$0" : 'X\(//\)$' \| \
   22035 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22036 echo X/"$0" |
   22037     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22038 	    s//\1/
   22039 	    q
   22040 	  }
   22041 	  /^X\/\(\/\/\)$/{
   22042 	    s//\1/
   22043 	    q
   22044 	  }
   22045 	  /^X\/\(\/\).*/{
   22046 	    s//\1/
   22047 	    q
   22048 	  }
   22049 	  s/.*/./; q'`
   22050 
   22051 # CDPATH.
   22052 $as_unset CDPATH
   22053 
   22054 
   22055 
   22056   as_lineno_1=$LINENO
   22057   as_lineno_2=$LINENO
   22058   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22059   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22060 
   22061   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22062   # uniformly replaced by the line number.  The first 'sed' inserts a
   22063   # line-number line after each line using $LINENO; the second 'sed'
   22064   # does the real work.  The second script uses 'N' to pair each
   22065   # line-number line with the line containing $LINENO, and appends
   22066   # trailing '-' during substitution so that $LINENO is not a special
   22067   # case at line end.
   22068   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22069   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22070   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22071   sed -n '
   22072     p
   22073     /[$]LINENO/=
   22074   ' <$as_myself |
   22075     sed '
   22076       s/[$]LINENO.*/&-/
   22077       t lineno
   22078       b
   22079       :lineno
   22080       N
   22081       :loop
   22082       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22083       t loop
   22084       s/-\n.*//
   22085     ' >$as_me.lineno &&
   22086   chmod +x "$as_me.lineno" ||
   22087     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22088    { (exit 1); exit 1; }; }
   22089 
   22090   # Don't try to exec as it changes $[0], causing all sort of problems
   22091   # (the dirname of $[0] is not the place where we might find the
   22092   # original and so on.  Autoconf is especially sensitive to this).
   22093   . "./$as_me.lineno"
   22094   # Exit status is that of the last command.
   22095   exit
   22096 }
   22097 
   22098 
   22099 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22100   as_dirname=dirname
   22101 else
   22102   as_dirname=false
   22103 fi
   22104 
   22105 ECHO_C= ECHO_N= ECHO_T=
   22106 case `echo -n x` in
   22107 -n*)
   22108   case `echo 'x\c'` in
   22109   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22110   *)   ECHO_C='\c';;
   22111   esac;;
   22112 *)
   22113   ECHO_N='-n';;
   22114 esac
   22115 
   22116 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22118   as_expr=expr
   22119 else
   22120   as_expr=false
   22121 fi
   22122 
   22123 rm -f conf$$ conf$$.exe conf$$.file
   22124 if test -d conf$$.dir; then
   22125   rm -f conf$$.dir/conf$$.file
   22126 else
   22127   rm -f conf$$.dir
   22128   mkdir conf$$.dir
   22129 fi
   22130 echo >conf$$.file
   22131 if ln -s conf$$.file conf$$ 2>/dev/null; then
   22132   as_ln_s='ln -s'
   22133   # ... but there are two gotchas:
   22134   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22135   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22136   # In both cases, we have to default to `cp -p'.
   22137   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22138     as_ln_s='cp -p'
   22139 elif ln conf$$.file conf$$ 2>/dev/null; then
   22140   as_ln_s=ln
   22141 else
   22142   as_ln_s='cp -p'
   22143 fi
   22144 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22145 rmdir conf$$.dir 2>/dev/null
   22146 
   22147 if mkdir -p . 2>/dev/null; then
   22148   as_mkdir_p=:
   22149 else
   22150   test -d ./-p && rmdir ./-p
   22151   as_mkdir_p=false
   22152 fi
   22153 
   22154 if test -x / >/dev/null 2>&1; then
   22155   as_test_x='test -x'
   22156 else
   22157   if ls -dL / >/dev/null 2>&1; then
   22158     as_ls_L_option=L
   22159   else
   22160     as_ls_L_option=
   22161   fi
   22162   as_test_x='
   22163     eval sh -c '\''
   22164       if test -d "$1"; then
   22165         test -d "$1/.";
   22166       else
   22167 	case $1 in
   22168         -*)set "./$1";;
   22169 	esac;
   22170 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22171 	???[sx]*):;;*)false;;esac;fi
   22172     '\'' sh
   22173   '
   22174 fi
   22175 as_executable_p=$as_test_x
   22176 
   22177 # Sed expression to map a string onto a valid CPP name.
   22178 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22179 
   22180 # Sed expression to map a string onto a valid variable name.
   22181 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22182 
   22183 
   22184 exec 6>&1
   22185 
   22186 # Save the log message, to keep $[0] and so on meaningful, and to
   22187 # report actual input values of CONFIG_FILES etc. instead of their
   22188 # values after options handling.
   22189 ac_log="
   22190 This file was extended by xf86-video-nv $as_me 2.1.10, which was
   22191 generated by GNU Autoconf 2.61.  Invocation command line was
   22192 
   22193   CONFIG_FILES    = $CONFIG_FILES
   22194   CONFIG_HEADERS  = $CONFIG_HEADERS
   22195   CONFIG_LINKS    = $CONFIG_LINKS
   22196   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22197   $ $0 $@
   22198 
   22199 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22200 "
   22201 
   22202 _ACEOF
   22203 
   22204 cat >>$CONFIG_STATUS <<_ACEOF
   22205 # Files that config.status was made for.
   22206 config_files="$ac_config_files"
   22207 config_headers="$ac_config_headers"
   22208 config_commands="$ac_config_commands"
   22209 
   22210 _ACEOF
   22211 
   22212 cat >>$CONFIG_STATUS <<\_ACEOF
   22213 ac_cs_usage="\
   22214 \`$as_me' instantiates files from templates according to the
   22215 current configuration.
   22216 
   22217 Usage: $0 [OPTIONS] [FILE]...
   22218 
   22219   -h, --help       print this help, then exit
   22220   -V, --version    print version number and configuration settings, then exit
   22221   -q, --quiet      do not print progress messages
   22222   -d, --debug      don't remove temporary files
   22223       --recheck    update $as_me by reconfiguring in the same conditions
   22224   --file=FILE[:TEMPLATE]
   22225 		   instantiate the configuration file FILE
   22226   --header=FILE[:TEMPLATE]
   22227 		   instantiate the configuration header FILE
   22228 
   22229 Configuration files:
   22230 $config_files
   22231 
   22232 Configuration headers:
   22233 $config_headers
   22234 
   22235 Configuration commands:
   22236 $config_commands
   22237 
   22238 Report bugs to <bug-autoconf (at] gnu.org>."
   22239 
   22240 _ACEOF
   22241 cat >>$CONFIG_STATUS <<_ACEOF
   22242 ac_cs_version="\\
   22243 xf86-video-nv config.status 2.1.10
   22244 configured by $0, generated by GNU Autoconf 2.61,
   22245   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22246 
   22247 Copyright (C) 2006 Free Software Foundation, Inc.
   22248 This config.status script is free software; the Free Software Foundation
   22249 gives unlimited permission to copy, distribute and modify it."
   22250 
   22251 ac_pwd='$ac_pwd'
   22252 srcdir='$srcdir'
   22253 INSTALL='$INSTALL'
   22254 MKDIR_P='$MKDIR_P'
   22255 _ACEOF
   22256 
   22257 cat >>$CONFIG_STATUS <<\_ACEOF
   22258 # If no file are specified by the user, then we need to provide default
   22259 # value.  By we need to know if files were specified by the user.
   22260 ac_need_defaults=:
   22261 while test $# != 0
   22262 do
   22263   case $1 in
   22264   --*=*)
   22265     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22266     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22267     ac_shift=:
   22268     ;;
   22269   *)
   22270     ac_option=$1
   22271     ac_optarg=$2
   22272     ac_shift=shift
   22273     ;;
   22274   esac
   22275 
   22276   case $ac_option in
   22277   # Handling of the options.
   22278   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22279     ac_cs_recheck=: ;;
   22280   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22281     echo "$ac_cs_version"; exit ;;
   22282   --debug | --debu | --deb | --de | --d | -d )
   22283     debug=: ;;
   22284   --file | --fil | --fi | --f )
   22285     $ac_shift
   22286     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   22287     ac_need_defaults=false;;
   22288   --header | --heade | --head | --hea )
   22289     $ac_shift
   22290     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   22291     ac_need_defaults=false;;
   22292   --he | --h)
   22293     # Conflict between --help and --header
   22294     { echo "$as_me: error: ambiguous option: $1
   22295 Try \`$0 --help' for more information." >&2
   22296    { (exit 1); exit 1; }; };;
   22297   --help | --hel | -h )
   22298     echo "$ac_cs_usage"; exit ;;
   22299   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22300   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22301     ac_cs_silent=: ;;
   22302 
   22303   # This is an error.
   22304   -*) { echo "$as_me: error: unrecognized option: $1
   22305 Try \`$0 --help' for more information." >&2
   22306    { (exit 1); exit 1; }; } ;;
   22307 
   22308   *) ac_config_targets="$ac_config_targets $1"
   22309      ac_need_defaults=false ;;
   22310 
   22311   esac
   22312   shift
   22313 done
   22314 
   22315 ac_configure_extra_args=
   22316 
   22317 if $ac_cs_silent; then
   22318   exec 6>/dev/null
   22319   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22320 fi
   22321 
   22322 _ACEOF
   22323 cat >>$CONFIG_STATUS <<_ACEOF
   22324 if \$ac_cs_recheck; then
   22325   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   22326   CONFIG_SHELL=$SHELL
   22327   export CONFIG_SHELL
   22328   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22329 fi
   22330 
   22331 _ACEOF
   22332 cat >>$CONFIG_STATUS <<\_ACEOF
   22333 exec 5>>config.log
   22334 {
   22335   echo
   22336   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22337 ## Running $as_me. ##
   22338 _ASBOX
   22339   echo "$ac_log"
   22340 } >&5
   22341 
   22342 _ACEOF
   22343 cat >>$CONFIG_STATUS <<_ACEOF
   22344 #
   22345 # INIT-COMMANDS
   22346 #
   22347 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22348 
   22349 _ACEOF
   22350 
   22351 cat >>$CONFIG_STATUS <<\_ACEOF
   22352 
   22353 # Handling of arguments.
   22354 for ac_config_target in $ac_config_targets
   22355 do
   22356   case $ac_config_target in
   22357     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22358     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22359     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22360     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22361     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22362     "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
   22363 
   22364   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22365 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22366    { (exit 1); exit 1; }; };;
   22367   esac
   22368 done
   22369 
   22370 
   22371 # If the user did not use the arguments to specify the items to instantiate,
   22372 # then the envvar interface is used.  Set only those that are not.
   22373 # We use the long form for the default assignment because of an extremely
   22374 # bizarre bug on SunOS 4.1.3.
   22375 if $ac_need_defaults; then
   22376   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22377   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22378   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22379 fi
   22380 
   22381 # Have a temporary directory for convenience.  Make it in the build tree
   22382 # simply because there is no reason against having it here, and in addition,
   22383 # creating and moving files from /tmp can sometimes cause problems.
   22384 # Hook for its removal unless debugging.
   22385 # Note that there is a small window in which the directory will not be cleaned:
   22386 # after its creation but before its name has been assigned to `$tmp'.
   22387 $debug ||
   22388 {
   22389   tmp=
   22390   trap 'exit_status=$?
   22391   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22392 ' 0
   22393   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22394 }
   22395 # Create a (secure) tmp directory for tmp files.
   22396 
   22397 {
   22398   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22399   test -n "$tmp" && test -d "$tmp"
   22400 }  ||
   22401 {
   22402   tmp=./conf$$-$RANDOM
   22403   (umask 077 && mkdir "$tmp")
   22404 } ||
   22405 {
   22406    echo "$me: cannot create a temporary directory in ." >&2
   22407    { (exit 1); exit 1; }
   22408 }
   22409 
   22410 #
   22411 # Set up the sed scripts for CONFIG_FILES section.
   22412 #
   22413 
   22414 # No need to generate the scripts if there are no CONFIG_FILES.
   22415 # This happens for instance when ./config.status config.h
   22416 if test -n "$CONFIG_FILES"; then
   22417 
   22418 _ACEOF
   22419 
   22420 
   22421 
   22422 ac_delim='%!_!# '
   22423 for ac_last_try in false false false false false :; do
   22424   cat >conf$$subs.sed <<_ACEOF
   22425 SHELL!$SHELL$ac_delim
   22426 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   22427 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   22428 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   22429 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   22430 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   22431 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   22432 exec_prefix!$exec_prefix$ac_delim
   22433 prefix!$prefix$ac_delim
   22434 program_transform_name!$program_transform_name$ac_delim
   22435 bindir!$bindir$ac_delim
   22436 sbindir!$sbindir$ac_delim
   22437 libexecdir!$libexecdir$ac_delim
   22438 datarootdir!$datarootdir$ac_delim
   22439 datadir!$datadir$ac_delim
   22440 sysconfdir!$sysconfdir$ac_delim
   22441 sharedstatedir!$sharedstatedir$ac_delim
   22442 localstatedir!$localstatedir$ac_delim
   22443 includedir!$includedir$ac_delim
   22444 oldincludedir!$oldincludedir$ac_delim
   22445 docdir!$docdir$ac_delim
   22446 infodir!$infodir$ac_delim
   22447 htmldir!$htmldir$ac_delim
   22448 dvidir!$dvidir$ac_delim
   22449 pdfdir!$pdfdir$ac_delim
   22450 psdir!$psdir$ac_delim
   22451 libdir!$libdir$ac_delim
   22452 localedir!$localedir$ac_delim
   22453 mandir!$mandir$ac_delim
   22454 DEFS!$DEFS$ac_delim
   22455 ECHO_C!$ECHO_C$ac_delim
   22456 ECHO_N!$ECHO_N$ac_delim
   22457 ECHO_T!$ECHO_T$ac_delim
   22458 LIBS!$LIBS$ac_delim
   22459 build_alias!$build_alias$ac_delim
   22460 host_alias!$host_alias$ac_delim
   22461 target_alias!$target_alias$ac_delim
   22462 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   22463 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   22464 INSTALL_DATA!$INSTALL_DATA$ac_delim
   22465 am__isrc!$am__isrc$ac_delim
   22466 CYGPATH_W!$CYGPATH_W$ac_delim
   22467 PACKAGE!$PACKAGE$ac_delim
   22468 VERSION!$VERSION$ac_delim
   22469 ACLOCAL!$ACLOCAL$ac_delim
   22470 AUTOCONF!$AUTOCONF$ac_delim
   22471 AUTOMAKE!$AUTOMAKE$ac_delim
   22472 AUTOHEADER!$AUTOHEADER$ac_delim
   22473 MAKEINFO!$MAKEINFO$ac_delim
   22474 install_sh!$install_sh$ac_delim
   22475 STRIP!$STRIP$ac_delim
   22476 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   22477 mkdir_p!$mkdir_p$ac_delim
   22478 AWK!$AWK$ac_delim
   22479 SET_MAKE!$SET_MAKE$ac_delim
   22480 am__leading_dot!$am__leading_dot$ac_delim
   22481 AMTAR!$AMTAR$ac_delim
   22482 am__tar!$am__tar$ac_delim
   22483 am__untar!$am__untar$ac_delim
   22484 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   22485 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   22486 MAINT!$MAINT$ac_delim
   22487 build!$build$ac_delim
   22488 build_cpu!$build_cpu$ac_delim
   22489 build_vendor!$build_vendor$ac_delim
   22490 build_os!$build_os$ac_delim
   22491 host!$host$ac_delim
   22492 host_cpu!$host_cpu$ac_delim
   22493 host_vendor!$host_vendor$ac_delim
   22494 host_os!$host_os$ac_delim
   22495 CC!$CC$ac_delim
   22496 CFLAGS!$CFLAGS$ac_delim
   22497 LDFLAGS!$LDFLAGS$ac_delim
   22498 CPPFLAGS!$CPPFLAGS$ac_delim
   22499 ac_ct_CC!$ac_ct_CC$ac_delim
   22500 EXEEXT!$EXEEXT$ac_delim
   22501 OBJEXT!$OBJEXT$ac_delim
   22502 DEPDIR!$DEPDIR$ac_delim
   22503 am__include!$am__include$ac_delim
   22504 am__quote!$am__quote$ac_delim
   22505 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   22506 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   22507 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   22508 CCDEPMODE!$CCDEPMODE$ac_delim
   22509 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   22510 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   22511 SED!$SED$ac_delim
   22512 GREP!$GREP$ac_delim
   22513 EGREP!$EGREP$ac_delim
   22514 LN_S!$LN_S$ac_delim
   22515 ECHO!$ECHO$ac_delim
   22516 AR!$AR$ac_delim
   22517 RANLIB!$RANLIB$ac_delim
   22518 DSYMUTIL!$DSYMUTIL$ac_delim
   22519 NMEDIT!$NMEDIT$ac_delim
   22520 CPP!$CPP$ac_delim
   22521 CXX!$CXX$ac_delim
   22522 _ACEOF
   22523 
   22524   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   22525     break
   22526   elif $ac_last_try; then
   22527     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22528 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22529    { (exit 1); exit 1; }; }
   22530   else
   22531     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22532   fi
   22533 done
   22534 
   22535 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22536 if test -n "$ac_eof"; then
   22537   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22538   ac_eof=`expr $ac_eof + 1`
   22539 fi
   22540 
   22541 cat >>$CONFIG_STATUS <<_ACEOF
   22542 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   22543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22544 _ACEOF
   22545 sed '
   22546 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22547 s/^/s,@/; s/!/@,|#_!!_#|/
   22548 :n
   22549 t n
   22550 s/'"$ac_delim"'$/,g/; t
   22551 s/$/\\/; p
   22552 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22553 ' >>$CONFIG_STATUS <conf$$subs.sed
   22554 rm -f conf$$subs.sed
   22555 cat >>$CONFIG_STATUS <<_ACEOF
   22556 CEOF$ac_eof
   22557 _ACEOF
   22558 
   22559 
   22560 ac_delim='%!_!# '
   22561 for ac_last_try in false false false false false :; do
   22562   cat >conf$$subs.sed <<_ACEOF
   22563 CXXFLAGS!$CXXFLAGS$ac_delim
   22564 ac_ct_CXX!$ac_ct_CXX$ac_delim
   22565 CXXDEPMODE!$CXXDEPMODE$ac_delim
   22566 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   22567 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   22568 CXXCPP!$CXXCPP$ac_delim
   22569 F77!$F77$ac_delim
   22570 FFLAGS!$FFLAGS$ac_delim
   22571 ac_ct_F77!$ac_ct_F77$ac_delim
   22572 LIBTOOL!$LIBTOOL$ac_delim
   22573 PKG_CONFIG!$PKG_CONFIG$ac_delim
   22574 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
   22575 XORG_LIBS!$XORG_LIBS$ac_delim
   22576 PCIACCESS_CFLAGS!$PCIACCESS_CFLAGS$ac_delim
   22577 PCIACCESS_LIBS!$PCIACCESS_LIBS$ac_delim
   22578 BUILD_XMODES_TRUE!$BUILD_XMODES_TRUE$ac_delim
   22579 BUILD_XMODES_FALSE!$BUILD_XMODES_FALSE$ac_delim
   22580 XMODES_CFLAGS!$XMODES_CFLAGS$ac_delim
   22581 parser_dir!$parser_dir$ac_delim
   22582 modes_dir!$modes_dir$ac_delim
   22583 moduledir!$moduledir$ac_delim
   22584 DRIVER_NAME!$DRIVER_NAME$ac_delim
   22585 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   22586 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   22587 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   22588 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   22589 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   22590 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   22591 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   22592 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   22593 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   22594 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   22595 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   22596 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   22597 LIBOBJS!$LIBOBJS$ac_delim
   22598 LTLIBOBJS!$LTLIBOBJS$ac_delim
   22599 _ACEOF
   22600 
   22601   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
   22602     break
   22603   elif $ac_last_try; then
   22604     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22605 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22606    { (exit 1); exit 1; }; }
   22607   else
   22608     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22609   fi
   22610 done
   22611 
   22612 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   22613 if test -n "$ac_eof"; then
   22614   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   22615   ac_eof=`expr $ac_eof + 1`
   22616 fi
   22617 
   22618 cat >>$CONFIG_STATUS <<_ACEOF
   22619 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   22620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   22621 _ACEOF
   22622 sed '
   22623 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   22624 s/^/s,@/; s/!/@,|#_!!_#|/
   22625 :n
   22626 t n
   22627 s/'"$ac_delim"'$/,g/; t
   22628 s/$/\\/; p
   22629 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   22630 ' >>$CONFIG_STATUS <conf$$subs.sed
   22631 rm -f conf$$subs.sed
   22632 cat >>$CONFIG_STATUS <<_ACEOF
   22633 :end
   22634 s/|#_!!_#|//g
   22635 CEOF$ac_eof
   22636 _ACEOF
   22637 
   22638 
   22639 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22640 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22641 # trailing colons and then remove the whole line if VPATH becomes empty
   22642 # (actually we leave an empty line to preserve line numbers).
   22643 if test "x$srcdir" = x.; then
   22644   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22645 s/:*\$(srcdir):*/:/
   22646 s/:*\${srcdir}:*/:/
   22647 s/:*@srcdir@:*/:/
   22648 s/^\([^=]*=[	 ]*\):*/\1/
   22649 s/:*$//
   22650 s/^[^=]*=[	 ]*$//
   22651 }'
   22652 fi
   22653 
   22654 cat >>$CONFIG_STATUS <<\_ACEOF
   22655 fi # test -n "$CONFIG_FILES"
   22656 
   22657 
   22658 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   22659 do
   22660   case $ac_tag in
   22661   :[FHLC]) ac_mode=$ac_tag; continue;;
   22662   esac
   22663   case $ac_mode$ac_tag in
   22664   :[FHL]*:*);;
   22665   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   22666 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   22667    { (exit 1); exit 1; }; };;
   22668   :[FH]-) ac_tag=-:-;;
   22669   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22670   esac
   22671   ac_save_IFS=$IFS
   22672   IFS=:
   22673   set x $ac_tag
   22674   IFS=$ac_save_IFS
   22675   shift
   22676   ac_file=$1
   22677   shift
   22678 
   22679   case $ac_mode in
   22680   :L) ac_source=$1;;
   22681   :[FH])
   22682     ac_file_inputs=
   22683     for ac_f
   22684     do
   22685       case $ac_f in
   22686       -) ac_f="$tmp/stdin";;
   22687       *) # Look for the file first in the build tree, then in the source tree
   22688 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22689 	 # because $ac_f cannot contain `:'.
   22690 	 test -f "$ac_f" ||
   22691 	   case $ac_f in
   22692 	   [\\/$]*) false;;
   22693 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22694 	   esac ||
   22695 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22696 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22697    { (exit 1); exit 1; }; };;
   22698       esac
   22699       ac_file_inputs="$ac_file_inputs $ac_f"
   22700     done
   22701 
   22702     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22703     # use $as_me), people would be surprised to read:
   22704     #    /* config.h.  Generated by config.status.  */
   22705     configure_input="Generated from "`IFS=:
   22706 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   22707     if test x"$ac_file" != x-; then
   22708       configure_input="$ac_file.  $configure_input"
   22709       { echo "$as_me:$LINENO: creating $ac_file" >&5
   22710 echo "$as_me: creating $ac_file" >&6;}
   22711     fi
   22712 
   22713     case $ac_tag in
   22714     *:-:* | *:-) cat >"$tmp/stdin";;
   22715     esac
   22716     ;;
   22717   esac
   22718 
   22719   ac_dir=`$as_dirname -- "$ac_file" ||
   22720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22721 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22722 	 X"$ac_file" : 'X\(//\)$' \| \
   22723 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22724 echo X"$ac_file" |
   22725     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22726 	    s//\1/
   22727 	    q
   22728 	  }
   22729 	  /^X\(\/\/\)[^/].*/{
   22730 	    s//\1/
   22731 	    q
   22732 	  }
   22733 	  /^X\(\/\/\)$/{
   22734 	    s//\1/
   22735 	    q
   22736 	  }
   22737 	  /^X\(\/\).*/{
   22738 	    s//\1/
   22739 	    q
   22740 	  }
   22741 	  s/.*/./; q'`
   22742   { as_dir="$ac_dir"
   22743   case $as_dir in #(
   22744   -*) as_dir=./$as_dir;;
   22745   esac
   22746   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22747     as_dirs=
   22748     while :; do
   22749       case $as_dir in #(
   22750       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22751       *) as_qdir=$as_dir;;
   22752       esac
   22753       as_dirs="'$as_qdir' $as_dirs"
   22754       as_dir=`$as_dirname -- "$as_dir" ||
   22755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22756 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22757 	 X"$as_dir" : 'X\(//\)$' \| \
   22758 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22759 echo X"$as_dir" |
   22760     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22761 	    s//\1/
   22762 	    q
   22763 	  }
   22764 	  /^X\(\/\/\)[^/].*/{
   22765 	    s//\1/
   22766 	    q
   22767 	  }
   22768 	  /^X\(\/\/\)$/{
   22769 	    s//\1/
   22770 	    q
   22771 	  }
   22772 	  /^X\(\/\).*/{
   22773 	    s//\1/
   22774 	    q
   22775 	  }
   22776 	  s/.*/./; q'`
   22777       test -d "$as_dir" && break
   22778     done
   22779     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22780   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22781 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22782    { (exit 1); exit 1; }; }; }
   22783   ac_builddir=.
   22784 
   22785 case "$ac_dir" in
   22786 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22787 *)
   22788   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22789   # A ".." for each directory in $ac_dir_suffix.
   22790   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22791   case $ac_top_builddir_sub in
   22792   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22793   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22794   esac ;;
   22795 esac
   22796 ac_abs_top_builddir=$ac_pwd
   22797 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22798 # for backward compatibility:
   22799 ac_top_builddir=$ac_top_build_prefix
   22800 
   22801 case $srcdir in
   22802   .)  # We are building in place.
   22803     ac_srcdir=.
   22804     ac_top_srcdir=$ac_top_builddir_sub
   22805     ac_abs_top_srcdir=$ac_pwd ;;
   22806   [\\/]* | ?:[\\/]* )  # Absolute name.
   22807     ac_srcdir=$srcdir$ac_dir_suffix;
   22808     ac_top_srcdir=$srcdir
   22809     ac_abs_top_srcdir=$srcdir ;;
   22810   *) # Relative name.
   22811     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22812     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22813     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22814 esac
   22815 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22816 
   22817 
   22818   case $ac_mode in
   22819   :F)
   22820   #
   22821   # CONFIG_FILE
   22822   #
   22823 
   22824   case $INSTALL in
   22825   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22826   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22827   esac
   22828   ac_MKDIR_P=$MKDIR_P
   22829   case $MKDIR_P in
   22830   [\\/$]* | ?:[\\/]* ) ;;
   22831   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22832   esac
   22833 _ACEOF
   22834 
   22835 cat >>$CONFIG_STATUS <<\_ACEOF
   22836 # If the template does not know about datarootdir, expand it.
   22837 # FIXME: This hack should be removed a few years after 2.60.
   22838 ac_datarootdir_hack=; ac_datarootdir_seen=
   22839 
   22840 case `sed -n '/datarootdir/ {
   22841   p
   22842   q
   22843 }
   22844 /@datadir@/p
   22845 /@docdir@/p
   22846 /@infodir@/p
   22847 /@localedir@/p
   22848 /@mandir@/p
   22849 ' $ac_file_inputs` in
   22850 *datarootdir*) ac_datarootdir_seen=yes;;
   22851 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22852   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22853 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22854 _ACEOF
   22855 cat >>$CONFIG_STATUS <<_ACEOF
   22856   ac_datarootdir_hack='
   22857   s&@datadir@&$datadir&g
   22858   s&@docdir@&$docdir&g
   22859   s&@infodir@&$infodir&g
   22860   s&@localedir@&$localedir&g
   22861   s&@mandir@&$mandir&g
   22862     s&\\\${datarootdir}&$datarootdir&g' ;;
   22863 esac
   22864 _ACEOF
   22865 
   22866 # Neutralize VPATH when `$srcdir' = `.'.
   22867 # Shell code in configure.ac might set extrasub.
   22868 # FIXME: do we really want to maintain this feature?
   22869 cat >>$CONFIG_STATUS <<_ACEOF
   22870   sed "$ac_vpsub
   22871 $extrasub
   22872 _ACEOF
   22873 cat >>$CONFIG_STATUS <<\_ACEOF
   22874 :t
   22875 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22876 s&@configure_input@&$configure_input&;t t
   22877 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22878 s&@srcdir@&$ac_srcdir&;t t
   22879 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22880 s&@top_srcdir@&$ac_top_srcdir&;t t
   22881 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22882 s&@builddir@&$ac_builddir&;t t
   22883 s&@abs_builddir@&$ac_abs_builddir&;t t
   22884 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22885 s&@INSTALL@&$ac_INSTALL&;t t
   22886 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22887 $ac_datarootdir_hack
   22888 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   22889 
   22890 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22891   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22892   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22893   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22894 which seems to be undefined.  Please make sure it is defined." >&5
   22895 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22896 which seems to be undefined.  Please make sure it is defined." >&2;}
   22897 
   22898   rm -f "$tmp/stdin"
   22899   case $ac_file in
   22900   -) cat "$tmp/out"; rm -f "$tmp/out";;
   22901   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   22902   esac
   22903  ;;
   22904   :H)
   22905   #
   22906   # CONFIG_HEADER
   22907   #
   22908 _ACEOF
   22909 
   22910 # Transform confdefs.h into a sed script `conftest.defines', that
   22911 # substitutes the proper values into config.h.in to produce config.h.
   22912 rm -f conftest.defines conftest.tail
   22913 # First, append a space to every undef/define line, to ease matching.
   22914 echo 's/$/ /' >conftest.defines
   22915 # Then, protect against being on the right side of a sed subst, or in
   22916 # an unquoted here document, in config.status.  If some macros were
   22917 # called several times there might be several #defines for the same
   22918 # symbol, which is useless.  But do not sort them, since the last
   22919 # AC_DEFINE must be honored.
   22920 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22921 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   22922 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   22923 # PARAMS is the parameter list in the macro definition--in most cases, it's
   22924 # just an empty string.
   22925 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   22926 ac_dB='\\)[	 (].*,\\1define\\2'
   22927 ac_dC=' '
   22928 ac_dD=' ,'
   22929 
   22930 uniq confdefs.h |
   22931   sed -n '
   22932 	t rset
   22933 	:rset
   22934 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   22935 	t ok
   22936 	d
   22937 	:ok
   22938 	s/[\\&,]/\\&/g
   22939 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   22940 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   22941   ' >>conftest.defines
   22942 
   22943 # Remove the space that was appended to ease matching.
   22944 # Then replace #undef with comments.  This is necessary, for
   22945 # example, in the case of _POSIX_SOURCE, which is predefined and required
   22946 # on some systems where configure will not decide to define it.
   22947 # (The regexp can be short, since the line contains either #define or #undef.)
   22948 echo 's/ $//
   22949 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   22950 
   22951 # Break up conftest.defines:
   22952 ac_max_sed_lines=50
   22953 
   22954 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   22955 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   22956 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   22957 # et cetera.
   22958 ac_in='$ac_file_inputs'
   22959 ac_out='"$tmp/out1"'
   22960 ac_nxt='"$tmp/out2"'
   22961 
   22962 while :
   22963 do
   22964   # Write a here document:
   22965     cat >>$CONFIG_STATUS <<_ACEOF
   22966     # First, check the format of the line:
   22967     cat >"\$tmp/defines.sed" <<\\CEOF
   22968 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   22969 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   22970 b
   22971 :def
   22972 _ACEOF
   22973   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   22974   echo 'CEOF
   22975     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   22976   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   22977   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   22978   grep . conftest.tail >/dev/null || break
   22979   rm -f conftest.defines
   22980   mv conftest.tail conftest.defines
   22981 done
   22982 rm -f conftest.defines conftest.tail
   22983 
   22984 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   22985 cat >>$CONFIG_STATUS <<\_ACEOF
   22986   if test x"$ac_file" != x-; then
   22987     echo "/* $configure_input  */" >"$tmp/config.h"
   22988     cat "$ac_result" >>"$tmp/config.h"
   22989     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   22990       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22991 echo "$as_me: $ac_file is unchanged" >&6;}
   22992     else
   22993       rm -f $ac_file
   22994       mv "$tmp/config.h" $ac_file
   22995     fi
   22996   else
   22997     echo "/* $configure_input  */"
   22998     cat "$ac_result"
   22999   fi
   23000   rm -f "$tmp/out12"
   23001 # Compute $ac_file's index in $config_headers.
   23002 _am_arg=$ac_file
   23003 _am_stamp_count=1
   23004 for _am_header in $config_headers :; do
   23005   case $_am_header in
   23006     $_am_arg | $_am_arg:* )
   23007       break ;;
   23008     * )
   23009       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23010   esac
   23011 done
   23012 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23013 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23014 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23015 	 X"$_am_arg" : 'X\(//\)$' \| \
   23016 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23017 echo X"$_am_arg" |
   23018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23019 	    s//\1/
   23020 	    q
   23021 	  }
   23022 	  /^X\(\/\/\)[^/].*/{
   23023 	    s//\1/
   23024 	    q
   23025 	  }
   23026 	  /^X\(\/\/\)$/{
   23027 	    s//\1/
   23028 	    q
   23029 	  }
   23030 	  /^X\(\/\).*/{
   23031 	    s//\1/
   23032 	    q
   23033 	  }
   23034 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23035  ;;
   23036 
   23037   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23038 echo "$as_me: executing $ac_file commands" >&6;}
   23039  ;;
   23040   esac
   23041 
   23042 
   23043   case $ac_file$ac_mode in
   23044     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   23045   # Strip MF so we end up with the name of the file.
   23046   mf=`echo "$mf" | sed -e 's/:.*$//'`
   23047   # Check whether this is an Automake generated Makefile or not.
   23048   # We used to match only the files named `Makefile.in', but
   23049   # some people rename them; so instead we look at the file content.
   23050   # Grep'ing the first line is not enough: some people post-process
   23051   # each Makefile.in and add a new line on top of each file to say so.
   23052   # Grep'ing the whole file is not good either: AIX grep has a line
   23053   # limit of 2048, but all sed's we know have understand at least 4000.
   23054   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23055     dirpart=`$as_dirname -- "$mf" ||
   23056 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23057 	 X"$mf" : 'X\(//\)[^/]' \| \
   23058 	 X"$mf" : 'X\(//\)$' \| \
   23059 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23060 echo X"$mf" |
   23061     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23062 	    s//\1/
   23063 	    q
   23064 	  }
   23065 	  /^X\(\/\/\)[^/].*/{
   23066 	    s//\1/
   23067 	    q
   23068 	  }
   23069 	  /^X\(\/\/\)$/{
   23070 	    s//\1/
   23071 	    q
   23072 	  }
   23073 	  /^X\(\/\).*/{
   23074 	    s//\1/
   23075 	    q
   23076 	  }
   23077 	  s/.*/./; q'`
   23078   else
   23079     continue
   23080   fi
   23081   # Extract the definition of DEPDIR, am__include, and am__quote
   23082   # from the Makefile without running `make'.
   23083   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23084   test -z "$DEPDIR" && continue
   23085   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23086   test -z "am__include" && continue
   23087   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23088   # When using ansi2knr, U may be empty or an underscore; expand it
   23089   U=`sed -n 's/^U = //p' < "$mf"`
   23090   # Find all dependency output files, they are included files with
   23091   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23092   # simplest approach to changing $(DEPDIR) to its actual value in the
   23093   # expansion.
   23094   for file in `sed -n "
   23095     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23096        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23097     # Make sure the directory exists.
   23098     test -f "$dirpart/$file" && continue
   23099     fdir=`$as_dirname -- "$file" ||
   23100 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23101 	 X"$file" : 'X\(//\)[^/]' \| \
   23102 	 X"$file" : 'X\(//\)$' \| \
   23103 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23104 echo X"$file" |
   23105     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23106 	    s//\1/
   23107 	    q
   23108 	  }
   23109 	  /^X\(\/\/\)[^/].*/{
   23110 	    s//\1/
   23111 	    q
   23112 	  }
   23113 	  /^X\(\/\/\)$/{
   23114 	    s//\1/
   23115 	    q
   23116 	  }
   23117 	  /^X\(\/\).*/{
   23118 	    s//\1/
   23119 	    q
   23120 	  }
   23121 	  s/.*/./; q'`
   23122     { as_dir=$dirpart/$fdir
   23123   case $as_dir in #(
   23124   -*) as_dir=./$as_dir;;
   23125   esac
   23126   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23127     as_dirs=
   23128     while :; do
   23129       case $as_dir in #(
   23130       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   23131       *) as_qdir=$as_dir;;
   23132       esac
   23133       as_dirs="'$as_qdir' $as_dirs"
   23134       as_dir=`$as_dirname -- "$as_dir" ||
   23135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23136 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23137 	 X"$as_dir" : 'X\(//\)$' \| \
   23138 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23139 echo X"$as_dir" |
   23140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23141 	    s//\1/
   23142 	    q
   23143 	  }
   23144 	  /^X\(\/\/\)[^/].*/{
   23145 	    s//\1/
   23146 	    q
   23147 	  }
   23148 	  /^X\(\/\/\)$/{
   23149 	    s//\1/
   23150 	    q
   23151 	  }
   23152 	  /^X\(\/\).*/{
   23153 	    s//\1/
   23154 	    q
   23155 	  }
   23156 	  s/.*/./; q'`
   23157       test -d "$as_dir" && break
   23158     done
   23159     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23160   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23161 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23162    { (exit 1); exit 1; }; }; }
   23163     # echo "creating $dirpart/$file"
   23164     echo '# dummy' > "$dirpart/$file"
   23165   done
   23166 done
   23167  ;;
   23168 
   23169   esac
   23170 done # for ac_tag
   23171 
   23172 
   23173 { (exit 0); exit 0; }
   23174 _ACEOF
   23175 chmod +x $CONFIG_STATUS
   23176 ac_clean_files=$ac_clean_files_save
   23177 
   23178 
   23179 # configure is writing to config.log, and then calls config.status.
   23180 # config.status does its own redirection, appending to config.log.
   23181 # Unfortunately, on DOS this fails, as config.log is still kept open
   23182 # by configure, so config.status won't be able to write to it; its
   23183 # output is simply discarded.  So we exec the FD to /dev/null,
   23184 # effectively closing config.log, so it can be properly (re)opened and
   23185 # appended to by config.status.  When coming back to configure, we
   23186 # need to make the FD available again.
   23187 if test "$no_create" != yes; then
   23188   ac_cs_success=:
   23189   ac_config_status_args=
   23190   test "$silent" = yes &&
   23191     ac_config_status_args="$ac_config_status_args --quiet"
   23192   exec 5>/dev/null
   23193   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23194   exec 5>>config.log
   23195   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23196   # would make configure fail if this is the last instruction.
   23197   $ac_cs_success || { (exit 1); exit 1; }
   23198 fi
   23199 
   23200