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 libXrender 0.9.4.
      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='libXrender'
    730 PACKAGE_TARNAME='libXrender'
    731 PACKAGE_VERSION='0.9.4'
    732 PACKAGE_STRING='libXrender 0.9.4'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 # Factoring default headers for most tests.
    736 ac_includes_default="\
    737 #include <stdio.h>
    738 #ifdef HAVE_SYS_TYPES_H
    739 # include <sys/types.h>
    740 #endif
    741 #ifdef HAVE_SYS_STAT_H
    742 # include <sys/stat.h>
    743 #endif
    744 #ifdef STDC_HEADERS
    745 # include <stdlib.h>
    746 # include <stddef.h>
    747 #else
    748 # ifdef HAVE_STDLIB_H
    749 #  include <stdlib.h>
    750 # endif
    751 #endif
    752 #ifdef HAVE_STRING_H
    753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    754 #  include <memory.h>
    755 # endif
    756 # include <string.h>
    757 #endif
    758 #ifdef HAVE_STRINGS_H
    759 # include <strings.h>
    760 #endif
    761 #ifdef HAVE_INTTYPES_H
    762 # include <inttypes.h>
    763 #endif
    764 #ifdef HAVE_STDINT_H
    765 # include <stdint.h>
    766 #endif
    767 #ifdef HAVE_UNISTD_H
    768 # include <unistd.h>
    769 #endif"
    770 
    771 ac_subst_vars='SHELL
    772 PATH_SEPARATOR
    773 PACKAGE_NAME
    774 PACKAGE_TARNAME
    775 PACKAGE_VERSION
    776 PACKAGE_STRING
    777 PACKAGE_BUGREPORT
    778 exec_prefix
    779 prefix
    780 program_transform_name
    781 bindir
    782 sbindir
    783 libexecdir
    784 datarootdir
    785 datadir
    786 sysconfdir
    787 sharedstatedir
    788 localstatedir
    789 includedir
    790 oldincludedir
    791 docdir
    792 infodir
    793 htmldir
    794 dvidir
    795 pdfdir
    796 psdir
    797 libdir
    798 localedir
    799 mandir
    800 DEFS
    801 ECHO_C
    802 ECHO_N
    803 ECHO_T
    804 LIBS
    805 build_alias
    806 host_alias
    807 target_alias
    808 INSTALL_PROGRAM
    809 INSTALL_SCRIPT
    810 INSTALL_DATA
    811 am__isrc
    812 CYGPATH_W
    813 PACKAGE
    814 VERSION
    815 ACLOCAL
    816 AUTOCONF
    817 AUTOMAKE
    818 AUTOHEADER
    819 MAKEINFO
    820 install_sh
    821 STRIP
    822 INSTALL_STRIP_PROGRAM
    823 mkdir_p
    824 AWK
    825 SET_MAKE
    826 am__leading_dot
    827 AMTAR
    828 am__tar
    829 am__untar
    830 MAINTAINER_MODE_TRUE
    831 MAINTAINER_MODE_FALSE
    832 MAINT
    833 CC
    834 CFLAGS
    835 LDFLAGS
    836 CPPFLAGS
    837 ac_ct_CC
    838 EXEEXT
    839 OBJEXT
    840 DEPDIR
    841 am__include
    842 am__quote
    843 AMDEP_TRUE
    844 AMDEP_FALSE
    845 AMDEPBACKSLASH
    846 CCDEPMODE
    847 am__fastdepCC_TRUE
    848 am__fastdepCC_FALSE
    849 build
    850 build_cpu
    851 build_vendor
    852 build_os
    853 host
    854 host_cpu
    855 host_vendor
    856 host_os
    857 GREP
    858 EGREP
    859 LN_S
    860 ECHO
    861 AR
    862 RANLIB
    863 CPP
    864 CXX
    865 CXXFLAGS
    866 ac_ct_CXX
    867 CXXDEPMODE
    868 am__fastdepCXX_TRUE
    869 am__fastdepCXX_FALSE
    870 CXXCPP
    871 F77
    872 FFLAGS
    873 ac_ct_F77
    874 LIBTOOL
    875 PKG_CONFIG
    876 X_CFLAGS
    877 X_LIBS
    878 X_REQUIRES
    879 X_NON_PKG_CFLAGS
    880 X_NON_PKG_LIBS
    881 RENDER_VERSION
    882 RENDER_CFLAGS
    883 RENDER_LIBS
    884 MALLOC_ZERO_CFLAGS
    885 XMALLOC_ZERO_CFLAGS
    886 XTMALLOC_ZERO_CFLAGS
    887 LIBOBJS
    888 LTLIBOBJS'
    889 ac_subst_files=''
    890       ac_precious_vars='build_alias
    891 host_alias
    892 target_alias
    893 CC
    894 CFLAGS
    895 LDFLAGS
    896 LIBS
    897 CPPFLAGS
    898 CPP
    899 CXX
    900 CXXFLAGS
    901 CCC
    902 CXXCPP
    903 F77
    904 FFLAGS
    905 PKG_CONFIG
    906 X_CFLAGS
    907 X_LIBS
    908 RENDER_CFLAGS
    909 RENDER_LIBS'
    910 
    911 
    912 # Initialize some variables set by options.
    913 ac_init_help=
    914 ac_init_version=false
    915 # The variables have the same names as the options, with
    916 # dashes changed to underlines.
    917 cache_file=/dev/null
    918 exec_prefix=NONE
    919 no_create=
    920 no_recursion=
    921 prefix=NONE
    922 program_prefix=NONE
    923 program_suffix=NONE
    924 program_transform_name=s,x,x,
    925 silent=
    926 site=
    927 srcdir=
    928 verbose=
    929 x_includes=NONE
    930 x_libraries=NONE
    931 
    932 # Installation directory options.
    933 # These are left unexpanded so users can "make install exec_prefix=/foo"
    934 # and all the variables that are supposed to be based on exec_prefix
    935 # by default will actually change.
    936 # Use braces instead of parens because sh, perl, etc. also accept them.
    937 # (The list follows the same order as the GNU Coding Standards.)
    938 bindir='${exec_prefix}/bin'
    939 sbindir='${exec_prefix}/sbin'
    940 libexecdir='${exec_prefix}/libexec'
    941 datarootdir='${prefix}/share'
    942 datadir='${datarootdir}'
    943 sysconfdir='${prefix}/etc'
    944 sharedstatedir='${prefix}/com'
    945 localstatedir='${prefix}/var'
    946 includedir='${prefix}/include'
    947 oldincludedir='/usr/include'
    948 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    949 infodir='${datarootdir}/info'
    950 htmldir='${docdir}'
    951 dvidir='${docdir}'
    952 pdfdir='${docdir}'
    953 psdir='${docdir}'
    954 libdir='${exec_prefix}/lib'
    955 localedir='${datarootdir}/locale'
    956 mandir='${datarootdir}/man'
    957 
    958 ac_prev=
    959 ac_dashdash=
    960 for ac_option
    961 do
    962   # If the previous option needs an argument, assign it.
    963   if test -n "$ac_prev"; then
    964     eval $ac_prev=\$ac_option
    965     ac_prev=
    966     continue
    967   fi
    968 
    969   case $ac_option in
    970   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    971   *)	ac_optarg=yes ;;
    972   esac
    973 
    974   # Accept the important Cygnus configure options, so we can diagnose typos.
    975 
    976   case $ac_dashdash$ac_option in
    977   --)
    978     ac_dashdash=yes ;;
    979 
    980   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    981     ac_prev=bindir ;;
    982   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    983     bindir=$ac_optarg ;;
    984 
    985   -build | --build | --buil | --bui | --bu)
    986     ac_prev=build_alias ;;
    987   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    988     build_alias=$ac_optarg ;;
    989 
    990   -cache-file | --cache-file | --cache-fil | --cache-fi \
    991   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    992     ac_prev=cache_file ;;
    993   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    994   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    995     cache_file=$ac_optarg ;;
    996 
    997   --config-cache | -C)
    998     cache_file=config.cache ;;
    999 
   1000   -datadir | --datadir | --datadi | --datad)
   1001     ac_prev=datadir ;;
   1002   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1003     datadir=$ac_optarg ;;
   1004 
   1005   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1006   | --dataroo | --dataro | --datar)
   1007     ac_prev=datarootdir ;;
   1008   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1009   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1010     datarootdir=$ac_optarg ;;
   1011 
   1012   -disable-* | --disable-*)
   1013     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1014     # Reject names that are not valid shell variable names.
   1015     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1016       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1017    { (exit 1); exit 1; }; }
   1018     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1019     eval enable_$ac_feature=no ;;
   1020 
   1021   -docdir | --docdir | --docdi | --doc | --do)
   1022     ac_prev=docdir ;;
   1023   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1024     docdir=$ac_optarg ;;
   1025 
   1026   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1027     ac_prev=dvidir ;;
   1028   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1029     dvidir=$ac_optarg ;;
   1030 
   1031   -enable-* | --enable-*)
   1032     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1033     # Reject names that are not valid shell variable names.
   1034     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1035       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1036    { (exit 1); exit 1; }; }
   1037     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1038     eval enable_$ac_feature=\$ac_optarg ;;
   1039 
   1040   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1041   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1042   | --exec | --exe | --ex)
   1043     ac_prev=exec_prefix ;;
   1044   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1045   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1046   | --exec=* | --exe=* | --ex=*)
   1047     exec_prefix=$ac_optarg ;;
   1048 
   1049   -gas | --gas | --ga | --g)
   1050     # Obsolete; use --with-gas.
   1051     with_gas=yes ;;
   1052 
   1053   -help | --help | --hel | --he | -h)
   1054     ac_init_help=long ;;
   1055   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1056     ac_init_help=recursive ;;
   1057   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1058     ac_init_help=short ;;
   1059 
   1060   -host | --host | --hos | --ho)
   1061     ac_prev=host_alias ;;
   1062   -host=* | --host=* | --hos=* | --ho=*)
   1063     host_alias=$ac_optarg ;;
   1064 
   1065   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1066     ac_prev=htmldir ;;
   1067   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1068   | --ht=*)
   1069     htmldir=$ac_optarg ;;
   1070 
   1071   -includedir | --includedir | --includedi | --included | --include \
   1072   | --includ | --inclu | --incl | --inc)
   1073     ac_prev=includedir ;;
   1074   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1075   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1076     includedir=$ac_optarg ;;
   1077 
   1078   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1079     ac_prev=infodir ;;
   1080   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1081     infodir=$ac_optarg ;;
   1082 
   1083   -libdir | --libdir | --libdi | --libd)
   1084     ac_prev=libdir ;;
   1085   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1086     libdir=$ac_optarg ;;
   1087 
   1088   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1089   | --libexe | --libex | --libe)
   1090     ac_prev=libexecdir ;;
   1091   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1092   | --libexe=* | --libex=* | --libe=*)
   1093     libexecdir=$ac_optarg ;;
   1094 
   1095   -localedir | --localedir | --localedi | --localed | --locale)
   1096     ac_prev=localedir ;;
   1097   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1098     localedir=$ac_optarg ;;
   1099 
   1100   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1101   | --localstate | --localstat | --localsta | --localst | --locals)
   1102     ac_prev=localstatedir ;;
   1103   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1104   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1105     localstatedir=$ac_optarg ;;
   1106 
   1107   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1108     ac_prev=mandir ;;
   1109   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1110     mandir=$ac_optarg ;;
   1111 
   1112   -nfp | --nfp | --nf)
   1113     # Obsolete; use --without-fp.
   1114     with_fp=no ;;
   1115 
   1116   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1117   | --no-cr | --no-c | -n)
   1118     no_create=yes ;;
   1119 
   1120   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1121   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1122     no_recursion=yes ;;
   1123 
   1124   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1125   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1126   | --oldin | --oldi | --old | --ol | --o)
   1127     ac_prev=oldincludedir ;;
   1128   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1129   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1130   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1131     oldincludedir=$ac_optarg ;;
   1132 
   1133   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1134     ac_prev=prefix ;;
   1135   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1136     prefix=$ac_optarg ;;
   1137 
   1138   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1139   | --program-pre | --program-pr | --program-p)
   1140     ac_prev=program_prefix ;;
   1141   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1142   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1143     program_prefix=$ac_optarg ;;
   1144 
   1145   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1146   | --program-suf | --program-su | --program-s)
   1147     ac_prev=program_suffix ;;
   1148   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1149   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1150     program_suffix=$ac_optarg ;;
   1151 
   1152   -program-transform-name | --program-transform-name \
   1153   | --program-transform-nam | --program-transform-na \
   1154   | --program-transform-n | --program-transform- \
   1155   | --program-transform | --program-transfor \
   1156   | --program-transfo | --program-transf \
   1157   | --program-trans | --program-tran \
   1158   | --progr-tra | --program-tr | --program-t)
   1159     ac_prev=program_transform_name ;;
   1160   -program-transform-name=* | --program-transform-name=* \
   1161   | --program-transform-nam=* | --program-transform-na=* \
   1162   | --program-transform-n=* | --program-transform-=* \
   1163   | --program-transform=* | --program-transfor=* \
   1164   | --program-transfo=* | --program-transf=* \
   1165   | --program-trans=* | --program-tran=* \
   1166   | --progr-tra=* | --program-tr=* | --program-t=*)
   1167     program_transform_name=$ac_optarg ;;
   1168 
   1169   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1170     ac_prev=pdfdir ;;
   1171   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1172     pdfdir=$ac_optarg ;;
   1173 
   1174   -psdir | --psdir | --psdi | --psd | --ps)
   1175     ac_prev=psdir ;;
   1176   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1177     psdir=$ac_optarg ;;
   1178 
   1179   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1180   | -silent | --silent | --silen | --sile | --sil)
   1181     silent=yes ;;
   1182 
   1183   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1184     ac_prev=sbindir ;;
   1185   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1186   | --sbi=* | --sb=*)
   1187     sbindir=$ac_optarg ;;
   1188 
   1189   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1190   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1191   | --sharedst | --shareds | --shared | --share | --shar \
   1192   | --sha | --sh)
   1193     ac_prev=sharedstatedir ;;
   1194   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1195   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1196   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1197   | --sha=* | --sh=*)
   1198     sharedstatedir=$ac_optarg ;;
   1199 
   1200   -site | --site | --sit)
   1201     ac_prev=site ;;
   1202   -site=* | --site=* | --sit=*)
   1203     site=$ac_optarg ;;
   1204 
   1205   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1206     ac_prev=srcdir ;;
   1207   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1208     srcdir=$ac_optarg ;;
   1209 
   1210   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1211   | --syscon | --sysco | --sysc | --sys | --sy)
   1212     ac_prev=sysconfdir ;;
   1213   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1214   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1215     sysconfdir=$ac_optarg ;;
   1216 
   1217   -target | --target | --targe | --targ | --tar | --ta | --t)
   1218     ac_prev=target_alias ;;
   1219   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1220     target_alias=$ac_optarg ;;
   1221 
   1222   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1223     verbose=yes ;;
   1224 
   1225   -version | --version | --versio | --versi | --vers | -V)
   1226     ac_init_version=: ;;
   1227 
   1228   -with-* | --with-*)
   1229     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1230     # Reject names that are not valid shell variable names.
   1231     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1232       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1233    { (exit 1); exit 1; }; }
   1234     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1235     eval with_$ac_package=\$ac_optarg ;;
   1236 
   1237   -without-* | --without-*)
   1238     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1239     # Reject names that are not valid shell variable names.
   1240     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1241       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1242    { (exit 1); exit 1; }; }
   1243     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1244     eval with_$ac_package=no ;;
   1245 
   1246   --x)
   1247     # Obsolete; use --with-x.
   1248     with_x=yes ;;
   1249 
   1250   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1251   | --x-incl | --x-inc | --x-in | --x-i)
   1252     ac_prev=x_includes ;;
   1253   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1254   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1255     x_includes=$ac_optarg ;;
   1256 
   1257   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1258   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1259     ac_prev=x_libraries ;;
   1260   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1261   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1262     x_libraries=$ac_optarg ;;
   1263 
   1264   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1265 Try \`$0 --help' for more information." >&2
   1266    { (exit 1); exit 1; }; }
   1267     ;;
   1268 
   1269   *=*)
   1270     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1271     # Reject names that are not valid shell variable names.
   1272     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1273       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1274    { (exit 1); exit 1; }; }
   1275     eval $ac_envvar=\$ac_optarg
   1276     export $ac_envvar ;;
   1277 
   1278   *)
   1279     # FIXME: should be removed in autoconf 3.0.
   1280     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1281     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1282       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1283     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1284     ;;
   1285 
   1286   esac
   1287 done
   1288 
   1289 if test -n "$ac_prev"; then
   1290   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1291   { echo "$as_me: error: missing argument to $ac_option" >&2
   1292    { (exit 1); exit 1; }; }
   1293 fi
   1294 
   1295 # Be sure to have absolute directory names.
   1296 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1297 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1298 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1299 		libdir localedir mandir
   1300 do
   1301   eval ac_val=\$$ac_var
   1302   case $ac_val in
   1303     [\\/$]* | ?:[\\/]* )  continue;;
   1304     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1305   esac
   1306   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1307    { (exit 1); exit 1; }; }
   1308 done
   1309 
   1310 # There might be people who depend on the old broken behavior: `$host'
   1311 # used to hold the argument of --host etc.
   1312 # FIXME: To remove some day.
   1313 build=$build_alias
   1314 host=$host_alias
   1315 target=$target_alias
   1316 
   1317 # FIXME: To remove some day.
   1318 if test "x$host_alias" != x; then
   1319   if test "x$build_alias" = x; then
   1320     cross_compiling=maybe
   1321     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1322     If a cross compiler is detected then cross compile mode will be used." >&2
   1323   elif test "x$build_alias" != "x$host_alias"; then
   1324     cross_compiling=yes
   1325   fi
   1326 fi
   1327 
   1328 ac_tool_prefix=
   1329 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1330 
   1331 test "$silent" = yes && exec 6>/dev/null
   1332 
   1333 
   1334 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1335 ac_ls_di=`ls -di .` &&
   1336 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1337   { echo "$as_me: error: Working directory cannot be determined" >&2
   1338    { (exit 1); exit 1; }; }
   1339 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1340   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1341    { (exit 1); exit 1; }; }
   1342 
   1343 
   1344 # Find the source files, if location was not specified.
   1345 if test -z "$srcdir"; then
   1346   ac_srcdir_defaulted=yes
   1347   # Try the directory containing this script, then the parent directory.
   1348   ac_confdir=`$as_dirname -- "$0" ||
   1349 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1350 	 X"$0" : 'X\(//\)[^/]' \| \
   1351 	 X"$0" : 'X\(//\)$' \| \
   1352 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1353 echo X"$0" |
   1354     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  /^X\(\/\/\)[^/].*/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  /^X\(\/\/\)$/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  /^X\(\/\).*/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  s/.*/./; q'`
   1371   srcdir=$ac_confdir
   1372   if test ! -r "$srcdir/$ac_unique_file"; then
   1373     srcdir=..
   1374   fi
   1375 else
   1376   ac_srcdir_defaulted=no
   1377 fi
   1378 if test ! -r "$srcdir/$ac_unique_file"; then
   1379   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1380   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1381    { (exit 1); exit 1; }; }
   1382 fi
   1383 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1384 ac_abs_confdir=`(
   1385 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1386    { (exit 1); exit 1; }; }
   1387 	pwd)`
   1388 # When building in place, set srcdir=.
   1389 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1390   srcdir=.
   1391 fi
   1392 # Remove unnecessary trailing slashes from srcdir.
   1393 # Double slashes in file names in object file debugging info
   1394 # mess up M-x gdb in Emacs.
   1395 case $srcdir in
   1396 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1397 esac
   1398 for ac_var in $ac_precious_vars; do
   1399   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1400   eval ac_env_${ac_var}_value=\$${ac_var}
   1401   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1402   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1403 done
   1404 
   1405 #
   1406 # Report the --help message.
   1407 #
   1408 if test "$ac_init_help" = "long"; then
   1409   # Omit some internal or obsolete options to make the list less imposing.
   1410   # This message is too long to be a string in the A/UX 3.1 sh.
   1411   cat <<_ACEOF
   1412 \`configure' configures libXrender 0.9.4 to adapt to many kinds of systems.
   1413 
   1414 Usage: $0 [OPTION]... [VAR=VALUE]...
   1415 
   1416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1417 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1418 
   1419 Defaults for the options are specified in brackets.
   1420 
   1421 Configuration:
   1422   -h, --help              display this help and exit
   1423       --help=short        display options specific to this package
   1424       --help=recursive    display the short help of all the included packages
   1425   -V, --version           display version information and exit
   1426   -q, --quiet, --silent   do not print \`checking...' messages
   1427       --cache-file=FILE   cache test results in FILE [disabled]
   1428   -C, --config-cache      alias for \`--cache-file=config.cache'
   1429   -n, --no-create         do not create output files
   1430       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1431 
   1432 Installation directories:
   1433   --prefix=PREFIX         install architecture-independent files in PREFIX
   1434 			  [$ac_default_prefix]
   1435   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1436 			  [PREFIX]
   1437 
   1438 By default, \`make install' will install all the files in
   1439 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1440 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1441 for instance \`--prefix=\$HOME'.
   1442 
   1443 For better control, use the options below.
   1444 
   1445 Fine tuning of the installation directories:
   1446   --bindir=DIR           user executables [EPREFIX/bin]
   1447   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1448   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1449   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1450   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1451   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1452   --libdir=DIR           object code libraries [EPREFIX/lib]
   1453   --includedir=DIR       C header files [PREFIX/include]
   1454   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1455   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1456   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1457   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1458   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1459   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1460   --docdir=DIR           documentation root [DATAROOTDIR/doc/libXrender]
   1461   --htmldir=DIR          html documentation [DOCDIR]
   1462   --dvidir=DIR           dvi documentation [DOCDIR]
   1463   --pdfdir=DIR           pdf documentation [DOCDIR]
   1464   --psdir=DIR            ps documentation [DOCDIR]
   1465 _ACEOF
   1466 
   1467   cat <<\_ACEOF
   1468 
   1469 Program names:
   1470   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1471   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1472   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1473 
   1474 System types:
   1475   --build=BUILD     configure for building on BUILD [guessed]
   1476   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1477 _ACEOF
   1478 fi
   1479 
   1480 if test -n "$ac_init_help"; then
   1481   case $ac_init_help in
   1482      short | recursive ) echo "Configuration of libXrender 0.9.4:";;
   1483    esac
   1484   cat <<\_ACEOF
   1485 
   1486 Optional Features:
   1487   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1488   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1489   --enable-maintainer-mode  enable make rules and dependencies not useful
   1490 			  (and sometimes confusing) to the casual installer
   1491   --disable-dependency-tracking  speeds up one-time build
   1492   --enable-dependency-tracking   do not reject slow dependency extractors
   1493   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1494   --enable-static[=PKGS]  build static libraries [default=yes]
   1495   --enable-fast-install[=PKGS]
   1496                           optimize for fast installation [default=yes]
   1497   --disable-libtool-lock  avoid locking (might break parallel builds)
   1498   --enable-malloc0returnsnull
   1499                           malloc(0) returns NULL (default: auto)
   1500 
   1501 Optional Packages:
   1502   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1503   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1504   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1505   --with-pic              try to use only PIC/non-PIC objects [default=use
   1506                           both]
   1507   --with-tags[=TAGS]      include additional configurations [automatic]
   1508   --with-release-version=STRING
   1509                           Use release version string in package name
   1510 
   1511 Some influential environment variables:
   1512   CC          C compiler command
   1513   CFLAGS      C compiler flags
   1514   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1515               nonstandard directory <lib dir>
   1516   LIBS        libraries to pass to the linker, e.g. -l<library>
   1517   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1518               you have headers in a nonstandard directory <include dir>
   1519   CPP         C preprocessor
   1520   CXX         C++ compiler command
   1521   CXXFLAGS    C++ compiler flags
   1522   CXXCPP      C++ preprocessor
   1523   F77         Fortran 77 compiler command
   1524   FFLAGS      Fortran 77 compiler flags
   1525   PKG_CONFIG  path to pkg-config utility
   1526   X_CFLAGS    C compiler flags for X, overriding pkg-config
   1527   X_LIBS      linker flags for X, overriding pkg-config
   1528   RENDER_CFLAGS
   1529               C compiler flags for RENDER, overriding pkg-config
   1530   RENDER_LIBS linker flags for RENDER, overriding pkg-config
   1531 
   1532 Use these variables to override the choices made by `configure' or to help
   1533 it to find libraries and programs with nonstandard names/locations.
   1534 
   1535 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1536 _ACEOF
   1537 ac_status=$?
   1538 fi
   1539 
   1540 if test "$ac_init_help" = "recursive"; then
   1541   # If there are subdirs, report their specific --help.
   1542   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1543     test -d "$ac_dir" || continue
   1544     ac_builddir=.
   1545 
   1546 case "$ac_dir" in
   1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1548 *)
   1549   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1550   # A ".." for each directory in $ac_dir_suffix.
   1551   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1552   case $ac_top_builddir_sub in
   1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1555   esac ;;
   1556 esac
   1557 ac_abs_top_builddir=$ac_pwd
   1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1559 # for backward compatibility:
   1560 ac_top_builddir=$ac_top_build_prefix
   1561 
   1562 case $srcdir in
   1563   .)  # We are building in place.
   1564     ac_srcdir=.
   1565     ac_top_srcdir=$ac_top_builddir_sub
   1566     ac_abs_top_srcdir=$ac_pwd ;;
   1567   [\\/]* | ?:[\\/]* )  # Absolute name.
   1568     ac_srcdir=$srcdir$ac_dir_suffix;
   1569     ac_top_srcdir=$srcdir
   1570     ac_abs_top_srcdir=$srcdir ;;
   1571   *) # Relative name.
   1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1575 esac
   1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1577 
   1578     cd "$ac_dir" || { ac_status=$?; continue; }
   1579     # Check for guested configure.
   1580     if test -f "$ac_srcdir/configure.gnu"; then
   1581       echo &&
   1582       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1583     elif test -f "$ac_srcdir/configure"; then
   1584       echo &&
   1585       $SHELL "$ac_srcdir/configure" --help=recursive
   1586     else
   1587       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1588     fi || ac_status=$?
   1589     cd "$ac_pwd" || { ac_status=$?; break; }
   1590   done
   1591 fi
   1592 
   1593 test -n "$ac_init_help" && exit $ac_status
   1594 if $ac_init_version; then
   1595   cat <<\_ACEOF
   1596 libXrender configure 0.9.4
   1597 generated by GNU Autoconf 2.61
   1598 
   1599 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1600 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1601 This configure script is free software; the Free Software Foundation
   1602 gives unlimited permission to copy, distribute and modify it.
   1603 _ACEOF
   1604   exit
   1605 fi
   1606 cat >config.log <<_ACEOF
   1607 This file contains any messages produced by compilers while
   1608 running configure, to aid debugging if configure makes a mistake.
   1609 
   1610 It was created by libXrender $as_me 0.9.4, which was
   1611 generated by GNU Autoconf 2.61.  Invocation command line was
   1612 
   1613   $ $0 $@
   1614 
   1615 _ACEOF
   1616 exec 5>>config.log
   1617 {
   1618 cat <<_ASUNAME
   1619 ## --------- ##
   1620 ## Platform. ##
   1621 ## --------- ##
   1622 
   1623 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1624 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1625 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1626 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1627 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1628 
   1629 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1630 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1631 
   1632 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1633 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1634 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1635 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1636 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1637 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1638 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1639 
   1640 _ASUNAME
   1641 
   1642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1643 for as_dir in $PATH
   1644 do
   1645   IFS=$as_save_IFS
   1646   test -z "$as_dir" && as_dir=.
   1647   echo "PATH: $as_dir"
   1648 done
   1649 IFS=$as_save_IFS
   1650 
   1651 } >&5
   1652 
   1653 cat >&5 <<_ACEOF
   1654 
   1655 
   1656 ## ----------- ##
   1657 ## Core tests. ##
   1658 ## ----------- ##
   1659 
   1660 _ACEOF
   1661 
   1662 
   1663 # Keep a trace of the command line.
   1664 # Strip out --no-create and --no-recursion so they do not pile up.
   1665 # Strip out --silent because we don't want to record it for future runs.
   1666 # Also quote any args containing shell meta-characters.
   1667 # Make two passes to allow for proper duplicate-argument suppression.
   1668 ac_configure_args=
   1669 ac_configure_args0=
   1670 ac_configure_args1=
   1671 ac_must_keep_next=false
   1672 for ac_pass in 1 2
   1673 do
   1674   for ac_arg
   1675   do
   1676     case $ac_arg in
   1677     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1678     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1679     | -silent | --silent | --silen | --sile | --sil)
   1680       continue ;;
   1681     *\'*)
   1682       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1683     esac
   1684     case $ac_pass in
   1685     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1686     2)
   1687       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1688       if test $ac_must_keep_next = true; then
   1689 	ac_must_keep_next=false # Got value, back to normal.
   1690       else
   1691 	case $ac_arg in
   1692 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1693 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1694 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1695 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1696 	    case "$ac_configure_args0 " in
   1697 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1698 	    esac
   1699 	    ;;
   1700 	  -* ) ac_must_keep_next=true ;;
   1701 	esac
   1702       fi
   1703       ac_configure_args="$ac_configure_args '$ac_arg'"
   1704       ;;
   1705     esac
   1706   done
   1707 done
   1708 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1709 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1710 
   1711 # When interrupted or exit'd, cleanup temporary files, and complete
   1712 # config.log.  We remove comments because anyway the quotes in there
   1713 # would cause problems or look ugly.
   1714 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1715 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1716 trap 'exit_status=$?
   1717   # Save into config.log some information that might help in debugging.
   1718   {
   1719     echo
   1720 
   1721     cat <<\_ASBOX
   1722 ## ---------------- ##
   1723 ## Cache variables. ##
   1724 ## ---------------- ##
   1725 _ASBOX
   1726     echo
   1727     # The following way of writing the cache mishandles newlines in values,
   1728 (
   1729   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1730     eval ac_val=\$$ac_var
   1731     case $ac_val in #(
   1732     *${as_nl}*)
   1733       case $ac_var in #(
   1734       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1735 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1736       esac
   1737       case $ac_var in #(
   1738       _ | IFS | as_nl) ;; #(
   1739       *) $as_unset $ac_var ;;
   1740       esac ;;
   1741     esac
   1742   done
   1743   (set) 2>&1 |
   1744     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1745     *${as_nl}ac_space=\ *)
   1746       sed -n \
   1747 	"s/'\''/'\''\\\\'\'''\''/g;
   1748 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1749       ;; #(
   1750     *)
   1751       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1752       ;;
   1753     esac |
   1754     sort
   1755 )
   1756     echo
   1757 
   1758     cat <<\_ASBOX
   1759 ## ----------------- ##
   1760 ## Output variables. ##
   1761 ## ----------------- ##
   1762 _ASBOX
   1763     echo
   1764     for ac_var in $ac_subst_vars
   1765     do
   1766       eval ac_val=\$$ac_var
   1767       case $ac_val in
   1768       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1769       esac
   1770       echo "$ac_var='\''$ac_val'\''"
   1771     done | sort
   1772     echo
   1773 
   1774     if test -n "$ac_subst_files"; then
   1775       cat <<\_ASBOX
   1776 ## ------------------- ##
   1777 ## File substitutions. ##
   1778 ## ------------------- ##
   1779 _ASBOX
   1780       echo
   1781       for ac_var in $ac_subst_files
   1782       do
   1783 	eval ac_val=\$$ac_var
   1784 	case $ac_val in
   1785 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1786 	esac
   1787 	echo "$ac_var='\''$ac_val'\''"
   1788       done | sort
   1789       echo
   1790     fi
   1791 
   1792     if test -s confdefs.h; then
   1793       cat <<\_ASBOX
   1794 ## ----------- ##
   1795 ## confdefs.h. ##
   1796 ## ----------- ##
   1797 _ASBOX
   1798       echo
   1799       cat confdefs.h
   1800       echo
   1801     fi
   1802     test "$ac_signal" != 0 &&
   1803       echo "$as_me: caught signal $ac_signal"
   1804     echo "$as_me: exit $exit_status"
   1805   } >&5
   1806   rm -f core *.core core.conftest.* &&
   1807     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1808     exit $exit_status
   1809 ' 0
   1810 for ac_signal in 1 2 13 15; do
   1811   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1812 done
   1813 ac_signal=0
   1814 
   1815 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1816 rm -f -r conftest* confdefs.h
   1817 
   1818 # Predefined preprocessor variables.
   1819 
   1820 cat >>confdefs.h <<_ACEOF
   1821 #define PACKAGE_NAME "$PACKAGE_NAME"
   1822 _ACEOF
   1823 
   1824 
   1825 cat >>confdefs.h <<_ACEOF
   1826 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1827 _ACEOF
   1828 
   1829 
   1830 cat >>confdefs.h <<_ACEOF
   1831 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1832 _ACEOF
   1833 
   1834 
   1835 cat >>confdefs.h <<_ACEOF
   1836 #define PACKAGE_STRING "$PACKAGE_STRING"
   1837 _ACEOF
   1838 
   1839 
   1840 cat >>confdefs.h <<_ACEOF
   1841 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1842 _ACEOF
   1843 
   1844 
   1845 # Let the site file select an alternate cache file if it wants to.
   1846 # Prefer explicitly selected file to automatically selected ones.
   1847 if test -n "$CONFIG_SITE"; then
   1848   set x "$CONFIG_SITE"
   1849 elif test "x$prefix" != xNONE; then
   1850   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1851 else
   1852   set x "$ac_default_prefix/share/config.site" \
   1853 	"$ac_default_prefix/etc/config.site"
   1854 fi
   1855 shift
   1856 for ac_site_file
   1857 do
   1858   if test -r "$ac_site_file"; then
   1859     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1860 echo "$as_me: loading site script $ac_site_file" >&6;}
   1861     sed 's/^/| /' "$ac_site_file" >&5
   1862     . "$ac_site_file"
   1863   fi
   1864 done
   1865 
   1866 if test -r "$cache_file"; then
   1867   # Some versions of bash will fail to source /dev/null (special
   1868   # files actually), so we avoid doing that.
   1869   if test -f "$cache_file"; then
   1870     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1871 echo "$as_me: loading cache $cache_file" >&6;}
   1872     case $cache_file in
   1873       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1874       *)                      . "./$cache_file";;
   1875     esac
   1876   fi
   1877 else
   1878   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1879 echo "$as_me: creating cache $cache_file" >&6;}
   1880   >$cache_file
   1881 fi
   1882 
   1883 # Check that the precious variables saved in the cache have kept the same
   1884 # value.
   1885 ac_cache_corrupted=false
   1886 for ac_var in $ac_precious_vars; do
   1887   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1888   eval ac_new_set=\$ac_env_${ac_var}_set
   1889   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1890   eval ac_new_val=\$ac_env_${ac_var}_value
   1891   case $ac_old_set,$ac_new_set in
   1892     set,)
   1893       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1894 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1895       ac_cache_corrupted=: ;;
   1896     ,set)
   1897       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1898 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1899       ac_cache_corrupted=: ;;
   1900     ,);;
   1901     *)
   1902       if test "x$ac_old_val" != "x$ac_new_val"; then
   1903 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1904 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1905 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1906 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1907 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1908 echo "$as_me:   current value: $ac_new_val" >&2;}
   1909 	ac_cache_corrupted=:
   1910       fi;;
   1911   esac
   1912   # Pass precious variables to config.status.
   1913   if test "$ac_new_set" = set; then
   1914     case $ac_new_val in
   1915     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1916     *) ac_arg=$ac_var=$ac_new_val ;;
   1917     esac
   1918     case " $ac_configure_args " in
   1919       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1920       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1921     esac
   1922   fi
   1923 done
   1924 if $ac_cache_corrupted; then
   1925   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1926 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1927   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1928 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1929    { (exit 1); exit 1; }; }
   1930 fi
   1931 
   1932 
   1933 
   1934 
   1935 
   1936 
   1937 
   1938 
   1939 
   1940 
   1941 
   1942 
   1943 
   1944 
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 ac_ext=c
   1957 ac_cpp='$CPP $CPPFLAGS'
   1958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1961 
   1962 
   1963 am__api_version='1.10'
   1964 
   1965 ac_aux_dir=
   1966 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1967   if test -f "$ac_dir/install-sh"; then
   1968     ac_aux_dir=$ac_dir
   1969     ac_install_sh="$ac_aux_dir/install-sh -c"
   1970     break
   1971   elif test -f "$ac_dir/install.sh"; then
   1972     ac_aux_dir=$ac_dir
   1973     ac_install_sh="$ac_aux_dir/install.sh -c"
   1974     break
   1975   elif test -f "$ac_dir/shtool"; then
   1976     ac_aux_dir=$ac_dir
   1977     ac_install_sh="$ac_aux_dir/shtool install -c"
   1978     break
   1979   fi
   1980 done
   1981 if test -z "$ac_aux_dir"; then
   1982   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1983 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1984    { (exit 1); exit 1; }; }
   1985 fi
   1986 
   1987 # These three variables are undocumented and unsupported,
   1988 # and are intended to be withdrawn in a future Autoconf release.
   1989 # They can cause serious problems if a builder's source tree is in a directory
   1990 # whose full name contains unusual characters.
   1991 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1992 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1993 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1994 
   1995 
   1996 # Find a good install program.  We prefer a C program (faster),
   1997 # so one script is as good as another.  But avoid the broken or
   1998 # incompatible versions:
   1999 # SysV /etc/install, /usr/sbin/install
   2000 # SunOS /usr/etc/install
   2001 # IRIX /sbin/install
   2002 # AIX /bin/install
   2003 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2007 # OS/2's system install, which has a completely different semantic
   2008 # ./install, which can be erroneously created by make from ./install.sh.
   2009 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2010 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2011 if test -z "$INSTALL"; then
   2012 if test "${ac_cv_path_install+set}" = set; then
   2013   echo $ECHO_N "(cached) $ECHO_C" >&6
   2014 else
   2015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2016 for as_dir in $PATH
   2017 do
   2018   IFS=$as_save_IFS
   2019   test -z "$as_dir" && as_dir=.
   2020   # Account for people who put trailing slashes in PATH elements.
   2021 case $as_dir/ in
   2022   ./ | .// | /cC/* | \
   2023   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2024   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2025   /usr/ucb/* ) ;;
   2026   *)
   2027     # OSF1 and SCO ODT 3.0 have their own names for install.
   2028     # Don't use installbsd from OSF since it installs stuff as root
   2029     # by default.
   2030     for ac_prog in ginstall scoinst install; do
   2031       for ac_exec_ext in '' $ac_executable_extensions; do
   2032 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2033 	  if test $ac_prog = install &&
   2034 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2035 	    # AIX install.  It has an incompatible calling convention.
   2036 	    :
   2037 	  elif test $ac_prog = install &&
   2038 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2039 	    # program-specific install script used by HP pwplus--don't use.
   2040 	    :
   2041 	  else
   2042 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2043 	    break 3
   2044 	  fi
   2045 	fi
   2046       done
   2047     done
   2048     ;;
   2049 esac
   2050 done
   2051 IFS=$as_save_IFS
   2052 
   2053 
   2054 fi
   2055   if test "${ac_cv_path_install+set}" = set; then
   2056     INSTALL=$ac_cv_path_install
   2057   else
   2058     # As a last resort, use the slow shell script.  Don't cache a
   2059     # value for INSTALL within a source directory, because that will
   2060     # break other packages using the cache if that directory is
   2061     # removed, or if the value is a relative name.
   2062     INSTALL=$ac_install_sh
   2063   fi
   2064 fi
   2065 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2066 echo "${ECHO_T}$INSTALL" >&6; }
   2067 
   2068 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2069 # It thinks the first close brace ends the variable substitution.
   2070 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2071 
   2072 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2073 
   2074 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2075 
   2076 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2077 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2078 # Just in case
   2079 sleep 1
   2080 echo timestamp > conftest.file
   2081 # Do `set' in a subshell so we don't clobber the current shell's
   2082 # arguments.  Must try -L first in case configure is actually a
   2083 # symlink; some systems play weird games with the mod time of symlinks
   2084 # (eg FreeBSD returns the mod time of the symlink's containing
   2085 # directory).
   2086 if (
   2087    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2088    if test "$*" = "X"; then
   2089       # -L didn't work.
   2090       set X `ls -t $srcdir/configure conftest.file`
   2091    fi
   2092    rm -f conftest.file
   2093    if test "$*" != "X $srcdir/configure conftest.file" \
   2094       && test "$*" != "X conftest.file $srcdir/configure"; then
   2095 
   2096       # If neither matched, then we have a broken ls.  This can happen
   2097       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2098       # broken ls alias from the environment.  This has actually
   2099       # happened.  Such a system could not be considered "sane".
   2100       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2101 alias in your environment" >&5
   2102 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2103 alias in your environment" >&2;}
   2104    { (exit 1); exit 1; }; }
   2105    fi
   2106 
   2107    test "$2" = conftest.file
   2108    )
   2109 then
   2110    # Ok.
   2111    :
   2112 else
   2113    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2114 Check your system clock" >&5
   2115 echo "$as_me: error: newly created file is older than distributed files!
   2116 Check your system clock" >&2;}
   2117    { (exit 1); exit 1; }; }
   2118 fi
   2119 { echo "$as_me:$LINENO: result: yes" >&5
   2120 echo "${ECHO_T}yes" >&6; }
   2121 test "$program_prefix" != NONE &&
   2122   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2123 # Use a double $ so make ignores it.
   2124 test "$program_suffix" != NONE &&
   2125   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2126 # Double any \ or $.  echo might interpret backslashes.
   2127 # By default was `s,x,x', remove it if useless.
   2128 cat <<\_ACEOF >conftest.sed
   2129 s/[\\$]/&&/g;s/;s,x,x,$//
   2130 _ACEOF
   2131 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2132 rm -f conftest.sed
   2133 
   2134 # expand $ac_aux_dir to an absolute path
   2135 am_aux_dir=`cd $ac_aux_dir && pwd`
   2136 
   2137 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2138 # Use eval to expand $SHELL
   2139 if eval "$MISSING --run true"; then
   2140   am_missing_run="$MISSING --run "
   2141 else
   2142   am_missing_run=
   2143   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2144 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2145 fi
   2146 
   2147 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2148 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2149 if test -z "$MKDIR_P"; then
   2150   if test "${ac_cv_path_mkdir+set}" = set; then
   2151   echo $ECHO_N "(cached) $ECHO_C" >&6
   2152 else
   2153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2154 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2155 do
   2156   IFS=$as_save_IFS
   2157   test -z "$as_dir" && as_dir=.
   2158   for ac_prog in mkdir gmkdir; do
   2159 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2160 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2161 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2162 	     'mkdir (GNU coreutils) '* | \
   2163 	     'mkdir (coreutils) '* | \
   2164 	     'mkdir (fileutils) '4.1*)
   2165 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2166 	       break 3;;
   2167 	   esac
   2168 	 done
   2169        done
   2170 done
   2171 IFS=$as_save_IFS
   2172 
   2173 fi
   2174 
   2175   if test "${ac_cv_path_mkdir+set}" = set; then
   2176     MKDIR_P="$ac_cv_path_mkdir -p"
   2177   else
   2178     # As a last resort, use the slow shell script.  Don't cache a
   2179     # value for MKDIR_P within a source directory, because that will
   2180     # break other packages using the cache if that directory is
   2181     # removed, or if the value is a relative name.
   2182     test -d ./--version && rmdir ./--version
   2183     MKDIR_P="$ac_install_sh -d"
   2184   fi
   2185 fi
   2186 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2187 echo "${ECHO_T}$MKDIR_P" >&6; }
   2188 
   2189 mkdir_p="$MKDIR_P"
   2190 case $mkdir_p in
   2191   [\\/$]* | ?:[\\/]*) ;;
   2192   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2193 esac
   2194 
   2195 for ac_prog in gawk mawk nawk awk
   2196 do
   2197   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2198 set dummy $ac_prog; ac_word=$2
   2199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2201 if test "${ac_cv_prog_AWK+set}" = set; then
   2202   echo $ECHO_N "(cached) $ECHO_C" >&6
   2203 else
   2204   if test -n "$AWK"; then
   2205   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2206 else
   2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2208 for as_dir in $PATH
   2209 do
   2210   IFS=$as_save_IFS
   2211   test -z "$as_dir" && as_dir=.
   2212   for ac_exec_ext in '' $ac_executable_extensions; do
   2213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2214     ac_cv_prog_AWK="$ac_prog"
   2215     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2216     break 2
   2217   fi
   2218 done
   2219 done
   2220 IFS=$as_save_IFS
   2221 
   2222 fi
   2223 fi
   2224 AWK=$ac_cv_prog_AWK
   2225 if test -n "$AWK"; then
   2226   { echo "$as_me:$LINENO: result: $AWK" >&5
   2227 echo "${ECHO_T}$AWK" >&6; }
   2228 else
   2229   { echo "$as_me:$LINENO: result: no" >&5
   2230 echo "${ECHO_T}no" >&6; }
   2231 fi
   2232 
   2233 
   2234   test -n "$AWK" && break
   2235 done
   2236 
   2237 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2238 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2239 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2240 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2241   echo $ECHO_N "(cached) $ECHO_C" >&6
   2242 else
   2243   cat >conftest.make <<\_ACEOF
   2244 SHELL = /bin/sh
   2245 all:
   2246 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2247 _ACEOF
   2248 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2249 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2250   *@@@%%%=?*=@@@%%%*)
   2251     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2252   *)
   2253     eval ac_cv_prog_make_${ac_make}_set=no;;
   2254 esac
   2255 rm -f conftest.make
   2256 fi
   2257 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2258   { echo "$as_me:$LINENO: result: yes" >&5
   2259 echo "${ECHO_T}yes" >&6; }
   2260   SET_MAKE=
   2261 else
   2262   { echo "$as_me:$LINENO: result: no" >&5
   2263 echo "${ECHO_T}no" >&6; }
   2264   SET_MAKE="MAKE=${MAKE-make}"
   2265 fi
   2266 
   2267 rm -rf .tst 2>/dev/null
   2268 mkdir .tst 2>/dev/null
   2269 if test -d .tst; then
   2270   am__leading_dot=.
   2271 else
   2272   am__leading_dot=_
   2273 fi
   2274 rmdir .tst 2>/dev/null
   2275 
   2276 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2277   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2278   # is not polluted with repeated "-I."
   2279   am__isrc=' -I$(srcdir)'
   2280   # test to see if srcdir already configured
   2281   if test -f $srcdir/config.status; then
   2282     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2283 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2284    { (exit 1); exit 1; }; }
   2285   fi
   2286 fi
   2287 
   2288 # test whether we have cygpath
   2289 if test -z "$CYGPATH_W"; then
   2290   if (cygpath --version) >/dev/null 2>/dev/null; then
   2291     CYGPATH_W='cygpath -w'
   2292   else
   2293     CYGPATH_W=echo
   2294   fi
   2295 fi
   2296 
   2297 
   2298 # Define the identity of the package.
   2299  PACKAGE='libXrender'
   2300  VERSION='0.9.4'
   2301 
   2302 
   2303 cat >>confdefs.h <<_ACEOF
   2304 #define PACKAGE "$PACKAGE"
   2305 _ACEOF
   2306 
   2307 
   2308 cat >>confdefs.h <<_ACEOF
   2309 #define VERSION "$VERSION"
   2310 _ACEOF
   2311 
   2312 # Some tools Automake needs.
   2313 
   2314 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2315 
   2316 
   2317 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2318 
   2319 
   2320 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2321 
   2322 
   2323 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2324 
   2325 
   2326 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2327 
   2328 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2329 
   2330 # Installed binaries are usually stripped using `strip' when the user
   2331 # run `make install-strip'.  However `strip' might not be the right
   2332 # tool to use in cross-compilation environments, therefore Automake
   2333 # will honor the `STRIP' environment variable to overrule this program.
   2334 if test "$cross_compiling" != no; then
   2335   if test -n "$ac_tool_prefix"; then
   2336   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2337 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2340 if test "${ac_cv_prog_STRIP+set}" = set; then
   2341   echo $ECHO_N "(cached) $ECHO_C" >&6
   2342 else
   2343   if test -n "$STRIP"; then
   2344   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2345 else
   2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2347 for as_dir in $PATH
   2348 do
   2349   IFS=$as_save_IFS
   2350   test -z "$as_dir" && as_dir=.
   2351   for ac_exec_ext in '' $ac_executable_extensions; do
   2352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2353     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2354     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2355     break 2
   2356   fi
   2357 done
   2358 done
   2359 IFS=$as_save_IFS
   2360 
   2361 fi
   2362 fi
   2363 STRIP=$ac_cv_prog_STRIP
   2364 if test -n "$STRIP"; then
   2365   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2366 echo "${ECHO_T}$STRIP" >&6; }
   2367 else
   2368   { echo "$as_me:$LINENO: result: no" >&5
   2369 echo "${ECHO_T}no" >&6; }
   2370 fi
   2371 
   2372 
   2373 fi
   2374 if test -z "$ac_cv_prog_STRIP"; then
   2375   ac_ct_STRIP=$STRIP
   2376   # Extract the first word of "strip", so it can be a program name with args.
   2377 set dummy strip; ac_word=$2
   2378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2380 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2381   echo $ECHO_N "(cached) $ECHO_C" >&6
   2382 else
   2383   if test -n "$ac_ct_STRIP"; then
   2384   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2385 else
   2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2387 for as_dir in $PATH
   2388 do
   2389   IFS=$as_save_IFS
   2390   test -z "$as_dir" && as_dir=.
   2391   for ac_exec_ext in '' $ac_executable_extensions; do
   2392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2393     ac_cv_prog_ac_ct_STRIP="strip"
   2394     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2395     break 2
   2396   fi
   2397 done
   2398 done
   2399 IFS=$as_save_IFS
   2400 
   2401 fi
   2402 fi
   2403 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2404 if test -n "$ac_ct_STRIP"; then
   2405   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2406 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2407 else
   2408   { echo "$as_me:$LINENO: result: no" >&5
   2409 echo "${ECHO_T}no" >&6; }
   2410 fi
   2411 
   2412   if test "x$ac_ct_STRIP" = x; then
   2413     STRIP=":"
   2414   else
   2415     case $cross_compiling:$ac_tool_warned in
   2416 yes:)
   2417 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2418 whose name does not start with the host triplet.  If you think this
   2419 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2420 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2421 whose name does not start with the host triplet.  If you think this
   2422 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2423 ac_tool_warned=yes ;;
   2424 esac
   2425     STRIP=$ac_ct_STRIP
   2426   fi
   2427 else
   2428   STRIP="$ac_cv_prog_STRIP"
   2429 fi
   2430 
   2431 fi
   2432 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2433 
   2434 # We need awk for the "check" target.  The system "awk" is bad on
   2435 # some platforms.
   2436 # Always define AMTAR for backward compatibility.
   2437 
   2438 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2439 
   2440 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2441 
   2442 
   2443 
   2444 
   2445 
   2446 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2447 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2448     # Check whether --enable-maintainer-mode was given.
   2449 if test "${enable_maintainer_mode+set}" = set; then
   2450   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2451 else
   2452   USE_MAINTAINER_MODE=no
   2453 fi
   2454 
   2455   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2456 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2457    if test $USE_MAINTAINER_MODE = yes; then
   2458   MAINTAINER_MODE_TRUE=
   2459   MAINTAINER_MODE_FALSE='#'
   2460 else
   2461   MAINTAINER_MODE_TRUE='#'
   2462   MAINTAINER_MODE_FALSE=
   2463 fi
   2464 
   2465   MAINT=$MAINTAINER_MODE_TRUE
   2466 
   2467 
   2468 
   2469 ac_config_headers="$ac_config_headers config.h"
   2470 
   2471 
   2472 # Check for progs
   2473 ac_ext=c
   2474 ac_cpp='$CPP $CPPFLAGS'
   2475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2478 if test -n "$ac_tool_prefix"; then
   2479   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2480 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2483 if test "${ac_cv_prog_CC+set}" = set; then
   2484   echo $ECHO_N "(cached) $ECHO_C" >&6
   2485 else
   2486   if test -n "$CC"; then
   2487   ac_cv_prog_CC="$CC" # Let the user override the test.
   2488 else
   2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2490 for as_dir in $PATH
   2491 do
   2492   IFS=$as_save_IFS
   2493   test -z "$as_dir" && as_dir=.
   2494   for ac_exec_ext in '' $ac_executable_extensions; do
   2495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2496     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2498     break 2
   2499   fi
   2500 done
   2501 done
   2502 IFS=$as_save_IFS
   2503 
   2504 fi
   2505 fi
   2506 CC=$ac_cv_prog_CC
   2507 if test -n "$CC"; then
   2508   { echo "$as_me:$LINENO: result: $CC" >&5
   2509 echo "${ECHO_T}$CC" >&6; }
   2510 else
   2511   { echo "$as_me:$LINENO: result: no" >&5
   2512 echo "${ECHO_T}no" >&6; }
   2513 fi
   2514 
   2515 
   2516 fi
   2517 if test -z "$ac_cv_prog_CC"; then
   2518   ac_ct_CC=$CC
   2519   # Extract the first word of "gcc", so it can be a program name with args.
   2520 set dummy gcc; ac_word=$2
   2521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2523 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2524   echo $ECHO_N "(cached) $ECHO_C" >&6
   2525 else
   2526   if test -n "$ac_ct_CC"; then
   2527   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2528 else
   2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2530 for as_dir in $PATH
   2531 do
   2532   IFS=$as_save_IFS
   2533   test -z "$as_dir" && as_dir=.
   2534   for ac_exec_ext in '' $ac_executable_extensions; do
   2535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2536     ac_cv_prog_ac_ct_CC="gcc"
   2537     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2538     break 2
   2539   fi
   2540 done
   2541 done
   2542 IFS=$as_save_IFS
   2543 
   2544 fi
   2545 fi
   2546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2547 if test -n "$ac_ct_CC"; then
   2548   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2549 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2550 else
   2551   { echo "$as_me:$LINENO: result: no" >&5
   2552 echo "${ECHO_T}no" >&6; }
   2553 fi
   2554 
   2555   if test "x$ac_ct_CC" = x; then
   2556     CC=""
   2557   else
   2558     case $cross_compiling:$ac_tool_warned in
   2559 yes:)
   2560 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2561 whose name does not start with the host triplet.  If you think this
   2562 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2563 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2564 whose name does not start with the host triplet.  If you think this
   2565 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2566 ac_tool_warned=yes ;;
   2567 esac
   2568     CC=$ac_ct_CC
   2569   fi
   2570 else
   2571   CC="$ac_cv_prog_CC"
   2572 fi
   2573 
   2574 if test -z "$CC"; then
   2575           if test -n "$ac_tool_prefix"; then
   2576     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2577 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2580 if test "${ac_cv_prog_CC+set}" = set; then
   2581   echo $ECHO_N "(cached) $ECHO_C" >&6
   2582 else
   2583   if test -n "$CC"; then
   2584   ac_cv_prog_CC="$CC" # Let the user override the test.
   2585 else
   2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2587 for as_dir in $PATH
   2588 do
   2589   IFS=$as_save_IFS
   2590   test -z "$as_dir" && as_dir=.
   2591   for ac_exec_ext in '' $ac_executable_extensions; do
   2592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2593     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2594     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2595     break 2
   2596   fi
   2597 done
   2598 done
   2599 IFS=$as_save_IFS
   2600 
   2601 fi
   2602 fi
   2603 CC=$ac_cv_prog_CC
   2604 if test -n "$CC"; then
   2605   { echo "$as_me:$LINENO: result: $CC" >&5
   2606 echo "${ECHO_T}$CC" >&6; }
   2607 else
   2608   { echo "$as_me:$LINENO: result: no" >&5
   2609 echo "${ECHO_T}no" >&6; }
   2610 fi
   2611 
   2612 
   2613   fi
   2614 fi
   2615 if test -z "$CC"; then
   2616   # Extract the first word of "cc", so it can be a program name with args.
   2617 set dummy cc; ac_word=$2
   2618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2620 if test "${ac_cv_prog_CC+set}" = set; then
   2621   echo $ECHO_N "(cached) $ECHO_C" >&6
   2622 else
   2623   if test -n "$CC"; then
   2624   ac_cv_prog_CC="$CC" # Let the user override the test.
   2625 else
   2626   ac_prog_rejected=no
   2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2628 for as_dir in $PATH
   2629 do
   2630   IFS=$as_save_IFS
   2631   test -z "$as_dir" && as_dir=.
   2632   for ac_exec_ext in '' $ac_executable_extensions; do
   2633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2634     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2635        ac_prog_rejected=yes
   2636        continue
   2637      fi
   2638     ac_cv_prog_CC="cc"
   2639     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2640     break 2
   2641   fi
   2642 done
   2643 done
   2644 IFS=$as_save_IFS
   2645 
   2646 if test $ac_prog_rejected = yes; then
   2647   # We found a bogon in the path, so make sure we never use it.
   2648   set dummy $ac_cv_prog_CC
   2649   shift
   2650   if test $# != 0; then
   2651     # We chose a different compiler from the bogus one.
   2652     # However, it has the same basename, so the bogon will be chosen
   2653     # first if we set CC to just the basename; use the full file name.
   2654     shift
   2655     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2656   fi
   2657 fi
   2658 fi
   2659 fi
   2660 CC=$ac_cv_prog_CC
   2661 if test -n "$CC"; then
   2662   { echo "$as_me:$LINENO: result: $CC" >&5
   2663 echo "${ECHO_T}$CC" >&6; }
   2664 else
   2665   { echo "$as_me:$LINENO: result: no" >&5
   2666 echo "${ECHO_T}no" >&6; }
   2667 fi
   2668 
   2669 
   2670 fi
   2671 if test -z "$CC"; then
   2672   if test -n "$ac_tool_prefix"; then
   2673   for ac_prog in cl.exe
   2674   do
   2675     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2679 if test "${ac_cv_prog_CC+set}" = set; then
   2680   echo $ECHO_N "(cached) $ECHO_C" >&6
   2681 else
   2682   if test -n "$CC"; then
   2683   ac_cv_prog_CC="$CC" # Let the user override the test.
   2684 else
   2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2686 for as_dir in $PATH
   2687 do
   2688   IFS=$as_save_IFS
   2689   test -z "$as_dir" && as_dir=.
   2690   for ac_exec_ext in '' $ac_executable_extensions; do
   2691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2692     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2693     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2694     break 2
   2695   fi
   2696 done
   2697 done
   2698 IFS=$as_save_IFS
   2699 
   2700 fi
   2701 fi
   2702 CC=$ac_cv_prog_CC
   2703 if test -n "$CC"; then
   2704   { echo "$as_me:$LINENO: result: $CC" >&5
   2705 echo "${ECHO_T}$CC" >&6; }
   2706 else
   2707   { echo "$as_me:$LINENO: result: no" >&5
   2708 echo "${ECHO_T}no" >&6; }
   2709 fi
   2710 
   2711 
   2712     test -n "$CC" && break
   2713   done
   2714 fi
   2715 if test -z "$CC"; then
   2716   ac_ct_CC=$CC
   2717   for ac_prog in cl.exe
   2718 do
   2719   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2720 set dummy $ac_prog; ac_word=$2
   2721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2723 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2724   echo $ECHO_N "(cached) $ECHO_C" >&6
   2725 else
   2726   if test -n "$ac_ct_CC"; then
   2727   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2728 else
   2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2730 for as_dir in $PATH
   2731 do
   2732   IFS=$as_save_IFS
   2733   test -z "$as_dir" && as_dir=.
   2734   for ac_exec_ext in '' $ac_executable_extensions; do
   2735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2736     ac_cv_prog_ac_ct_CC="$ac_prog"
   2737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2738     break 2
   2739   fi
   2740 done
   2741 done
   2742 IFS=$as_save_IFS
   2743 
   2744 fi
   2745 fi
   2746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2747 if test -n "$ac_ct_CC"; then
   2748   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2749 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2750 else
   2751   { echo "$as_me:$LINENO: result: no" >&5
   2752 echo "${ECHO_T}no" >&6; }
   2753 fi
   2754 
   2755 
   2756   test -n "$ac_ct_CC" && break
   2757 done
   2758 
   2759   if test "x$ac_ct_CC" = x; then
   2760     CC=""
   2761   else
   2762     case $cross_compiling:$ac_tool_warned in
   2763 yes:)
   2764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2765 whose name does not start with the host triplet.  If you think this
   2766 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2768 whose name does not start with the host triplet.  If you think this
   2769 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2770 ac_tool_warned=yes ;;
   2771 esac
   2772     CC=$ac_ct_CC
   2773   fi
   2774 fi
   2775 
   2776 fi
   2777 
   2778 
   2779 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2780 See \`config.log' for more details." >&5
   2781 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2782 See \`config.log' for more details." >&2;}
   2783    { (exit 1); exit 1; }; }
   2784 
   2785 # Provide some information about the compiler.
   2786 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2787 ac_compiler=`set X $ac_compile; echo $2`
   2788 { (ac_try="$ac_compiler --version >&5"
   2789 case "(($ac_try" in
   2790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2791   *) ac_try_echo=$ac_try;;
   2792 esac
   2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2794   (eval "$ac_compiler --version >&5") 2>&5
   2795   ac_status=$?
   2796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2797   (exit $ac_status); }
   2798 { (ac_try="$ac_compiler -v >&5"
   2799 case "(($ac_try" in
   2800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2801   *) ac_try_echo=$ac_try;;
   2802 esac
   2803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2804   (eval "$ac_compiler -v >&5") 2>&5
   2805   ac_status=$?
   2806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2807   (exit $ac_status); }
   2808 { (ac_try="$ac_compiler -V >&5"
   2809 case "(($ac_try" in
   2810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2811   *) ac_try_echo=$ac_try;;
   2812 esac
   2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2814   (eval "$ac_compiler -V >&5") 2>&5
   2815   ac_status=$?
   2816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2817   (exit $ac_status); }
   2818 
   2819 cat >conftest.$ac_ext <<_ACEOF
   2820 /* confdefs.h.  */
   2821 _ACEOF
   2822 cat confdefs.h >>conftest.$ac_ext
   2823 cat >>conftest.$ac_ext <<_ACEOF
   2824 /* end confdefs.h.  */
   2825 
   2826 int
   2827 main ()
   2828 {
   2829 
   2830   ;
   2831   return 0;
   2832 }
   2833 _ACEOF
   2834 ac_clean_files_save=$ac_clean_files
   2835 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2836 # Try to create an executable without -o first, disregard a.out.
   2837 # It will help us diagnose broken compilers, and finding out an intuition
   2838 # of exeext.
   2839 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2840 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2841 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2842 #
   2843 # List of possible output files, starting from the most likely.
   2844 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2845 # only as a last resort.  b.out is created by i960 compilers.
   2846 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2847 #
   2848 # The IRIX 6 linker writes into existing files which may not be
   2849 # executable, retaining their permissions.  Remove them first so a
   2850 # subsequent execution test works.
   2851 ac_rmfiles=
   2852 for ac_file in $ac_files
   2853 do
   2854   case $ac_file in
   2855     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2856     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2857   esac
   2858 done
   2859 rm -f $ac_rmfiles
   2860 
   2861 if { (ac_try="$ac_link_default"
   2862 case "(($ac_try" in
   2863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2864   *) ac_try_echo=$ac_try;;
   2865 esac
   2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2867   (eval "$ac_link_default") 2>&5
   2868   ac_status=$?
   2869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2870   (exit $ac_status); }; then
   2871   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2872 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2873 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2874 # so that the user can short-circuit this test for compilers unknown to
   2875 # Autoconf.
   2876 for ac_file in $ac_files ''
   2877 do
   2878   test -f "$ac_file" || continue
   2879   case $ac_file in
   2880     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2881 	;;
   2882     [ab].out )
   2883 	# We found the default executable, but exeext='' is most
   2884 	# certainly right.
   2885 	break;;
   2886     *.* )
   2887         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2888 	then :; else
   2889 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2890 	fi
   2891 	# We set ac_cv_exeext here because the later test for it is not
   2892 	# safe: cross compilers may not add the suffix if given an `-o'
   2893 	# argument, so we may need to know it at that point already.
   2894 	# Even if this section looks crufty: it has the advantage of
   2895 	# actually working.
   2896 	break;;
   2897     * )
   2898 	break;;
   2899   esac
   2900 done
   2901 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2902 
   2903 else
   2904   ac_file=''
   2905 fi
   2906 
   2907 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2908 echo "${ECHO_T}$ac_file" >&6; }
   2909 if test -z "$ac_file"; then
   2910   echo "$as_me: failed program was:" >&5
   2911 sed 's/^/| /' conftest.$ac_ext >&5
   2912 
   2913 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2914 See \`config.log' for more details." >&5
   2915 echo "$as_me: error: C compiler cannot create executables
   2916 See \`config.log' for more details." >&2;}
   2917    { (exit 77); exit 77; }; }
   2918 fi
   2919 
   2920 ac_exeext=$ac_cv_exeext
   2921 
   2922 # Check that the compiler produces executables we can run.  If not, either
   2923 # the compiler is broken, or we cross compile.
   2924 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2925 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2926 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2927 # If not cross compiling, check that we can run a simple program.
   2928 if test "$cross_compiling" != yes; then
   2929   if { ac_try='./$ac_file'
   2930   { (case "(($ac_try" in
   2931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2932   *) ac_try_echo=$ac_try;;
   2933 esac
   2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2935   (eval "$ac_try") 2>&5
   2936   ac_status=$?
   2937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2938   (exit $ac_status); }; }; then
   2939     cross_compiling=no
   2940   else
   2941     if test "$cross_compiling" = maybe; then
   2942 	cross_compiling=yes
   2943     else
   2944 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2945 If you meant to cross compile, use \`--host'.
   2946 See \`config.log' for more details." >&5
   2947 echo "$as_me: error: cannot run C compiled programs.
   2948 If you meant to cross compile, use \`--host'.
   2949 See \`config.log' for more details." >&2;}
   2950    { (exit 1); exit 1; }; }
   2951     fi
   2952   fi
   2953 fi
   2954 { echo "$as_me:$LINENO: result: yes" >&5
   2955 echo "${ECHO_T}yes" >&6; }
   2956 
   2957 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2958 ac_clean_files=$ac_clean_files_save
   2959 # Check that the compiler produces executables we can run.  If not, either
   2960 # the compiler is broken, or we cross compile.
   2961 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2962 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2963 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2964 echo "${ECHO_T}$cross_compiling" >&6; }
   2965 
   2966 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2967 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2968 if { (ac_try="$ac_link"
   2969 case "(($ac_try" in
   2970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2971   *) ac_try_echo=$ac_try;;
   2972 esac
   2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2974   (eval "$ac_link") 2>&5
   2975   ac_status=$?
   2976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2977   (exit $ac_status); }; then
   2978   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2979 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2980 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2981 # `rm'.
   2982 for ac_file in conftest.exe conftest conftest.*; do
   2983   test -f "$ac_file" || continue
   2984   case $ac_file in
   2985     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2986     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2987 	  break;;
   2988     * ) break;;
   2989   esac
   2990 done
   2991 else
   2992   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2993 See \`config.log' for more details." >&5
   2994 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2995 See \`config.log' for more details." >&2;}
   2996    { (exit 1); exit 1; }; }
   2997 fi
   2998 
   2999 rm -f conftest$ac_cv_exeext
   3000 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3001 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3002 
   3003 rm -f conftest.$ac_ext
   3004 EXEEXT=$ac_cv_exeext
   3005 ac_exeext=$EXEEXT
   3006 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3007 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3008 if test "${ac_cv_objext+set}" = set; then
   3009   echo $ECHO_N "(cached) $ECHO_C" >&6
   3010 else
   3011   cat >conftest.$ac_ext <<_ACEOF
   3012 /* confdefs.h.  */
   3013 _ACEOF
   3014 cat confdefs.h >>conftest.$ac_ext
   3015 cat >>conftest.$ac_ext <<_ACEOF
   3016 /* end confdefs.h.  */
   3017 
   3018 int
   3019 main ()
   3020 {
   3021 
   3022   ;
   3023   return 0;
   3024 }
   3025 _ACEOF
   3026 rm -f conftest.o conftest.obj
   3027 if { (ac_try="$ac_compile"
   3028 case "(($ac_try" in
   3029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3030   *) ac_try_echo=$ac_try;;
   3031 esac
   3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3033   (eval "$ac_compile") 2>&5
   3034   ac_status=$?
   3035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3036   (exit $ac_status); }; then
   3037   for ac_file in conftest.o conftest.obj conftest.*; do
   3038   test -f "$ac_file" || continue;
   3039   case $ac_file in
   3040     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3041     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3042        break;;
   3043   esac
   3044 done
   3045 else
   3046   echo "$as_me: failed program was:" >&5
   3047 sed 's/^/| /' conftest.$ac_ext >&5
   3048 
   3049 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3050 See \`config.log' for more details." >&5
   3051 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3052 See \`config.log' for more details." >&2;}
   3053    { (exit 1); exit 1; }; }
   3054 fi
   3055 
   3056 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3057 fi
   3058 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3059 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3060 OBJEXT=$ac_cv_objext
   3061 ac_objext=$OBJEXT
   3062 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3063 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3064 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3065   echo $ECHO_N "(cached) $ECHO_C" >&6
   3066 else
   3067   cat >conftest.$ac_ext <<_ACEOF
   3068 /* confdefs.h.  */
   3069 _ACEOF
   3070 cat confdefs.h >>conftest.$ac_ext
   3071 cat >>conftest.$ac_ext <<_ACEOF
   3072 /* end confdefs.h.  */
   3073 
   3074 int
   3075 main ()
   3076 {
   3077 #ifndef __GNUC__
   3078        choke me
   3079 #endif
   3080 
   3081   ;
   3082   return 0;
   3083 }
   3084 _ACEOF
   3085 rm -f conftest.$ac_objext
   3086 if { (ac_try="$ac_compile"
   3087 case "(($ac_try" in
   3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3089   *) ac_try_echo=$ac_try;;
   3090 esac
   3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3092   (eval "$ac_compile") 2>conftest.er1
   3093   ac_status=$?
   3094   grep -v '^ *+' conftest.er1 >conftest.err
   3095   rm -f conftest.er1
   3096   cat conftest.err >&5
   3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3098   (exit $ac_status); } && {
   3099 	 test -z "$ac_c_werror_flag" ||
   3100 	 test ! -s conftest.err
   3101        } && test -s conftest.$ac_objext; then
   3102   ac_compiler_gnu=yes
   3103 else
   3104   echo "$as_me: failed program was:" >&5
   3105 sed 's/^/| /' conftest.$ac_ext >&5
   3106 
   3107 	ac_compiler_gnu=no
   3108 fi
   3109 
   3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3111 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3112 
   3113 fi
   3114 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3115 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3116 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3117 ac_test_CFLAGS=${CFLAGS+set}
   3118 ac_save_CFLAGS=$CFLAGS
   3119 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3120 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3121 if test "${ac_cv_prog_cc_g+set}" = set; then
   3122   echo $ECHO_N "(cached) $ECHO_C" >&6
   3123 else
   3124   ac_save_c_werror_flag=$ac_c_werror_flag
   3125    ac_c_werror_flag=yes
   3126    ac_cv_prog_cc_g=no
   3127    CFLAGS="-g"
   3128    cat >conftest.$ac_ext <<_ACEOF
   3129 /* confdefs.h.  */
   3130 _ACEOF
   3131 cat confdefs.h >>conftest.$ac_ext
   3132 cat >>conftest.$ac_ext <<_ACEOF
   3133 /* end confdefs.h.  */
   3134 
   3135 int
   3136 main ()
   3137 {
   3138 
   3139   ;
   3140   return 0;
   3141 }
   3142 _ACEOF
   3143 rm -f conftest.$ac_objext
   3144 if { (ac_try="$ac_compile"
   3145 case "(($ac_try" in
   3146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3147   *) ac_try_echo=$ac_try;;
   3148 esac
   3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3150   (eval "$ac_compile") 2>conftest.er1
   3151   ac_status=$?
   3152   grep -v '^ *+' conftest.er1 >conftest.err
   3153   rm -f conftest.er1
   3154   cat conftest.err >&5
   3155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3156   (exit $ac_status); } && {
   3157 	 test -z "$ac_c_werror_flag" ||
   3158 	 test ! -s conftest.err
   3159        } && test -s conftest.$ac_objext; then
   3160   ac_cv_prog_cc_g=yes
   3161 else
   3162   echo "$as_me: failed program was:" >&5
   3163 sed 's/^/| /' conftest.$ac_ext >&5
   3164 
   3165 	CFLAGS=""
   3166       cat >conftest.$ac_ext <<_ACEOF
   3167 /* confdefs.h.  */
   3168 _ACEOF
   3169 cat confdefs.h >>conftest.$ac_ext
   3170 cat >>conftest.$ac_ext <<_ACEOF
   3171 /* end confdefs.h.  */
   3172 
   3173 int
   3174 main ()
   3175 {
   3176 
   3177   ;
   3178   return 0;
   3179 }
   3180 _ACEOF
   3181 rm -f conftest.$ac_objext
   3182 if { (ac_try="$ac_compile"
   3183 case "(($ac_try" in
   3184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3185   *) ac_try_echo=$ac_try;;
   3186 esac
   3187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3188   (eval "$ac_compile") 2>conftest.er1
   3189   ac_status=$?
   3190   grep -v '^ *+' conftest.er1 >conftest.err
   3191   rm -f conftest.er1
   3192   cat conftest.err >&5
   3193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3194   (exit $ac_status); } && {
   3195 	 test -z "$ac_c_werror_flag" ||
   3196 	 test ! -s conftest.err
   3197        } && test -s conftest.$ac_objext; then
   3198   :
   3199 else
   3200   echo "$as_me: failed program was:" >&5
   3201 sed 's/^/| /' conftest.$ac_ext >&5
   3202 
   3203 	ac_c_werror_flag=$ac_save_c_werror_flag
   3204 	 CFLAGS="-g"
   3205 	 cat >conftest.$ac_ext <<_ACEOF
   3206 /* confdefs.h.  */
   3207 _ACEOF
   3208 cat confdefs.h >>conftest.$ac_ext
   3209 cat >>conftest.$ac_ext <<_ACEOF
   3210 /* end confdefs.h.  */
   3211 
   3212 int
   3213 main ()
   3214 {
   3215 
   3216   ;
   3217   return 0;
   3218 }
   3219 _ACEOF
   3220 rm -f conftest.$ac_objext
   3221 if { (ac_try="$ac_compile"
   3222 case "(($ac_try" in
   3223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3224   *) ac_try_echo=$ac_try;;
   3225 esac
   3226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3227   (eval "$ac_compile") 2>conftest.er1
   3228   ac_status=$?
   3229   grep -v '^ *+' conftest.er1 >conftest.err
   3230   rm -f conftest.er1
   3231   cat conftest.err >&5
   3232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3233   (exit $ac_status); } && {
   3234 	 test -z "$ac_c_werror_flag" ||
   3235 	 test ! -s conftest.err
   3236        } && test -s conftest.$ac_objext; then
   3237   ac_cv_prog_cc_g=yes
   3238 else
   3239   echo "$as_me: failed program was:" >&5
   3240 sed 's/^/| /' conftest.$ac_ext >&5
   3241 
   3242 
   3243 fi
   3244 
   3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3246 fi
   3247 
   3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3249 fi
   3250 
   3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3252    ac_c_werror_flag=$ac_save_c_werror_flag
   3253 fi
   3254 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3255 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3256 if test "$ac_test_CFLAGS" = set; then
   3257   CFLAGS=$ac_save_CFLAGS
   3258 elif test $ac_cv_prog_cc_g = yes; then
   3259   if test "$GCC" = yes; then
   3260     CFLAGS="-g -O2"
   3261   else
   3262     CFLAGS="-g"
   3263   fi
   3264 else
   3265   if test "$GCC" = yes; then
   3266     CFLAGS="-O2"
   3267   else
   3268     CFLAGS=
   3269   fi
   3270 fi
   3271 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3272 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3273 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3274   echo $ECHO_N "(cached) $ECHO_C" >&6
   3275 else
   3276   ac_cv_prog_cc_c89=no
   3277 ac_save_CC=$CC
   3278 cat >conftest.$ac_ext <<_ACEOF
   3279 /* confdefs.h.  */
   3280 _ACEOF
   3281 cat confdefs.h >>conftest.$ac_ext
   3282 cat >>conftest.$ac_ext <<_ACEOF
   3283 /* end confdefs.h.  */
   3284 #include <stdarg.h>
   3285 #include <stdio.h>
   3286 #include <sys/types.h>
   3287 #include <sys/stat.h>
   3288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3289 struct buf { int x; };
   3290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3291 static char *e (p, i)
   3292      char **p;
   3293      int i;
   3294 {
   3295   return p[i];
   3296 }
   3297 static char *f (char * (*g) (char **, int), char **p, ...)
   3298 {
   3299   char *s;
   3300   va_list v;
   3301   va_start (v,p);
   3302   s = g (p, va_arg (v,int));
   3303   va_end (v);
   3304   return s;
   3305 }
   3306 
   3307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3308    function prototypes and stuff, but not '\xHH' hex character constants.
   3309    These don't provoke an error unfortunately, instead are silently treated
   3310    as 'x'.  The following induces an error, until -std is added to get
   3311    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3312    array size at least.  It's necessary to write '\x00'==0 to get something
   3313    that's true only with -std.  */
   3314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3315 
   3316 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3317    inside strings and character constants.  */
   3318 #define FOO(x) 'x'
   3319 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3320 
   3321 int test (int i, double x);
   3322 struct s1 {int (*f) (int a);};
   3323 struct s2 {int (*f) (double a);};
   3324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3325 int argc;
   3326 char **argv;
   3327 int
   3328 main ()
   3329 {
   3330 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3331   ;
   3332   return 0;
   3333 }
   3334 _ACEOF
   3335 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3336 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3337 do
   3338   CC="$ac_save_CC $ac_arg"
   3339   rm -f conftest.$ac_objext
   3340 if { (ac_try="$ac_compile"
   3341 case "(($ac_try" in
   3342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3343   *) ac_try_echo=$ac_try;;
   3344 esac
   3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3346   (eval "$ac_compile") 2>conftest.er1
   3347   ac_status=$?
   3348   grep -v '^ *+' conftest.er1 >conftest.err
   3349   rm -f conftest.er1
   3350   cat conftest.err >&5
   3351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3352   (exit $ac_status); } && {
   3353 	 test -z "$ac_c_werror_flag" ||
   3354 	 test ! -s conftest.err
   3355        } && test -s conftest.$ac_objext; then
   3356   ac_cv_prog_cc_c89=$ac_arg
   3357 else
   3358   echo "$as_me: failed program was:" >&5
   3359 sed 's/^/| /' conftest.$ac_ext >&5
   3360 
   3361 
   3362 fi
   3363 
   3364 rm -f core conftest.err conftest.$ac_objext
   3365   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3366 done
   3367 rm -f conftest.$ac_ext
   3368 CC=$ac_save_CC
   3369 
   3370 fi
   3371 # AC_CACHE_VAL
   3372 case "x$ac_cv_prog_cc_c89" in
   3373   x)
   3374     { echo "$as_me:$LINENO: result: none needed" >&5
   3375 echo "${ECHO_T}none needed" >&6; } ;;
   3376   xno)
   3377     { echo "$as_me:$LINENO: result: unsupported" >&5
   3378 echo "${ECHO_T}unsupported" >&6; } ;;
   3379   *)
   3380     CC="$CC $ac_cv_prog_cc_c89"
   3381     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3382 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3383 esac
   3384 
   3385 
   3386 ac_ext=c
   3387 ac_cpp='$CPP $CPPFLAGS'
   3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3391 DEPDIR="${am__leading_dot}deps"
   3392 
   3393 ac_config_commands="$ac_config_commands depfiles"
   3394 
   3395 
   3396 am_make=${MAKE-make}
   3397 cat > confinc << 'END'
   3398 am__doit:
   3399 	@echo done
   3400 .PHONY: am__doit
   3401 END
   3402 # If we don't find an include directive, just comment out the code.
   3403 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3404 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3405 am__include="#"
   3406 am__quote=
   3407 _am_result=none
   3408 # First try GNU make style include.
   3409 echo "include confinc" > confmf
   3410 # We grep out `Entering directory' and `Leaving directory'
   3411 # messages which can occur if `w' ends up in MAKEFLAGS.
   3412 # In particular we don't look at `^make:' because GNU make might
   3413 # be invoked under some other name (usually "gmake"), in which
   3414 # case it prints its new name instead of `make'.
   3415 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3416    am__include=include
   3417    am__quote=
   3418    _am_result=GNU
   3419 fi
   3420 # Now try BSD make style include.
   3421 if test "$am__include" = "#"; then
   3422    echo '.include "confinc"' > confmf
   3423    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3424       am__include=.include
   3425       am__quote="\""
   3426       _am_result=BSD
   3427    fi
   3428 fi
   3429 
   3430 
   3431 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3432 echo "${ECHO_T}$_am_result" >&6; }
   3433 rm -f confinc confmf
   3434 
   3435 # Check whether --enable-dependency-tracking was given.
   3436 if test "${enable_dependency_tracking+set}" = set; then
   3437   enableval=$enable_dependency_tracking;
   3438 fi
   3439 
   3440 if test "x$enable_dependency_tracking" != xno; then
   3441   am_depcomp="$ac_aux_dir/depcomp"
   3442   AMDEPBACKSLASH='\'
   3443 fi
   3444  if test "x$enable_dependency_tracking" != xno; then
   3445   AMDEP_TRUE=
   3446   AMDEP_FALSE='#'
   3447 else
   3448   AMDEP_TRUE='#'
   3449   AMDEP_FALSE=
   3450 fi
   3451 
   3452 
   3453 
   3454 depcc="$CC"   am_compiler_list=
   3455 
   3456 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3457 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3458 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3459   echo $ECHO_N "(cached) $ECHO_C" >&6
   3460 else
   3461   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3462   # We make a subdir and do the tests there.  Otherwise we can end up
   3463   # making bogus files that we don't know about and never remove.  For
   3464   # instance it was reported that on HP-UX the gcc test will end up
   3465   # making a dummy file named `D' -- because `-MD' means `put the output
   3466   # in D'.
   3467   mkdir conftest.dir
   3468   # Copy depcomp to subdir because otherwise we won't find it if we're
   3469   # using a relative directory.
   3470   cp "$am_depcomp" conftest.dir
   3471   cd conftest.dir
   3472   # We will build objects and dependencies in a subdirectory because
   3473   # it helps to detect inapplicable dependency modes.  For instance
   3474   # both Tru64's cc and ICC support -MD to output dependencies as a
   3475   # side effect of compilation, but ICC will put the dependencies in
   3476   # the current directory while Tru64 will put them in the object
   3477   # directory.
   3478   mkdir sub
   3479 
   3480   am_cv_CC_dependencies_compiler_type=none
   3481   if test "$am_compiler_list" = ""; then
   3482      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3483   fi
   3484   for depmode in $am_compiler_list; do
   3485     # Setup a source with many dependencies, because some compilers
   3486     # like to wrap large dependency lists on column 80 (with \), and
   3487     # we should not choose a depcomp mode which is confused by this.
   3488     #
   3489     # We need to recreate these files for each test, as the compiler may
   3490     # overwrite some of them when testing with obscure command lines.
   3491     # This happens at least with the AIX C compiler.
   3492     : > sub/conftest.c
   3493     for i in 1 2 3 4 5 6; do
   3494       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3495       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3496       # Solaris 8's {/usr,}/bin/sh.
   3497       touch sub/conftst$i.h
   3498     done
   3499     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3500 
   3501     case $depmode in
   3502     nosideeffect)
   3503       # after this tag, mechanisms are not by side-effect, so they'll
   3504       # only be used when explicitly requested
   3505       if test "x$enable_dependency_tracking" = xyes; then
   3506 	continue
   3507       else
   3508 	break
   3509       fi
   3510       ;;
   3511     none) break ;;
   3512     esac
   3513     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3514     # mode.  It turns out that the SunPro C++ compiler does not properly
   3515     # handle `-M -o', and we need to detect this.
   3516     if depmode=$depmode \
   3517        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3518        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3519        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3520          >/dev/null 2>conftest.err &&
   3521        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3522        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3523        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3524        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3525       # icc doesn't choke on unknown options, it will just issue warnings
   3526       # or remarks (even with -Werror).  So we grep stderr for any message
   3527       # that says an option was ignored or not supported.
   3528       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3529       #   icc: Command line warning: ignoring option '-M'; no argument required
   3530       # The diagnosis changed in icc 8.0:
   3531       #   icc: Command line remark: option '-MP' not supported
   3532       if (grep 'ignoring option' conftest.err ||
   3533           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3534         am_cv_CC_dependencies_compiler_type=$depmode
   3535         break
   3536       fi
   3537     fi
   3538   done
   3539 
   3540   cd ..
   3541   rm -rf conftest.dir
   3542 else
   3543   am_cv_CC_dependencies_compiler_type=none
   3544 fi
   3545 
   3546 fi
   3547 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3548 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3549 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3550 
   3551  if
   3552   test "x$enable_dependency_tracking" != xno \
   3553   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3554   am__fastdepCC_TRUE=
   3555   am__fastdepCC_FALSE='#'
   3556 else
   3557   am__fastdepCC_TRUE='#'
   3558   am__fastdepCC_FALSE=
   3559 fi
   3560 
   3561 
   3562 # Check whether --enable-shared was given.
   3563 if test "${enable_shared+set}" = set; then
   3564   enableval=$enable_shared; p=${PACKAGE-default}
   3565     case $enableval in
   3566     yes) enable_shared=yes ;;
   3567     no) enable_shared=no ;;
   3568     *)
   3569       enable_shared=no
   3570       # Look at the argument we got.  We use all the common list separators.
   3571       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3572       for pkg in $enableval; do
   3573 	IFS="$lt_save_ifs"
   3574 	if test "X$pkg" = "X$p"; then
   3575 	  enable_shared=yes
   3576 	fi
   3577       done
   3578       IFS="$lt_save_ifs"
   3579       ;;
   3580     esac
   3581 else
   3582   enable_shared=yes
   3583 fi
   3584 
   3585 
   3586 # Check whether --enable-static was given.
   3587 if test "${enable_static+set}" = set; then
   3588   enableval=$enable_static; p=${PACKAGE-default}
   3589     case $enableval in
   3590     yes) enable_static=yes ;;
   3591     no) enable_static=no ;;
   3592     *)
   3593      enable_static=no
   3594       # Look at the argument we got.  We use all the common list separators.
   3595       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3596       for pkg in $enableval; do
   3597 	IFS="$lt_save_ifs"
   3598 	if test "X$pkg" = "X$p"; then
   3599 	  enable_static=yes
   3600 	fi
   3601       done
   3602       IFS="$lt_save_ifs"
   3603       ;;
   3604     esac
   3605 else
   3606   enable_static=yes
   3607 fi
   3608 
   3609 
   3610 # Check whether --enable-fast-install was given.
   3611 if test "${enable_fast_install+set}" = set; then
   3612   enableval=$enable_fast_install; p=${PACKAGE-default}
   3613     case $enableval in
   3614     yes) enable_fast_install=yes ;;
   3615     no) enable_fast_install=no ;;
   3616     *)
   3617       enable_fast_install=no
   3618       # Look at the argument we got.  We use all the common list separators.
   3619       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3620       for pkg in $enableval; do
   3621 	IFS="$lt_save_ifs"
   3622 	if test "X$pkg" = "X$p"; then
   3623 	  enable_fast_install=yes
   3624 	fi
   3625       done
   3626       IFS="$lt_save_ifs"
   3627       ;;
   3628     esac
   3629 else
   3630   enable_fast_install=yes
   3631 fi
   3632 
   3633 
   3634 # Make sure we can run config.sub.
   3635 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3636   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3637 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3638    { (exit 1); exit 1; }; }
   3639 
   3640 { echo "$as_me:$LINENO: checking build system type" >&5
   3641 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3642 if test "${ac_cv_build+set}" = set; then
   3643   echo $ECHO_N "(cached) $ECHO_C" >&6
   3644 else
   3645   ac_build_alias=$build_alias
   3646 test "x$ac_build_alias" = x &&
   3647   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3648 test "x$ac_build_alias" = x &&
   3649   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3650 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3651    { (exit 1); exit 1; }; }
   3652 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3653   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3654 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3655    { (exit 1); exit 1; }; }
   3656 
   3657 fi
   3658 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3659 echo "${ECHO_T}$ac_cv_build" >&6; }
   3660 case $ac_cv_build in
   3661 *-*-*) ;;
   3662 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3663 echo "$as_me: error: invalid value of canonical build" >&2;}
   3664    { (exit 1); exit 1; }; };;
   3665 esac
   3666 build=$ac_cv_build
   3667 ac_save_IFS=$IFS; IFS='-'
   3668 set x $ac_cv_build
   3669 shift
   3670 build_cpu=$1
   3671 build_vendor=$2
   3672 shift; shift
   3673 # Remember, the first character of IFS is used to create $*,
   3674 # except with old shells:
   3675 build_os=$*
   3676 IFS=$ac_save_IFS
   3677 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3678 
   3679 
   3680 { echo "$as_me:$LINENO: checking host system type" >&5
   3681 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3682 if test "${ac_cv_host+set}" = set; then
   3683   echo $ECHO_N "(cached) $ECHO_C" >&6
   3684 else
   3685   if test "x$host_alias" = x; then
   3686   ac_cv_host=$ac_cv_build
   3687 else
   3688   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3689     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3690 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3691    { (exit 1); exit 1; }; }
   3692 fi
   3693 
   3694 fi
   3695 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3696 echo "${ECHO_T}$ac_cv_host" >&6; }
   3697 case $ac_cv_host in
   3698 *-*-*) ;;
   3699 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3700 echo "$as_me: error: invalid value of canonical host" >&2;}
   3701    { (exit 1); exit 1; }; };;
   3702 esac
   3703 host=$ac_cv_host
   3704 ac_save_IFS=$IFS; IFS='-'
   3705 set x $ac_cv_host
   3706 shift
   3707 host_cpu=$1
   3708 host_vendor=$2
   3709 shift; shift
   3710 # Remember, the first character of IFS is used to create $*,
   3711 # except with old shells:
   3712 host_os=$*
   3713 IFS=$ac_save_IFS
   3714 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3715 
   3716 
   3717 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3718 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3719 if test "${lt_cv_path_SED+set}" = set; then
   3720   echo $ECHO_N "(cached) $ECHO_C" >&6
   3721 else
   3722   # Loop through the user's path and test for sed and gsed.
   3723 # Then use that list of sed's as ones to test for truncation.
   3724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3725 for as_dir in $PATH
   3726 do
   3727   IFS=$as_save_IFS
   3728   test -z "$as_dir" && as_dir=.
   3729   for lt_ac_prog in sed gsed; do
   3730     for ac_exec_ext in '' $ac_executable_extensions; do
   3731       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3732         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3733       fi
   3734     done
   3735   done
   3736 done
   3737 lt_ac_max=0
   3738 lt_ac_count=0
   3739 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3740 # along with /bin/sed that truncates output.
   3741 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3742   test ! -f $lt_ac_sed && continue
   3743   cat /dev/null > conftest.in
   3744   lt_ac_count=0
   3745   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3746   # Check for GNU sed and select it if it is found.
   3747   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3748     lt_cv_path_SED=$lt_ac_sed
   3749     break
   3750   fi
   3751   while true; do
   3752     cat conftest.in conftest.in >conftest.tmp
   3753     mv conftest.tmp conftest.in
   3754     cp conftest.in conftest.nl
   3755     echo >>conftest.nl
   3756     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3757     cmp -s conftest.out conftest.nl || break
   3758     # 10000 chars as input seems more than enough
   3759     test $lt_ac_count -gt 10 && break
   3760     lt_ac_count=`expr $lt_ac_count + 1`
   3761     if test $lt_ac_count -gt $lt_ac_max; then
   3762       lt_ac_max=$lt_ac_count
   3763       lt_cv_path_SED=$lt_ac_sed
   3764     fi
   3765   done
   3766 done
   3767 
   3768 fi
   3769 
   3770 SED=$lt_cv_path_SED
   3771 { echo "$as_me:$LINENO: result: $SED" >&5
   3772 echo "${ECHO_T}$SED" >&6; }
   3773 
   3774 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3775 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3776 if test "${ac_cv_path_GREP+set}" = set; then
   3777   echo $ECHO_N "(cached) $ECHO_C" >&6
   3778 else
   3779   # Extract the first word of "grep ggrep" to use in msg output
   3780 if test -z "$GREP"; then
   3781 set dummy grep ggrep; ac_prog_name=$2
   3782 if test "${ac_cv_path_GREP+set}" = set; then
   3783   echo $ECHO_N "(cached) $ECHO_C" >&6
   3784 else
   3785   ac_path_GREP_found=false
   3786 # Loop through the user's path and test for each of PROGNAME-LIST
   3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3788 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3789 do
   3790   IFS=$as_save_IFS
   3791   test -z "$as_dir" && as_dir=.
   3792   for ac_prog in grep ggrep; do
   3793   for ac_exec_ext in '' $ac_executable_extensions; do
   3794     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3795     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3796     # Check for GNU ac_path_GREP and select it if it is found.
   3797   # Check for GNU $ac_path_GREP
   3798 case `"$ac_path_GREP" --version 2>&1` in
   3799 *GNU*)
   3800   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3801 *)
   3802   ac_count=0
   3803   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3804   while :
   3805   do
   3806     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3807     mv "conftest.tmp" "conftest.in"
   3808     cp "conftest.in" "conftest.nl"
   3809     echo 'GREP' >> "conftest.nl"
   3810     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3811     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3812     ac_count=`expr $ac_count + 1`
   3813     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3814       # Best one so far, save it but keep looking for a better one
   3815       ac_cv_path_GREP="$ac_path_GREP"
   3816       ac_path_GREP_max=$ac_count
   3817     fi
   3818     # 10*(2^10) chars as input seems more than enough
   3819     test $ac_count -gt 10 && break
   3820   done
   3821   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3822 esac
   3823 
   3824 
   3825     $ac_path_GREP_found && break 3
   3826   done
   3827 done
   3828 
   3829 done
   3830 IFS=$as_save_IFS
   3831 
   3832 
   3833 fi
   3834 
   3835 GREP="$ac_cv_path_GREP"
   3836 if test -z "$GREP"; then
   3837   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3838 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3839    { (exit 1); exit 1; }; }
   3840 fi
   3841 
   3842 else
   3843   ac_cv_path_GREP=$GREP
   3844 fi
   3845 
   3846 
   3847 fi
   3848 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3849 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3850  GREP="$ac_cv_path_GREP"
   3851 
   3852 
   3853 { echo "$as_me:$LINENO: checking for egrep" >&5
   3854 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3855 if test "${ac_cv_path_EGREP+set}" = set; then
   3856   echo $ECHO_N "(cached) $ECHO_C" >&6
   3857 else
   3858   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3859    then ac_cv_path_EGREP="$GREP -E"
   3860    else
   3861      # Extract the first word of "egrep" to use in msg output
   3862 if test -z "$EGREP"; then
   3863 set dummy egrep; ac_prog_name=$2
   3864 if test "${ac_cv_path_EGREP+set}" = set; then
   3865   echo $ECHO_N "(cached) $ECHO_C" >&6
   3866 else
   3867   ac_path_EGREP_found=false
   3868 # Loop through the user's path and test for each of PROGNAME-LIST
   3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3870 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3871 do
   3872   IFS=$as_save_IFS
   3873   test -z "$as_dir" && as_dir=.
   3874   for ac_prog in egrep; do
   3875   for ac_exec_ext in '' $ac_executable_extensions; do
   3876     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3877     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3878     # Check for GNU ac_path_EGREP and select it if it is found.
   3879   # Check for GNU $ac_path_EGREP
   3880 case `"$ac_path_EGREP" --version 2>&1` in
   3881 *GNU*)
   3882   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3883 *)
   3884   ac_count=0
   3885   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3886   while :
   3887   do
   3888     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3889     mv "conftest.tmp" "conftest.in"
   3890     cp "conftest.in" "conftest.nl"
   3891     echo 'EGREP' >> "conftest.nl"
   3892     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3893     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3894     ac_count=`expr $ac_count + 1`
   3895     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3896       # Best one so far, save it but keep looking for a better one
   3897       ac_cv_path_EGREP="$ac_path_EGREP"
   3898       ac_path_EGREP_max=$ac_count
   3899     fi
   3900     # 10*(2^10) chars as input seems more than enough
   3901     test $ac_count -gt 10 && break
   3902   done
   3903   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3904 esac
   3905 
   3906 
   3907     $ac_path_EGREP_found && break 3
   3908   done
   3909 done
   3910 
   3911 done
   3912 IFS=$as_save_IFS
   3913 
   3914 
   3915 fi
   3916 
   3917 EGREP="$ac_cv_path_EGREP"
   3918 if test -z "$EGREP"; then
   3919   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3920 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3921    { (exit 1); exit 1; }; }
   3922 fi
   3923 
   3924 else
   3925   ac_cv_path_EGREP=$EGREP
   3926 fi
   3927 
   3928 
   3929    fi
   3930 fi
   3931 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3932 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3933  EGREP="$ac_cv_path_EGREP"
   3934 
   3935 
   3936 
   3937 # Check whether --with-gnu-ld was given.
   3938 if test "${with_gnu_ld+set}" = set; then
   3939   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3940 else
   3941   with_gnu_ld=no
   3942 fi
   3943 
   3944 ac_prog=ld
   3945 if test "$GCC" = yes; then
   3946   # Check if gcc -print-prog-name=ld gives a path.
   3947   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3948 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3949   case $host in
   3950   *-*-mingw*)
   3951     # gcc leaves a trailing carriage return which upsets mingw
   3952     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3953   *)
   3954     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3955   esac
   3956   case $ac_prog in
   3957     # Accept absolute paths.
   3958     [\\/]* | ?:[\\/]*)
   3959       re_direlt='/[^/][^/]*/\.\./'
   3960       # Canonicalize the pathname of ld
   3961       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3962       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3963 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3964       done
   3965       test -z "$LD" && LD="$ac_prog"
   3966       ;;
   3967   "")
   3968     # If it fails, then pretend we aren't using GCC.
   3969     ac_prog=ld
   3970     ;;
   3971   *)
   3972     # If it is relative, then search for the first ld in PATH.
   3973     with_gnu_ld=unknown
   3974     ;;
   3975   esac
   3976 elif test "$with_gnu_ld" = yes; then
   3977   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   3978 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   3979 else
   3980   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3981 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   3982 fi
   3983 if test "${lt_cv_path_LD+set}" = set; then
   3984   echo $ECHO_N "(cached) $ECHO_C" >&6
   3985 else
   3986   if test -z "$LD"; then
   3987   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3988   for ac_dir in $PATH; do
   3989     IFS="$lt_save_ifs"
   3990     test -z "$ac_dir" && ac_dir=.
   3991     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3992       lt_cv_path_LD="$ac_dir/$ac_prog"
   3993       # Check to see if the program is GNU ld.  I'd rather use --version,
   3994       # but apparently some variants of GNU ld only accept -v.
   3995       # Break only if it was the GNU/non-GNU ld that we prefer.
   3996       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   3997       *GNU* | *'with BFD'*)
   3998 	test "$with_gnu_ld" != no && break
   3999 	;;
   4000       *)
   4001 	test "$with_gnu_ld" != yes && break
   4002 	;;
   4003       esac
   4004     fi
   4005   done
   4006   IFS="$lt_save_ifs"
   4007 else
   4008   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4009 fi
   4010 fi
   4011 
   4012 LD="$lt_cv_path_LD"
   4013 if test -n "$LD"; then
   4014   { echo "$as_me:$LINENO: result: $LD" >&5
   4015 echo "${ECHO_T}$LD" >&6; }
   4016 else
   4017   { echo "$as_me:$LINENO: result: no" >&5
   4018 echo "${ECHO_T}no" >&6; }
   4019 fi
   4020 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4021 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4022    { (exit 1); exit 1; }; }
   4023 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4024 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4025 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4026   echo $ECHO_N "(cached) $ECHO_C" >&6
   4027 else
   4028   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4029 case `$LD -v 2>&1 </dev/null` in
   4030 *GNU* | *'with BFD'*)
   4031   lt_cv_prog_gnu_ld=yes
   4032   ;;
   4033 *)
   4034   lt_cv_prog_gnu_ld=no
   4035   ;;
   4036 esac
   4037 fi
   4038 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4039 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4040 with_gnu_ld=$lt_cv_prog_gnu_ld
   4041 
   4042 
   4043 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4044 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4045 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4046   echo $ECHO_N "(cached) $ECHO_C" >&6
   4047 else
   4048   lt_cv_ld_reload_flag='-r'
   4049 fi
   4050 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4051 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4052 reload_flag=$lt_cv_ld_reload_flag
   4053 case $reload_flag in
   4054 "" | " "*) ;;
   4055 *) reload_flag=" $reload_flag" ;;
   4056 esac
   4057 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4058 case $host_os in
   4059   darwin*)
   4060     if test "$GCC" = yes; then
   4061       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4062     else
   4063       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4064     fi
   4065     ;;
   4066 esac
   4067 
   4068 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4069 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4070 if test "${lt_cv_path_NM+set}" = set; then
   4071   echo $ECHO_N "(cached) $ECHO_C" >&6
   4072 else
   4073   if test -n "$NM"; then
   4074   # Let the user override the test.
   4075   lt_cv_path_NM="$NM"
   4076 else
   4077   lt_nm_to_check="${ac_tool_prefix}nm"
   4078   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4079     lt_nm_to_check="$lt_nm_to_check nm"
   4080   fi
   4081   for lt_tmp_nm in $lt_nm_to_check; do
   4082     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4083     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4084       IFS="$lt_save_ifs"
   4085       test -z "$ac_dir" && ac_dir=.
   4086       tmp_nm="$ac_dir/$lt_tmp_nm"
   4087       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4088 	# Check to see if the nm accepts a BSD-compat flag.
   4089 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4090 	#   nm: unknown option "B" ignored
   4091 	# Tru64's nm complains that /dev/null is an invalid object file
   4092 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4093 	*/dev/null* | *'Invalid file or object type'*)
   4094 	  lt_cv_path_NM="$tmp_nm -B"
   4095 	  break
   4096 	  ;;
   4097 	*)
   4098 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4099 	  */dev/null*)
   4100 	    lt_cv_path_NM="$tmp_nm -p"
   4101 	    break
   4102 	    ;;
   4103 	  *)
   4104 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4105 	    continue # so that we can try to find one that supports BSD flags
   4106 	    ;;
   4107 	  esac
   4108 	  ;;
   4109 	esac
   4110       fi
   4111     done
   4112     IFS="$lt_save_ifs"
   4113   done
   4114   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4115 fi
   4116 fi
   4117 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4118 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4119 NM="$lt_cv_path_NM"
   4120 
   4121 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4122 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4123 LN_S=$as_ln_s
   4124 if test "$LN_S" = "ln -s"; then
   4125   { echo "$as_me:$LINENO: result: yes" >&5
   4126 echo "${ECHO_T}yes" >&6; }
   4127 else
   4128   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4129 echo "${ECHO_T}no, using $LN_S" >&6; }
   4130 fi
   4131 
   4132 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4133 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4134 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4135   echo $ECHO_N "(cached) $ECHO_C" >&6
   4136 else
   4137   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4138 lt_cv_file_magic_test_file=
   4139 lt_cv_deplibs_check_method='unknown'
   4140 # Need to set the preceding variable on all platforms that support
   4141 # interlibrary dependencies.
   4142 # 'none' -- dependencies not supported.
   4143 # `unknown' -- same as none, but documents that we really don't know.
   4144 # 'pass_all' -- all dependencies passed with no checks.
   4145 # 'test_compile' -- check by making test program.
   4146 # 'file_magic [[regex]]' -- check by looking for files in library path
   4147 # which responds to the $file_magic_cmd with a given extended regex.
   4148 # If you have `file' or equivalent on your system and you're not sure
   4149 # whether `pass_all' will *always* work, you probably want this one.
   4150 
   4151 case $host_os in
   4152 aix4* | aix5*)
   4153   lt_cv_deplibs_check_method=pass_all
   4154   ;;
   4155 
   4156 beos*)
   4157   lt_cv_deplibs_check_method=pass_all
   4158   ;;
   4159 
   4160 bsdi[45]*)
   4161   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4162   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4163   lt_cv_file_magic_test_file=/shlib/libc.so
   4164   ;;
   4165 
   4166 cygwin*)
   4167   # func_win32_libid is a shell function defined in ltmain.sh
   4168   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4169   lt_cv_file_magic_cmd='func_win32_libid'
   4170   ;;
   4171 
   4172 mingw* | pw32*)
   4173   # Base MSYS/MinGW do not provide the 'file' command needed by
   4174   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4175   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4176   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4177   ;;
   4178 
   4179 darwin* | rhapsody*)
   4180   lt_cv_deplibs_check_method=pass_all
   4181   ;;
   4182 
   4183 freebsd* | kfreebsd*-gnu | dragonfly*)
   4184   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4185     case $host_cpu in
   4186     i*86 )
   4187       # Not sure whether the presence of OpenBSD here was a mistake.
   4188       # Let's accept both of them until this is cleared up.
   4189       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4190       lt_cv_file_magic_cmd=/usr/bin/file
   4191       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4192       ;;
   4193     esac
   4194   else
   4195     lt_cv_deplibs_check_method=pass_all
   4196   fi
   4197   ;;
   4198 
   4199 gnu*)
   4200   lt_cv_deplibs_check_method=pass_all
   4201   ;;
   4202 
   4203 hpux10.20* | hpux11*)
   4204   lt_cv_file_magic_cmd=/usr/bin/file
   4205   case $host_cpu in
   4206   ia64*)
   4207     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4208     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4209     ;;
   4210   hppa*64*)
   4211     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]'
   4212     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4213     ;;
   4214   *)
   4215     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4216     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4217     ;;
   4218   esac
   4219   ;;
   4220 
   4221 interix3*)
   4222   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4223   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4224   ;;
   4225 
   4226 irix5* | irix6* | nonstopux*)
   4227   case $LD in
   4228   *-32|*"-32 ") libmagic=32-bit;;
   4229   *-n32|*"-n32 ") libmagic=N32;;
   4230   *-64|*"-64 ") libmagic=64-bit;;
   4231   *) libmagic=never-match;;
   4232   esac
   4233   lt_cv_deplibs_check_method=pass_all
   4234   ;;
   4235 
   4236 # This must be Linux ELF.
   4237 linux*)
   4238   lt_cv_deplibs_check_method=pass_all
   4239   ;;
   4240 
   4241 netbsd*)
   4242   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4243     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4244   else
   4245     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4246   fi
   4247   ;;
   4248 
   4249 newos6*)
   4250   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4251   lt_cv_file_magic_cmd=/usr/bin/file
   4252   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4253   ;;
   4254 
   4255 nto-qnx*)
   4256   lt_cv_deplibs_check_method=unknown
   4257   ;;
   4258 
   4259 openbsd*)
   4260   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4261     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4262   else
   4263     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4264   fi
   4265   ;;
   4266 
   4267 osf3* | osf4* | osf5*)
   4268   lt_cv_deplibs_check_method=pass_all
   4269   ;;
   4270 
   4271 solaris*)
   4272   lt_cv_deplibs_check_method=pass_all
   4273   ;;
   4274 
   4275 sysv4 | sysv4.3*)
   4276   case $host_vendor in
   4277   motorola)
   4278     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]'
   4279     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4280     ;;
   4281   ncr)
   4282     lt_cv_deplibs_check_method=pass_all
   4283     ;;
   4284   sequent)
   4285     lt_cv_file_magic_cmd='/bin/file'
   4286     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4287     ;;
   4288   sni)
   4289     lt_cv_file_magic_cmd='/bin/file'
   4290     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4291     lt_cv_file_magic_test_file=/lib/libc.so
   4292     ;;
   4293   siemens)
   4294     lt_cv_deplibs_check_method=pass_all
   4295     ;;
   4296   pc)
   4297     lt_cv_deplibs_check_method=pass_all
   4298     ;;
   4299   esac
   4300   ;;
   4301 
   4302 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4303   lt_cv_deplibs_check_method=pass_all
   4304   ;;
   4305 esac
   4306 
   4307 fi
   4308 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4309 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4310 file_magic_cmd=$lt_cv_file_magic_cmd
   4311 deplibs_check_method=$lt_cv_deplibs_check_method
   4312 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4313 
   4314 
   4315 
   4316 
   4317 # If no C compiler was specified, use CC.
   4318 LTCC=${LTCC-"$CC"}
   4319 
   4320 # If no C compiler flags were specified, use CFLAGS.
   4321 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4322 
   4323 # Allow CC to be a program name with arguments.
   4324 compiler=$CC
   4325 
   4326 
   4327 # Check whether --enable-libtool-lock was given.
   4328 if test "${enable_libtool_lock+set}" = set; then
   4329   enableval=$enable_libtool_lock;
   4330 fi
   4331 
   4332 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4333 
   4334 # Some flags need to be propagated to the compiler or linker for good
   4335 # libtool support.
   4336 case $host in
   4337 ia64-*-hpux*)
   4338   # Find out which ABI we are using.
   4339   echo 'int i;' > conftest.$ac_ext
   4340   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4341   (eval $ac_compile) 2>&5
   4342   ac_status=$?
   4343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4344   (exit $ac_status); }; then
   4345     case `/usr/bin/file conftest.$ac_objext` in
   4346     *ELF-32*)
   4347       HPUX_IA64_MODE="32"
   4348       ;;
   4349     *ELF-64*)
   4350       HPUX_IA64_MODE="64"
   4351       ;;
   4352     esac
   4353   fi
   4354   rm -rf conftest*
   4355   ;;
   4356 *-*-irix6*)
   4357   # Find out which ABI we are using.
   4358   echo '#line 4358 "configure"' > conftest.$ac_ext
   4359   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4360   (eval $ac_compile) 2>&5
   4361   ac_status=$?
   4362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4363   (exit $ac_status); }; then
   4364    if test "$lt_cv_prog_gnu_ld" = yes; then
   4365     case `/usr/bin/file conftest.$ac_objext` in
   4366     *32-bit*)
   4367       LD="${LD-ld} -melf32bsmip"
   4368       ;;
   4369     *N32*)
   4370       LD="${LD-ld} -melf32bmipn32"
   4371       ;;
   4372     *64-bit*)
   4373       LD="${LD-ld} -melf64bmip"
   4374       ;;
   4375     esac
   4376    else
   4377     case `/usr/bin/file conftest.$ac_objext` in
   4378     *32-bit*)
   4379       LD="${LD-ld} -32"
   4380       ;;
   4381     *N32*)
   4382       LD="${LD-ld} -n32"
   4383       ;;
   4384     *64-bit*)
   4385       LD="${LD-ld} -64"
   4386       ;;
   4387     esac
   4388    fi
   4389   fi
   4390   rm -rf conftest*
   4391   ;;
   4392 
   4393 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4394   # Find out which ABI we are using.
   4395   echo 'int i;' > conftest.$ac_ext
   4396   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4397   (eval $ac_compile) 2>&5
   4398   ac_status=$?
   4399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4400   (exit $ac_status); }; then
   4401     case `/usr/bin/file conftest.o` in
   4402     *32-bit*)
   4403       case $host in
   4404         x86_64-*linux*)
   4405           LD="${LD-ld} -m elf_i386"
   4406           ;;
   4407         ppc64-*linux*|powerpc64-*linux*)
   4408           LD="${LD-ld} -m elf32ppclinux"
   4409           ;;
   4410         s390x-*linux*)
   4411           LD="${LD-ld} -m elf_s390"
   4412           ;;
   4413         sparc64-*linux*)
   4414           LD="${LD-ld} -m elf32_sparc"
   4415           ;;
   4416       esac
   4417       ;;
   4418     *64-bit*)
   4419       case $host in
   4420         x86_64-*linux*)
   4421           LD="${LD-ld} -m elf_x86_64"
   4422           ;;
   4423         ppc*-*linux*|powerpc*-*linux*)
   4424           LD="${LD-ld} -m elf64ppc"
   4425           ;;
   4426         s390*-*linux*)
   4427           LD="${LD-ld} -m elf64_s390"
   4428           ;;
   4429         sparc*-*linux*)
   4430           LD="${LD-ld} -m elf64_sparc"
   4431           ;;
   4432       esac
   4433       ;;
   4434     esac
   4435   fi
   4436   rm -rf conftest*
   4437   ;;
   4438 
   4439 *-*-sco3.2v5*)
   4440   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4441   SAVE_CFLAGS="$CFLAGS"
   4442   CFLAGS="$CFLAGS -belf"
   4443   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4444 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4445 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4446   echo $ECHO_N "(cached) $ECHO_C" >&6
   4447 else
   4448   ac_ext=c
   4449 ac_cpp='$CPP $CPPFLAGS'
   4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4453 
   4454      cat >conftest.$ac_ext <<_ACEOF
   4455 /* confdefs.h.  */
   4456 _ACEOF
   4457 cat confdefs.h >>conftest.$ac_ext
   4458 cat >>conftest.$ac_ext <<_ACEOF
   4459 /* end confdefs.h.  */
   4460 
   4461 int
   4462 main ()
   4463 {
   4464 
   4465   ;
   4466   return 0;
   4467 }
   4468 _ACEOF
   4469 rm -f conftest.$ac_objext conftest$ac_exeext
   4470 if { (ac_try="$ac_link"
   4471 case "(($ac_try" in
   4472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4473   *) ac_try_echo=$ac_try;;
   4474 esac
   4475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4476   (eval "$ac_link") 2>conftest.er1
   4477   ac_status=$?
   4478   grep -v '^ *+' conftest.er1 >conftest.err
   4479   rm -f conftest.er1
   4480   cat conftest.err >&5
   4481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4482   (exit $ac_status); } && {
   4483 	 test -z "$ac_c_werror_flag" ||
   4484 	 test ! -s conftest.err
   4485        } && test -s conftest$ac_exeext &&
   4486        $as_test_x conftest$ac_exeext; then
   4487   lt_cv_cc_needs_belf=yes
   4488 else
   4489   echo "$as_me: failed program was:" >&5
   4490 sed 's/^/| /' conftest.$ac_ext >&5
   4491 
   4492 	lt_cv_cc_needs_belf=no
   4493 fi
   4494 
   4495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4496       conftest$ac_exeext conftest.$ac_ext
   4497      ac_ext=c
   4498 ac_cpp='$CPP $CPPFLAGS'
   4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4502 
   4503 fi
   4504 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4505 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4506   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4507     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4508     CFLAGS="$SAVE_CFLAGS"
   4509   fi
   4510   ;;
   4511 sparc*-*solaris*)
   4512   # Find out which ABI we are using.
   4513   echo 'int i;' > conftest.$ac_ext
   4514   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4515   (eval $ac_compile) 2>&5
   4516   ac_status=$?
   4517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4518   (exit $ac_status); }; then
   4519     case `/usr/bin/file conftest.o` in
   4520     *64-bit*)
   4521       case $lt_cv_prog_gnu_ld in
   4522       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4523       *)    LD="${LD-ld} -64" ;;
   4524       esac
   4525       ;;
   4526     esac
   4527   fi
   4528   rm -rf conftest*
   4529   ;;
   4530 
   4531 
   4532 esac
   4533 
   4534 need_locks="$enable_libtool_lock"
   4535 
   4536 
   4537 ac_ext=c
   4538 ac_cpp='$CPP $CPPFLAGS'
   4539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4542 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4543 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4544 # On Suns, sometimes $CPP names a directory.
   4545 if test -n "$CPP" && test -d "$CPP"; then
   4546   CPP=
   4547 fi
   4548 if test -z "$CPP"; then
   4549   if test "${ac_cv_prog_CPP+set}" = set; then
   4550   echo $ECHO_N "(cached) $ECHO_C" >&6
   4551 else
   4552       # Double quotes because CPP needs to be expanded
   4553     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4554     do
   4555       ac_preproc_ok=false
   4556 for ac_c_preproc_warn_flag in '' yes
   4557 do
   4558   # Use a header file that comes with gcc, so configuring glibc
   4559   # with a fresh cross-compiler works.
   4560   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4561   # <limits.h> exists even on freestanding compilers.
   4562   # On the NeXT, cc -E runs the code through the compiler's parser,
   4563   # not just through cpp. "Syntax error" is here to catch this case.
   4564   cat >conftest.$ac_ext <<_ACEOF
   4565 /* confdefs.h.  */
   4566 _ACEOF
   4567 cat confdefs.h >>conftest.$ac_ext
   4568 cat >>conftest.$ac_ext <<_ACEOF
   4569 /* end confdefs.h.  */
   4570 #ifdef __STDC__
   4571 # include <limits.h>
   4572 #else
   4573 # include <assert.h>
   4574 #endif
   4575 		     Syntax error
   4576 _ACEOF
   4577 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4578 case "(($ac_try" in
   4579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4580   *) ac_try_echo=$ac_try;;
   4581 esac
   4582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4583   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4584   ac_status=$?
   4585   grep -v '^ *+' conftest.er1 >conftest.err
   4586   rm -f conftest.er1
   4587   cat conftest.err >&5
   4588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4589   (exit $ac_status); } >/dev/null && {
   4590 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4591 	 test ! -s conftest.err
   4592        }; then
   4593   :
   4594 else
   4595   echo "$as_me: failed program was:" >&5
   4596 sed 's/^/| /' conftest.$ac_ext >&5
   4597 
   4598   # Broken: fails on valid input.
   4599 continue
   4600 fi
   4601 
   4602 rm -f conftest.err conftest.$ac_ext
   4603 
   4604   # OK, works on sane cases.  Now check whether nonexistent headers
   4605   # can be detected and how.
   4606   cat >conftest.$ac_ext <<_ACEOF
   4607 /* confdefs.h.  */
   4608 _ACEOF
   4609 cat confdefs.h >>conftest.$ac_ext
   4610 cat >>conftest.$ac_ext <<_ACEOF
   4611 /* end confdefs.h.  */
   4612 #include <ac_nonexistent.h>
   4613 _ACEOF
   4614 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4615 case "(($ac_try" in
   4616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4617   *) ac_try_echo=$ac_try;;
   4618 esac
   4619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4620   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4621   ac_status=$?
   4622   grep -v '^ *+' conftest.er1 >conftest.err
   4623   rm -f conftest.er1
   4624   cat conftest.err >&5
   4625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4626   (exit $ac_status); } >/dev/null && {
   4627 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4628 	 test ! -s conftest.err
   4629        }; then
   4630   # Broken: success on invalid input.
   4631 continue
   4632 else
   4633   echo "$as_me: failed program was:" >&5
   4634 sed 's/^/| /' conftest.$ac_ext >&5
   4635 
   4636   # Passes both tests.
   4637 ac_preproc_ok=:
   4638 break
   4639 fi
   4640 
   4641 rm -f conftest.err conftest.$ac_ext
   4642 
   4643 done
   4644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4645 rm -f conftest.err conftest.$ac_ext
   4646 if $ac_preproc_ok; then
   4647   break
   4648 fi
   4649 
   4650     done
   4651     ac_cv_prog_CPP=$CPP
   4652 
   4653 fi
   4654   CPP=$ac_cv_prog_CPP
   4655 else
   4656   ac_cv_prog_CPP=$CPP
   4657 fi
   4658 { echo "$as_me:$LINENO: result: $CPP" >&5
   4659 echo "${ECHO_T}$CPP" >&6; }
   4660 ac_preproc_ok=false
   4661 for ac_c_preproc_warn_flag in '' yes
   4662 do
   4663   # Use a header file that comes with gcc, so configuring glibc
   4664   # with a fresh cross-compiler works.
   4665   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4666   # <limits.h> exists even on freestanding compilers.
   4667   # On the NeXT, cc -E runs the code through the compiler's parser,
   4668   # not just through cpp. "Syntax error" is here to catch this case.
   4669   cat >conftest.$ac_ext <<_ACEOF
   4670 /* confdefs.h.  */
   4671 _ACEOF
   4672 cat confdefs.h >>conftest.$ac_ext
   4673 cat >>conftest.$ac_ext <<_ACEOF
   4674 /* end confdefs.h.  */
   4675 #ifdef __STDC__
   4676 # include <limits.h>
   4677 #else
   4678 # include <assert.h>
   4679 #endif
   4680 		     Syntax error
   4681 _ACEOF
   4682 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4683 case "(($ac_try" in
   4684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4685   *) ac_try_echo=$ac_try;;
   4686 esac
   4687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4689   ac_status=$?
   4690   grep -v '^ *+' conftest.er1 >conftest.err
   4691   rm -f conftest.er1
   4692   cat conftest.err >&5
   4693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4694   (exit $ac_status); } >/dev/null && {
   4695 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4696 	 test ! -s conftest.err
   4697        }; then
   4698   :
   4699 else
   4700   echo "$as_me: failed program was:" >&5
   4701 sed 's/^/| /' conftest.$ac_ext >&5
   4702 
   4703   # Broken: fails on valid input.
   4704 continue
   4705 fi
   4706 
   4707 rm -f conftest.err conftest.$ac_ext
   4708 
   4709   # OK, works on sane cases.  Now check whether nonexistent headers
   4710   # can be detected and how.
   4711   cat >conftest.$ac_ext <<_ACEOF
   4712 /* confdefs.h.  */
   4713 _ACEOF
   4714 cat confdefs.h >>conftest.$ac_ext
   4715 cat >>conftest.$ac_ext <<_ACEOF
   4716 /* end confdefs.h.  */
   4717 #include <ac_nonexistent.h>
   4718 _ACEOF
   4719 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4720 case "(($ac_try" in
   4721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4722   *) ac_try_echo=$ac_try;;
   4723 esac
   4724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4725   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4726   ac_status=$?
   4727   grep -v '^ *+' conftest.er1 >conftest.err
   4728   rm -f conftest.er1
   4729   cat conftest.err >&5
   4730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4731   (exit $ac_status); } >/dev/null && {
   4732 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4733 	 test ! -s conftest.err
   4734        }; then
   4735   # Broken: success on invalid input.
   4736 continue
   4737 else
   4738   echo "$as_me: failed program was:" >&5
   4739 sed 's/^/| /' conftest.$ac_ext >&5
   4740 
   4741   # Passes both tests.
   4742 ac_preproc_ok=:
   4743 break
   4744 fi
   4745 
   4746 rm -f conftest.err conftest.$ac_ext
   4747 
   4748 done
   4749 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4750 rm -f conftest.err conftest.$ac_ext
   4751 if $ac_preproc_ok; then
   4752   :
   4753 else
   4754   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4755 See \`config.log' for more details." >&5
   4756 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4757 See \`config.log' for more details." >&2;}
   4758    { (exit 1); exit 1; }; }
   4759 fi
   4760 
   4761 ac_ext=c
   4762 ac_cpp='$CPP $CPPFLAGS'
   4763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4766 
   4767 
   4768 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4769 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4770 if test "${ac_cv_header_stdc+set}" = set; then
   4771   echo $ECHO_N "(cached) $ECHO_C" >&6
   4772 else
   4773   cat >conftest.$ac_ext <<_ACEOF
   4774 /* confdefs.h.  */
   4775 _ACEOF
   4776 cat confdefs.h >>conftest.$ac_ext
   4777 cat >>conftest.$ac_ext <<_ACEOF
   4778 /* end confdefs.h.  */
   4779 #include <stdlib.h>
   4780 #include <stdarg.h>
   4781 #include <string.h>
   4782 #include <float.h>
   4783 
   4784 int
   4785 main ()
   4786 {
   4787 
   4788   ;
   4789   return 0;
   4790 }
   4791 _ACEOF
   4792 rm -f conftest.$ac_objext
   4793 if { (ac_try="$ac_compile"
   4794 case "(($ac_try" in
   4795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4796   *) ac_try_echo=$ac_try;;
   4797 esac
   4798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4799   (eval "$ac_compile") 2>conftest.er1
   4800   ac_status=$?
   4801   grep -v '^ *+' conftest.er1 >conftest.err
   4802   rm -f conftest.er1
   4803   cat conftest.err >&5
   4804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4805   (exit $ac_status); } && {
   4806 	 test -z "$ac_c_werror_flag" ||
   4807 	 test ! -s conftest.err
   4808        } && test -s conftest.$ac_objext; then
   4809   ac_cv_header_stdc=yes
   4810 else
   4811   echo "$as_me: failed program was:" >&5
   4812 sed 's/^/| /' conftest.$ac_ext >&5
   4813 
   4814 	ac_cv_header_stdc=no
   4815 fi
   4816 
   4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4818 
   4819 if test $ac_cv_header_stdc = yes; then
   4820   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4821   cat >conftest.$ac_ext <<_ACEOF
   4822 /* confdefs.h.  */
   4823 _ACEOF
   4824 cat confdefs.h >>conftest.$ac_ext
   4825 cat >>conftest.$ac_ext <<_ACEOF
   4826 /* end confdefs.h.  */
   4827 #include <string.h>
   4828 
   4829 _ACEOF
   4830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4831   $EGREP "memchr" >/dev/null 2>&1; then
   4832   :
   4833 else
   4834   ac_cv_header_stdc=no
   4835 fi
   4836 rm -f conftest*
   4837 
   4838 fi
   4839 
   4840 if test $ac_cv_header_stdc = yes; then
   4841   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4842   cat >conftest.$ac_ext <<_ACEOF
   4843 /* confdefs.h.  */
   4844 _ACEOF
   4845 cat confdefs.h >>conftest.$ac_ext
   4846 cat >>conftest.$ac_ext <<_ACEOF
   4847 /* end confdefs.h.  */
   4848 #include <stdlib.h>
   4849 
   4850 _ACEOF
   4851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4852   $EGREP "free" >/dev/null 2>&1; then
   4853   :
   4854 else
   4855   ac_cv_header_stdc=no
   4856 fi
   4857 rm -f conftest*
   4858 
   4859 fi
   4860 
   4861 if test $ac_cv_header_stdc = yes; then
   4862   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4863   if test "$cross_compiling" = yes; then
   4864   :
   4865 else
   4866   cat >conftest.$ac_ext <<_ACEOF
   4867 /* confdefs.h.  */
   4868 _ACEOF
   4869 cat confdefs.h >>conftest.$ac_ext
   4870 cat >>conftest.$ac_ext <<_ACEOF
   4871 /* end confdefs.h.  */
   4872 #include <ctype.h>
   4873 #include <stdlib.h>
   4874 #if ((' ' & 0x0FF) == 0x020)
   4875 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4876 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4877 #else
   4878 # define ISLOWER(c) \
   4879 		   (('a' <= (c) && (c) <= 'i') \
   4880 		     || ('j' <= (c) && (c) <= 'r') \
   4881 		     || ('s' <= (c) && (c) <= 'z'))
   4882 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4883 #endif
   4884 
   4885 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4886 int
   4887 main ()
   4888 {
   4889   int i;
   4890   for (i = 0; i < 256; i++)
   4891     if (XOR (islower (i), ISLOWER (i))
   4892 	|| toupper (i) != TOUPPER (i))
   4893       return 2;
   4894   return 0;
   4895 }
   4896 _ACEOF
   4897 rm -f conftest$ac_exeext
   4898 if { (ac_try="$ac_link"
   4899 case "(($ac_try" in
   4900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4901   *) ac_try_echo=$ac_try;;
   4902 esac
   4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4904   (eval "$ac_link") 2>&5
   4905   ac_status=$?
   4906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4907   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4908   { (case "(($ac_try" in
   4909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4910   *) ac_try_echo=$ac_try;;
   4911 esac
   4912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4913   (eval "$ac_try") 2>&5
   4914   ac_status=$?
   4915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4916   (exit $ac_status); }; }; then
   4917   :
   4918 else
   4919   echo "$as_me: program exited with status $ac_status" >&5
   4920 echo "$as_me: failed program was:" >&5
   4921 sed 's/^/| /' conftest.$ac_ext >&5
   4922 
   4923 ( exit $ac_status )
   4924 ac_cv_header_stdc=no
   4925 fi
   4926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4927 fi
   4928 
   4929 
   4930 fi
   4931 fi
   4932 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4933 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4934 if test $ac_cv_header_stdc = yes; then
   4935 
   4936 cat >>confdefs.h <<\_ACEOF
   4937 #define STDC_HEADERS 1
   4938 _ACEOF
   4939 
   4940 fi
   4941 
   4942 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4953 		  inttypes.h stdint.h unistd.h
   4954 do
   4955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4959   echo $ECHO_N "(cached) $ECHO_C" >&6
   4960 else
   4961   cat >conftest.$ac_ext <<_ACEOF
   4962 /* confdefs.h.  */
   4963 _ACEOF
   4964 cat confdefs.h >>conftest.$ac_ext
   4965 cat >>conftest.$ac_ext <<_ACEOF
   4966 /* end confdefs.h.  */
   4967 $ac_includes_default
   4968 
   4969 #include <$ac_header>
   4970 _ACEOF
   4971 rm -f conftest.$ac_objext
   4972 if { (ac_try="$ac_compile"
   4973 case "(($ac_try" in
   4974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4975   *) ac_try_echo=$ac_try;;
   4976 esac
   4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4978   (eval "$ac_compile") 2>conftest.er1
   4979   ac_status=$?
   4980   grep -v '^ *+' conftest.er1 >conftest.err
   4981   rm -f conftest.er1
   4982   cat conftest.err >&5
   4983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4984   (exit $ac_status); } && {
   4985 	 test -z "$ac_c_werror_flag" ||
   4986 	 test ! -s conftest.err
   4987        } && test -s conftest.$ac_objext; then
   4988   eval "$as_ac_Header=yes"
   4989 else
   4990   echo "$as_me: failed program was:" >&5
   4991 sed 's/^/| /' conftest.$ac_ext >&5
   4992 
   4993 	eval "$as_ac_Header=no"
   4994 fi
   4995 
   4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4997 fi
   4998 ac_res=`eval echo '${'$as_ac_Header'}'`
   4999 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5000 echo "${ECHO_T}$ac_res" >&6; }
   5001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5002   cat >>confdefs.h <<_ACEOF
   5003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5004 _ACEOF
   5005 
   5006 fi
   5007 
   5008 done
   5009 
   5010 
   5011 
   5012 for ac_header in dlfcn.h
   5013 do
   5014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5016   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5019   echo $ECHO_N "(cached) $ECHO_C" >&6
   5020 fi
   5021 ac_res=`eval echo '${'$as_ac_Header'}'`
   5022 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5023 echo "${ECHO_T}$ac_res" >&6; }
   5024 else
   5025   # Is the header compilable?
   5026 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5028 cat >conftest.$ac_ext <<_ACEOF
   5029 /* confdefs.h.  */
   5030 _ACEOF
   5031 cat confdefs.h >>conftest.$ac_ext
   5032 cat >>conftest.$ac_ext <<_ACEOF
   5033 /* end confdefs.h.  */
   5034 $ac_includes_default
   5035 #include <$ac_header>
   5036 _ACEOF
   5037 rm -f conftest.$ac_objext
   5038 if { (ac_try="$ac_compile"
   5039 case "(($ac_try" in
   5040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5041   *) ac_try_echo=$ac_try;;
   5042 esac
   5043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5044   (eval "$ac_compile") 2>conftest.er1
   5045   ac_status=$?
   5046   grep -v '^ *+' conftest.er1 >conftest.err
   5047   rm -f conftest.er1
   5048   cat conftest.err >&5
   5049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5050   (exit $ac_status); } && {
   5051 	 test -z "$ac_c_werror_flag" ||
   5052 	 test ! -s conftest.err
   5053        } && test -s conftest.$ac_objext; then
   5054   ac_header_compiler=yes
   5055 else
   5056   echo "$as_me: failed program was:" >&5
   5057 sed 's/^/| /' conftest.$ac_ext >&5
   5058 
   5059 	ac_header_compiler=no
   5060 fi
   5061 
   5062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5063 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5064 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5065 
   5066 # Is the header present?
   5067 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5069 cat >conftest.$ac_ext <<_ACEOF
   5070 /* confdefs.h.  */
   5071 _ACEOF
   5072 cat confdefs.h >>conftest.$ac_ext
   5073 cat >>conftest.$ac_ext <<_ACEOF
   5074 /* end confdefs.h.  */
   5075 #include <$ac_header>
   5076 _ACEOF
   5077 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5078 case "(($ac_try" in
   5079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5080   *) ac_try_echo=$ac_try;;
   5081 esac
   5082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5083   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5084   ac_status=$?
   5085   grep -v '^ *+' conftest.er1 >conftest.err
   5086   rm -f conftest.er1
   5087   cat conftest.err >&5
   5088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5089   (exit $ac_status); } >/dev/null && {
   5090 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5091 	 test ! -s conftest.err
   5092        }; then
   5093   ac_header_preproc=yes
   5094 else
   5095   echo "$as_me: failed program was:" >&5
   5096 sed 's/^/| /' conftest.$ac_ext >&5
   5097 
   5098   ac_header_preproc=no
   5099 fi
   5100 
   5101 rm -f conftest.err conftest.$ac_ext
   5102 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5103 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5104 
   5105 # So?  What about this header?
   5106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5107   yes:no: )
   5108     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5110     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5112     ac_header_preproc=yes
   5113     ;;
   5114   no:yes:* )
   5115     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5117     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5118 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5119     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5121     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5122 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5123     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5125     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5127     ( cat <<\_ASBOX
   5128 ## ---------------------------------------------------------------------- ##
   5129 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5130 ## ---------------------------------------------------------------------- ##
   5131 _ASBOX
   5132      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5133     ;;
   5134 esac
   5135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5138   echo $ECHO_N "(cached) $ECHO_C" >&6
   5139 else
   5140   eval "$as_ac_Header=\$ac_header_preproc"
   5141 fi
   5142 ac_res=`eval echo '${'$as_ac_Header'}'`
   5143 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5144 echo "${ECHO_T}$ac_res" >&6; }
   5145 
   5146 fi
   5147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5148   cat >>confdefs.h <<_ACEOF
   5149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5150 _ACEOF
   5151 
   5152 fi
   5153 
   5154 done
   5155 
   5156 ac_ext=cpp
   5157 ac_cpp='$CXXCPP $CPPFLAGS'
   5158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5161 if test -z "$CXX"; then
   5162   if test -n "$CCC"; then
   5163     CXX=$CCC
   5164   else
   5165     if test -n "$ac_tool_prefix"; then
   5166   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5167   do
   5168     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5172 if test "${ac_cv_prog_CXX+set}" = set; then
   5173   echo $ECHO_N "(cached) $ECHO_C" >&6
   5174 else
   5175   if test -n "$CXX"; then
   5176   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5177 else
   5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5179 for as_dir in $PATH
   5180 do
   5181   IFS=$as_save_IFS
   5182   test -z "$as_dir" && as_dir=.
   5183   for ac_exec_ext in '' $ac_executable_extensions; do
   5184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5185     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5186     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5187     break 2
   5188   fi
   5189 done
   5190 done
   5191 IFS=$as_save_IFS
   5192 
   5193 fi
   5194 fi
   5195 CXX=$ac_cv_prog_CXX
   5196 if test -n "$CXX"; then
   5197   { echo "$as_me:$LINENO: result: $CXX" >&5
   5198 echo "${ECHO_T}$CXX" >&6; }
   5199 else
   5200   { echo "$as_me:$LINENO: result: no" >&5
   5201 echo "${ECHO_T}no" >&6; }
   5202 fi
   5203 
   5204 
   5205     test -n "$CXX" && break
   5206   done
   5207 fi
   5208 if test -z "$CXX"; then
   5209   ac_ct_CXX=$CXX
   5210   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5211 do
   5212   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5213 set dummy $ac_prog; ac_word=$2
   5214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5216 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5217   echo $ECHO_N "(cached) $ECHO_C" >&6
   5218 else
   5219   if test -n "$ac_ct_CXX"; then
   5220   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5221 else
   5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5223 for as_dir in $PATH
   5224 do
   5225   IFS=$as_save_IFS
   5226   test -z "$as_dir" && as_dir=.
   5227   for ac_exec_ext in '' $ac_executable_extensions; do
   5228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5229     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5230     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5231     break 2
   5232   fi
   5233 done
   5234 done
   5235 IFS=$as_save_IFS
   5236 
   5237 fi
   5238 fi
   5239 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5240 if test -n "$ac_ct_CXX"; then
   5241   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5242 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5243 else
   5244   { echo "$as_me:$LINENO: result: no" >&5
   5245 echo "${ECHO_T}no" >&6; }
   5246 fi
   5247 
   5248 
   5249   test -n "$ac_ct_CXX" && break
   5250 done
   5251 
   5252   if test "x$ac_ct_CXX" = x; then
   5253     CXX="g++"
   5254   else
   5255     case $cross_compiling:$ac_tool_warned in
   5256 yes:)
   5257 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5258 whose name does not start with the host triplet.  If you think this
   5259 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5260 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5261 whose name does not start with the host triplet.  If you think this
   5262 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5263 ac_tool_warned=yes ;;
   5264 esac
   5265     CXX=$ac_ct_CXX
   5266   fi
   5267 fi
   5268 
   5269   fi
   5270 fi
   5271 # Provide some information about the compiler.
   5272 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5273 ac_compiler=`set X $ac_compile; echo $2`
   5274 { (ac_try="$ac_compiler --version >&5"
   5275 case "(($ac_try" in
   5276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5277   *) ac_try_echo=$ac_try;;
   5278 esac
   5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5280   (eval "$ac_compiler --version >&5") 2>&5
   5281   ac_status=$?
   5282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5283   (exit $ac_status); }
   5284 { (ac_try="$ac_compiler -v >&5"
   5285 case "(($ac_try" in
   5286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5287   *) ac_try_echo=$ac_try;;
   5288 esac
   5289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5290   (eval "$ac_compiler -v >&5") 2>&5
   5291   ac_status=$?
   5292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5293   (exit $ac_status); }
   5294 { (ac_try="$ac_compiler -V >&5"
   5295 case "(($ac_try" in
   5296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5297   *) ac_try_echo=$ac_try;;
   5298 esac
   5299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5300   (eval "$ac_compiler -V >&5") 2>&5
   5301   ac_status=$?
   5302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5303   (exit $ac_status); }
   5304 
   5305 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5306 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5307 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5308   echo $ECHO_N "(cached) $ECHO_C" >&6
   5309 else
   5310   cat >conftest.$ac_ext <<_ACEOF
   5311 /* confdefs.h.  */
   5312 _ACEOF
   5313 cat confdefs.h >>conftest.$ac_ext
   5314 cat >>conftest.$ac_ext <<_ACEOF
   5315 /* end confdefs.h.  */
   5316 
   5317 int
   5318 main ()
   5319 {
   5320 #ifndef __GNUC__
   5321        choke me
   5322 #endif
   5323 
   5324   ;
   5325   return 0;
   5326 }
   5327 _ACEOF
   5328 rm -f conftest.$ac_objext
   5329 if { (ac_try="$ac_compile"
   5330 case "(($ac_try" in
   5331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5332   *) ac_try_echo=$ac_try;;
   5333 esac
   5334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5335   (eval "$ac_compile") 2>conftest.er1
   5336   ac_status=$?
   5337   grep -v '^ *+' conftest.er1 >conftest.err
   5338   rm -f conftest.er1
   5339   cat conftest.err >&5
   5340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5341   (exit $ac_status); } && {
   5342 	 test -z "$ac_cxx_werror_flag" ||
   5343 	 test ! -s conftest.err
   5344        } && test -s conftest.$ac_objext; then
   5345   ac_compiler_gnu=yes
   5346 else
   5347   echo "$as_me: failed program was:" >&5
   5348 sed 's/^/| /' conftest.$ac_ext >&5
   5349 
   5350 	ac_compiler_gnu=no
   5351 fi
   5352 
   5353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5355 
   5356 fi
   5357 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5358 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5359 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5360 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5361 ac_save_CXXFLAGS=$CXXFLAGS
   5362 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5363 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5364 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5365   echo $ECHO_N "(cached) $ECHO_C" >&6
   5366 else
   5367   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5368    ac_cxx_werror_flag=yes
   5369    ac_cv_prog_cxx_g=no
   5370    CXXFLAGS="-g"
   5371    cat >conftest.$ac_ext <<_ACEOF
   5372 /* confdefs.h.  */
   5373 _ACEOF
   5374 cat confdefs.h >>conftest.$ac_ext
   5375 cat >>conftest.$ac_ext <<_ACEOF
   5376 /* end confdefs.h.  */
   5377 
   5378 int
   5379 main ()
   5380 {
   5381 
   5382   ;
   5383   return 0;
   5384 }
   5385 _ACEOF
   5386 rm -f conftest.$ac_objext
   5387 if { (ac_try="$ac_compile"
   5388 case "(($ac_try" in
   5389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5390   *) ac_try_echo=$ac_try;;
   5391 esac
   5392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5393   (eval "$ac_compile") 2>conftest.er1
   5394   ac_status=$?
   5395   grep -v '^ *+' conftest.er1 >conftest.err
   5396   rm -f conftest.er1
   5397   cat conftest.err >&5
   5398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5399   (exit $ac_status); } && {
   5400 	 test -z "$ac_cxx_werror_flag" ||
   5401 	 test ! -s conftest.err
   5402        } && test -s conftest.$ac_objext; then
   5403   ac_cv_prog_cxx_g=yes
   5404 else
   5405   echo "$as_me: failed program was:" >&5
   5406 sed 's/^/| /' conftest.$ac_ext >&5
   5407 
   5408 	CXXFLAGS=""
   5409       cat >conftest.$ac_ext <<_ACEOF
   5410 /* confdefs.h.  */
   5411 _ACEOF
   5412 cat confdefs.h >>conftest.$ac_ext
   5413 cat >>conftest.$ac_ext <<_ACEOF
   5414 /* end confdefs.h.  */
   5415 
   5416 int
   5417 main ()
   5418 {
   5419 
   5420   ;
   5421   return 0;
   5422 }
   5423 _ACEOF
   5424 rm -f conftest.$ac_objext
   5425 if { (ac_try="$ac_compile"
   5426 case "(($ac_try" in
   5427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5428   *) ac_try_echo=$ac_try;;
   5429 esac
   5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5431   (eval "$ac_compile") 2>conftest.er1
   5432   ac_status=$?
   5433   grep -v '^ *+' conftest.er1 >conftest.err
   5434   rm -f conftest.er1
   5435   cat conftest.err >&5
   5436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5437   (exit $ac_status); } && {
   5438 	 test -z "$ac_cxx_werror_flag" ||
   5439 	 test ! -s conftest.err
   5440        } && test -s conftest.$ac_objext; then
   5441   :
   5442 else
   5443   echo "$as_me: failed program was:" >&5
   5444 sed 's/^/| /' conftest.$ac_ext >&5
   5445 
   5446 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5447 	 CXXFLAGS="-g"
   5448 	 cat >conftest.$ac_ext <<_ACEOF
   5449 /* confdefs.h.  */
   5450 _ACEOF
   5451 cat confdefs.h >>conftest.$ac_ext
   5452 cat >>conftest.$ac_ext <<_ACEOF
   5453 /* end confdefs.h.  */
   5454 
   5455 int
   5456 main ()
   5457 {
   5458 
   5459   ;
   5460   return 0;
   5461 }
   5462 _ACEOF
   5463 rm -f conftest.$ac_objext
   5464 if { (ac_try="$ac_compile"
   5465 case "(($ac_try" in
   5466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5467   *) ac_try_echo=$ac_try;;
   5468 esac
   5469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5470   (eval "$ac_compile") 2>conftest.er1
   5471   ac_status=$?
   5472   grep -v '^ *+' conftest.er1 >conftest.err
   5473   rm -f conftest.er1
   5474   cat conftest.err >&5
   5475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5476   (exit $ac_status); } && {
   5477 	 test -z "$ac_cxx_werror_flag" ||
   5478 	 test ! -s conftest.err
   5479        } && test -s conftest.$ac_objext; then
   5480   ac_cv_prog_cxx_g=yes
   5481 else
   5482   echo "$as_me: failed program was:" >&5
   5483 sed 's/^/| /' conftest.$ac_ext >&5
   5484 
   5485 
   5486 fi
   5487 
   5488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5489 fi
   5490 
   5491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5492 fi
   5493 
   5494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5495    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5496 fi
   5497 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5498 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5499 if test "$ac_test_CXXFLAGS" = set; then
   5500   CXXFLAGS=$ac_save_CXXFLAGS
   5501 elif test $ac_cv_prog_cxx_g = yes; then
   5502   if test "$GXX" = yes; then
   5503     CXXFLAGS="-g -O2"
   5504   else
   5505     CXXFLAGS="-g"
   5506   fi
   5507 else
   5508   if test "$GXX" = yes; then
   5509     CXXFLAGS="-O2"
   5510   else
   5511     CXXFLAGS=
   5512   fi
   5513 fi
   5514 ac_ext=cpp
   5515 ac_cpp='$CXXCPP $CPPFLAGS'
   5516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5519 
   5520 depcc="$CXX"  am_compiler_list=
   5521 
   5522 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5523 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5524 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5525   echo $ECHO_N "(cached) $ECHO_C" >&6
   5526 else
   5527   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5528   # We make a subdir and do the tests there.  Otherwise we can end up
   5529   # making bogus files that we don't know about and never remove.  For
   5530   # instance it was reported that on HP-UX the gcc test will end up
   5531   # making a dummy file named `D' -- because `-MD' means `put the output
   5532   # in D'.
   5533   mkdir conftest.dir
   5534   # Copy depcomp to subdir because otherwise we won't find it if we're
   5535   # using a relative directory.
   5536   cp "$am_depcomp" conftest.dir
   5537   cd conftest.dir
   5538   # We will build objects and dependencies in a subdirectory because
   5539   # it helps to detect inapplicable dependency modes.  For instance
   5540   # both Tru64's cc and ICC support -MD to output dependencies as a
   5541   # side effect of compilation, but ICC will put the dependencies in
   5542   # the current directory while Tru64 will put them in the object
   5543   # directory.
   5544   mkdir sub
   5545 
   5546   am_cv_CXX_dependencies_compiler_type=none
   5547   if test "$am_compiler_list" = ""; then
   5548      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5549   fi
   5550   for depmode in $am_compiler_list; do
   5551     # Setup a source with many dependencies, because some compilers
   5552     # like to wrap large dependency lists on column 80 (with \), and
   5553     # we should not choose a depcomp mode which is confused by this.
   5554     #
   5555     # We need to recreate these files for each test, as the compiler may
   5556     # overwrite some of them when testing with obscure command lines.
   5557     # This happens at least with the AIX C compiler.
   5558     : > sub/conftest.c
   5559     for i in 1 2 3 4 5 6; do
   5560       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5561       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5562       # Solaris 8's {/usr,}/bin/sh.
   5563       touch sub/conftst$i.h
   5564     done
   5565     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5566 
   5567     case $depmode in
   5568     nosideeffect)
   5569       # after this tag, mechanisms are not by side-effect, so they'll
   5570       # only be used when explicitly requested
   5571       if test "x$enable_dependency_tracking" = xyes; then
   5572 	continue
   5573       else
   5574 	break
   5575       fi
   5576       ;;
   5577     none) break ;;
   5578     esac
   5579     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5580     # mode.  It turns out that the SunPro C++ compiler does not properly
   5581     # handle `-M -o', and we need to detect this.
   5582     if depmode=$depmode \
   5583        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5584        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5585        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5586          >/dev/null 2>conftest.err &&
   5587        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5588        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5589        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5590        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5591       # icc doesn't choke on unknown options, it will just issue warnings
   5592       # or remarks (even with -Werror).  So we grep stderr for any message
   5593       # that says an option was ignored or not supported.
   5594       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5595       #   icc: Command line warning: ignoring option '-M'; no argument required
   5596       # The diagnosis changed in icc 8.0:
   5597       #   icc: Command line remark: option '-MP' not supported
   5598       if (grep 'ignoring option' conftest.err ||
   5599           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5600         am_cv_CXX_dependencies_compiler_type=$depmode
   5601         break
   5602       fi
   5603     fi
   5604   done
   5605 
   5606   cd ..
   5607   rm -rf conftest.dir
   5608 else
   5609   am_cv_CXX_dependencies_compiler_type=none
   5610 fi
   5611 
   5612 fi
   5613 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5614 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5615 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5616 
   5617  if
   5618   test "x$enable_dependency_tracking" != xno \
   5619   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5620   am__fastdepCXX_TRUE=
   5621   am__fastdepCXX_FALSE='#'
   5622 else
   5623   am__fastdepCXX_TRUE='#'
   5624   am__fastdepCXX_FALSE=
   5625 fi
   5626 
   5627 
   5628 
   5629 
   5630 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5631     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5632     (test "X$CXX" != "Xg++"))) ; then
   5633   ac_ext=cpp
   5634 ac_cpp='$CXXCPP $CPPFLAGS'
   5635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5638 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5639 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5640 if test -z "$CXXCPP"; then
   5641   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5642   echo $ECHO_N "(cached) $ECHO_C" >&6
   5643 else
   5644       # Double quotes because CXXCPP needs to be expanded
   5645     for CXXCPP in "$CXX -E" "/lib/cpp"
   5646     do
   5647       ac_preproc_ok=false
   5648 for ac_cxx_preproc_warn_flag in '' yes
   5649 do
   5650   # Use a header file that comes with gcc, so configuring glibc
   5651   # with a fresh cross-compiler works.
   5652   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5653   # <limits.h> exists even on freestanding compilers.
   5654   # On the NeXT, cc -E runs the code through the compiler's parser,
   5655   # not just through cpp. "Syntax error" is here to catch this case.
   5656   cat >conftest.$ac_ext <<_ACEOF
   5657 /* confdefs.h.  */
   5658 _ACEOF
   5659 cat confdefs.h >>conftest.$ac_ext
   5660 cat >>conftest.$ac_ext <<_ACEOF
   5661 /* end confdefs.h.  */
   5662 #ifdef __STDC__
   5663 # include <limits.h>
   5664 #else
   5665 # include <assert.h>
   5666 #endif
   5667 		     Syntax error
   5668 _ACEOF
   5669 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5670 case "(($ac_try" in
   5671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5672   *) ac_try_echo=$ac_try;;
   5673 esac
   5674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5675   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5676   ac_status=$?
   5677   grep -v '^ *+' conftest.er1 >conftest.err
   5678   rm -f conftest.er1
   5679   cat conftest.err >&5
   5680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5681   (exit $ac_status); } >/dev/null && {
   5682 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5683 	 test ! -s conftest.err
   5684        }; then
   5685   :
   5686 else
   5687   echo "$as_me: failed program was:" >&5
   5688 sed 's/^/| /' conftest.$ac_ext >&5
   5689 
   5690   # Broken: fails on valid input.
   5691 continue
   5692 fi
   5693 
   5694 rm -f conftest.err conftest.$ac_ext
   5695 
   5696   # OK, works on sane cases.  Now check whether nonexistent headers
   5697   # can be detected and how.
   5698   cat >conftest.$ac_ext <<_ACEOF
   5699 /* confdefs.h.  */
   5700 _ACEOF
   5701 cat confdefs.h >>conftest.$ac_ext
   5702 cat >>conftest.$ac_ext <<_ACEOF
   5703 /* end confdefs.h.  */
   5704 #include <ac_nonexistent.h>
   5705 _ACEOF
   5706 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5707 case "(($ac_try" in
   5708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5709   *) ac_try_echo=$ac_try;;
   5710 esac
   5711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5712   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5713   ac_status=$?
   5714   grep -v '^ *+' conftest.er1 >conftest.err
   5715   rm -f conftest.er1
   5716   cat conftest.err >&5
   5717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5718   (exit $ac_status); } >/dev/null && {
   5719 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5720 	 test ! -s conftest.err
   5721        }; then
   5722   # Broken: success on invalid input.
   5723 continue
   5724 else
   5725   echo "$as_me: failed program was:" >&5
   5726 sed 's/^/| /' conftest.$ac_ext >&5
   5727 
   5728   # Passes both tests.
   5729 ac_preproc_ok=:
   5730 break
   5731 fi
   5732 
   5733 rm -f conftest.err conftest.$ac_ext
   5734 
   5735 done
   5736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5737 rm -f conftest.err conftest.$ac_ext
   5738 if $ac_preproc_ok; then
   5739   break
   5740 fi
   5741 
   5742     done
   5743     ac_cv_prog_CXXCPP=$CXXCPP
   5744 
   5745 fi
   5746   CXXCPP=$ac_cv_prog_CXXCPP
   5747 else
   5748   ac_cv_prog_CXXCPP=$CXXCPP
   5749 fi
   5750 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5751 echo "${ECHO_T}$CXXCPP" >&6; }
   5752 ac_preproc_ok=false
   5753 for ac_cxx_preproc_warn_flag in '' yes
   5754 do
   5755   # Use a header file that comes with gcc, so configuring glibc
   5756   # with a fresh cross-compiler works.
   5757   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5758   # <limits.h> exists even on freestanding compilers.
   5759   # On the NeXT, cc -E runs the code through the compiler's parser,
   5760   # not just through cpp. "Syntax error" is here to catch this case.
   5761   cat >conftest.$ac_ext <<_ACEOF
   5762 /* confdefs.h.  */
   5763 _ACEOF
   5764 cat confdefs.h >>conftest.$ac_ext
   5765 cat >>conftest.$ac_ext <<_ACEOF
   5766 /* end confdefs.h.  */
   5767 #ifdef __STDC__
   5768 # include <limits.h>
   5769 #else
   5770 # include <assert.h>
   5771 #endif
   5772 		     Syntax error
   5773 _ACEOF
   5774 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5775 case "(($ac_try" in
   5776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5777   *) ac_try_echo=$ac_try;;
   5778 esac
   5779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5780   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5781   ac_status=$?
   5782   grep -v '^ *+' conftest.er1 >conftest.err
   5783   rm -f conftest.er1
   5784   cat conftest.err >&5
   5785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5786   (exit $ac_status); } >/dev/null && {
   5787 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5788 	 test ! -s conftest.err
   5789        }; then
   5790   :
   5791 else
   5792   echo "$as_me: failed program was:" >&5
   5793 sed 's/^/| /' conftest.$ac_ext >&5
   5794 
   5795   # Broken: fails on valid input.
   5796 continue
   5797 fi
   5798 
   5799 rm -f conftest.err conftest.$ac_ext
   5800 
   5801   # OK, works on sane cases.  Now check whether nonexistent headers
   5802   # can be detected and how.
   5803   cat >conftest.$ac_ext <<_ACEOF
   5804 /* confdefs.h.  */
   5805 _ACEOF
   5806 cat confdefs.h >>conftest.$ac_ext
   5807 cat >>conftest.$ac_ext <<_ACEOF
   5808 /* end confdefs.h.  */
   5809 #include <ac_nonexistent.h>
   5810 _ACEOF
   5811 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5812 case "(($ac_try" in
   5813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5814   *) ac_try_echo=$ac_try;;
   5815 esac
   5816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5817   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5818   ac_status=$?
   5819   grep -v '^ *+' conftest.er1 >conftest.err
   5820   rm -f conftest.er1
   5821   cat conftest.err >&5
   5822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5823   (exit $ac_status); } >/dev/null && {
   5824 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5825 	 test ! -s conftest.err
   5826        }; then
   5827   # Broken: success on invalid input.
   5828 continue
   5829 else
   5830   echo "$as_me: failed program was:" >&5
   5831 sed 's/^/| /' conftest.$ac_ext >&5
   5832 
   5833   # Passes both tests.
   5834 ac_preproc_ok=:
   5835 break
   5836 fi
   5837 
   5838 rm -f conftest.err conftest.$ac_ext
   5839 
   5840 done
   5841 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5842 rm -f conftest.err conftest.$ac_ext
   5843 if $ac_preproc_ok; then
   5844   :
   5845 else
   5846   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5847 See \`config.log' for more details." >&5
   5848 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5849 See \`config.log' for more details." >&2;}
   5850    { (exit 1); exit 1; }; }
   5851 fi
   5852 
   5853 ac_ext=cpp
   5854 ac_cpp='$CXXCPP $CPPFLAGS'
   5855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5858 
   5859 fi
   5860 
   5861 
   5862 ac_ext=f
   5863 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5864 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5865 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5866 if test -n "$ac_tool_prefix"; then
   5867   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
   5868   do
   5869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5873 if test "${ac_cv_prog_F77+set}" = set; then
   5874   echo $ECHO_N "(cached) $ECHO_C" >&6
   5875 else
   5876   if test -n "$F77"; then
   5877   ac_cv_prog_F77="$F77" # Let the user override the test.
   5878 else
   5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5880 for as_dir in $PATH
   5881 do
   5882   IFS=$as_save_IFS
   5883   test -z "$as_dir" && as_dir=.
   5884   for ac_exec_ext in '' $ac_executable_extensions; do
   5885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5886     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5888     break 2
   5889   fi
   5890 done
   5891 done
   5892 IFS=$as_save_IFS
   5893 
   5894 fi
   5895 fi
   5896 F77=$ac_cv_prog_F77
   5897 if test -n "$F77"; then
   5898   { echo "$as_me:$LINENO: result: $F77" >&5
   5899 echo "${ECHO_T}$F77" >&6; }
   5900 else
   5901   { echo "$as_me:$LINENO: result: no" >&5
   5902 echo "${ECHO_T}no" >&6; }
   5903 fi
   5904 
   5905 
   5906     test -n "$F77" && break
   5907   done
   5908 fi
   5909 if test -z "$F77"; then
   5910   ac_ct_F77=$F77
   5911   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
   5912 do
   5913   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5914 set dummy $ac_prog; ac_word=$2
   5915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5917 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5918   echo $ECHO_N "(cached) $ECHO_C" >&6
   5919 else
   5920   if test -n "$ac_ct_F77"; then
   5921   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5922 else
   5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5924 for as_dir in $PATH
   5925 do
   5926   IFS=$as_save_IFS
   5927   test -z "$as_dir" && as_dir=.
   5928   for ac_exec_ext in '' $ac_executable_extensions; do
   5929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5930     ac_cv_prog_ac_ct_F77="$ac_prog"
   5931     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5932     break 2
   5933   fi
   5934 done
   5935 done
   5936 IFS=$as_save_IFS
   5937 
   5938 fi
   5939 fi
   5940 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5941 if test -n "$ac_ct_F77"; then
   5942   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5943 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5944 else
   5945   { echo "$as_me:$LINENO: result: no" >&5
   5946 echo "${ECHO_T}no" >&6; }
   5947 fi
   5948 
   5949 
   5950   test -n "$ac_ct_F77" && break
   5951 done
   5952 
   5953   if test "x$ac_ct_F77" = x; then
   5954     F77=""
   5955   else
   5956     case $cross_compiling:$ac_tool_warned in
   5957 yes:)
   5958 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5959 whose name does not start with the host triplet.  If you think this
   5960 configuration is useful to you, please write to autoconf@gnu.org." >&5
   5961 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5962 whose name does not start with the host triplet.  If you think this
   5963 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   5964 ac_tool_warned=yes ;;
   5965 esac
   5966     F77=$ac_ct_F77
   5967   fi
   5968 fi
   5969 
   5970 
   5971 # Provide some information about the compiler.
   5972 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   5973 ac_compiler=`set X $ac_compile; echo $2`
   5974 { (ac_try="$ac_compiler --version >&5"
   5975 case "(($ac_try" in
   5976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5977   *) ac_try_echo=$ac_try;;
   5978 esac
   5979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5980   (eval "$ac_compiler --version >&5") 2>&5
   5981   ac_status=$?
   5982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5983   (exit $ac_status); }
   5984 { (ac_try="$ac_compiler -v >&5"
   5985 case "(($ac_try" in
   5986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5987   *) ac_try_echo=$ac_try;;
   5988 esac
   5989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5990   (eval "$ac_compiler -v >&5") 2>&5
   5991   ac_status=$?
   5992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5993   (exit $ac_status); }
   5994 { (ac_try="$ac_compiler -V >&5"
   5995 case "(($ac_try" in
   5996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5997   *) ac_try_echo=$ac_try;;
   5998 esac
   5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6000   (eval "$ac_compiler -V >&5") 2>&5
   6001   ac_status=$?
   6002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6003   (exit $ac_status); }
   6004 rm -f a.out
   6005 
   6006 # If we don't use `.F' as extension, the preprocessor is not run on the
   6007 # input file.  (Note that this only needs to work for GNU compilers.)
   6008 ac_save_ext=$ac_ext
   6009 ac_ext=F
   6010 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6011 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6012 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6013   echo $ECHO_N "(cached) $ECHO_C" >&6
   6014 else
   6015   cat >conftest.$ac_ext <<_ACEOF
   6016       program main
   6017 #ifndef __GNUC__
   6018        choke me
   6019 #endif
   6020 
   6021       end
   6022 _ACEOF
   6023 rm -f conftest.$ac_objext
   6024 if { (ac_try="$ac_compile"
   6025 case "(($ac_try" in
   6026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6027   *) ac_try_echo=$ac_try;;
   6028 esac
   6029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6030   (eval "$ac_compile") 2>conftest.er1
   6031   ac_status=$?
   6032   grep -v '^ *+' conftest.er1 >conftest.err
   6033   rm -f conftest.er1
   6034   cat conftest.err >&5
   6035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6036   (exit $ac_status); } && {
   6037 	 test -z "$ac_f77_werror_flag" ||
   6038 	 test ! -s conftest.err
   6039        } && test -s conftest.$ac_objext; then
   6040   ac_compiler_gnu=yes
   6041 else
   6042   echo "$as_me: failed program was:" >&5
   6043 sed 's/^/| /' conftest.$ac_ext >&5
   6044 
   6045 	ac_compiler_gnu=no
   6046 fi
   6047 
   6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6049 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6050 
   6051 fi
   6052 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6053 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6054 ac_ext=$ac_save_ext
   6055 ac_test_FFLAGS=${FFLAGS+set}
   6056 ac_save_FFLAGS=$FFLAGS
   6057 FFLAGS=
   6058 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6059 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6060 if test "${ac_cv_prog_f77_g+set}" = set; then
   6061   echo $ECHO_N "(cached) $ECHO_C" >&6
   6062 else
   6063   FFLAGS=-g
   6064 cat >conftest.$ac_ext <<_ACEOF
   6065       program main
   6066 
   6067       end
   6068 _ACEOF
   6069 rm -f conftest.$ac_objext
   6070 if { (ac_try="$ac_compile"
   6071 case "(($ac_try" in
   6072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6073   *) ac_try_echo=$ac_try;;
   6074 esac
   6075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6076   (eval "$ac_compile") 2>conftest.er1
   6077   ac_status=$?
   6078   grep -v '^ *+' conftest.er1 >conftest.err
   6079   rm -f conftest.er1
   6080   cat conftest.err >&5
   6081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6082   (exit $ac_status); } && {
   6083 	 test -z "$ac_f77_werror_flag" ||
   6084 	 test ! -s conftest.err
   6085        } && test -s conftest.$ac_objext; then
   6086   ac_cv_prog_f77_g=yes
   6087 else
   6088   echo "$as_me: failed program was:" >&5
   6089 sed 's/^/| /' conftest.$ac_ext >&5
   6090 
   6091 	ac_cv_prog_f77_g=no
   6092 fi
   6093 
   6094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6095 
   6096 fi
   6097 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6098 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6099 if test "$ac_test_FFLAGS" = set; then
   6100   FFLAGS=$ac_save_FFLAGS
   6101 elif test $ac_cv_prog_f77_g = yes; then
   6102   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6103     FFLAGS="-g -O2"
   6104   else
   6105     FFLAGS="-g"
   6106   fi
   6107 else
   6108   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6109     FFLAGS="-O2"
   6110   else
   6111     FFLAGS=
   6112   fi
   6113 fi
   6114 
   6115 G77=`test $ac_compiler_gnu = yes && echo yes`
   6116 ac_ext=c
   6117 ac_cpp='$CPP $CPPFLAGS'
   6118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6121 
   6122 
   6123 
   6124 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6125 
   6126 # find the maximum length of command line arguments
   6127 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6128 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6129 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6130   echo $ECHO_N "(cached) $ECHO_C" >&6
   6131 else
   6132     i=0
   6133   teststring="ABCD"
   6134 
   6135   case $build_os in
   6136   msdosdjgpp*)
   6137     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6138     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6139     # during glob expansion).  Even if it were fixed, the result of this
   6140     # check would be larger than it should be.
   6141     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6142     ;;
   6143 
   6144   gnu*)
   6145     # Under GNU Hurd, this test is not required because there is
   6146     # no limit to the length of command line arguments.
   6147     # Libtool will interpret -1 as no limit whatsoever
   6148     lt_cv_sys_max_cmd_len=-1;
   6149     ;;
   6150 
   6151   cygwin* | mingw*)
   6152     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6153     # about 5 minutes as the teststring grows exponentially.
   6154     # Worse, since 9x/ME are not pre-emptively multitasking,
   6155     # you end up with a "frozen" computer, even though with patience
   6156     # the test eventually succeeds (with a max line length of 256k).
   6157     # Instead, let's just punt: use the minimum linelength reported by
   6158     # all of the supported platforms: 8192 (on NT/2K/XP).
   6159     lt_cv_sys_max_cmd_len=8192;
   6160     ;;
   6161 
   6162   amigaos*)
   6163     # On AmigaOS with pdksh, this test takes hours, literally.
   6164     # So we just punt and use a minimum line length of 8192.
   6165     lt_cv_sys_max_cmd_len=8192;
   6166     ;;
   6167 
   6168   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6169     # This has been around since 386BSD, at least.  Likely further.
   6170     if test -x /sbin/sysctl; then
   6171       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6172     elif test -x /usr/sbin/sysctl; then
   6173       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6174     else
   6175       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6176     fi
   6177     # And add a safety zone
   6178     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6179     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6180     ;;
   6181 
   6182   interix*)
   6183     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6184     lt_cv_sys_max_cmd_len=196608
   6185     ;;
   6186 
   6187   osf*)
   6188     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6189     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6190     # nice to cause kernel panics so lets avoid the loop below.
   6191     # First set a reasonable default.
   6192     lt_cv_sys_max_cmd_len=16384
   6193     #
   6194     if test -x /sbin/sysconfig; then
   6195       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6196         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6197       esac
   6198     fi
   6199     ;;
   6200   sco3.2v5*)
   6201     lt_cv_sys_max_cmd_len=102400
   6202     ;;
   6203   sysv5* | sco5v6* | sysv4.2uw2*)
   6204     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6205     if test -n "$kargmax"; then
   6206       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6207     else
   6208       lt_cv_sys_max_cmd_len=32768
   6209     fi
   6210     ;;
   6211   *)
   6212     # If test is not a shell built-in, we'll probably end up computing a
   6213     # maximum length that is only half of the actual maximum length, but
   6214     # we can't tell.
   6215     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6216     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6217 	       = "XX$teststring") >/dev/null 2>&1 &&
   6218 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6219 	    lt_cv_sys_max_cmd_len=$new_result &&
   6220 	    test $i != 17 # 1/2 MB should be enough
   6221     do
   6222       i=`expr $i + 1`
   6223       teststring=$teststring$teststring
   6224     done
   6225     teststring=
   6226     # Add a significant safety factor because C++ compilers can tack on massive
   6227     # amounts of additional arguments before passing them to the linker.
   6228     # It appears as though 1/2 is a usable value.
   6229     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6230     ;;
   6231   esac
   6232 
   6233 fi
   6234 
   6235 if test -n $lt_cv_sys_max_cmd_len ; then
   6236   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6237 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6238 else
   6239   { echo "$as_me:$LINENO: result: none" >&5
   6240 echo "${ECHO_T}none" >&6; }
   6241 fi
   6242 
   6243 
   6244 
   6245 
   6246 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6247 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6248 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6249 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6250   echo $ECHO_N "(cached) $ECHO_C" >&6
   6251 else
   6252 
   6253 # These are sane defaults that work on at least a few old systems.
   6254 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6255 
   6256 # Character class describing NM global symbol codes.
   6257 symcode='[BCDEGRST]'
   6258 
   6259 # Regexp to match symbols that can be accessed directly from C.
   6260 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6261 
   6262 # Transform an extracted symbol line into a proper C declaration
   6263 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6264 
   6265 # Transform an extracted symbol line into symbol name and symbol address
   6266 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'"
   6267 
   6268 # Define system-specific variables.
   6269 case $host_os in
   6270 aix*)
   6271   symcode='[BCDT]'
   6272   ;;
   6273 cygwin* | mingw* | pw32*)
   6274   symcode='[ABCDGISTW]'
   6275   ;;
   6276 hpux*) # Its linker distinguishes data from code symbols
   6277   if test "$host_cpu" = ia64; then
   6278     symcode='[ABCDEGRST]'
   6279   fi
   6280   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6281   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'"
   6282   ;;
   6283 linux*)
   6284   if test "$host_cpu" = ia64; then
   6285     symcode='[ABCDGIRSTW]'
   6286     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6287     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'"
   6288   fi
   6289   ;;
   6290 irix* | nonstopux*)
   6291   symcode='[BCDEGRST]'
   6292   ;;
   6293 osf*)
   6294   symcode='[BCDEGQRST]'
   6295   ;;
   6296 solaris*)
   6297   symcode='[BDRT]'
   6298   ;;
   6299 sco3.2v5*)
   6300   symcode='[DT]'
   6301   ;;
   6302 sysv4.2uw2*)
   6303   symcode='[DT]'
   6304   ;;
   6305 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6306   symcode='[ABDT]'
   6307   ;;
   6308 sysv4)
   6309   symcode='[DFNSTU]'
   6310   ;;
   6311 esac
   6312 
   6313 # Handle CRLF in mingw tool chain
   6314 opt_cr=
   6315 case $build_os in
   6316 mingw*)
   6317   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6318   ;;
   6319 esac
   6320 
   6321 # If we're using GNU nm, then use its standard symbol codes.
   6322 case `$NM -V 2>&1` in
   6323 *GNU* | *'with BFD'*)
   6324   symcode='[ABCDGIRSTW]' ;;
   6325 esac
   6326 
   6327 # Try without a prefix undercore, then with it.
   6328 for ac_symprfx in "" "_"; do
   6329 
   6330   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6331   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6332 
   6333   # Write the raw and C identifiers.
   6334   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6335 
   6336   # Check to see that the pipe works correctly.
   6337   pipe_works=no
   6338 
   6339   rm -f conftest*
   6340   cat > conftest.$ac_ext <<EOF
   6341 #ifdef __cplusplus
   6342 extern "C" {
   6343 #endif
   6344 char nm_test_var;
   6345 void nm_test_func(){}
   6346 #ifdef __cplusplus
   6347 }
   6348 #endif
   6349 int main(){nm_test_var='a';nm_test_func();return(0);}
   6350 EOF
   6351 
   6352   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6353   (eval $ac_compile) 2>&5
   6354   ac_status=$?
   6355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6356   (exit $ac_status); }; then
   6357     # Now try to grab the symbols.
   6358     nlist=conftest.nm
   6359     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6360   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6361   ac_status=$?
   6362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6363   (exit $ac_status); } && test -s "$nlist"; then
   6364       # Try sorting and uniquifying the output.
   6365       if sort "$nlist" | uniq > "$nlist"T; then
   6366 	mv -f "$nlist"T "$nlist"
   6367       else
   6368 	rm -f "$nlist"T
   6369       fi
   6370 
   6371       # Make sure that we snagged all the symbols we need.
   6372       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6373 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6374 	  cat <<EOF > conftest.$ac_ext
   6375 #ifdef __cplusplus
   6376 extern "C" {
   6377 #endif
   6378 
   6379 EOF
   6380 	  # Now generate the symbol file.
   6381 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6382 
   6383 	  cat <<EOF >> conftest.$ac_ext
   6384 #if defined (__STDC__) && __STDC__
   6385 # define lt_ptr_t void *
   6386 #else
   6387 # define lt_ptr_t char *
   6388 # define const
   6389 #endif
   6390 
   6391 /* The mapping between symbol names and symbols. */
   6392 const struct {
   6393   const char *name;
   6394   lt_ptr_t address;
   6395 }
   6396 lt_preloaded_symbols[] =
   6397 {
   6398 EOF
   6399 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6400 	  cat <<\EOF >> conftest.$ac_ext
   6401   {0, (lt_ptr_t) 0}
   6402 };
   6403 
   6404 #ifdef __cplusplus
   6405 }
   6406 #endif
   6407 EOF
   6408 	  # Now try linking the two files.
   6409 	  mv conftest.$ac_objext conftstm.$ac_objext
   6410 	  lt_save_LIBS="$LIBS"
   6411 	  lt_save_CFLAGS="$CFLAGS"
   6412 	  LIBS="conftstm.$ac_objext"
   6413 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6414 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6415   (eval $ac_link) 2>&5
   6416   ac_status=$?
   6417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6418   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6419 	    pipe_works=yes
   6420 	  fi
   6421 	  LIBS="$lt_save_LIBS"
   6422 	  CFLAGS="$lt_save_CFLAGS"
   6423 	else
   6424 	  echo "cannot find nm_test_func in $nlist" >&5
   6425 	fi
   6426       else
   6427 	echo "cannot find nm_test_var in $nlist" >&5
   6428       fi
   6429     else
   6430       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6431     fi
   6432   else
   6433     echo "$progname: failed program was:" >&5
   6434     cat conftest.$ac_ext >&5
   6435   fi
   6436   rm -f conftest* conftst*
   6437 
   6438   # Do not use the global_symbol_pipe unless it works.
   6439   if test "$pipe_works" = yes; then
   6440     break
   6441   else
   6442     lt_cv_sys_global_symbol_pipe=
   6443   fi
   6444 done
   6445 
   6446 fi
   6447 
   6448 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6449   lt_cv_sys_global_symbol_to_cdecl=
   6450 fi
   6451 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6452   { echo "$as_me:$LINENO: result: failed" >&5
   6453 echo "${ECHO_T}failed" >&6; }
   6454 else
   6455   { echo "$as_me:$LINENO: result: ok" >&5
   6456 echo "${ECHO_T}ok" >&6; }
   6457 fi
   6458 
   6459 { echo "$as_me:$LINENO: checking for objdir" >&5
   6460 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6461 if test "${lt_cv_objdir+set}" = set; then
   6462   echo $ECHO_N "(cached) $ECHO_C" >&6
   6463 else
   6464   rm -f .libs 2>/dev/null
   6465 mkdir .libs 2>/dev/null
   6466 if test -d .libs; then
   6467   lt_cv_objdir=.libs
   6468 else
   6469   # MS-DOS does not allow filenames that begin with a dot.
   6470   lt_cv_objdir=_libs
   6471 fi
   6472 rmdir .libs 2>/dev/null
   6473 fi
   6474 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6475 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6476 objdir=$lt_cv_objdir
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 case $host_os in
   6483 aix3*)
   6484   # AIX sometimes has problems with the GCC collect2 program.  For some
   6485   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6486   # vanish in a puff of smoke.
   6487   if test "X${COLLECT_NAMES+set}" != Xset; then
   6488     COLLECT_NAMES=
   6489     export COLLECT_NAMES
   6490   fi
   6491   ;;
   6492 esac
   6493 
   6494 # Sed substitution that helps us do robust quoting.  It backslashifies
   6495 # metacharacters that are still active within double-quoted strings.
   6496 Xsed='sed -e 1s/^X//'
   6497 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6498 
   6499 # Same as above, but do not quote variable references.
   6500 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6501 
   6502 # Sed substitution to delay expansion of an escaped shell variable in a
   6503 # double_quote_subst'ed string.
   6504 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6505 
   6506 # Sed substitution to avoid accidental globbing in evaled expressions
   6507 no_glob_subst='s/\*/\\\*/g'
   6508 
   6509 # Constants:
   6510 rm="rm -f"
   6511 
   6512 # Global variables:
   6513 default_ofile=libtool
   6514 can_build_shared=yes
   6515 
   6516 # All known linkers require a `.a' archive for static linking (except MSVC,
   6517 # which needs '.lib').
   6518 libext=a
   6519 ltmain="$ac_aux_dir/ltmain.sh"
   6520 ofile="$default_ofile"
   6521 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6522 
   6523 if test -n "$ac_tool_prefix"; then
   6524   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6525 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6528 if test "${ac_cv_prog_AR+set}" = set; then
   6529   echo $ECHO_N "(cached) $ECHO_C" >&6
   6530 else
   6531   if test -n "$AR"; then
   6532   ac_cv_prog_AR="$AR" # Let the user override the test.
   6533 else
   6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6535 for as_dir in $PATH
   6536 do
   6537   IFS=$as_save_IFS
   6538   test -z "$as_dir" && as_dir=.
   6539   for ac_exec_ext in '' $ac_executable_extensions; do
   6540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6541     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6542     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6543     break 2
   6544   fi
   6545 done
   6546 done
   6547 IFS=$as_save_IFS
   6548 
   6549 fi
   6550 fi
   6551 AR=$ac_cv_prog_AR
   6552 if test -n "$AR"; then
   6553   { echo "$as_me:$LINENO: result: $AR" >&5
   6554 echo "${ECHO_T}$AR" >&6; }
   6555 else
   6556   { echo "$as_me:$LINENO: result: no" >&5
   6557 echo "${ECHO_T}no" >&6; }
   6558 fi
   6559 
   6560 
   6561 fi
   6562 if test -z "$ac_cv_prog_AR"; then
   6563   ac_ct_AR=$AR
   6564   # Extract the first word of "ar", so it can be a program name with args.
   6565 set dummy ar; ac_word=$2
   6566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6568 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6569   echo $ECHO_N "(cached) $ECHO_C" >&6
   6570 else
   6571   if test -n "$ac_ct_AR"; then
   6572   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6573 else
   6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6575 for as_dir in $PATH
   6576 do
   6577   IFS=$as_save_IFS
   6578   test -z "$as_dir" && as_dir=.
   6579   for ac_exec_ext in '' $ac_executable_extensions; do
   6580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6581     ac_cv_prog_ac_ct_AR="ar"
   6582     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6583     break 2
   6584   fi
   6585 done
   6586 done
   6587 IFS=$as_save_IFS
   6588 
   6589 fi
   6590 fi
   6591 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6592 if test -n "$ac_ct_AR"; then
   6593   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6594 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6595 else
   6596   { echo "$as_me:$LINENO: result: no" >&5
   6597 echo "${ECHO_T}no" >&6; }
   6598 fi
   6599 
   6600   if test "x$ac_ct_AR" = x; then
   6601     AR="false"
   6602   else
   6603     case $cross_compiling:$ac_tool_warned in
   6604 yes:)
   6605 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6606 whose name does not start with the host triplet.  If you think this
   6607 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6608 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6609 whose name does not start with the host triplet.  If you think this
   6610 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6611 ac_tool_warned=yes ;;
   6612 esac
   6613     AR=$ac_ct_AR
   6614   fi
   6615 else
   6616   AR="$ac_cv_prog_AR"
   6617 fi
   6618 
   6619 if test -n "$ac_tool_prefix"; then
   6620   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6624 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6625   echo $ECHO_N "(cached) $ECHO_C" >&6
   6626 else
   6627   if test -n "$RANLIB"; then
   6628   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6629 else
   6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6631 for as_dir in $PATH
   6632 do
   6633   IFS=$as_save_IFS
   6634   test -z "$as_dir" && as_dir=.
   6635   for ac_exec_ext in '' $ac_executable_extensions; do
   6636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6637     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6638     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6639     break 2
   6640   fi
   6641 done
   6642 done
   6643 IFS=$as_save_IFS
   6644 
   6645 fi
   6646 fi
   6647 RANLIB=$ac_cv_prog_RANLIB
   6648 if test -n "$RANLIB"; then
   6649   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6650 echo "${ECHO_T}$RANLIB" >&6; }
   6651 else
   6652   { echo "$as_me:$LINENO: result: no" >&5
   6653 echo "${ECHO_T}no" >&6; }
   6654 fi
   6655 
   6656 
   6657 fi
   6658 if test -z "$ac_cv_prog_RANLIB"; then
   6659   ac_ct_RANLIB=$RANLIB
   6660   # Extract the first word of "ranlib", so it can be a program name with args.
   6661 set dummy ranlib; ac_word=$2
   6662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6665   echo $ECHO_N "(cached) $ECHO_C" >&6
   6666 else
   6667   if test -n "$ac_ct_RANLIB"; then
   6668   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6669 else
   6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6671 for as_dir in $PATH
   6672 do
   6673   IFS=$as_save_IFS
   6674   test -z "$as_dir" && as_dir=.
   6675   for ac_exec_ext in '' $ac_executable_extensions; do
   6676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6677     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6678     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6679     break 2
   6680   fi
   6681 done
   6682 done
   6683 IFS=$as_save_IFS
   6684 
   6685 fi
   6686 fi
   6687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6688 if test -n "$ac_ct_RANLIB"; then
   6689   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6690 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6691 else
   6692   { echo "$as_me:$LINENO: result: no" >&5
   6693 echo "${ECHO_T}no" >&6; }
   6694 fi
   6695 
   6696   if test "x$ac_ct_RANLIB" = x; then
   6697     RANLIB=":"
   6698   else
   6699     case $cross_compiling:$ac_tool_warned in
   6700 yes:)
   6701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6702 whose name does not start with the host triplet.  If you think this
   6703 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6705 whose name does not start with the host triplet.  If you think this
   6706 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6707 ac_tool_warned=yes ;;
   6708 esac
   6709     RANLIB=$ac_ct_RANLIB
   6710   fi
   6711 else
   6712   RANLIB="$ac_cv_prog_RANLIB"
   6713 fi
   6714 
   6715 if test -n "$ac_tool_prefix"; then
   6716   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6717 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6720 if test "${ac_cv_prog_STRIP+set}" = set; then
   6721   echo $ECHO_N "(cached) $ECHO_C" >&6
   6722 else
   6723   if test -n "$STRIP"; then
   6724   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6725 else
   6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6727 for as_dir in $PATH
   6728 do
   6729   IFS=$as_save_IFS
   6730   test -z "$as_dir" && as_dir=.
   6731   for ac_exec_ext in '' $ac_executable_extensions; do
   6732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6733     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6734     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6735     break 2
   6736   fi
   6737 done
   6738 done
   6739 IFS=$as_save_IFS
   6740 
   6741 fi
   6742 fi
   6743 STRIP=$ac_cv_prog_STRIP
   6744 if test -n "$STRIP"; then
   6745   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6746 echo "${ECHO_T}$STRIP" >&6; }
   6747 else
   6748   { echo "$as_me:$LINENO: result: no" >&5
   6749 echo "${ECHO_T}no" >&6; }
   6750 fi
   6751 
   6752 
   6753 fi
   6754 if test -z "$ac_cv_prog_STRIP"; then
   6755   ac_ct_STRIP=$STRIP
   6756   # Extract the first word of "strip", so it can be a program name with args.
   6757 set dummy strip; ac_word=$2
   6758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6761   echo $ECHO_N "(cached) $ECHO_C" >&6
   6762 else
   6763   if test -n "$ac_ct_STRIP"; then
   6764   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6765 else
   6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6767 for as_dir in $PATH
   6768 do
   6769   IFS=$as_save_IFS
   6770   test -z "$as_dir" && as_dir=.
   6771   for ac_exec_ext in '' $ac_executable_extensions; do
   6772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6773     ac_cv_prog_ac_ct_STRIP="strip"
   6774     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6775     break 2
   6776   fi
   6777 done
   6778 done
   6779 IFS=$as_save_IFS
   6780 
   6781 fi
   6782 fi
   6783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6784 if test -n "$ac_ct_STRIP"; then
   6785   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6786 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6787 else
   6788   { echo "$as_me:$LINENO: result: no" >&5
   6789 echo "${ECHO_T}no" >&6; }
   6790 fi
   6791 
   6792   if test "x$ac_ct_STRIP" = x; then
   6793     STRIP=":"
   6794   else
   6795     case $cross_compiling:$ac_tool_warned in
   6796 yes:)
   6797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6798 whose name does not start with the host triplet.  If you think this
   6799 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6801 whose name does not start with the host triplet.  If you think this
   6802 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6803 ac_tool_warned=yes ;;
   6804 esac
   6805     STRIP=$ac_ct_STRIP
   6806   fi
   6807 else
   6808   STRIP="$ac_cv_prog_STRIP"
   6809 fi
   6810 
   6811 
   6812 old_CC="$CC"
   6813 old_CFLAGS="$CFLAGS"
   6814 
   6815 # Set sane defaults for various variables
   6816 test -z "$AR" && AR=ar
   6817 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6818 test -z "$AS" && AS=as
   6819 test -z "$CC" && CC=cc
   6820 test -z "$LTCC" && LTCC=$CC
   6821 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6822 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6823 test -z "$LD" && LD=ld
   6824 test -z "$LN_S" && LN_S="ln -s"
   6825 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6826 test -z "$NM" && NM=nm
   6827 test -z "$SED" && SED=sed
   6828 test -z "$OBJDUMP" && OBJDUMP=objdump
   6829 test -z "$RANLIB" && RANLIB=:
   6830 test -z "$STRIP" && STRIP=:
   6831 test -z "$ac_objext" && ac_objext=o
   6832 
   6833 # Determine commands to create old-style static archives.
   6834 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6835 old_postinstall_cmds='chmod 644 $oldlib'
   6836 old_postuninstall_cmds=
   6837 
   6838 if test -n "$RANLIB"; then
   6839   case $host_os in
   6840   openbsd*)
   6841     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6842     ;;
   6843   *)
   6844     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6845     ;;
   6846   esac
   6847   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6848 fi
   6849 
   6850 for cc_temp in $compiler""; do
   6851   case $cc_temp in
   6852     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6853     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6854     \-*) ;;
   6855     *) break;;
   6856   esac
   6857 done
   6858 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6859 
   6860 
   6861 # Only perform the check for file, if the check method requires it
   6862 case $deplibs_check_method in
   6863 file_magic*)
   6864   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6865     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6866 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6867 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6868   echo $ECHO_N "(cached) $ECHO_C" >&6
   6869 else
   6870   case $MAGIC_CMD in
   6871 [\\/*] |  ?:[\\/]*)
   6872   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6873   ;;
   6874 *)
   6875   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6876   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6877   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6878   for ac_dir in $ac_dummy; do
   6879     IFS="$lt_save_ifs"
   6880     test -z "$ac_dir" && ac_dir=.
   6881     if test -f $ac_dir/${ac_tool_prefix}file; then
   6882       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6883       if test -n "$file_magic_test_file"; then
   6884 	case $deplibs_check_method in
   6885 	"file_magic "*)
   6886 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6887 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6888 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6889 	    $EGREP "$file_magic_regex" > /dev/null; then
   6890 	    :
   6891 	  else
   6892 	    cat <<EOF 1>&2
   6893 
   6894 *** Warning: the command libtool uses to detect shared libraries,
   6895 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6896 *** The result is that libtool may fail to recognize shared libraries
   6897 *** as such.  This will affect the creation of libtool libraries that
   6898 *** depend on shared libraries, but programs linked with such libtool
   6899 *** libraries will work regardless of this problem.  Nevertheless, you
   6900 *** may want to report the problem to your system manager and/or to
   6901 *** bug-libtool@gnu.org
   6902 
   6903 EOF
   6904 	  fi ;;
   6905 	esac
   6906       fi
   6907       break
   6908     fi
   6909   done
   6910   IFS="$lt_save_ifs"
   6911   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6912   ;;
   6913 esac
   6914 fi
   6915 
   6916 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6917 if test -n "$MAGIC_CMD"; then
   6918   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6919 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6920 else
   6921   { echo "$as_me:$LINENO: result: no" >&5
   6922 echo "${ECHO_T}no" >&6; }
   6923 fi
   6924 
   6925 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6926   if test -n "$ac_tool_prefix"; then
   6927     { echo "$as_me:$LINENO: checking for file" >&5
   6928 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6929 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6930   echo $ECHO_N "(cached) $ECHO_C" >&6
   6931 else
   6932   case $MAGIC_CMD in
   6933 [\\/*] |  ?:[\\/]*)
   6934   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6935   ;;
   6936 *)
   6937   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6938   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6939   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6940   for ac_dir in $ac_dummy; do
   6941     IFS="$lt_save_ifs"
   6942     test -z "$ac_dir" && ac_dir=.
   6943     if test -f $ac_dir/file; then
   6944       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6945       if test -n "$file_magic_test_file"; then
   6946 	case $deplibs_check_method in
   6947 	"file_magic "*)
   6948 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6949 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6950 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6951 	    $EGREP "$file_magic_regex" > /dev/null; then
   6952 	    :
   6953 	  else
   6954 	    cat <<EOF 1>&2
   6955 
   6956 *** Warning: the command libtool uses to detect shared libraries,
   6957 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6958 *** The result is that libtool may fail to recognize shared libraries
   6959 *** as such.  This will affect the creation of libtool libraries that
   6960 *** depend on shared libraries, but programs linked with such libtool
   6961 *** libraries will work regardless of this problem.  Nevertheless, you
   6962 *** may want to report the problem to your system manager and/or to
   6963 *** bug-libtool@gnu.org
   6964 
   6965 EOF
   6966 	  fi ;;
   6967 	esac
   6968       fi
   6969       break
   6970     fi
   6971   done
   6972   IFS="$lt_save_ifs"
   6973   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6974   ;;
   6975 esac
   6976 fi
   6977 
   6978 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6979 if test -n "$MAGIC_CMD"; then
   6980   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6981 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6982 else
   6983   { echo "$as_me:$LINENO: result: no" >&5
   6984 echo "${ECHO_T}no" >&6; }
   6985 fi
   6986 
   6987   else
   6988     MAGIC_CMD=:
   6989   fi
   6990 fi
   6991 
   6992   fi
   6993   ;;
   6994 esac
   6995 
   6996 enable_dlopen=no
   6997 enable_win32_dll=no
   6998 
   6999 # Check whether --enable-libtool-lock was given.
   7000 if test "${enable_libtool_lock+set}" = set; then
   7001   enableval=$enable_libtool_lock;
   7002 fi
   7003 
   7004 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7005 
   7006 
   7007 # Check whether --with-pic was given.
   7008 if test "${with_pic+set}" = set; then
   7009   withval=$with_pic; pic_mode="$withval"
   7010 else
   7011   pic_mode=default
   7012 fi
   7013 
   7014 test -z "$pic_mode" && pic_mode=default
   7015 
   7016 # Use C for the default configuration in the libtool script
   7017 tagname=
   7018 lt_save_CC="$CC"
   7019 ac_ext=c
   7020 ac_cpp='$CPP $CPPFLAGS'
   7021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7024 
   7025 
   7026 # Source file extension for C test sources.
   7027 ac_ext=c
   7028 
   7029 # Object file extension for compiled C test sources.
   7030 objext=o
   7031 objext=$objext
   7032 
   7033 # Code to be used in simple compile tests
   7034 lt_simple_compile_test_code="int some_variable = 0;\n"
   7035 
   7036 # Code to be used in simple link tests
   7037 lt_simple_link_test_code='int main(){return(0);}\n'
   7038 
   7039 
   7040 # If no C compiler was specified, use CC.
   7041 LTCC=${LTCC-"$CC"}
   7042 
   7043 # If no C compiler flags were specified, use CFLAGS.
   7044 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7045 
   7046 # Allow CC to be a program name with arguments.
   7047 compiler=$CC
   7048 
   7049 
   7050 # save warnings/boilerplate of simple test code
   7051 ac_outfile=conftest.$ac_objext
   7052 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7053 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7054 _lt_compiler_boilerplate=`cat conftest.err`
   7055 $rm conftest*
   7056 
   7057 ac_outfile=conftest.$ac_objext
   7058 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7059 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7060 _lt_linker_boilerplate=`cat conftest.err`
   7061 $rm conftest*
   7062 
   7063 
   7064 
   7065 lt_prog_compiler_no_builtin_flag=
   7066 
   7067 if test "$GCC" = yes; then
   7068   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7069 
   7070 
   7071 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7072 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7073 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7074   echo $ECHO_N "(cached) $ECHO_C" >&6
   7075 else
   7076   lt_cv_prog_compiler_rtti_exceptions=no
   7077   ac_outfile=conftest.$ac_objext
   7078    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7079    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7080    # Insert the option either (1) after the last *FLAGS variable, or
   7081    # (2) before a word containing "conftest.", or (3) at the end.
   7082    # Note that $ac_compile itself does not contain backslashes and begins
   7083    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7084    # The option is referenced via a variable to avoid confusing sed.
   7085    lt_compile=`echo "$ac_compile" | $SED \
   7086    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7087    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7088    -e 's:$: $lt_compiler_flag:'`
   7089    (eval echo "\"\$as_me:7089: $lt_compile\"" >&5)
   7090    (eval "$lt_compile" 2>conftest.err)
   7091    ac_status=$?
   7092    cat conftest.err >&5
   7093    echo "$as_me:7093: \$? = $ac_status" >&5
   7094    if (exit $ac_status) && test -s "$ac_outfile"; then
   7095      # The compiler can only warn and ignore the option if not recognized
   7096      # So say no if there are warnings other than the usual output.
   7097      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7098      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7099      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7100        lt_cv_prog_compiler_rtti_exceptions=yes
   7101      fi
   7102    fi
   7103    $rm conftest*
   7104 
   7105 fi
   7106 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7107 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7108 
   7109 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7110     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7111 else
   7112     :
   7113 fi
   7114 
   7115 fi
   7116 
   7117 lt_prog_compiler_wl=
   7118 lt_prog_compiler_pic=
   7119 lt_prog_compiler_static=
   7120 
   7121 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7122 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7123 
   7124   if test "$GCC" = yes; then
   7125     lt_prog_compiler_wl='-Wl,'
   7126     lt_prog_compiler_static='-static'
   7127 
   7128     case $host_os in
   7129       aix*)
   7130       # All AIX code is PIC.
   7131       if test "$host_cpu" = ia64; then
   7132 	# AIX 5 now supports IA64 processor
   7133 	lt_prog_compiler_static='-Bstatic'
   7134       fi
   7135       ;;
   7136 
   7137     amigaos*)
   7138       # FIXME: we need at least 68020 code to build shared libraries, but
   7139       # adding the `-m68020' flag to GCC prevents building anything better,
   7140       # like `-m68040'.
   7141       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7142       ;;
   7143 
   7144     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7145       # PIC is the default for these OSes.
   7146       ;;
   7147 
   7148     mingw* | pw32* | os2*)
   7149       # This hack is so that the source file can tell whether it is being
   7150       # built for inclusion in a dll (and should export symbols for example).
   7151       lt_prog_compiler_pic='-DDLL_EXPORT'
   7152       ;;
   7153 
   7154     darwin* | rhapsody*)
   7155       # PIC is the default on this platform
   7156       # Common symbols not allowed in MH_DYLIB files
   7157       lt_prog_compiler_pic='-fno-common'
   7158       ;;
   7159 
   7160     interix3*)
   7161       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7162       # Instead, we relocate shared libraries at runtime.
   7163       ;;
   7164 
   7165     msdosdjgpp*)
   7166       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7167       # on systems that don't support them.
   7168       lt_prog_compiler_can_build_shared=no
   7169       enable_shared=no
   7170       ;;
   7171 
   7172     sysv4*MP*)
   7173       if test -d /usr/nec; then
   7174 	lt_prog_compiler_pic=-Kconform_pic
   7175       fi
   7176       ;;
   7177 
   7178     hpux*)
   7179       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7180       # not for PA HP-UX.
   7181       case $host_cpu in
   7182       hppa*64*|ia64*)
   7183 	# +Z the default
   7184 	;;
   7185       *)
   7186 	lt_prog_compiler_pic='-fPIC'
   7187 	;;
   7188       esac
   7189       ;;
   7190 
   7191     *)
   7192       lt_prog_compiler_pic='-fPIC'
   7193       ;;
   7194     esac
   7195   else
   7196     # PORTME Check for flag to pass linker flags through the system compiler.
   7197     case $host_os in
   7198     aix*)
   7199       lt_prog_compiler_wl='-Wl,'
   7200       if test "$host_cpu" = ia64; then
   7201 	# AIX 5 now supports IA64 processor
   7202 	lt_prog_compiler_static='-Bstatic'
   7203       else
   7204 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7205       fi
   7206       ;;
   7207       darwin*)
   7208         # PIC is the default on this platform
   7209         # Common symbols not allowed in MH_DYLIB files
   7210        case $cc_basename in
   7211          xlc*)
   7212          lt_prog_compiler_pic='-qnocommon'
   7213          lt_prog_compiler_wl='-Wl,'
   7214          ;;
   7215        esac
   7216        ;;
   7217 
   7218     mingw* | pw32* | os2*)
   7219       # This hack is so that the source file can tell whether it is being
   7220       # built for inclusion in a dll (and should export symbols for example).
   7221       lt_prog_compiler_pic='-DDLL_EXPORT'
   7222       ;;
   7223 
   7224     hpux9* | hpux10* | hpux11*)
   7225       lt_prog_compiler_wl='-Wl,'
   7226       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7227       # not for PA HP-UX.
   7228       case $host_cpu in
   7229       hppa*64*|ia64*)
   7230 	# +Z the default
   7231 	;;
   7232       *)
   7233 	lt_prog_compiler_pic='+Z'
   7234 	;;
   7235       esac
   7236       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7237       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7238       ;;
   7239 
   7240     irix5* | irix6* | nonstopux*)
   7241       lt_prog_compiler_wl='-Wl,'
   7242       # PIC (with -KPIC) is the default.
   7243       lt_prog_compiler_static='-non_shared'
   7244       ;;
   7245 
   7246     newsos6)
   7247       lt_prog_compiler_pic='-KPIC'
   7248       lt_prog_compiler_static='-Bstatic'
   7249       ;;
   7250 
   7251     linux*)
   7252       case $cc_basename in
   7253       icc* | ecc*)
   7254 	lt_prog_compiler_wl='-Wl,'
   7255 	lt_prog_compiler_pic='-KPIC'
   7256 	lt_prog_compiler_static='-static'
   7257         ;;
   7258       pgcc* | pgf77* | pgf90* | pgf95*)
   7259         # Portland Group compilers (*not* the Pentium gcc compiler,
   7260 	# which looks to be a dead project)
   7261 	lt_prog_compiler_wl='-Wl,'
   7262 	lt_prog_compiler_pic='-fpic'
   7263 	lt_prog_compiler_static='-Bstatic'
   7264         ;;
   7265       ccc*)
   7266         lt_prog_compiler_wl='-Wl,'
   7267         # All Alpha code is PIC.
   7268         lt_prog_compiler_static='-non_shared'
   7269         ;;
   7270       esac
   7271       ;;
   7272 
   7273     osf3* | osf4* | osf5*)
   7274       lt_prog_compiler_wl='-Wl,'
   7275       # All OSF/1 code is PIC.
   7276       lt_prog_compiler_static='-non_shared'
   7277       ;;
   7278 
   7279     solaris*)
   7280       lt_prog_compiler_pic='-KPIC'
   7281       lt_prog_compiler_static='-Bstatic'
   7282       case $cc_basename in
   7283       f77* | f90* | f95*)
   7284 	lt_prog_compiler_wl='-Qoption ld ';;
   7285       *)
   7286 	lt_prog_compiler_wl='-Wl,';;
   7287       esac
   7288       ;;
   7289 
   7290     sunos4*)
   7291       lt_prog_compiler_wl='-Qoption ld '
   7292       lt_prog_compiler_pic='-PIC'
   7293       lt_prog_compiler_static='-Bstatic'
   7294       ;;
   7295 
   7296     sysv4 | sysv4.2uw2* | sysv4.3*)
   7297       lt_prog_compiler_wl='-Wl,'
   7298       lt_prog_compiler_pic='-KPIC'
   7299       lt_prog_compiler_static='-Bstatic'
   7300       ;;
   7301 
   7302     sysv4*MP*)
   7303       if test -d /usr/nec ;then
   7304 	lt_prog_compiler_pic='-Kconform_pic'
   7305 	lt_prog_compiler_static='-Bstatic'
   7306       fi
   7307       ;;
   7308 
   7309     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7310       lt_prog_compiler_wl='-Wl,'
   7311       lt_prog_compiler_pic='-KPIC'
   7312       lt_prog_compiler_static='-Bstatic'
   7313       ;;
   7314 
   7315     unicos*)
   7316       lt_prog_compiler_wl='-Wl,'
   7317       lt_prog_compiler_can_build_shared=no
   7318       ;;
   7319 
   7320     uts4*)
   7321       lt_prog_compiler_pic='-pic'
   7322       lt_prog_compiler_static='-Bstatic'
   7323       ;;
   7324 
   7325     *)
   7326       lt_prog_compiler_can_build_shared=no
   7327       ;;
   7328     esac
   7329   fi
   7330 
   7331 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7332 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7333 
   7334 #
   7335 # Check to make sure the PIC flag actually works.
   7336 #
   7337 if test -n "$lt_prog_compiler_pic"; then
   7338 
   7339 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7340 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7341 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7342   echo $ECHO_N "(cached) $ECHO_C" >&6
   7343 else
   7344   lt_prog_compiler_pic_works=no
   7345   ac_outfile=conftest.$ac_objext
   7346    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7347    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7348    # Insert the option either (1) after the last *FLAGS variable, or
   7349    # (2) before a word containing "conftest.", or (3) at the end.
   7350    # Note that $ac_compile itself does not contain backslashes and begins
   7351    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7352    # The option is referenced via a variable to avoid confusing sed.
   7353    lt_compile=`echo "$ac_compile" | $SED \
   7354    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7355    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7356    -e 's:$: $lt_compiler_flag:'`
   7357    (eval echo "\"\$as_me:7357: $lt_compile\"" >&5)
   7358    (eval "$lt_compile" 2>conftest.err)
   7359    ac_status=$?
   7360    cat conftest.err >&5
   7361    echo "$as_me:7361: \$? = $ac_status" >&5
   7362    if (exit $ac_status) && test -s "$ac_outfile"; then
   7363      # The compiler can only warn and ignore the option if not recognized
   7364      # So say no if there are warnings other than the usual output.
   7365      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7366      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7367      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7368        lt_prog_compiler_pic_works=yes
   7369      fi
   7370    fi
   7371    $rm conftest*
   7372 
   7373 fi
   7374 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7375 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7376 
   7377 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7378     case $lt_prog_compiler_pic in
   7379      "" | " "*) ;;
   7380      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7381      esac
   7382 else
   7383     lt_prog_compiler_pic=
   7384      lt_prog_compiler_can_build_shared=no
   7385 fi
   7386 
   7387 fi
   7388 case $host_os in
   7389   # For platforms which do not support PIC, -DPIC is meaningless:
   7390   *djgpp*)
   7391     lt_prog_compiler_pic=
   7392     ;;
   7393   *)
   7394     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7395     ;;
   7396 esac
   7397 
   7398 #
   7399 # Check to make sure the static flag actually works.
   7400 #
   7401 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7402 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7403 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7404 if test "${lt_prog_compiler_static_works+set}" = set; then
   7405   echo $ECHO_N "(cached) $ECHO_C" >&6
   7406 else
   7407   lt_prog_compiler_static_works=no
   7408    save_LDFLAGS="$LDFLAGS"
   7409    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7410    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7411    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7412      # The linker can only warn and ignore the option if not recognized
   7413      # So say no if there are warnings
   7414      if test -s conftest.err; then
   7415        # Append any errors to the config.log.
   7416        cat conftest.err 1>&5
   7417        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7418        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7419        if diff conftest.exp conftest.er2 >/dev/null; then
   7420          lt_prog_compiler_static_works=yes
   7421        fi
   7422      else
   7423        lt_prog_compiler_static_works=yes
   7424      fi
   7425    fi
   7426    $rm conftest*
   7427    LDFLAGS="$save_LDFLAGS"
   7428 
   7429 fi
   7430 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7431 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7432 
   7433 if test x"$lt_prog_compiler_static_works" = xyes; then
   7434     :
   7435 else
   7436     lt_prog_compiler_static=
   7437 fi
   7438 
   7439 
   7440 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7441 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7442 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7443   echo $ECHO_N "(cached) $ECHO_C" >&6
   7444 else
   7445   lt_cv_prog_compiler_c_o=no
   7446    $rm -r conftest 2>/dev/null
   7447    mkdir conftest
   7448    cd conftest
   7449    mkdir out
   7450    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7451 
   7452    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7453    # Insert the option either (1) after the last *FLAGS variable, or
   7454    # (2) before a word containing "conftest.", or (3) at the end.
   7455    # Note that $ac_compile itself does not contain backslashes and begins
   7456    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7457    lt_compile=`echo "$ac_compile" | $SED \
   7458    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7459    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7460    -e 's:$: $lt_compiler_flag:'`
   7461    (eval echo "\"\$as_me:7461: $lt_compile\"" >&5)
   7462    (eval "$lt_compile" 2>out/conftest.err)
   7463    ac_status=$?
   7464    cat out/conftest.err >&5
   7465    echo "$as_me:7465: \$? = $ac_status" >&5
   7466    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7467    then
   7468      # The compiler can only warn and ignore the option if not recognized
   7469      # So say no if there are warnings
   7470      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7471      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7472      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7473        lt_cv_prog_compiler_c_o=yes
   7474      fi
   7475    fi
   7476    chmod u+w . 2>&5
   7477    $rm conftest*
   7478    # SGI C++ compiler will create directory out/ii_files/ for
   7479    # template instantiation
   7480    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7481    $rm out/* && rmdir out
   7482    cd ..
   7483    rmdir conftest
   7484    $rm conftest*
   7485 
   7486 fi
   7487 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7488 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7489 
   7490 
   7491 hard_links="nottested"
   7492 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7493   # do not overwrite the value of need_locks provided by the user
   7494   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7495 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7496   hard_links=yes
   7497   $rm conftest*
   7498   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7499   touch conftest.a
   7500   ln conftest.a conftest.b 2>&5 || hard_links=no
   7501   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7502   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7503 echo "${ECHO_T}$hard_links" >&6; }
   7504   if test "$hard_links" = no; then
   7505     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7506 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7507     need_locks=warn
   7508   fi
   7509 else
   7510   need_locks=no
   7511 fi
   7512 
   7513 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7514 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7515 
   7516   runpath_var=
   7517   allow_undefined_flag=
   7518   enable_shared_with_static_runtimes=no
   7519   archive_cmds=
   7520   archive_expsym_cmds=
   7521   old_archive_From_new_cmds=
   7522   old_archive_from_expsyms_cmds=
   7523   export_dynamic_flag_spec=
   7524   whole_archive_flag_spec=
   7525   thread_safe_flag_spec=
   7526   hardcode_libdir_flag_spec=
   7527   hardcode_libdir_flag_spec_ld=
   7528   hardcode_libdir_separator=
   7529   hardcode_direct=no
   7530   hardcode_minus_L=no
   7531   hardcode_shlibpath_var=unsupported
   7532   link_all_deplibs=unknown
   7533   hardcode_automatic=no
   7534   module_cmds=
   7535   module_expsym_cmds=
   7536   always_export_symbols=no
   7537   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7538   # include_expsyms should be a list of space-separated symbols to be *always*
   7539   # included in the symbol list
   7540   include_expsyms=
   7541   # exclude_expsyms can be an extended regexp of symbols to exclude
   7542   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7543   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7544   # as well as any symbol that contains `d'.
   7545   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7546   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7547   # platforms (ab)use it in PIC code, but their linkers get confused if
   7548   # the symbol is explicitly referenced.  Since portable code cannot
   7549   # rely on this symbol name, it's probably fine to never include it in
   7550   # preloaded symbol tables.
   7551   extract_expsyms_cmds=
   7552   # Just being paranoid about ensuring that cc_basename is set.
   7553   for cc_temp in $compiler""; do
   7554   case $cc_temp in
   7555     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7556     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7557     \-*) ;;
   7558     *) break;;
   7559   esac
   7560 done
   7561 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7562 
   7563   case $host_os in
   7564   cygwin* | mingw* | pw32*)
   7565     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7566     # When not using gcc, we currently assume that we are using
   7567     # Microsoft Visual C++.
   7568     if test "$GCC" != yes; then
   7569       with_gnu_ld=no
   7570     fi
   7571     ;;
   7572   interix*)
   7573     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7574     with_gnu_ld=yes
   7575     ;;
   7576   openbsd*)
   7577     with_gnu_ld=no
   7578     ;;
   7579   esac
   7580 
   7581   ld_shlibs=yes
   7582   if test "$with_gnu_ld" = yes; then
   7583     # If archive_cmds runs LD, not CC, wlarc should be empty
   7584     wlarc='${wl}'
   7585 
   7586     # Set some defaults for GNU ld with shared library support. These
   7587     # are reset later if shared libraries are not supported. Putting them
   7588     # here allows them to be overridden if necessary.
   7589     runpath_var=LD_RUN_PATH
   7590     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7591     export_dynamic_flag_spec='${wl}--export-dynamic'
   7592     # ancient GNU ld didn't support --whole-archive et. al.
   7593     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7594 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7595       else
   7596   	whole_archive_flag_spec=
   7597     fi
   7598     supports_anon_versioning=no
   7599     case `$LD -v 2>/dev/null` in
   7600       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7601       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7602       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7603       *\ 2.11.*) ;; # other 2.11 versions
   7604       *) supports_anon_versioning=yes ;;
   7605     esac
   7606 
   7607     # See if GNU ld supports shared libraries.
   7608     case $host_os in
   7609     aix3* | aix4* | aix5*)
   7610       # On AIX/PPC, the GNU linker is very broken
   7611       if test "$host_cpu" != ia64; then
   7612 	ld_shlibs=no
   7613 	cat <<EOF 1>&2
   7614 
   7615 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7616 *** to be unable to reliably create shared libraries on AIX.
   7617 *** Therefore, libtool is disabling shared libraries support.  If you
   7618 *** really care for shared libraries, you may want to modify your PATH
   7619 *** so that a non-GNU linker is found, and then restart.
   7620 
   7621 EOF
   7622       fi
   7623       ;;
   7624 
   7625     amigaos*)
   7626       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)'
   7627       hardcode_libdir_flag_spec='-L$libdir'
   7628       hardcode_minus_L=yes
   7629 
   7630       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7631       # that the semantics of dynamic libraries on AmigaOS, at least up
   7632       # to version 4, is to share data among multiple programs linked
   7633       # with the same dynamic library.  Since this doesn't match the
   7634       # behavior of shared libraries on other platforms, we can't use
   7635       # them.
   7636       ld_shlibs=no
   7637       ;;
   7638 
   7639     beos*)
   7640       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7641 	allow_undefined_flag=unsupported
   7642 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7643 	# support --undefined.  This deserves some investigation.  FIXME
   7644 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7645       else
   7646 	ld_shlibs=no
   7647       fi
   7648       ;;
   7649 
   7650     cygwin* | mingw* | pw32*)
   7651       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7652       # as there is no search path for DLLs.
   7653       hardcode_libdir_flag_spec='-L$libdir'
   7654       allow_undefined_flag=unsupported
   7655       always_export_symbols=no
   7656       enable_shared_with_static_runtimes=yes
   7657       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7658 
   7659       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7660         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7661 	# If the export-symbols file already is a .def file (1st line
   7662 	# is EXPORTS), use it as is; otherwise, prepend...
   7663 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7664 	  cp $export_symbols $output_objdir/$soname.def;
   7665 	else
   7666 	  echo EXPORTS > $output_objdir/$soname.def;
   7667 	  cat $export_symbols >> $output_objdir/$soname.def;
   7668 	fi~
   7669 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7670       else
   7671 	ld_shlibs=no
   7672       fi
   7673       ;;
   7674 
   7675     interix3*)
   7676       hardcode_direct=no
   7677       hardcode_shlibpath_var=no
   7678       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7679       export_dynamic_flag_spec='${wl}-E'
   7680       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7681       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7682       # default) and relocated if they conflict, which is a slow very memory
   7683       # consuming and fragmenting process.  To avoid this, we pick a random,
   7684       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7685       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7686       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7687       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'
   7688       ;;
   7689 
   7690     linux*)
   7691       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7692 	tmp_addflag=
   7693 	case $cc_basename,$host_cpu in
   7694 	pgcc*)				# Portland Group C compiler
   7695 	  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'
   7696 	  tmp_addflag=' $pic_flag'
   7697 	  ;;
   7698 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7699 	  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'
   7700 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7701 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7702 	  tmp_addflag=' -i_dynamic' ;;
   7703 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7704 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7705 	ifc* | ifort*)			# Intel Fortran compiler
   7706 	  tmp_addflag=' -nofor_main' ;;
   7707 	esac
   7708 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7709 
   7710 	if test $supports_anon_versioning = yes; then
   7711 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7712   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7713   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7714 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7715 	fi
   7716       else
   7717 	ld_shlibs=no
   7718       fi
   7719       ;;
   7720 
   7721     netbsd*)
   7722       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7723 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7724 	wlarc=
   7725       else
   7726 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7727 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7728       fi
   7729       ;;
   7730 
   7731     solaris*)
   7732       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7733 	ld_shlibs=no
   7734 	cat <<EOF 1>&2
   7735 
   7736 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7737 *** create shared libraries on Solaris systems.  Therefore, libtool
   7738 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7739 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7740 *** your PATH or compiler configuration so that the native linker is
   7741 *** used, and then restart.
   7742 
   7743 EOF
   7744       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7745 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7746 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7747       else
   7748 	ld_shlibs=no
   7749       fi
   7750       ;;
   7751 
   7752     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7753       case `$LD -v 2>&1` in
   7754         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7755 	ld_shlibs=no
   7756 	cat <<_LT_EOF 1>&2
   7757 
   7758 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7759 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7760 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7761 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7762 *** your PATH or compiler configuration so that the native linker is
   7763 *** used, and then restart.
   7764 
   7765 _LT_EOF
   7766 	;;
   7767 	*)
   7768 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7769 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7770 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7771 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7772 	  else
   7773 	    ld_shlibs=no
   7774 	  fi
   7775 	;;
   7776       esac
   7777       ;;
   7778 
   7779     sunos4*)
   7780       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7781       wlarc=
   7782       hardcode_direct=yes
   7783       hardcode_shlibpath_var=no
   7784       ;;
   7785 
   7786     *)
   7787       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7788 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7789 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7790       else
   7791 	ld_shlibs=no
   7792       fi
   7793       ;;
   7794     esac
   7795 
   7796     if test "$ld_shlibs" = no; then
   7797       runpath_var=
   7798       hardcode_libdir_flag_spec=
   7799       export_dynamic_flag_spec=
   7800       whole_archive_flag_spec=
   7801     fi
   7802   else
   7803     # PORTME fill in a description of your system's linker (not GNU ld)
   7804     case $host_os in
   7805     aix3*)
   7806       allow_undefined_flag=unsupported
   7807       always_export_symbols=yes
   7808       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'
   7809       # Note: this linker hardcodes the directories in LIBPATH if there
   7810       # are no directories specified by -L.
   7811       hardcode_minus_L=yes
   7812       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7813 	# Neither direct hardcoding nor static linking is supported with a
   7814 	# broken collect2.
   7815 	hardcode_direct=unsupported
   7816       fi
   7817       ;;
   7818 
   7819     aix4* | aix5*)
   7820       if test "$host_cpu" = ia64; then
   7821 	# On IA64, the linker does run time linking by default, so we don't
   7822 	# have to do anything special.
   7823 	aix_use_runtimelinking=no
   7824 	exp_sym_flag='-Bexport'
   7825 	no_entry_flag=""
   7826       else
   7827 	# If we're using GNU nm, then we don't want the "-C" option.
   7828 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7829 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7830 	  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'
   7831 	else
   7832 	  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'
   7833 	fi
   7834 	aix_use_runtimelinking=no
   7835 
   7836 	# Test if we are trying to use run time linking or normal
   7837 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7838 	# need to do runtime linking.
   7839 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7840 	  for ld_flag in $LDFLAGS; do
   7841   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7842   	    aix_use_runtimelinking=yes
   7843   	    break
   7844   	  fi
   7845 	  done
   7846 	  ;;
   7847 	esac
   7848 
   7849 	exp_sym_flag='-bexport'
   7850 	no_entry_flag='-bnoentry'
   7851       fi
   7852 
   7853       # When large executables or shared objects are built, AIX ld can
   7854       # have problems creating the table of contents.  If linking a library
   7855       # or program results in "error TOC overflow" add -mminimal-toc to
   7856       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7857       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7858 
   7859       archive_cmds=''
   7860       hardcode_direct=yes
   7861       hardcode_libdir_separator=':'
   7862       link_all_deplibs=yes
   7863 
   7864       if test "$GCC" = yes; then
   7865 	case $host_os in aix4.[012]|aix4.[012].*)
   7866 	# We only want to do this on AIX 4.2 and lower, the check
   7867 	# below for broken collect2 doesn't work under 4.3+
   7868 	  collect2name=`${CC} -print-prog-name=collect2`
   7869 	  if test -f "$collect2name" && \
   7870   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7871 	  then
   7872   	  # We have reworked collect2
   7873   	  hardcode_direct=yes
   7874 	  else
   7875   	  # We have old collect2
   7876   	  hardcode_direct=unsupported
   7877   	  # It fails to find uninstalled libraries when the uninstalled
   7878   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7879   	  # to unsupported forces relinking
   7880   	  hardcode_minus_L=yes
   7881   	  hardcode_libdir_flag_spec='-L$libdir'
   7882   	  hardcode_libdir_separator=
   7883 	  fi
   7884 	  ;;
   7885 	esac
   7886 	shared_flag='-shared'
   7887 	if test "$aix_use_runtimelinking" = yes; then
   7888 	  shared_flag="$shared_flag "'${wl}-G'
   7889 	fi
   7890       else
   7891 	# not using gcc
   7892 	if test "$host_cpu" = ia64; then
   7893   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7894   	# chokes on -Wl,-G. The following line is correct:
   7895 	  shared_flag='-G'
   7896 	else
   7897 	  if test "$aix_use_runtimelinking" = yes; then
   7898 	    shared_flag='${wl}-G'
   7899 	  else
   7900 	    shared_flag='${wl}-bM:SRE'
   7901 	  fi
   7902 	fi
   7903       fi
   7904 
   7905       # It seems that -bexpall does not export symbols beginning with
   7906       # underscore (_), so it is better to generate a list of symbols to export.
   7907       always_export_symbols=yes
   7908       if test "$aix_use_runtimelinking" = yes; then
   7909 	# Warning - without using the other runtime loading flags (-brtl),
   7910 	# -berok will link without error, but may produce a broken library.
   7911 	allow_undefined_flag='-berok'
   7912        # Determine the default libpath from the value encoded in an empty executable.
   7913        cat >conftest.$ac_ext <<_ACEOF
   7914 /* confdefs.h.  */
   7915 _ACEOF
   7916 cat confdefs.h >>conftest.$ac_ext
   7917 cat >>conftest.$ac_ext <<_ACEOF
   7918 /* end confdefs.h.  */
   7919 
   7920 int
   7921 main ()
   7922 {
   7923 
   7924   ;
   7925   return 0;
   7926 }
   7927 _ACEOF
   7928 rm -f conftest.$ac_objext conftest$ac_exeext
   7929 if { (ac_try="$ac_link"
   7930 case "(($ac_try" in
   7931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7932   *) ac_try_echo=$ac_try;;
   7933 esac
   7934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7935   (eval "$ac_link") 2>conftest.er1
   7936   ac_status=$?
   7937   grep -v '^ *+' conftest.er1 >conftest.err
   7938   rm -f conftest.er1
   7939   cat conftest.err >&5
   7940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7941   (exit $ac_status); } && {
   7942 	 test -z "$ac_c_werror_flag" ||
   7943 	 test ! -s conftest.err
   7944        } && test -s conftest$ac_exeext &&
   7945        $as_test_x conftest$ac_exeext; then
   7946 
   7947 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7948 }'`
   7949 # Check for a 64-bit object if we didn't find anything.
   7950 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7951 }'`; fi
   7952 else
   7953   echo "$as_me: failed program was:" >&5
   7954 sed 's/^/| /' conftest.$ac_ext >&5
   7955 
   7956 
   7957 fi
   7958 
   7959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7960       conftest$ac_exeext conftest.$ac_ext
   7961 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7962 
   7963        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7964 	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"
   7965        else
   7966 	if test "$host_cpu" = ia64; then
   7967 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7968 	  allow_undefined_flag="-z nodefs"
   7969 	  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"
   7970 	else
   7971 	 # Determine the default libpath from the value encoded in an empty executable.
   7972 	 cat >conftest.$ac_ext <<_ACEOF
   7973 /* confdefs.h.  */
   7974 _ACEOF
   7975 cat confdefs.h >>conftest.$ac_ext
   7976 cat >>conftest.$ac_ext <<_ACEOF
   7977 /* end confdefs.h.  */
   7978 
   7979 int
   7980 main ()
   7981 {
   7982 
   7983   ;
   7984   return 0;
   7985 }
   7986 _ACEOF
   7987 rm -f conftest.$ac_objext conftest$ac_exeext
   7988 if { (ac_try="$ac_link"
   7989 case "(($ac_try" in
   7990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7991   *) ac_try_echo=$ac_try;;
   7992 esac
   7993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7994   (eval "$ac_link") 2>conftest.er1
   7995   ac_status=$?
   7996   grep -v '^ *+' conftest.er1 >conftest.err
   7997   rm -f conftest.er1
   7998   cat conftest.err >&5
   7999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8000   (exit $ac_status); } && {
   8001 	 test -z "$ac_c_werror_flag" ||
   8002 	 test ! -s conftest.err
   8003        } && test -s conftest$ac_exeext &&
   8004        $as_test_x conftest$ac_exeext; then
   8005 
   8006 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8007 }'`
   8008 # Check for a 64-bit object if we didn't find anything.
   8009 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8010 }'`; fi
   8011 else
   8012   echo "$as_me: failed program was:" >&5
   8013 sed 's/^/| /' conftest.$ac_ext >&5
   8014 
   8015 
   8016 fi
   8017 
   8018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8019       conftest$ac_exeext conftest.$ac_ext
   8020 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8021 
   8022 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8023 	  # Warning - without using the other run time loading flags,
   8024 	  # -berok will link without error, but may produce a broken library.
   8025 	  no_undefined_flag=' ${wl}-bernotok'
   8026 	  allow_undefined_flag=' ${wl}-berok'
   8027 	  # Exported symbols can be pulled into shared objects from archives
   8028 	  whole_archive_flag_spec='$convenience'
   8029 	  archive_cmds_need_lc=yes
   8030 	  # This is similar to how AIX traditionally builds its shared libraries.
   8031 	  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'
   8032 	fi
   8033       fi
   8034       ;;
   8035 
   8036     amigaos*)
   8037       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)'
   8038       hardcode_libdir_flag_spec='-L$libdir'
   8039       hardcode_minus_L=yes
   8040       # see comment about different semantics on the GNU ld section
   8041       ld_shlibs=no
   8042       ;;
   8043 
   8044     bsdi[45]*)
   8045       export_dynamic_flag_spec=-rdynamic
   8046       ;;
   8047 
   8048     cygwin* | mingw* | pw32*)
   8049       # When not using gcc, we currently assume that we are using
   8050       # Microsoft Visual C++.
   8051       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8052       # no search path for DLLs.
   8053       hardcode_libdir_flag_spec=' '
   8054       allow_undefined_flag=unsupported
   8055       # Tell ltmain to make .lib files, not .a files.
   8056       libext=lib
   8057       # Tell ltmain to make .dll files, not .so files.
   8058       shrext_cmds=".dll"
   8059       # FIXME: Setting linknames here is a bad hack.
   8060       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8061       # The linker will automatically build a .lib file if we build a DLL.
   8062       old_archive_From_new_cmds='true'
   8063       # FIXME: Should let the user specify the lib program.
   8064       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8065       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8066       enable_shared_with_static_runtimes=yes
   8067       ;;
   8068 
   8069     darwin* | rhapsody*)
   8070       case $host_os in
   8071         rhapsody* | darwin1.[012])
   8072          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8073          ;;
   8074        *) # Darwin 1.3 on
   8075          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8076            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8077          else
   8078            case ${MACOSX_DEPLOYMENT_TARGET} in
   8079              10.[012])
   8080                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8081                ;;
   8082              10.*)
   8083                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8084                ;;
   8085            esac
   8086          fi
   8087          ;;
   8088       esac
   8089       archive_cmds_need_lc=no
   8090       hardcode_direct=no
   8091       hardcode_automatic=yes
   8092       hardcode_shlibpath_var=unsupported
   8093       whole_archive_flag_spec=''
   8094       link_all_deplibs=yes
   8095     if test "$GCC" = yes ; then
   8096     	output_verbose_link_cmd='echo'
   8097         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8098       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8099       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8100       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8101       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}'
   8102     else
   8103       case $cc_basename in
   8104         xlc*)
   8105          output_verbose_link_cmd='echo'
   8106          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8107          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8108           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8109          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8110           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}'
   8111           ;;
   8112        *)
   8113          ld_shlibs=no
   8114           ;;
   8115       esac
   8116     fi
   8117       ;;
   8118 
   8119     dgux*)
   8120       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8121       hardcode_libdir_flag_spec='-L$libdir'
   8122       hardcode_shlibpath_var=no
   8123       ;;
   8124 
   8125     freebsd1*)
   8126       ld_shlibs=no
   8127       ;;
   8128 
   8129     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8130     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8131     # does not break anything, and helps significantly (at the cost of a little
   8132     # extra space).
   8133     freebsd2.2*)
   8134       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8135       hardcode_libdir_flag_spec='-R$libdir'
   8136       hardcode_direct=yes
   8137       hardcode_shlibpath_var=no
   8138       ;;
   8139 
   8140     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8141     freebsd2*)
   8142       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8143       hardcode_direct=yes
   8144       hardcode_minus_L=yes
   8145       hardcode_shlibpath_var=no
   8146       ;;
   8147 
   8148     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8149     freebsd* | kfreebsd*-gnu | dragonfly*)
   8150       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8151       hardcode_libdir_flag_spec='-R$libdir'
   8152       hardcode_direct=yes
   8153       hardcode_shlibpath_var=no
   8154       ;;
   8155 
   8156     hpux9*)
   8157       if test "$GCC" = yes; then
   8158 	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'
   8159       else
   8160 	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'
   8161       fi
   8162       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8163       hardcode_libdir_separator=:
   8164       hardcode_direct=yes
   8165 
   8166       # hardcode_minus_L: Not really in the search PATH,
   8167       # but as the default location of the library.
   8168       hardcode_minus_L=yes
   8169       export_dynamic_flag_spec='${wl}-E'
   8170       ;;
   8171 
   8172     hpux10*)
   8173       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8174 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8175       else
   8176 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8177       fi
   8178       if test "$with_gnu_ld" = no; then
   8179 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8180 	hardcode_libdir_separator=:
   8181 
   8182 	hardcode_direct=yes
   8183 	export_dynamic_flag_spec='${wl}-E'
   8184 
   8185 	# hardcode_minus_L: Not really in the search PATH,
   8186 	# but as the default location of the library.
   8187 	hardcode_minus_L=yes
   8188       fi
   8189       ;;
   8190 
   8191     hpux11*)
   8192       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8193 	case $host_cpu in
   8194 	hppa*64*)
   8195 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8196 	  ;;
   8197 	ia64*)
   8198 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8199 	  ;;
   8200 	*)
   8201 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8202 	  ;;
   8203 	esac
   8204       else
   8205 	case $host_cpu in
   8206 	hppa*64*)
   8207 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8208 	  ;;
   8209 	ia64*)
   8210 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8211 	  ;;
   8212 	*)
   8213 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8214 	  ;;
   8215 	esac
   8216       fi
   8217       if test "$with_gnu_ld" = no; then
   8218 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8219 	hardcode_libdir_separator=:
   8220 
   8221 	case $host_cpu in
   8222 	hppa*64*|ia64*)
   8223 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8224 	  hardcode_direct=no
   8225 	  hardcode_shlibpath_var=no
   8226 	  ;;
   8227 	*)
   8228 	  hardcode_direct=yes
   8229 	  export_dynamic_flag_spec='${wl}-E'
   8230 
   8231 	  # hardcode_minus_L: Not really in the search PATH,
   8232 	  # but as the default location of the library.
   8233 	  hardcode_minus_L=yes
   8234 	  ;;
   8235 	esac
   8236       fi
   8237       ;;
   8238 
   8239     irix5* | irix6* | nonstopux*)
   8240       if test "$GCC" = yes; then
   8241 	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'
   8242       else
   8243 	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'
   8244 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8245       fi
   8246       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8247       hardcode_libdir_separator=:
   8248       link_all_deplibs=yes
   8249       ;;
   8250 
   8251     netbsd*)
   8252       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8253 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8254       else
   8255 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8256       fi
   8257       hardcode_libdir_flag_spec='-R$libdir'
   8258       hardcode_direct=yes
   8259       hardcode_shlibpath_var=no
   8260       ;;
   8261 
   8262     newsos6)
   8263       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8264       hardcode_direct=yes
   8265       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8266       hardcode_libdir_separator=:
   8267       hardcode_shlibpath_var=no
   8268       ;;
   8269 
   8270     openbsd*)
   8271       hardcode_direct=yes
   8272       hardcode_shlibpath_var=no
   8273       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8274 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8275 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8276 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8277 	export_dynamic_flag_spec='${wl}-E'
   8278       else
   8279        case $host_os in
   8280 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8281 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8282 	   hardcode_libdir_flag_spec='-R$libdir'
   8283 	   ;;
   8284 	 *)
   8285 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8286 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8287 	   ;;
   8288        esac
   8289       fi
   8290       ;;
   8291 
   8292     os2*)
   8293       hardcode_libdir_flag_spec='-L$libdir'
   8294       hardcode_minus_L=yes
   8295       allow_undefined_flag=unsupported
   8296       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'
   8297       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8298       ;;
   8299 
   8300     osf3*)
   8301       if test "$GCC" = yes; then
   8302 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8303 	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'
   8304       else
   8305 	allow_undefined_flag=' -expect_unresolved \*'
   8306 	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'
   8307       fi
   8308       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8309       hardcode_libdir_separator=:
   8310       ;;
   8311 
   8312     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8313       if test "$GCC" = yes; then
   8314 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8315 	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'
   8316 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8317       else
   8318 	allow_undefined_flag=' -expect_unresolved \*'
   8319 	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'
   8320 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8321 	$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'
   8322 
   8323 	# Both c and cxx compiler support -rpath directly
   8324 	hardcode_libdir_flag_spec='-rpath $libdir'
   8325       fi
   8326       hardcode_libdir_separator=:
   8327       ;;
   8328 
   8329     solaris*)
   8330       no_undefined_flag=' -z text'
   8331       if test "$GCC" = yes; then
   8332 	wlarc='${wl}'
   8333 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8334 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8335 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8336       else
   8337 	wlarc=''
   8338 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8339 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8340   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8341       fi
   8342       hardcode_libdir_flag_spec='-R$libdir'
   8343       hardcode_shlibpath_var=no
   8344       case $host_os in
   8345       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8346       *)
   8347  	# The compiler driver will combine linker options so we
   8348  	# cannot just pass the convience library names through
   8349  	# without $wl, iff we do not link with $LD.
   8350  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8351  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8352  	case $wlarc in
   8353  	'')
   8354  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8355  	*)
   8356  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   8357  	esac ;;
   8358       esac
   8359       link_all_deplibs=yes
   8360       ;;
   8361 
   8362     sunos4*)
   8363       if test "x$host_vendor" = xsequent; then
   8364 	# Use $CC to link under sequent, because it throws in some extra .o
   8365 	# files that make .init and .fini sections work.
   8366 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8367       else
   8368 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8369       fi
   8370       hardcode_libdir_flag_spec='-L$libdir'
   8371       hardcode_direct=yes
   8372       hardcode_minus_L=yes
   8373       hardcode_shlibpath_var=no
   8374       ;;
   8375 
   8376     sysv4)
   8377       case $host_vendor in
   8378 	sni)
   8379 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8380 	  hardcode_direct=yes # is this really true???
   8381 	;;
   8382 	siemens)
   8383 	  ## LD is ld it makes a PLAMLIB
   8384 	  ## CC just makes a GrossModule.
   8385 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8386 	  reload_cmds='$CC -r -o $output$reload_objs'
   8387 	  hardcode_direct=no
   8388         ;;
   8389 	motorola)
   8390 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8391 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8392 	;;
   8393       esac
   8394       runpath_var='LD_RUN_PATH'
   8395       hardcode_shlibpath_var=no
   8396       ;;
   8397 
   8398     sysv4.3*)
   8399       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8400       hardcode_shlibpath_var=no
   8401       export_dynamic_flag_spec='-Bexport'
   8402       ;;
   8403 
   8404     sysv4*MP*)
   8405       if test -d /usr/nec; then
   8406 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8407 	hardcode_shlibpath_var=no
   8408 	runpath_var=LD_RUN_PATH
   8409 	hardcode_runpath_var=yes
   8410 	ld_shlibs=yes
   8411       fi
   8412       ;;
   8413 
   8414     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8415       no_undefined_flag='${wl}-z,text'
   8416       archive_cmds_need_lc=no
   8417       hardcode_shlibpath_var=no
   8418       runpath_var='LD_RUN_PATH'
   8419 
   8420       if test "$GCC" = yes; then
   8421 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8422 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8423       else
   8424 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8425 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8426       fi
   8427       ;;
   8428 
   8429     sysv5* | sco3.2v5* | sco5v6*)
   8430       # Note: We can NOT use -z defs as we might desire, because we do not
   8431       # link with -lc, and that would cause any symbols used from libc to
   8432       # always be unresolved, which means just about no library would
   8433       # ever link correctly.  If we're not using GNU ld we use -z text
   8434       # though, which does catch some bad symbols but isn't as heavy-handed
   8435       # as -z defs.
   8436       no_undefined_flag='${wl}-z,text'
   8437       allow_undefined_flag='${wl}-z,nodefs'
   8438       archive_cmds_need_lc=no
   8439       hardcode_shlibpath_var=no
   8440       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8441       hardcode_libdir_separator=':'
   8442       link_all_deplibs=yes
   8443       export_dynamic_flag_spec='${wl}-Bexport'
   8444       runpath_var='LD_RUN_PATH'
   8445 
   8446       if test "$GCC" = yes; then
   8447 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8448 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8449       else
   8450 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8451 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8452       fi
   8453       ;;
   8454 
   8455     uts4*)
   8456       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8457       hardcode_libdir_flag_spec='-L$libdir'
   8458       hardcode_shlibpath_var=no
   8459       ;;
   8460 
   8461     *)
   8462       ld_shlibs=no
   8463       ;;
   8464     esac
   8465   fi
   8466 
   8467 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8468 echo "${ECHO_T}$ld_shlibs" >&6; }
   8469 test "$ld_shlibs" = no && can_build_shared=no
   8470 
   8471 #
   8472 # Do we need to explicitly link libc?
   8473 #
   8474 case "x$archive_cmds_need_lc" in
   8475 x|xyes)
   8476   # Assume -lc should be added
   8477   archive_cmds_need_lc=yes
   8478 
   8479   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8480     case $archive_cmds in
   8481     *'~'*)
   8482       # FIXME: we may have to deal with multi-command sequences.
   8483       ;;
   8484     '$CC '*)
   8485       # Test whether the compiler implicitly links with -lc since on some
   8486       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8487       # to ld, don't add -lc before -lgcc.
   8488       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8489 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8490       $rm conftest*
   8491       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8492 
   8493       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8494   (eval $ac_compile) 2>&5
   8495   ac_status=$?
   8496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8497   (exit $ac_status); } 2>conftest.err; then
   8498         soname=conftest
   8499         lib=conftest
   8500         libobjs=conftest.$ac_objext
   8501         deplibs=
   8502         wl=$lt_prog_compiler_wl
   8503 	pic_flag=$lt_prog_compiler_pic
   8504         compiler_flags=-v
   8505         linker_flags=-v
   8506         verstring=
   8507         output_objdir=.
   8508         libname=conftest
   8509         lt_save_allow_undefined_flag=$allow_undefined_flag
   8510         allow_undefined_flag=
   8511         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8512   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8513   ac_status=$?
   8514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8515   (exit $ac_status); }
   8516         then
   8517 	  archive_cmds_need_lc=no
   8518         else
   8519 	  archive_cmds_need_lc=yes
   8520         fi
   8521         allow_undefined_flag=$lt_save_allow_undefined_flag
   8522       else
   8523         cat conftest.err 1>&5
   8524       fi
   8525       $rm conftest*
   8526       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8527 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8528       ;;
   8529     esac
   8530   fi
   8531   ;;
   8532 esac
   8533 
   8534 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8535 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8536 library_names_spec=
   8537 libname_spec='lib$name'
   8538 soname_spec=
   8539 shrext_cmds=".so"
   8540 postinstall_cmds=
   8541 postuninstall_cmds=
   8542 finish_cmds=
   8543 finish_eval=
   8544 shlibpath_var=
   8545 shlibpath_overrides_runpath=unknown
   8546 version_type=none
   8547 dynamic_linker="$host_os ld.so"
   8548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8549 if test "$GCC" = yes; then
   8550   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8551   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8552     # if the path contains ";" then we assume it to be the separator
   8553     # otherwise default to the standard path separator (i.e. ":") - it is
   8554     # assumed that no part of a normal pathname contains ";" but that should
   8555     # okay in the real world where ";" in dirpaths is itself problematic.
   8556     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8557   else
   8558     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8559   fi
   8560 else
   8561   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8562 fi
   8563 need_lib_prefix=unknown
   8564 hardcode_into_libs=no
   8565 
   8566 # when you set need_version to no, make sure it does not cause -set_version
   8567 # flags to be left without arguments
   8568 need_version=unknown
   8569 
   8570 case $host_os in
   8571 aix3*)
   8572   version_type=linux
   8573   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8574   shlibpath_var=LIBPATH
   8575 
   8576   # AIX 3 has no versioning support, so we append a major version to the name.
   8577   soname_spec='${libname}${release}${shared_ext}$major'
   8578   ;;
   8579 
   8580 aix4* | aix5*)
   8581   version_type=linux
   8582   need_lib_prefix=no
   8583   need_version=no
   8584   hardcode_into_libs=yes
   8585   if test "$host_cpu" = ia64; then
   8586     # AIX 5 supports IA64
   8587     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8588     shlibpath_var=LD_LIBRARY_PATH
   8589   else
   8590     # With GCC up to 2.95.x, collect2 would create an import file
   8591     # for dependence libraries.  The import file would start with
   8592     # the line `#! .'.  This would cause the generated library to
   8593     # depend on `.', always an invalid library.  This was fixed in
   8594     # development snapshots of GCC prior to 3.0.
   8595     case $host_os in
   8596       aix4 | aix4.[01] | aix4.[01].*)
   8597       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8598 	   echo ' yes '
   8599 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8600 	:
   8601       else
   8602 	can_build_shared=no
   8603       fi
   8604       ;;
   8605     esac
   8606     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8607     # soname into executable. Probably we can add versioning support to
   8608     # collect2, so additional links can be useful in future.
   8609     if test "$aix_use_runtimelinking" = yes; then
   8610       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8611       # instead of lib<name>.a to let people know that these are not
   8612       # typical AIX shared libraries.
   8613       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8614     else
   8615       # We preserve .a as extension for shared libraries through AIX4.2
   8616       # and later when we are not doing run time linking.
   8617       library_names_spec='${libname}${release}.a $libname.a'
   8618       soname_spec='${libname}${release}${shared_ext}$major'
   8619     fi
   8620     shlibpath_var=LIBPATH
   8621   fi
   8622   ;;
   8623 
   8624 amigaos*)
   8625   library_names_spec='$libname.ixlibrary $libname.a'
   8626   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8627   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'
   8628   ;;
   8629 
   8630 beos*)
   8631   library_names_spec='${libname}${shared_ext}'
   8632   dynamic_linker="$host_os ld.so"
   8633   shlibpath_var=LIBRARY_PATH
   8634   ;;
   8635 
   8636 bsdi[45]*)
   8637   version_type=linux
   8638   need_version=no
   8639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8640   soname_spec='${libname}${release}${shared_ext}$major'
   8641   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8642   shlibpath_var=LD_LIBRARY_PATH
   8643   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8644   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8645   # the default ld.so.conf also contains /usr/contrib/lib and
   8646   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8647   # libtool to hard-code these into programs
   8648   ;;
   8649 
   8650 cygwin* | mingw* | pw32*)
   8651   version_type=windows
   8652   shrext_cmds=".dll"
   8653   need_version=no
   8654   need_lib_prefix=no
   8655 
   8656   case $GCC,$host_os in
   8657   yes,cygwin* | yes,mingw* | yes,pw32*)
   8658     library_names_spec='$libname.dll.a'
   8659     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8660     postinstall_cmds='base_file=`basename \${file}`~
   8661       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8662       dldir=$destdir/`dirname \$dlpath`~
   8663       test -d \$dldir || mkdir -p \$dldir~
   8664       $install_prog $dir/$dlname \$dldir/$dlname~
   8665       chmod a+x \$dldir/$dlname'
   8666     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8667       dlpath=$dir/\$dldll~
   8668        $rm \$dlpath'
   8669     shlibpath_overrides_runpath=yes
   8670 
   8671     case $host_os in
   8672     cygwin*)
   8673       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8674       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8675       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8676       ;;
   8677     mingw*)
   8678       # MinGW DLLs use traditional 'lib' prefix
   8679       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8680       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8681       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8682         # It is most probably a Windows format PATH printed by
   8683         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8684         # path with ; separators, and with drive letters. We can handle the
   8685         # drive letters (cygwin fileutils understands them), so leave them,
   8686         # especially as we might pass files found there to a mingw objdump,
   8687         # which wouldn't understand a cygwinified path. Ahh.
   8688         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8689       else
   8690         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8691       fi
   8692       ;;
   8693     pw32*)
   8694       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8695       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8696       ;;
   8697     esac
   8698     ;;
   8699 
   8700   *)
   8701     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8702     ;;
   8703   esac
   8704   dynamic_linker='Win32 ld.exe'
   8705   # FIXME: first we should search . and the directory the executable is in
   8706   shlibpath_var=PATH
   8707   ;;
   8708 
   8709 darwin* | rhapsody*)
   8710   dynamic_linker="$host_os dyld"
   8711   version_type=darwin
   8712   need_lib_prefix=no
   8713   need_version=no
   8714   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8715   soname_spec='${libname}${release}${major}$shared_ext'
   8716   shlibpath_overrides_runpath=yes
   8717   shlibpath_var=DYLD_LIBRARY_PATH
   8718   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8719   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8720   if test "$GCC" = yes; then
   8721     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   8722   else
   8723     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8724   fi
   8725   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8726   ;;
   8727 
   8728 dgux*)
   8729   version_type=linux
   8730   need_lib_prefix=no
   8731   need_version=no
   8732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8733   soname_spec='${libname}${release}${shared_ext}$major'
   8734   shlibpath_var=LD_LIBRARY_PATH
   8735   ;;
   8736 
   8737 freebsd1*)
   8738   dynamic_linker=no
   8739   ;;
   8740 
   8741 kfreebsd*-gnu)
   8742   version_type=linux
   8743   need_lib_prefix=no
   8744   need_version=no
   8745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8746   soname_spec='${libname}${release}${shared_ext}$major'
   8747   shlibpath_var=LD_LIBRARY_PATH
   8748   shlibpath_overrides_runpath=no
   8749   hardcode_into_libs=yes
   8750   dynamic_linker='GNU ld.so'
   8751   ;;
   8752 
   8753 freebsd* | dragonfly*)
   8754   # DragonFly does not have aout.  When/if they implement a new
   8755   # versioning mechanism, adjust this.
   8756   if test -x /usr/bin/objformat; then
   8757     objformat=`/usr/bin/objformat`
   8758   else
   8759     case $host_os in
   8760     freebsd[123]*) objformat=aout ;;
   8761     *) objformat=elf ;;
   8762     esac
   8763   fi
   8764   version_type=freebsd-$objformat
   8765   case $version_type in
   8766     freebsd-elf*)
   8767       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8768       need_version=no
   8769       need_lib_prefix=no
   8770       ;;
   8771     freebsd-*)
   8772       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8773       need_version=yes
   8774       ;;
   8775   esac
   8776   shlibpath_var=LD_LIBRARY_PATH
   8777   case $host_os in
   8778   freebsd2*)
   8779     shlibpath_overrides_runpath=yes
   8780     ;;
   8781   freebsd3.[01]* | freebsdelf3.[01]*)
   8782     shlibpath_overrides_runpath=yes
   8783     hardcode_into_libs=yes
   8784     ;;
   8785   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8786   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8787     shlibpath_overrides_runpath=no
   8788     hardcode_into_libs=yes
   8789     ;;
   8790   freebsd*) # from 4.6 on
   8791     shlibpath_overrides_runpath=yes
   8792     hardcode_into_libs=yes
   8793     ;;
   8794   esac
   8795   ;;
   8796 
   8797 gnu*)
   8798   version_type=linux
   8799   need_lib_prefix=no
   8800   need_version=no
   8801   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8802   soname_spec='${libname}${release}${shared_ext}$major'
   8803   shlibpath_var=LD_LIBRARY_PATH
   8804   hardcode_into_libs=yes
   8805   ;;
   8806 
   8807 hpux9* | hpux10* | hpux11*)
   8808   # Give a soname corresponding to the major version so that dld.sl refuses to
   8809   # link against other versions.
   8810   version_type=sunos
   8811   need_lib_prefix=no
   8812   need_version=no
   8813   case $host_cpu in
   8814   ia64*)
   8815     shrext_cmds='.so'
   8816     hardcode_into_libs=yes
   8817     dynamic_linker="$host_os dld.so"
   8818     shlibpath_var=LD_LIBRARY_PATH
   8819     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8820     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8821     soname_spec='${libname}${release}${shared_ext}$major'
   8822     if test "X$HPUX_IA64_MODE" = X32; then
   8823       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8824     else
   8825       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8826     fi
   8827     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8828     ;;
   8829    hppa*64*)
   8830      shrext_cmds='.sl'
   8831      hardcode_into_libs=yes
   8832      dynamic_linker="$host_os dld.sl"
   8833      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8834      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8835      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8836      soname_spec='${libname}${release}${shared_ext}$major'
   8837      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8838      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8839      ;;
   8840    *)
   8841     shrext_cmds='.sl'
   8842     dynamic_linker="$host_os dld.sl"
   8843     shlibpath_var=SHLIB_PATH
   8844     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8845     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8846     soname_spec='${libname}${release}${shared_ext}$major'
   8847     ;;
   8848   esac
   8849   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8850   postinstall_cmds='chmod 555 $lib'
   8851   ;;
   8852 
   8853 interix3*)
   8854   version_type=linux
   8855   need_lib_prefix=no
   8856   need_version=no
   8857   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8858   soname_spec='${libname}${release}${shared_ext}$major'
   8859   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8860   shlibpath_var=LD_LIBRARY_PATH
   8861   shlibpath_overrides_runpath=no
   8862   hardcode_into_libs=yes
   8863   ;;
   8864 
   8865 irix5* | irix6* | nonstopux*)
   8866   case $host_os in
   8867     nonstopux*) version_type=nonstopux ;;
   8868     *)
   8869 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8870 		version_type=linux
   8871 	else
   8872 		version_type=irix
   8873 	fi ;;
   8874   esac
   8875   need_lib_prefix=no
   8876   need_version=no
   8877   soname_spec='${libname}${release}${shared_ext}$major'
   8878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8879   case $host_os in
   8880   irix5* | nonstopux*)
   8881     libsuff= shlibsuff=
   8882     ;;
   8883   *)
   8884     case $LD in # libtool.m4 will add one of these switches to LD
   8885     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8886       libsuff= shlibsuff= libmagic=32-bit;;
   8887     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8888       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8889     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8890       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8891     *) libsuff= shlibsuff= libmagic=never-match;;
   8892     esac
   8893     ;;
   8894   esac
   8895   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8896   shlibpath_overrides_runpath=no
   8897   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8898   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8899   hardcode_into_libs=yes
   8900   ;;
   8901 
   8902 # No shared lib support for Linux oldld, aout, or coff.
   8903 linux*oldld* | linux*aout* | linux*coff*)
   8904   dynamic_linker=no
   8905   ;;
   8906 
   8907 # This must be Linux ELF.
   8908 linux*)
   8909   version_type=linux
   8910   need_lib_prefix=no
   8911   need_version=no
   8912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8913   soname_spec='${libname}${release}${shared_ext}$major'
   8914   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8915   shlibpath_var=LD_LIBRARY_PATH
   8916   shlibpath_overrides_runpath=no
   8917   # This implies no fast_install, which is unacceptable.
   8918   # Some rework will be needed to allow for fast_install
   8919   # before this can be enabled.
   8920   hardcode_into_libs=yes
   8921 
   8922   # Append ld.so.conf contents to the search path
   8923   if test -f /etc/ld.so.conf; then
   8924     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   8925     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8926   fi
   8927 
   8928   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8929   # powerpc, because MkLinux only supported shared libraries with the
   8930   # GNU dynamic linker.  Since this was broken with cross compilers,
   8931   # most powerpc-linux boxes support dynamic linking these days and
   8932   # people can always --disable-shared, the test was removed, and we
   8933   # assume the GNU/Linux dynamic linker is in use.
   8934   dynamic_linker='GNU/Linux ld.so'
   8935   ;;
   8936 
   8937 knetbsd*-gnu)
   8938   version_type=linux
   8939   need_lib_prefix=no
   8940   need_version=no
   8941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8942   soname_spec='${libname}${release}${shared_ext}$major'
   8943   shlibpath_var=LD_LIBRARY_PATH
   8944   shlibpath_overrides_runpath=no
   8945   hardcode_into_libs=yes
   8946   dynamic_linker='GNU ld.so'
   8947   ;;
   8948 
   8949 netbsd*)
   8950   version_type=sunos
   8951   need_lib_prefix=no
   8952   need_version=no
   8953   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8954     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8955     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8956     dynamic_linker='NetBSD (a.out) ld.so'
   8957   else
   8958     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8959     soname_spec='${libname}${release}${shared_ext}$major'
   8960     dynamic_linker='NetBSD ld.elf_so'
   8961   fi
   8962   shlibpath_var=LD_LIBRARY_PATH
   8963   shlibpath_overrides_runpath=yes
   8964   hardcode_into_libs=yes
   8965   ;;
   8966 
   8967 newsos6)
   8968   version_type=linux
   8969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8970   shlibpath_var=LD_LIBRARY_PATH
   8971   shlibpath_overrides_runpath=yes
   8972   ;;
   8973 
   8974 nto-qnx*)
   8975   version_type=linux
   8976   need_lib_prefix=no
   8977   need_version=no
   8978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8979   soname_spec='${libname}${release}${shared_ext}$major'
   8980   shlibpath_var=LD_LIBRARY_PATH
   8981   shlibpath_overrides_runpath=yes
   8982   ;;
   8983 
   8984 openbsd*)
   8985   version_type=sunos
   8986   sys_lib_dlsearch_path_spec="/usr/lib"
   8987   need_lib_prefix=no
   8988   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   8989   case $host_os in
   8990     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   8991     *)                         need_version=no  ;;
   8992   esac
   8993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8994   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8995   shlibpath_var=LD_LIBRARY_PATH
   8996   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8997     case $host_os in
   8998       openbsd2.[89] | openbsd2.[89].*)
   8999 	shlibpath_overrides_runpath=no
   9000 	;;
   9001       *)
   9002 	shlibpath_overrides_runpath=yes
   9003 	;;
   9004       esac
   9005   else
   9006     shlibpath_overrides_runpath=yes
   9007   fi
   9008   ;;
   9009 
   9010 os2*)
   9011   libname_spec='$name'
   9012   shrext_cmds=".dll"
   9013   need_lib_prefix=no
   9014   library_names_spec='$libname${shared_ext} $libname.a'
   9015   dynamic_linker='OS/2 ld.exe'
   9016   shlibpath_var=LIBPATH
   9017   ;;
   9018 
   9019 osf3* | osf4* | osf5*)
   9020   version_type=osf
   9021   need_lib_prefix=no
   9022   need_version=no
   9023   soname_spec='${libname}${release}${shared_ext}$major'
   9024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9025   shlibpath_var=LD_LIBRARY_PATH
   9026   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9027   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9028   ;;
   9029 
   9030 solaris*)
   9031   version_type=linux
   9032   need_lib_prefix=no
   9033   need_version=no
   9034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9035   soname_spec='${libname}${release}${shared_ext}$major'
   9036   shlibpath_var=LD_LIBRARY_PATH
   9037   shlibpath_overrides_runpath=yes
   9038   hardcode_into_libs=yes
   9039   # ldd complains unless libraries are executable
   9040   postinstall_cmds='chmod +x $lib'
   9041   ;;
   9042 
   9043 sunos4*)
   9044   version_type=sunos
   9045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9046   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9047   shlibpath_var=LD_LIBRARY_PATH
   9048   shlibpath_overrides_runpath=yes
   9049   if test "$with_gnu_ld" = yes; then
   9050     need_lib_prefix=no
   9051   fi
   9052   need_version=yes
   9053   ;;
   9054 
   9055 sysv4 | sysv4.3*)
   9056   version_type=linux
   9057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9058   soname_spec='${libname}${release}${shared_ext}$major'
   9059   shlibpath_var=LD_LIBRARY_PATH
   9060   case $host_vendor in
   9061     sni)
   9062       shlibpath_overrides_runpath=no
   9063       need_lib_prefix=no
   9064       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9065       runpath_var=LD_RUN_PATH
   9066       ;;
   9067     siemens)
   9068       need_lib_prefix=no
   9069       ;;
   9070     motorola)
   9071       need_lib_prefix=no
   9072       need_version=no
   9073       shlibpath_overrides_runpath=no
   9074       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9075       ;;
   9076   esac
   9077   ;;
   9078 
   9079 sysv4*MP*)
   9080   if test -d /usr/nec ;then
   9081     version_type=linux
   9082     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9083     soname_spec='$libname${shared_ext}.$major'
   9084     shlibpath_var=LD_LIBRARY_PATH
   9085   fi
   9086   ;;
   9087 
   9088 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9089   version_type=freebsd-elf
   9090   need_lib_prefix=no
   9091   need_version=no
   9092   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9093   soname_spec='${libname}${release}${shared_ext}$major'
   9094   shlibpath_var=LD_LIBRARY_PATH
   9095   hardcode_into_libs=yes
   9096   if test "$with_gnu_ld" = yes; then
   9097     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9098     shlibpath_overrides_runpath=no
   9099   else
   9100     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9101     shlibpath_overrides_runpath=yes
   9102     case $host_os in
   9103       sco3.2v5*)
   9104         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9105 	;;
   9106     esac
   9107   fi
   9108   sys_lib_dlsearch_path_spec='/usr/lib'
   9109   ;;
   9110 
   9111 uts4*)
   9112   version_type=linux
   9113   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9114   soname_spec='${libname}${release}${shared_ext}$major'
   9115   shlibpath_var=LD_LIBRARY_PATH
   9116   ;;
   9117 
   9118 *)
   9119   dynamic_linker=no
   9120   ;;
   9121 esac
   9122 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9123 echo "${ECHO_T}$dynamic_linker" >&6; }
   9124 test "$dynamic_linker" = no && can_build_shared=no
   9125 
   9126 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9127 if test "$GCC" = yes; then
   9128   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9129 fi
   9130 
   9131 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9132 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9133 hardcode_action=
   9134 if test -n "$hardcode_libdir_flag_spec" || \
   9135    test -n "$runpath_var" || \
   9136    test "X$hardcode_automatic" = "Xyes" ; then
   9137 
   9138   # We can hardcode non-existant directories.
   9139   if test "$hardcode_direct" != no &&
   9140      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9141      # have to relink, otherwise we might link with an installed library
   9142      # when we should be linking with a yet-to-be-installed one
   9143      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9144      test "$hardcode_minus_L" != no; then
   9145     # Linking always hardcodes the temporary library directory.
   9146     hardcode_action=relink
   9147   else
   9148     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9149     hardcode_action=immediate
   9150   fi
   9151 else
   9152   # We cannot hardcode anything, or else we can only hardcode existing
   9153   # directories.
   9154   hardcode_action=unsupported
   9155 fi
   9156 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9157 echo "${ECHO_T}$hardcode_action" >&6; }
   9158 
   9159 if test "$hardcode_action" = relink; then
   9160   # Fast installation is not supported
   9161   enable_fast_install=no
   9162 elif test "$shlibpath_overrides_runpath" = yes ||
   9163      test "$enable_shared" = no; then
   9164   # Fast installation is not necessary
   9165   enable_fast_install=needless
   9166 fi
   9167 
   9168 striplib=
   9169 old_striplib=
   9170 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9171 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9172 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9173   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9174   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9175   { echo "$as_me:$LINENO: result: yes" >&5
   9176 echo "${ECHO_T}yes" >&6; }
   9177 else
   9178 # FIXME - insert some real tests, host_os isn't really good enough
   9179   case $host_os in
   9180    darwin*)
   9181        if test -n "$STRIP" ; then
   9182          striplib="$STRIP -x"
   9183          { echo "$as_me:$LINENO: result: yes" >&5
   9184 echo "${ECHO_T}yes" >&6; }
   9185        else
   9186   { echo "$as_me:$LINENO: result: no" >&5
   9187 echo "${ECHO_T}no" >&6; }
   9188 fi
   9189        ;;
   9190    *)
   9191   { echo "$as_me:$LINENO: result: no" >&5
   9192 echo "${ECHO_T}no" >&6; }
   9193     ;;
   9194   esac
   9195 fi
   9196 
   9197 if test "x$enable_dlopen" != xyes; then
   9198   enable_dlopen=unknown
   9199   enable_dlopen_self=unknown
   9200   enable_dlopen_self_static=unknown
   9201 else
   9202   lt_cv_dlopen=no
   9203   lt_cv_dlopen_libs=
   9204 
   9205   case $host_os in
   9206   beos*)
   9207     lt_cv_dlopen="load_add_on"
   9208     lt_cv_dlopen_libs=
   9209     lt_cv_dlopen_self=yes
   9210     ;;
   9211 
   9212   mingw* | pw32*)
   9213     lt_cv_dlopen="LoadLibrary"
   9214     lt_cv_dlopen_libs=
   9215    ;;
   9216 
   9217   cygwin*)
   9218     lt_cv_dlopen="dlopen"
   9219     lt_cv_dlopen_libs=
   9220    ;;
   9221 
   9222   darwin*)
   9223   # if libdl is installed we need to link against it
   9224     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9225 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9226 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9227   echo $ECHO_N "(cached) $ECHO_C" >&6
   9228 else
   9229   ac_check_lib_save_LIBS=$LIBS
   9230 LIBS="-ldl  $LIBS"
   9231 cat >conftest.$ac_ext <<_ACEOF
   9232 /* confdefs.h.  */
   9233 _ACEOF
   9234 cat confdefs.h >>conftest.$ac_ext
   9235 cat >>conftest.$ac_ext <<_ACEOF
   9236 /* end confdefs.h.  */
   9237 
   9238 /* Override any GCC internal prototype to avoid an error.
   9239    Use char because int might match the return type of a GCC
   9240    builtin and then its argument prototype would still apply.  */
   9241 #ifdef __cplusplus
   9242 extern "C"
   9243 #endif
   9244 char dlopen ();
   9245 int
   9246 main ()
   9247 {
   9248 return dlopen ();
   9249   ;
   9250   return 0;
   9251 }
   9252 _ACEOF
   9253 rm -f conftest.$ac_objext conftest$ac_exeext
   9254 if { (ac_try="$ac_link"
   9255 case "(($ac_try" in
   9256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9257   *) ac_try_echo=$ac_try;;
   9258 esac
   9259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9260   (eval "$ac_link") 2>conftest.er1
   9261   ac_status=$?
   9262   grep -v '^ *+' conftest.er1 >conftest.err
   9263   rm -f conftest.er1
   9264   cat conftest.err >&5
   9265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9266   (exit $ac_status); } && {
   9267 	 test -z "$ac_c_werror_flag" ||
   9268 	 test ! -s conftest.err
   9269        } && test -s conftest$ac_exeext &&
   9270        $as_test_x conftest$ac_exeext; then
   9271   ac_cv_lib_dl_dlopen=yes
   9272 else
   9273   echo "$as_me: failed program was:" >&5
   9274 sed 's/^/| /' conftest.$ac_ext >&5
   9275 
   9276 	ac_cv_lib_dl_dlopen=no
   9277 fi
   9278 
   9279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9280       conftest$ac_exeext conftest.$ac_ext
   9281 LIBS=$ac_check_lib_save_LIBS
   9282 fi
   9283 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9284 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9285 if test $ac_cv_lib_dl_dlopen = yes; then
   9286   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9287 else
   9288 
   9289     lt_cv_dlopen="dyld"
   9290     lt_cv_dlopen_libs=
   9291     lt_cv_dlopen_self=yes
   9292 
   9293 fi
   9294 
   9295    ;;
   9296 
   9297   *)
   9298     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9299 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9300 if test "${ac_cv_func_shl_load+set}" = set; then
   9301   echo $ECHO_N "(cached) $ECHO_C" >&6
   9302 else
   9303   cat >conftest.$ac_ext <<_ACEOF
   9304 /* confdefs.h.  */
   9305 _ACEOF
   9306 cat confdefs.h >>conftest.$ac_ext
   9307 cat >>conftest.$ac_ext <<_ACEOF
   9308 /* end confdefs.h.  */
   9309 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9311 #define shl_load innocuous_shl_load
   9312 
   9313 /* System header to define __stub macros and hopefully few prototypes,
   9314     which can conflict with char shl_load (); below.
   9315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9316     <limits.h> exists even on freestanding compilers.  */
   9317 
   9318 #ifdef __STDC__
   9319 # include <limits.h>
   9320 #else
   9321 # include <assert.h>
   9322 #endif
   9323 
   9324 #undef shl_load
   9325 
   9326 /* Override any GCC internal prototype to avoid an error.
   9327    Use char because int might match the return type of a GCC
   9328    builtin and then its argument prototype would still apply.  */
   9329 #ifdef __cplusplus
   9330 extern "C"
   9331 #endif
   9332 char shl_load ();
   9333 /* The GNU C library defines this for functions which it implements
   9334     to always fail with ENOSYS.  Some functions are actually named
   9335     something starting with __ and the normal name is an alias.  */
   9336 #if defined __stub_shl_load || defined __stub___shl_load
   9337 choke me
   9338 #endif
   9339 
   9340 int
   9341 main ()
   9342 {
   9343 return shl_load ();
   9344   ;
   9345   return 0;
   9346 }
   9347 _ACEOF
   9348 rm -f conftest.$ac_objext conftest$ac_exeext
   9349 if { (ac_try="$ac_link"
   9350 case "(($ac_try" in
   9351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9352   *) ac_try_echo=$ac_try;;
   9353 esac
   9354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9355   (eval "$ac_link") 2>conftest.er1
   9356   ac_status=$?
   9357   grep -v '^ *+' conftest.er1 >conftest.err
   9358   rm -f conftest.er1
   9359   cat conftest.err >&5
   9360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9361   (exit $ac_status); } && {
   9362 	 test -z "$ac_c_werror_flag" ||
   9363 	 test ! -s conftest.err
   9364        } && test -s conftest$ac_exeext &&
   9365        $as_test_x conftest$ac_exeext; then
   9366   ac_cv_func_shl_load=yes
   9367 else
   9368   echo "$as_me: failed program was:" >&5
   9369 sed 's/^/| /' conftest.$ac_ext >&5
   9370 
   9371 	ac_cv_func_shl_load=no
   9372 fi
   9373 
   9374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9375       conftest$ac_exeext conftest.$ac_ext
   9376 fi
   9377 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9378 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9379 if test $ac_cv_func_shl_load = yes; then
   9380   lt_cv_dlopen="shl_load"
   9381 else
   9382   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9383 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9384 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9385   echo $ECHO_N "(cached) $ECHO_C" >&6
   9386 else
   9387   ac_check_lib_save_LIBS=$LIBS
   9388 LIBS="-ldld  $LIBS"
   9389 cat >conftest.$ac_ext <<_ACEOF
   9390 /* confdefs.h.  */
   9391 _ACEOF
   9392 cat confdefs.h >>conftest.$ac_ext
   9393 cat >>conftest.$ac_ext <<_ACEOF
   9394 /* end confdefs.h.  */
   9395 
   9396 /* Override any GCC internal prototype to avoid an error.
   9397    Use char because int might match the return type of a GCC
   9398    builtin and then its argument prototype would still apply.  */
   9399 #ifdef __cplusplus
   9400 extern "C"
   9401 #endif
   9402 char shl_load ();
   9403 int
   9404 main ()
   9405 {
   9406 return shl_load ();
   9407   ;
   9408   return 0;
   9409 }
   9410 _ACEOF
   9411 rm -f conftest.$ac_objext conftest$ac_exeext
   9412 if { (ac_try="$ac_link"
   9413 case "(($ac_try" in
   9414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9415   *) ac_try_echo=$ac_try;;
   9416 esac
   9417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9418   (eval "$ac_link") 2>conftest.er1
   9419   ac_status=$?
   9420   grep -v '^ *+' conftest.er1 >conftest.err
   9421   rm -f conftest.er1
   9422   cat conftest.err >&5
   9423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9424   (exit $ac_status); } && {
   9425 	 test -z "$ac_c_werror_flag" ||
   9426 	 test ! -s conftest.err
   9427        } && test -s conftest$ac_exeext &&
   9428        $as_test_x conftest$ac_exeext; then
   9429   ac_cv_lib_dld_shl_load=yes
   9430 else
   9431   echo "$as_me: failed program was:" >&5
   9432 sed 's/^/| /' conftest.$ac_ext >&5
   9433 
   9434 	ac_cv_lib_dld_shl_load=no
   9435 fi
   9436 
   9437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9438       conftest$ac_exeext conftest.$ac_ext
   9439 LIBS=$ac_check_lib_save_LIBS
   9440 fi
   9441 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9442 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9443 if test $ac_cv_lib_dld_shl_load = yes; then
   9444   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9445 else
   9446   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9447 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9448 if test "${ac_cv_func_dlopen+set}" = set; then
   9449   echo $ECHO_N "(cached) $ECHO_C" >&6
   9450 else
   9451   cat >conftest.$ac_ext <<_ACEOF
   9452 /* confdefs.h.  */
   9453 _ACEOF
   9454 cat confdefs.h >>conftest.$ac_ext
   9455 cat >>conftest.$ac_ext <<_ACEOF
   9456 /* end confdefs.h.  */
   9457 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9459 #define dlopen innocuous_dlopen
   9460 
   9461 /* System header to define __stub macros and hopefully few prototypes,
   9462     which can conflict with char dlopen (); below.
   9463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9464     <limits.h> exists even on freestanding compilers.  */
   9465 
   9466 #ifdef __STDC__
   9467 # include <limits.h>
   9468 #else
   9469 # include <assert.h>
   9470 #endif
   9471 
   9472 #undef dlopen
   9473 
   9474 /* Override any GCC internal prototype to avoid an error.
   9475    Use char because int might match the return type of a GCC
   9476    builtin and then its argument prototype would still apply.  */
   9477 #ifdef __cplusplus
   9478 extern "C"
   9479 #endif
   9480 char dlopen ();
   9481 /* The GNU C library defines this for functions which it implements
   9482     to always fail with ENOSYS.  Some functions are actually named
   9483     something starting with __ and the normal name is an alias.  */
   9484 #if defined __stub_dlopen || defined __stub___dlopen
   9485 choke me
   9486 #endif
   9487 
   9488 int
   9489 main ()
   9490 {
   9491 return dlopen ();
   9492   ;
   9493   return 0;
   9494 }
   9495 _ACEOF
   9496 rm -f conftest.$ac_objext conftest$ac_exeext
   9497 if { (ac_try="$ac_link"
   9498 case "(($ac_try" in
   9499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9500   *) ac_try_echo=$ac_try;;
   9501 esac
   9502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9503   (eval "$ac_link") 2>conftest.er1
   9504   ac_status=$?
   9505   grep -v '^ *+' conftest.er1 >conftest.err
   9506   rm -f conftest.er1
   9507   cat conftest.err >&5
   9508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9509   (exit $ac_status); } && {
   9510 	 test -z "$ac_c_werror_flag" ||
   9511 	 test ! -s conftest.err
   9512        } && test -s conftest$ac_exeext &&
   9513        $as_test_x conftest$ac_exeext; then
   9514   ac_cv_func_dlopen=yes
   9515 else
   9516   echo "$as_me: failed program was:" >&5
   9517 sed 's/^/| /' conftest.$ac_ext >&5
   9518 
   9519 	ac_cv_func_dlopen=no
   9520 fi
   9521 
   9522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9523       conftest$ac_exeext conftest.$ac_ext
   9524 fi
   9525 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9526 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9527 if test $ac_cv_func_dlopen = yes; then
   9528   lt_cv_dlopen="dlopen"
   9529 else
   9530   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9531 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9532 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9533   echo $ECHO_N "(cached) $ECHO_C" >&6
   9534 else
   9535   ac_check_lib_save_LIBS=$LIBS
   9536 LIBS="-ldl  $LIBS"
   9537 cat >conftest.$ac_ext <<_ACEOF
   9538 /* confdefs.h.  */
   9539 _ACEOF
   9540 cat confdefs.h >>conftest.$ac_ext
   9541 cat >>conftest.$ac_ext <<_ACEOF
   9542 /* end confdefs.h.  */
   9543 
   9544 /* Override any GCC internal prototype to avoid an error.
   9545    Use char because int might match the return type of a GCC
   9546    builtin and then its argument prototype would still apply.  */
   9547 #ifdef __cplusplus
   9548 extern "C"
   9549 #endif
   9550 char dlopen ();
   9551 int
   9552 main ()
   9553 {
   9554 return dlopen ();
   9555   ;
   9556   return 0;
   9557 }
   9558 _ACEOF
   9559 rm -f conftest.$ac_objext conftest$ac_exeext
   9560 if { (ac_try="$ac_link"
   9561 case "(($ac_try" in
   9562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9563   *) ac_try_echo=$ac_try;;
   9564 esac
   9565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9566   (eval "$ac_link") 2>conftest.er1
   9567   ac_status=$?
   9568   grep -v '^ *+' conftest.er1 >conftest.err
   9569   rm -f conftest.er1
   9570   cat conftest.err >&5
   9571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9572   (exit $ac_status); } && {
   9573 	 test -z "$ac_c_werror_flag" ||
   9574 	 test ! -s conftest.err
   9575        } && test -s conftest$ac_exeext &&
   9576        $as_test_x conftest$ac_exeext; then
   9577   ac_cv_lib_dl_dlopen=yes
   9578 else
   9579   echo "$as_me: failed program was:" >&5
   9580 sed 's/^/| /' conftest.$ac_ext >&5
   9581 
   9582 	ac_cv_lib_dl_dlopen=no
   9583 fi
   9584 
   9585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9586       conftest$ac_exeext conftest.$ac_ext
   9587 LIBS=$ac_check_lib_save_LIBS
   9588 fi
   9589 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9590 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9591 if test $ac_cv_lib_dl_dlopen = yes; then
   9592   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9593 else
   9594   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9595 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9596 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9597   echo $ECHO_N "(cached) $ECHO_C" >&6
   9598 else
   9599   ac_check_lib_save_LIBS=$LIBS
   9600 LIBS="-lsvld  $LIBS"
   9601 cat >conftest.$ac_ext <<_ACEOF
   9602 /* confdefs.h.  */
   9603 _ACEOF
   9604 cat confdefs.h >>conftest.$ac_ext
   9605 cat >>conftest.$ac_ext <<_ACEOF
   9606 /* end confdefs.h.  */
   9607 
   9608 /* Override any GCC internal prototype to avoid an error.
   9609    Use char because int might match the return type of a GCC
   9610    builtin and then its argument prototype would still apply.  */
   9611 #ifdef __cplusplus
   9612 extern "C"
   9613 #endif
   9614 char dlopen ();
   9615 int
   9616 main ()
   9617 {
   9618 return dlopen ();
   9619   ;
   9620   return 0;
   9621 }
   9622 _ACEOF
   9623 rm -f conftest.$ac_objext conftest$ac_exeext
   9624 if { (ac_try="$ac_link"
   9625 case "(($ac_try" in
   9626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9627   *) ac_try_echo=$ac_try;;
   9628 esac
   9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9630   (eval "$ac_link") 2>conftest.er1
   9631   ac_status=$?
   9632   grep -v '^ *+' conftest.er1 >conftest.err
   9633   rm -f conftest.er1
   9634   cat conftest.err >&5
   9635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9636   (exit $ac_status); } && {
   9637 	 test -z "$ac_c_werror_flag" ||
   9638 	 test ! -s conftest.err
   9639        } && test -s conftest$ac_exeext &&
   9640        $as_test_x conftest$ac_exeext; then
   9641   ac_cv_lib_svld_dlopen=yes
   9642 else
   9643   echo "$as_me: failed program was:" >&5
   9644 sed 's/^/| /' conftest.$ac_ext >&5
   9645 
   9646 	ac_cv_lib_svld_dlopen=no
   9647 fi
   9648 
   9649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9650       conftest$ac_exeext conftest.$ac_ext
   9651 LIBS=$ac_check_lib_save_LIBS
   9652 fi
   9653 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9654 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9655 if test $ac_cv_lib_svld_dlopen = yes; then
   9656   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9657 else
   9658   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9659 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9660 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9661   echo $ECHO_N "(cached) $ECHO_C" >&6
   9662 else
   9663   ac_check_lib_save_LIBS=$LIBS
   9664 LIBS="-ldld  $LIBS"
   9665 cat >conftest.$ac_ext <<_ACEOF
   9666 /* confdefs.h.  */
   9667 _ACEOF
   9668 cat confdefs.h >>conftest.$ac_ext
   9669 cat >>conftest.$ac_ext <<_ACEOF
   9670 /* end confdefs.h.  */
   9671 
   9672 /* Override any GCC internal prototype to avoid an error.
   9673    Use char because int might match the return type of a GCC
   9674    builtin and then its argument prototype would still apply.  */
   9675 #ifdef __cplusplus
   9676 extern "C"
   9677 #endif
   9678 char dld_link ();
   9679 int
   9680 main ()
   9681 {
   9682 return dld_link ();
   9683   ;
   9684   return 0;
   9685 }
   9686 _ACEOF
   9687 rm -f conftest.$ac_objext conftest$ac_exeext
   9688 if { (ac_try="$ac_link"
   9689 case "(($ac_try" in
   9690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9691   *) ac_try_echo=$ac_try;;
   9692 esac
   9693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9694   (eval "$ac_link") 2>conftest.er1
   9695   ac_status=$?
   9696   grep -v '^ *+' conftest.er1 >conftest.err
   9697   rm -f conftest.er1
   9698   cat conftest.err >&5
   9699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9700   (exit $ac_status); } && {
   9701 	 test -z "$ac_c_werror_flag" ||
   9702 	 test ! -s conftest.err
   9703        } && test -s conftest$ac_exeext &&
   9704        $as_test_x conftest$ac_exeext; then
   9705   ac_cv_lib_dld_dld_link=yes
   9706 else
   9707   echo "$as_me: failed program was:" >&5
   9708 sed 's/^/| /' conftest.$ac_ext >&5
   9709 
   9710 	ac_cv_lib_dld_dld_link=no
   9711 fi
   9712 
   9713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9714       conftest$ac_exeext conftest.$ac_ext
   9715 LIBS=$ac_check_lib_save_LIBS
   9716 fi
   9717 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9718 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9719 if test $ac_cv_lib_dld_dld_link = yes; then
   9720   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9721 fi
   9722 
   9723 
   9724 fi
   9725 
   9726 
   9727 fi
   9728 
   9729 
   9730 fi
   9731 
   9732 
   9733 fi
   9734 
   9735 
   9736 fi
   9737 
   9738     ;;
   9739   esac
   9740 
   9741   if test "x$lt_cv_dlopen" != xno; then
   9742     enable_dlopen=yes
   9743   else
   9744     enable_dlopen=no
   9745   fi
   9746 
   9747   case $lt_cv_dlopen in
   9748   dlopen)
   9749     save_CPPFLAGS="$CPPFLAGS"
   9750     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9751 
   9752     save_LDFLAGS="$LDFLAGS"
   9753     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9754 
   9755     save_LIBS="$LIBS"
   9756     LIBS="$lt_cv_dlopen_libs $LIBS"
   9757 
   9758     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9759 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9760 if test "${lt_cv_dlopen_self+set}" = set; then
   9761   echo $ECHO_N "(cached) $ECHO_C" >&6
   9762 else
   9763   	  if test "$cross_compiling" = yes; then :
   9764   lt_cv_dlopen_self=cross
   9765 else
   9766   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9767   lt_status=$lt_dlunknown
   9768   cat > conftest.$ac_ext <<EOF
   9769 #line 9769 "configure"
   9770 #include "confdefs.h"
   9771 
   9772 #if HAVE_DLFCN_H
   9773 #include <dlfcn.h>
   9774 #endif
   9775 
   9776 #include <stdio.h>
   9777 
   9778 #ifdef RTLD_GLOBAL
   9779 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9780 #else
   9781 #  ifdef DL_GLOBAL
   9782 #    define LT_DLGLOBAL		DL_GLOBAL
   9783 #  else
   9784 #    define LT_DLGLOBAL		0
   9785 #  endif
   9786 #endif
   9787 
   9788 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9789    find out it does not work in some platform. */
   9790 #ifndef LT_DLLAZY_OR_NOW
   9791 #  ifdef RTLD_LAZY
   9792 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9793 #  else
   9794 #    ifdef DL_LAZY
   9795 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9796 #    else
   9797 #      ifdef RTLD_NOW
   9798 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9799 #      else
   9800 #        ifdef DL_NOW
   9801 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9802 #        else
   9803 #          define LT_DLLAZY_OR_NOW	0
   9804 #        endif
   9805 #      endif
   9806 #    endif
   9807 #  endif
   9808 #endif
   9809 
   9810 #ifdef __cplusplus
   9811 extern "C" void exit (int);
   9812 #endif
   9813 
   9814 void fnord() { int i=42;}
   9815 int main ()
   9816 {
   9817   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9818   int status = $lt_dlunknown;
   9819 
   9820   if (self)
   9821     {
   9822       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9823       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9824       /* dlclose (self); */
   9825     }
   9826   else
   9827     puts (dlerror ());
   9828 
   9829     exit (status);
   9830 }
   9831 EOF
   9832   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9833   (eval $ac_link) 2>&5
   9834   ac_status=$?
   9835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9836   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9837     (./conftest; exit; ) >&5 2>/dev/null
   9838     lt_status=$?
   9839     case x$lt_status in
   9840       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9841       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9842       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9843     esac
   9844   else :
   9845     # compilation failed
   9846     lt_cv_dlopen_self=no
   9847   fi
   9848 fi
   9849 rm -fr conftest*
   9850 
   9851 
   9852 fi
   9853 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9854 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9855 
   9856     if test "x$lt_cv_dlopen_self" = xyes; then
   9857       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9858       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9859 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9860 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9861   echo $ECHO_N "(cached) $ECHO_C" >&6
   9862 else
   9863   	  if test "$cross_compiling" = yes; then :
   9864   lt_cv_dlopen_self_static=cross
   9865 else
   9866   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9867   lt_status=$lt_dlunknown
   9868   cat > conftest.$ac_ext <<EOF
   9869 #line 9869 "configure"
   9870 #include "confdefs.h"
   9871 
   9872 #if HAVE_DLFCN_H
   9873 #include <dlfcn.h>
   9874 #endif
   9875 
   9876 #include <stdio.h>
   9877 
   9878 #ifdef RTLD_GLOBAL
   9879 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9880 #else
   9881 #  ifdef DL_GLOBAL
   9882 #    define LT_DLGLOBAL		DL_GLOBAL
   9883 #  else
   9884 #    define LT_DLGLOBAL		0
   9885 #  endif
   9886 #endif
   9887 
   9888 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9889    find out it does not work in some platform. */
   9890 #ifndef LT_DLLAZY_OR_NOW
   9891 #  ifdef RTLD_LAZY
   9892 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9893 #  else
   9894 #    ifdef DL_LAZY
   9895 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9896 #    else
   9897 #      ifdef RTLD_NOW
   9898 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9899 #      else
   9900 #        ifdef DL_NOW
   9901 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9902 #        else
   9903 #          define LT_DLLAZY_OR_NOW	0
   9904 #        endif
   9905 #      endif
   9906 #    endif
   9907 #  endif
   9908 #endif
   9909 
   9910 #ifdef __cplusplus
   9911 extern "C" void exit (int);
   9912 #endif
   9913 
   9914 void fnord() { int i=42;}
   9915 int main ()
   9916 {
   9917   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9918   int status = $lt_dlunknown;
   9919 
   9920   if (self)
   9921     {
   9922       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9923       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9924       /* dlclose (self); */
   9925     }
   9926   else
   9927     puts (dlerror ());
   9928 
   9929     exit (status);
   9930 }
   9931 EOF
   9932   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9933   (eval $ac_link) 2>&5
   9934   ac_status=$?
   9935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9936   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9937     (./conftest; exit; ) >&5 2>/dev/null
   9938     lt_status=$?
   9939     case x$lt_status in
   9940       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9941       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9942       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9943     esac
   9944   else :
   9945     # compilation failed
   9946     lt_cv_dlopen_self_static=no
   9947   fi
   9948 fi
   9949 rm -fr conftest*
   9950 
   9951 
   9952 fi
   9953 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9954 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   9955     fi
   9956 
   9957     CPPFLAGS="$save_CPPFLAGS"
   9958     LDFLAGS="$save_LDFLAGS"
   9959     LIBS="$save_LIBS"
   9960     ;;
   9961   esac
   9962 
   9963   case $lt_cv_dlopen_self in
   9964   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9965   *) enable_dlopen_self=unknown ;;
   9966   esac
   9967 
   9968   case $lt_cv_dlopen_self_static in
   9969   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9970   *) enable_dlopen_self_static=unknown ;;
   9971   esac
   9972 fi
   9973 
   9974 
   9975 # Report which library types will actually be built
   9976 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   9977 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   9978 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   9979 echo "${ECHO_T}$can_build_shared" >&6; }
   9980 
   9981 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   9982 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   9983 test "$can_build_shared" = "no" && enable_shared=no
   9984 
   9985 # On AIX, shared libraries and static libraries use the same namespace, and
   9986 # are all built from PIC.
   9987 case $host_os in
   9988 aix3*)
   9989   test "$enable_shared" = yes && enable_static=no
   9990   if test -n "$RANLIB"; then
   9991     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   9992     postinstall_cmds='$RANLIB $lib'
   9993   fi
   9994   ;;
   9995 
   9996 aix4* | aix5*)
   9997   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   9998     test "$enable_shared" = yes && enable_static=no
   9999   fi
   10000     ;;
   10001 esac
   10002 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10003 echo "${ECHO_T}$enable_shared" >&6; }
   10004 
   10005 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10006 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10007 # Make sure either enable_shared or enable_static is yes.
   10008 test "$enable_shared" = yes || enable_static=yes
   10009 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10010 echo "${ECHO_T}$enable_static" >&6; }
   10011 
   10012 # The else clause should only fire when bootstrapping the
   10013 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10014 # with your package, and you will get complaints that there are
   10015 # no rules to generate ltmain.sh.
   10016 if test -f "$ltmain"; then
   10017   # See if we are running on zsh, and set the options which allow our commands through
   10018   # without removal of \ escapes.
   10019   if test -n "${ZSH_VERSION+set}" ; then
   10020     setopt NO_GLOB_SUBST
   10021   fi
   10022   # Now quote all the things that may contain metacharacters while being
   10023   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10024   # variables and quote the copies for generation of the libtool script.
   10025   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10026     SED SHELL STRIP \
   10027     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10028     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10029     deplibs_check_method reload_flag reload_cmds need_locks \
   10030     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10031     lt_cv_sys_global_symbol_to_c_name_address \
   10032     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10033     old_postinstall_cmds old_postuninstall_cmds \
   10034     compiler \
   10035     CC \
   10036     LD \
   10037     lt_prog_compiler_wl \
   10038     lt_prog_compiler_pic \
   10039     lt_prog_compiler_static \
   10040     lt_prog_compiler_no_builtin_flag \
   10041     export_dynamic_flag_spec \
   10042     thread_safe_flag_spec \
   10043     whole_archive_flag_spec \
   10044     enable_shared_with_static_runtimes \
   10045     old_archive_cmds \
   10046     old_archive_from_new_cmds \
   10047     predep_objects \
   10048     postdep_objects \
   10049     predeps \
   10050     postdeps \
   10051     compiler_lib_search_path \
   10052     archive_cmds \
   10053     archive_expsym_cmds \
   10054     postinstall_cmds \
   10055     postuninstall_cmds \
   10056     old_archive_from_expsyms_cmds \
   10057     allow_undefined_flag \
   10058     no_undefined_flag \
   10059     export_symbols_cmds \
   10060     hardcode_libdir_flag_spec \
   10061     hardcode_libdir_flag_spec_ld \
   10062     hardcode_libdir_separator \
   10063     hardcode_automatic \
   10064     module_cmds \
   10065     module_expsym_cmds \
   10066     lt_cv_prog_compiler_c_o \
   10067     exclude_expsyms \
   10068     include_expsyms; do
   10069 
   10070     case $var in
   10071     old_archive_cmds | \
   10072     old_archive_from_new_cmds | \
   10073     archive_cmds | \
   10074     archive_expsym_cmds | \
   10075     module_cmds | \
   10076     module_expsym_cmds | \
   10077     old_archive_from_expsyms_cmds | \
   10078     export_symbols_cmds | \
   10079     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10080     postinstall_cmds | postuninstall_cmds | \
   10081     old_postinstall_cmds | old_postuninstall_cmds | \
   10082     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10083       # Double-quote double-evaled strings.
   10084       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10085       ;;
   10086     *)
   10087       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10088       ;;
   10089     esac
   10090   done
   10091 
   10092   case $lt_echo in
   10093   *'\$0 --fallback-echo"')
   10094     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10095     ;;
   10096   esac
   10097 
   10098 cfgfile="${ofile}T"
   10099   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10100   $rm -f "$cfgfile"
   10101   { echo "$as_me:$LINENO: creating $ofile" >&5
   10102 echo "$as_me: creating $ofile" >&6;}
   10103 
   10104   cat <<__EOF__ >> "$cfgfile"
   10105 #! $SHELL
   10106 
   10107 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10108 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10109 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10110 #
   10111 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10112 # Free Software Foundation, Inc.
   10113 #
   10114 # This file is part of GNU Libtool:
   10115 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10116 #
   10117 # This program is free software; you can redistribute it and/or modify
   10118 # it under the terms of the GNU General Public License as published by
   10119 # the Free Software Foundation; either version 2 of the License, or
   10120 # (at your option) any later version.
   10121 #
   10122 # This program is distributed in the hope that it will be useful, but
   10123 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10124 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10125 # General Public License for more details.
   10126 #
   10127 # You should have received a copy of the GNU General Public License
   10128 # along with this program; if not, write to the Free Software
   10129 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10130 #
   10131 # As a special exception to the GNU General Public License, if you
   10132 # distribute this file as part of a program that contains a
   10133 # configuration script generated by Autoconf, you may include it under
   10134 # the same distribution terms that you use for the rest of that program.
   10135 
   10136 # A sed program that does not truncate output.
   10137 SED=$lt_SED
   10138 
   10139 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10140 Xsed="$SED -e 1s/^X//"
   10141 
   10142 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10143 # if CDPATH is set.
   10144 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10145 
   10146 # The names of the tagged configurations supported by this script.
   10147 available_tags=
   10148 
   10149 # ### BEGIN LIBTOOL CONFIG
   10150 
   10151 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10152 
   10153 # Shell to use when invoking shell scripts.
   10154 SHELL=$lt_SHELL
   10155 
   10156 # Whether or not to build shared libraries.
   10157 build_libtool_libs=$enable_shared
   10158 
   10159 # Whether or not to build static libraries.
   10160 build_old_libs=$enable_static
   10161 
   10162 # Whether or not to add -lc for building shared libraries.
   10163 build_libtool_need_lc=$archive_cmds_need_lc
   10164 
   10165 # Whether or not to disallow shared libs when runtime libs are static
   10166 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10167 
   10168 # Whether or not to optimize for fast installation.
   10169 fast_install=$enable_fast_install
   10170 
   10171 # The host system.
   10172 host_alias=$host_alias
   10173 host=$host
   10174 host_os=$host_os
   10175 
   10176 # The build system.
   10177 build_alias=$build_alias
   10178 build=$build
   10179 build_os=$build_os
   10180 
   10181 # An echo program that does not interpret backslashes.
   10182 echo=$lt_echo
   10183 
   10184 # The archiver.
   10185 AR=$lt_AR
   10186 AR_FLAGS=$lt_AR_FLAGS
   10187 
   10188 # A C compiler.
   10189 LTCC=$lt_LTCC
   10190 
   10191 # LTCC compiler flags.
   10192 LTCFLAGS=$lt_LTCFLAGS
   10193 
   10194 # A language-specific compiler.
   10195 CC=$lt_compiler
   10196 
   10197 # Is the compiler the GNU C compiler?
   10198 with_gcc=$GCC
   10199 
   10200 # An ERE matcher.
   10201 EGREP=$lt_EGREP
   10202 
   10203 # The linker used to build libraries.
   10204 LD=$lt_LD
   10205 
   10206 # Whether we need hard or soft links.
   10207 LN_S=$lt_LN_S
   10208 
   10209 # A BSD-compatible nm program.
   10210 NM=$lt_NM
   10211 
   10212 # A symbol stripping program
   10213 STRIP=$lt_STRIP
   10214 
   10215 # Used to examine libraries when file_magic_cmd begins "file"
   10216 MAGIC_CMD=$MAGIC_CMD
   10217 
   10218 # Used on cygwin: DLL creation program.
   10219 DLLTOOL="$DLLTOOL"
   10220 
   10221 # Used on cygwin: object dumper.
   10222 OBJDUMP="$OBJDUMP"
   10223 
   10224 # Used on cygwin: assembler.
   10225 AS="$AS"
   10226 
   10227 # The name of the directory that contains temporary libtool files.
   10228 objdir=$objdir
   10229 
   10230 # How to create reloadable object files.
   10231 reload_flag=$lt_reload_flag
   10232 reload_cmds=$lt_reload_cmds
   10233 
   10234 # How to pass a linker flag through the compiler.
   10235 wl=$lt_lt_prog_compiler_wl
   10236 
   10237 # Object file suffix (normally "o").
   10238 objext="$ac_objext"
   10239 
   10240 # Old archive suffix (normally "a").
   10241 libext="$libext"
   10242 
   10243 # Shared library suffix (normally ".so").
   10244 shrext_cmds='$shrext_cmds'
   10245 
   10246 # Executable file suffix (normally "").
   10247 exeext="$exeext"
   10248 
   10249 # Additional compiler flags for building library objects.
   10250 pic_flag=$lt_lt_prog_compiler_pic
   10251 pic_mode=$pic_mode
   10252 
   10253 # What is the maximum length of a command?
   10254 max_cmd_len=$lt_cv_sys_max_cmd_len
   10255 
   10256 # Does compiler simultaneously support -c and -o options?
   10257 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10258 
   10259 # Must we lock files when doing compilation?
   10260 need_locks=$lt_need_locks
   10261 
   10262 # Do we need the lib prefix for modules?
   10263 need_lib_prefix=$need_lib_prefix
   10264 
   10265 # Do we need a version for libraries?
   10266 need_version=$need_version
   10267 
   10268 # Whether dlopen is supported.
   10269 dlopen_support=$enable_dlopen
   10270 
   10271 # Whether dlopen of programs is supported.
   10272 dlopen_self=$enable_dlopen_self
   10273 
   10274 # Whether dlopen of statically linked programs is supported.
   10275 dlopen_self_static=$enable_dlopen_self_static
   10276 
   10277 # Compiler flag to prevent dynamic linking.
   10278 link_static_flag=$lt_lt_prog_compiler_static
   10279 
   10280 # Compiler flag to turn off builtin functions.
   10281 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10282 
   10283 # Compiler flag to allow reflexive dlopens.
   10284 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10285 
   10286 # Compiler flag to generate shared objects directly from archives.
   10287 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10288 
   10289 # Compiler flag to generate thread-safe objects.
   10290 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10291 
   10292 # Library versioning type.
   10293 version_type=$version_type
   10294 
   10295 # Format of library name prefix.
   10296 libname_spec=$lt_libname_spec
   10297 
   10298 # List of archive names.  First name is the real one, the rest are links.
   10299 # The last name is the one that the linker finds with -lNAME.
   10300 library_names_spec=$lt_library_names_spec
   10301 
   10302 # The coded name of the library, if different from the real name.
   10303 soname_spec=$lt_soname_spec
   10304 
   10305 # Commands used to build and install an old-style archive.
   10306 RANLIB=$lt_RANLIB
   10307 old_archive_cmds=$lt_old_archive_cmds
   10308 old_postinstall_cmds=$lt_old_postinstall_cmds
   10309 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10310 
   10311 # Create an old-style archive from a shared archive.
   10312 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10313 
   10314 # Create a temporary old-style archive to link instead of a shared archive.
   10315 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10316 
   10317 # Commands used to build and install a shared archive.
   10318 archive_cmds=$lt_archive_cmds
   10319 archive_expsym_cmds=$lt_archive_expsym_cmds
   10320 postinstall_cmds=$lt_postinstall_cmds
   10321 postuninstall_cmds=$lt_postuninstall_cmds
   10322 
   10323 # Commands used to build a loadable module (assumed same as above if empty)
   10324 module_cmds=$lt_module_cmds
   10325 module_expsym_cmds=$lt_module_expsym_cmds
   10326 
   10327 # Commands to strip libraries.
   10328 old_striplib=$lt_old_striplib
   10329 striplib=$lt_striplib
   10330 
   10331 # Dependencies to place before the objects being linked to create a
   10332 # shared library.
   10333 predep_objects=$lt_predep_objects
   10334 
   10335 # Dependencies to place after the objects being linked to create a
   10336 # shared library.
   10337 postdep_objects=$lt_postdep_objects
   10338 
   10339 # Dependencies to place before the objects being linked to create a
   10340 # shared library.
   10341 predeps=$lt_predeps
   10342 
   10343 # Dependencies to place after the objects being linked to create a
   10344 # shared library.
   10345 postdeps=$lt_postdeps
   10346 
   10347 # The library search path used internally by the compiler when linking
   10348 # a shared library.
   10349 compiler_lib_search_path=$lt_compiler_lib_search_path
   10350 
   10351 # Method to check whether dependent libraries are shared objects.
   10352 deplibs_check_method=$lt_deplibs_check_method
   10353 
   10354 # Command to use when deplibs_check_method == file_magic.
   10355 file_magic_cmd=$lt_file_magic_cmd
   10356 
   10357 # Flag that allows shared libraries with undefined symbols to be built.
   10358 allow_undefined_flag=$lt_allow_undefined_flag
   10359 
   10360 # Flag that forces no undefined symbols.
   10361 no_undefined_flag=$lt_no_undefined_flag
   10362 
   10363 # Commands used to finish a libtool library installation in a directory.
   10364 finish_cmds=$lt_finish_cmds
   10365 
   10366 # Same as above, but a single script fragment to be evaled but not shown.
   10367 finish_eval=$lt_finish_eval
   10368 
   10369 # Take the output of nm and produce a listing of raw symbols and C names.
   10370 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10371 
   10372 # Transform the output of nm in a proper C declaration
   10373 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10374 
   10375 # Transform the output of nm in a C name address pair
   10376 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10377 
   10378 # This is the shared library runtime path variable.
   10379 runpath_var=$runpath_var
   10380 
   10381 # This is the shared library path variable.
   10382 shlibpath_var=$shlibpath_var
   10383 
   10384 # Is shlibpath searched before the hard-coded library search path?
   10385 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10386 
   10387 # How to hardcode a shared library path into an executable.
   10388 hardcode_action=$hardcode_action
   10389 
   10390 # Whether we should hardcode library paths into libraries.
   10391 hardcode_into_libs=$hardcode_into_libs
   10392 
   10393 # Flag to hardcode \$libdir into a binary during linking.
   10394 # This must work even if \$libdir does not exist.
   10395 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10396 
   10397 # If ld is used when linking, flag to hardcode \$libdir into
   10398 # a binary during linking. This must work even if \$libdir does
   10399 # not exist.
   10400 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10401 
   10402 # Whether we need a single -rpath flag with a separated argument.
   10403 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10404 
   10405 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10406 # resulting binary.
   10407 hardcode_direct=$hardcode_direct
   10408 
   10409 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10410 # resulting binary.
   10411 hardcode_minus_L=$hardcode_minus_L
   10412 
   10413 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10414 # the resulting binary.
   10415 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10416 
   10417 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10418 # and all subsequent libraries and executables linked against it.
   10419 hardcode_automatic=$hardcode_automatic
   10420 
   10421 # Variables whose values should be saved in libtool wrapper scripts and
   10422 # restored at relink time.
   10423 variables_saved_for_relink="$variables_saved_for_relink"
   10424 
   10425 # Whether libtool must link a program against all its dependency libraries.
   10426 link_all_deplibs=$link_all_deplibs
   10427 
   10428 # Compile-time system search path for libraries
   10429 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10430 
   10431 # Run-time system search path for libraries
   10432 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10433 
   10434 # Fix the shell variable \$srcfile for the compiler.
   10435 fix_srcfile_path="$fix_srcfile_path"
   10436 
   10437 # Set to yes if exported symbols are required.
   10438 always_export_symbols=$always_export_symbols
   10439 
   10440 # The commands to list exported symbols.
   10441 export_symbols_cmds=$lt_export_symbols_cmds
   10442 
   10443 # The commands to extract the exported symbol list from a shared archive.
   10444 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10445 
   10446 # Symbols that should not be listed in the preloaded symbols.
   10447 exclude_expsyms=$lt_exclude_expsyms
   10448 
   10449 # Symbols that must always be exported.
   10450 include_expsyms=$lt_include_expsyms
   10451 
   10452 # ### END LIBTOOL CONFIG
   10453 
   10454 __EOF__
   10455 
   10456 
   10457   case $host_os in
   10458   aix3*)
   10459     cat <<\EOF >> "$cfgfile"
   10460 
   10461 # AIX sometimes has problems with the GCC collect2 program.  For some
   10462 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10463 # vanish in a puff of smoke.
   10464 if test "X${COLLECT_NAMES+set}" != Xset; then
   10465   COLLECT_NAMES=
   10466   export COLLECT_NAMES
   10467 fi
   10468 EOF
   10469     ;;
   10470   esac
   10471 
   10472   # We use sed instead of cat because bash on DJGPP gets confused if
   10473   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10474   # text mode, it properly converts lines to CR/LF.  This bash problem
   10475   # is reportedly fixed, but why not run on old versions too?
   10476   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10477 
   10478   mv -f "$cfgfile" "$ofile" || \
   10479     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10480   chmod +x "$ofile"
   10481 
   10482 else
   10483   # If there is no Makefile yet, we rely on a make rule to execute
   10484   # `config.status --recheck' to rerun these tests and create the
   10485   # libtool script then.
   10486   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10487   if test -f "$ltmain_in"; then
   10488     test -f Makefile && make "$ltmain"
   10489   fi
   10490 fi
   10491 
   10492 
   10493 ac_ext=c
   10494 ac_cpp='$CPP $CPPFLAGS'
   10495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10498 
   10499 CC="$lt_save_CC"
   10500 
   10501 
   10502 # Check whether --with-tags was given.
   10503 if test "${with_tags+set}" = set; then
   10504   withval=$with_tags; tagnames="$withval"
   10505 fi
   10506 
   10507 
   10508 if test -f "$ltmain" && test -n "$tagnames"; then
   10509   if test ! -f "${ofile}"; then
   10510     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10511 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10512   fi
   10513 
   10514   if test -z "$LTCC"; then
   10515     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10516     if test -z "$LTCC"; then
   10517       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10518 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10519     else
   10520       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10521 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10522     fi
   10523   fi
   10524   if test -z "$LTCFLAGS"; then
   10525     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10526   fi
   10527 
   10528   # Extract list of available tagged configurations in $ofile.
   10529   # Note that this assumes the entire list is on one line.
   10530   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10531 
   10532   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10533   for tagname in $tagnames; do
   10534     IFS="$lt_save_ifs"
   10535     # Check whether tagname contains only valid characters
   10536     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10537     "") ;;
   10538     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10539 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10540    { (exit 1); exit 1; }; }
   10541 	;;
   10542     esac
   10543 
   10544     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10545     then
   10546       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10547 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10548    { (exit 1); exit 1; }; }
   10549     fi
   10550 
   10551     # Update the list of available tags.
   10552     if test -n "$tagname"; then
   10553       echo appending configuration tag \"$tagname\" to $ofile
   10554 
   10555       case $tagname in
   10556       CXX)
   10557 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10558 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10559 	    (test "X$CXX" != "Xg++"))) ; then
   10560 	  ac_ext=cpp
   10561 ac_cpp='$CXXCPP $CPPFLAGS'
   10562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10565 
   10566 
   10567 
   10568 
   10569 archive_cmds_need_lc_CXX=no
   10570 allow_undefined_flag_CXX=
   10571 always_export_symbols_CXX=no
   10572 archive_expsym_cmds_CXX=
   10573 export_dynamic_flag_spec_CXX=
   10574 hardcode_direct_CXX=no
   10575 hardcode_libdir_flag_spec_CXX=
   10576 hardcode_libdir_flag_spec_ld_CXX=
   10577 hardcode_libdir_separator_CXX=
   10578 hardcode_minus_L_CXX=no
   10579 hardcode_shlibpath_var_CXX=unsupported
   10580 hardcode_automatic_CXX=no
   10581 module_cmds_CXX=
   10582 module_expsym_cmds_CXX=
   10583 link_all_deplibs_CXX=unknown
   10584 old_archive_cmds_CXX=$old_archive_cmds
   10585 no_undefined_flag_CXX=
   10586 whole_archive_flag_spec_CXX=
   10587 enable_shared_with_static_runtimes_CXX=no
   10588 
   10589 # Dependencies to place before and after the object being linked:
   10590 predep_objects_CXX=
   10591 postdep_objects_CXX=
   10592 predeps_CXX=
   10593 postdeps_CXX=
   10594 compiler_lib_search_path_CXX=
   10595 
   10596 # Source file extension for C++ test sources.
   10597 ac_ext=cpp
   10598 
   10599 # Object file extension for compiled C++ test sources.
   10600 objext=o
   10601 objext_CXX=$objext
   10602 
   10603 # Code to be used in simple compile tests
   10604 lt_simple_compile_test_code="int some_variable = 0;\n"
   10605 
   10606 # Code to be used in simple link tests
   10607 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10608 
   10609 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10610 
   10611 # If no C compiler was specified, use CC.
   10612 LTCC=${LTCC-"$CC"}
   10613 
   10614 # If no C compiler flags were specified, use CFLAGS.
   10615 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10616 
   10617 # Allow CC to be a program name with arguments.
   10618 compiler=$CC
   10619 
   10620 
   10621 # save warnings/boilerplate of simple test code
   10622 ac_outfile=conftest.$ac_objext
   10623 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10624 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10625 _lt_compiler_boilerplate=`cat conftest.err`
   10626 $rm conftest*
   10627 
   10628 ac_outfile=conftest.$ac_objext
   10629 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10630 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10631 _lt_linker_boilerplate=`cat conftest.err`
   10632 $rm conftest*
   10633 
   10634 
   10635 # Allow CC to be a program name with arguments.
   10636 lt_save_CC=$CC
   10637 lt_save_LD=$LD
   10638 lt_save_GCC=$GCC
   10639 GCC=$GXX
   10640 lt_save_with_gnu_ld=$with_gnu_ld
   10641 lt_save_path_LD=$lt_cv_path_LD
   10642 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10643   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10644 else
   10645   $as_unset lt_cv_prog_gnu_ld
   10646 fi
   10647 if test -n "${lt_cv_path_LDCXX+set}"; then
   10648   lt_cv_path_LD=$lt_cv_path_LDCXX
   10649 else
   10650   $as_unset lt_cv_path_LD
   10651 fi
   10652 test -z "${LDCXX+set}" || LD=$LDCXX
   10653 CC=${CXX-"c++"}
   10654 compiler=$CC
   10655 compiler_CXX=$CC
   10656 for cc_temp in $compiler""; do
   10657   case $cc_temp in
   10658     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10659     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10660     \-*) ;;
   10661     *) break;;
   10662   esac
   10663 done
   10664 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10665 
   10666 
   10667 # We don't want -fno-exception wen compiling C++ code, so set the
   10668 # no_builtin_flag separately
   10669 if test "$GXX" = yes; then
   10670   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10671 else
   10672   lt_prog_compiler_no_builtin_flag_CXX=
   10673 fi
   10674 
   10675 if test "$GXX" = yes; then
   10676   # Set up default GNU C++ configuration
   10677 
   10678 
   10679 # Check whether --with-gnu-ld was given.
   10680 if test "${with_gnu_ld+set}" = set; then
   10681   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10682 else
   10683   with_gnu_ld=no
   10684 fi
   10685 
   10686 ac_prog=ld
   10687 if test "$GCC" = yes; then
   10688   # Check if gcc -print-prog-name=ld gives a path.
   10689   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10690 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10691   case $host in
   10692   *-*-mingw*)
   10693     # gcc leaves a trailing carriage return which upsets mingw
   10694     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10695   *)
   10696     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10697   esac
   10698   case $ac_prog in
   10699     # Accept absolute paths.
   10700     [\\/]* | ?:[\\/]*)
   10701       re_direlt='/[^/][^/]*/\.\./'
   10702       # Canonicalize the pathname of ld
   10703       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10704       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10705 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10706       done
   10707       test -z "$LD" && LD="$ac_prog"
   10708       ;;
   10709   "")
   10710     # If it fails, then pretend we aren't using GCC.
   10711     ac_prog=ld
   10712     ;;
   10713   *)
   10714     # If it is relative, then search for the first ld in PATH.
   10715     with_gnu_ld=unknown
   10716     ;;
   10717   esac
   10718 elif test "$with_gnu_ld" = yes; then
   10719   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10720 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10721 else
   10722   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10723 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10724 fi
   10725 if test "${lt_cv_path_LD+set}" = set; then
   10726   echo $ECHO_N "(cached) $ECHO_C" >&6
   10727 else
   10728   if test -z "$LD"; then
   10729   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10730   for ac_dir in $PATH; do
   10731     IFS="$lt_save_ifs"
   10732     test -z "$ac_dir" && ac_dir=.
   10733     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10734       lt_cv_path_LD="$ac_dir/$ac_prog"
   10735       # Check to see if the program is GNU ld.  I'd rather use --version,
   10736       # but apparently some variants of GNU ld only accept -v.
   10737       # Break only if it was the GNU/non-GNU ld that we prefer.
   10738       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10739       *GNU* | *'with BFD'*)
   10740 	test "$with_gnu_ld" != no && break
   10741 	;;
   10742       *)
   10743 	test "$with_gnu_ld" != yes && break
   10744 	;;
   10745       esac
   10746     fi
   10747   done
   10748   IFS="$lt_save_ifs"
   10749 else
   10750   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10751 fi
   10752 fi
   10753 
   10754 LD="$lt_cv_path_LD"
   10755 if test -n "$LD"; then
   10756   { echo "$as_me:$LINENO: result: $LD" >&5
   10757 echo "${ECHO_T}$LD" >&6; }
   10758 else
   10759   { echo "$as_me:$LINENO: result: no" >&5
   10760 echo "${ECHO_T}no" >&6; }
   10761 fi
   10762 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10763 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10764    { (exit 1); exit 1; }; }
   10765 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10766 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10767 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10768   echo $ECHO_N "(cached) $ECHO_C" >&6
   10769 else
   10770   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10771 case `$LD -v 2>&1 </dev/null` in
   10772 *GNU* | *'with BFD'*)
   10773   lt_cv_prog_gnu_ld=yes
   10774   ;;
   10775 *)
   10776   lt_cv_prog_gnu_ld=no
   10777   ;;
   10778 esac
   10779 fi
   10780 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10781 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10782 with_gnu_ld=$lt_cv_prog_gnu_ld
   10783 
   10784 
   10785 
   10786   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10787   # archiving commands below assume that GNU ld is being used.
   10788   if test "$with_gnu_ld" = yes; then
   10789     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10790     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'
   10791 
   10792     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10793     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10794 
   10795     # If archive_cmds runs LD, not CC, wlarc should be empty
   10796     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10797     #     investigate it a little bit more. (MM)
   10798     wlarc='${wl}'
   10799 
   10800     # ancient GNU ld didn't support --whole-archive et. al.
   10801     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10802 	grep 'no-whole-archive' > /dev/null; then
   10803       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10804     else
   10805       whole_archive_flag_spec_CXX=
   10806     fi
   10807   else
   10808     with_gnu_ld=no
   10809     wlarc=
   10810 
   10811     # A generic and very simple default shared library creation
   10812     # command for GNU C++ for the case where it uses the native
   10813     # linker, instead of GNU ld.  If possible, this setting should
   10814     # overridden to take advantage of the native linker features on
   10815     # the platform it is being used on.
   10816     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10817   fi
   10818 
   10819   # Commands to make compiler produce verbose output that lists
   10820   # what "hidden" libraries, object files and flags are used when
   10821   # linking a shared library.
   10822   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10823 
   10824 else
   10825   GXX=no
   10826   with_gnu_ld=no
   10827   wlarc=
   10828 fi
   10829 
   10830 # PORTME: fill in a description of your system's C++ link characteristics
   10831 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10832 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10833 ld_shlibs_CXX=yes
   10834 case $host_os in
   10835   aix3*)
   10836     # FIXME: insert proper C++ library support
   10837     ld_shlibs_CXX=no
   10838     ;;
   10839   aix4* | aix5*)
   10840     if test "$host_cpu" = ia64; then
   10841       # On IA64, the linker does run time linking by default, so we don't
   10842       # have to do anything special.
   10843       aix_use_runtimelinking=no
   10844       exp_sym_flag='-Bexport'
   10845       no_entry_flag=""
   10846     else
   10847       aix_use_runtimelinking=no
   10848 
   10849       # Test if we are trying to use run time linking or normal
   10850       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10851       # need to do runtime linking.
   10852       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10853 	for ld_flag in $LDFLAGS; do
   10854 	  case $ld_flag in
   10855 	  *-brtl*)
   10856 	    aix_use_runtimelinking=yes
   10857 	    break
   10858 	    ;;
   10859 	  esac
   10860 	done
   10861 	;;
   10862       esac
   10863 
   10864       exp_sym_flag='-bexport'
   10865       no_entry_flag='-bnoentry'
   10866     fi
   10867 
   10868     # When large executables or shared objects are built, AIX ld can
   10869     # have problems creating the table of contents.  If linking a library
   10870     # or program results in "error TOC overflow" add -mminimal-toc to
   10871     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10872     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10873 
   10874     archive_cmds_CXX=''
   10875     hardcode_direct_CXX=yes
   10876     hardcode_libdir_separator_CXX=':'
   10877     link_all_deplibs_CXX=yes
   10878 
   10879     if test "$GXX" = yes; then
   10880       case $host_os in aix4.[012]|aix4.[012].*)
   10881       # We only want to do this on AIX 4.2 and lower, the check
   10882       # below for broken collect2 doesn't work under 4.3+
   10883 	collect2name=`${CC} -print-prog-name=collect2`
   10884 	if test -f "$collect2name" && \
   10885 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10886 	then
   10887 	  # We have reworked collect2
   10888 	  hardcode_direct_CXX=yes
   10889 	else
   10890 	  # We have old collect2
   10891 	  hardcode_direct_CXX=unsupported
   10892 	  # It fails to find uninstalled libraries when the uninstalled
   10893 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10894 	  # to unsupported forces relinking
   10895 	  hardcode_minus_L_CXX=yes
   10896 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10897 	  hardcode_libdir_separator_CXX=
   10898 	fi
   10899 	;;
   10900       esac
   10901       shared_flag='-shared'
   10902       if test "$aix_use_runtimelinking" = yes; then
   10903 	shared_flag="$shared_flag "'${wl}-G'
   10904       fi
   10905     else
   10906       # not using gcc
   10907       if test "$host_cpu" = ia64; then
   10908 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10909 	# chokes on -Wl,-G. The following line is correct:
   10910 	shared_flag='-G'
   10911       else
   10912 	if test "$aix_use_runtimelinking" = yes; then
   10913 	  shared_flag='${wl}-G'
   10914 	else
   10915 	  shared_flag='${wl}-bM:SRE'
   10916 	fi
   10917       fi
   10918     fi
   10919 
   10920     # It seems that -bexpall does not export symbols beginning with
   10921     # underscore (_), so it is better to generate a list of symbols to export.
   10922     always_export_symbols_CXX=yes
   10923     if test "$aix_use_runtimelinking" = yes; then
   10924       # Warning - without using the other runtime loading flags (-brtl),
   10925       # -berok will link without error, but may produce a broken library.
   10926       allow_undefined_flag_CXX='-berok'
   10927       # Determine the default libpath from the value encoded in an empty executable.
   10928       cat >conftest.$ac_ext <<_ACEOF
   10929 /* confdefs.h.  */
   10930 _ACEOF
   10931 cat confdefs.h >>conftest.$ac_ext
   10932 cat >>conftest.$ac_ext <<_ACEOF
   10933 /* end confdefs.h.  */
   10934 
   10935 int
   10936 main ()
   10937 {
   10938 
   10939   ;
   10940   return 0;
   10941 }
   10942 _ACEOF
   10943 rm -f conftest.$ac_objext conftest$ac_exeext
   10944 if { (ac_try="$ac_link"
   10945 case "(($ac_try" in
   10946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10947   *) ac_try_echo=$ac_try;;
   10948 esac
   10949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10950   (eval "$ac_link") 2>conftest.er1
   10951   ac_status=$?
   10952   grep -v '^ *+' conftest.er1 >conftest.err
   10953   rm -f conftest.er1
   10954   cat conftest.err >&5
   10955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10956   (exit $ac_status); } && {
   10957 	 test -z "$ac_cxx_werror_flag" ||
   10958 	 test ! -s conftest.err
   10959        } && test -s conftest$ac_exeext &&
   10960        $as_test_x conftest$ac_exeext; then
   10961 
   10962 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10963 }'`
   10964 # Check for a 64-bit object if we didn't find anything.
   10965 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10966 }'`; fi
   10967 else
   10968   echo "$as_me: failed program was:" >&5
   10969 sed 's/^/| /' conftest.$ac_ext >&5
   10970 
   10971 
   10972 fi
   10973 
   10974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10975       conftest$ac_exeext conftest.$ac_ext
   10976 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10977 
   10978       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10979 
   10980       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"
   10981      else
   10982       if test "$host_cpu" = ia64; then
   10983 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   10984 	allow_undefined_flag_CXX="-z nodefs"
   10985 	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"
   10986       else
   10987 	# Determine the default libpath from the value encoded in an empty executable.
   10988 	cat >conftest.$ac_ext <<_ACEOF
   10989 /* confdefs.h.  */
   10990 _ACEOF
   10991 cat confdefs.h >>conftest.$ac_ext
   10992 cat >>conftest.$ac_ext <<_ACEOF
   10993 /* end confdefs.h.  */
   10994 
   10995 int
   10996 main ()
   10997 {
   10998 
   10999   ;
   11000   return 0;
   11001 }
   11002 _ACEOF
   11003 rm -f conftest.$ac_objext conftest$ac_exeext
   11004 if { (ac_try="$ac_link"
   11005 case "(($ac_try" in
   11006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11007   *) ac_try_echo=$ac_try;;
   11008 esac
   11009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11010   (eval "$ac_link") 2>conftest.er1
   11011   ac_status=$?
   11012   grep -v '^ *+' conftest.er1 >conftest.err
   11013   rm -f conftest.er1
   11014   cat conftest.err >&5
   11015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11016   (exit $ac_status); } && {
   11017 	 test -z "$ac_cxx_werror_flag" ||
   11018 	 test ! -s conftest.err
   11019        } && test -s conftest$ac_exeext &&
   11020        $as_test_x conftest$ac_exeext; then
   11021 
   11022 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11023 }'`
   11024 # Check for a 64-bit object if we didn't find anything.
   11025 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11026 }'`; fi
   11027 else
   11028   echo "$as_me: failed program was:" >&5
   11029 sed 's/^/| /' conftest.$ac_ext >&5
   11030 
   11031 
   11032 fi
   11033 
   11034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11035       conftest$ac_exeext conftest.$ac_ext
   11036 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11037 
   11038 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11039 	# Warning - without using the other run time loading flags,
   11040 	# -berok will link without error, but may produce a broken library.
   11041 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11042 	allow_undefined_flag_CXX=' ${wl}-berok'
   11043 	# Exported symbols can be pulled into shared objects from archives
   11044 	whole_archive_flag_spec_CXX='$convenience'
   11045 	archive_cmds_need_lc_CXX=yes
   11046 	# This is similar to how AIX traditionally builds its shared libraries.
   11047 	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'
   11048       fi
   11049     fi
   11050     ;;
   11051 
   11052   beos*)
   11053     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11054       allow_undefined_flag_CXX=unsupported
   11055       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11056       # support --undefined.  This deserves some investigation.  FIXME
   11057       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11058     else
   11059       ld_shlibs_CXX=no
   11060     fi
   11061     ;;
   11062 
   11063   chorus*)
   11064     case $cc_basename in
   11065       *)
   11066 	# FIXME: insert proper C++ library support
   11067 	ld_shlibs_CXX=no
   11068 	;;
   11069     esac
   11070     ;;
   11071 
   11072   cygwin* | mingw* | pw32*)
   11073     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11074     # as there is no search path for DLLs.
   11075     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11076     allow_undefined_flag_CXX=unsupported
   11077     always_export_symbols_CXX=no
   11078     enable_shared_with_static_runtimes_CXX=yes
   11079 
   11080     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11081       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'
   11082       # If the export-symbols file already is a .def file (1st line
   11083       # is EXPORTS), use it as is; otherwise, prepend...
   11084       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11085 	cp $export_symbols $output_objdir/$soname.def;
   11086       else
   11087 	echo EXPORTS > $output_objdir/$soname.def;
   11088 	cat $export_symbols >> $output_objdir/$soname.def;
   11089       fi~
   11090       $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'
   11091     else
   11092       ld_shlibs_CXX=no
   11093     fi
   11094   ;;
   11095       darwin* | rhapsody*)
   11096         case $host_os in
   11097         rhapsody* | darwin1.[012])
   11098          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11099          ;;
   11100        *) # Darwin 1.3 on
   11101          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11102            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11103          else
   11104            case ${MACOSX_DEPLOYMENT_TARGET} in
   11105              10.[012])
   11106                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11107                ;;
   11108              10.*)
   11109                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11110                ;;
   11111            esac
   11112          fi
   11113          ;;
   11114         esac
   11115       archive_cmds_need_lc_CXX=no
   11116       hardcode_direct_CXX=no
   11117       hardcode_automatic_CXX=yes
   11118       hardcode_shlibpath_var_CXX=unsupported
   11119       whole_archive_flag_spec_CXX=''
   11120       link_all_deplibs_CXX=yes
   11121 
   11122     if test "$GXX" = yes ; then
   11123       lt_int_apple_cc_single_mod=no
   11124       output_verbose_link_cmd='echo'
   11125       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11126        lt_int_apple_cc_single_mod=yes
   11127       fi
   11128       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11129        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11130       else
   11131           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'
   11132         fi
   11133         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11134         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11135           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11136             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11137           else
   11138             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11139           fi
   11140             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}'
   11141       else
   11142       case $cc_basename in
   11143         xlc*)
   11144          output_verbose_link_cmd='echo'
   11145           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   11146           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11147           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11148           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11149           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}'
   11150           ;;
   11151        *)
   11152          ld_shlibs_CXX=no
   11153           ;;
   11154       esac
   11155       fi
   11156         ;;
   11157 
   11158   dgux*)
   11159     case $cc_basename in
   11160       ec++*)
   11161 	# FIXME: insert proper C++ library support
   11162 	ld_shlibs_CXX=no
   11163 	;;
   11164       ghcx*)
   11165 	# Green Hills C++ Compiler
   11166 	# FIXME: insert proper C++ library support
   11167 	ld_shlibs_CXX=no
   11168 	;;
   11169       *)
   11170 	# FIXME: insert proper C++ library support
   11171 	ld_shlibs_CXX=no
   11172 	;;
   11173     esac
   11174     ;;
   11175   freebsd[12]*)
   11176     # C++ shared libraries reported to be fairly broken before switch to ELF
   11177     ld_shlibs_CXX=no
   11178     ;;
   11179   freebsd-elf*)
   11180     archive_cmds_need_lc_CXX=no
   11181     ;;
   11182   freebsd* | kfreebsd*-gnu | dragonfly*)
   11183     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11184     # conventions
   11185     ld_shlibs_CXX=yes
   11186     ;;
   11187   gnu*)
   11188     ;;
   11189   hpux9*)
   11190     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11191     hardcode_libdir_separator_CXX=:
   11192     export_dynamic_flag_spec_CXX='${wl}-E'
   11193     hardcode_direct_CXX=yes
   11194     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11195 				# but as the default
   11196 				# location of the library.
   11197 
   11198     case $cc_basename in
   11199     CC*)
   11200       # FIXME: insert proper C++ library support
   11201       ld_shlibs_CXX=no
   11202       ;;
   11203     aCC*)
   11204       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'
   11205       # Commands to make compiler produce verbose output that lists
   11206       # what "hidden" libraries, object files and flags are used when
   11207       # linking a shared library.
   11208       #
   11209       # There doesn't appear to be a way to prevent this compiler from
   11210       # explicitly linking system object files so we need to strip them
   11211       # from the output so that they don't get included in the library
   11212       # dependencies.
   11213       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'
   11214       ;;
   11215     *)
   11216       if test "$GXX" = yes; then
   11217         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'
   11218       else
   11219         # FIXME: insert proper C++ library support
   11220         ld_shlibs_CXX=no
   11221       fi
   11222       ;;
   11223     esac
   11224     ;;
   11225   hpux10*|hpux11*)
   11226     if test $with_gnu_ld = no; then
   11227       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11228       hardcode_libdir_separator_CXX=:
   11229 
   11230       case $host_cpu in
   11231       hppa*64*|ia64*)
   11232 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11233         ;;
   11234       *)
   11235 	export_dynamic_flag_spec_CXX='${wl}-E'
   11236         ;;
   11237       esac
   11238     fi
   11239     case $host_cpu in
   11240     hppa*64*|ia64*)
   11241       hardcode_direct_CXX=no
   11242       hardcode_shlibpath_var_CXX=no
   11243       ;;
   11244     *)
   11245       hardcode_direct_CXX=yes
   11246       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11247 					      # but as the default
   11248 					      # location of the library.
   11249       ;;
   11250     esac
   11251 
   11252     case $cc_basename in
   11253       CC*)
   11254 	# FIXME: insert proper C++ library support
   11255 	ld_shlibs_CXX=no
   11256 	;;
   11257       aCC*)
   11258 	case $host_cpu in
   11259 	hppa*64*)
   11260 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11261 	  ;;
   11262 	ia64*)
   11263 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11264 	  ;;
   11265 	*)
   11266 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11267 	  ;;
   11268 	esac
   11269 	# Commands to make compiler produce verbose output that lists
   11270 	# what "hidden" libraries, object files and flags are used when
   11271 	# linking a shared library.
   11272 	#
   11273 	# There doesn't appear to be a way to prevent this compiler from
   11274 	# explicitly linking system object files so we need to strip them
   11275 	# from the output so that they don't get included in the library
   11276 	# dependencies.
   11277 	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'
   11278 	;;
   11279       *)
   11280 	if test "$GXX" = yes; then
   11281 	  if test $with_gnu_ld = no; then
   11282 	    case $host_cpu in
   11283 	    hppa*64*)
   11284 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11285 	      ;;
   11286 	    ia64*)
   11287 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11288 	      ;;
   11289 	    *)
   11290 	      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'
   11291 	      ;;
   11292 	    esac
   11293 	  fi
   11294 	else
   11295 	  # FIXME: insert proper C++ library support
   11296 	  ld_shlibs_CXX=no
   11297 	fi
   11298 	;;
   11299     esac
   11300     ;;
   11301   interix3*)
   11302     hardcode_direct_CXX=no
   11303     hardcode_shlibpath_var_CXX=no
   11304     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11305     export_dynamic_flag_spec_CXX='${wl}-E'
   11306     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11307     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11308     # default) and relocated if they conflict, which is a slow very memory
   11309     # consuming and fragmenting process.  To avoid this, we pick a random,
   11310     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11311     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11312     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'
   11313     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'
   11314     ;;
   11315   irix5* | irix6*)
   11316     case $cc_basename in
   11317       CC*)
   11318 	# SGI C++
   11319 	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'
   11320 
   11321 	# Archives containing C++ object files must be created using
   11322 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11323 	# necessary to make sure instantiated templates are included
   11324 	# in the archive.
   11325 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11326 	;;
   11327       *)
   11328 	if test "$GXX" = yes; then
   11329 	  if test "$with_gnu_ld" = no; then
   11330 	    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'
   11331 	  else
   11332 	    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'
   11333 	  fi
   11334 	fi
   11335 	link_all_deplibs_CXX=yes
   11336 	;;
   11337     esac
   11338     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11339     hardcode_libdir_separator_CXX=:
   11340     ;;
   11341   linux*)
   11342     case $cc_basename in
   11343       KCC*)
   11344 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11345 
   11346 	# KCC will only create a shared library if the output file
   11347 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11348 	# to its proper name (with version) after linking.
   11349 	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'
   11350 	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'
   11351 	# Commands to make compiler produce verbose output that lists
   11352 	# what "hidden" libraries, object files and flags are used when
   11353 	# linking a shared library.
   11354 	#
   11355 	# There doesn't appear to be a way to prevent this compiler from
   11356 	# explicitly linking system object files so we need to strip them
   11357 	# from the output so that they don't get included in the library
   11358 	# dependencies.
   11359 	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'
   11360 
   11361 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11362 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11363 
   11364 	# Archives containing C++ object files must be created using
   11365 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11366 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11367 	;;
   11368       icpc*)
   11369 	# Intel C++
   11370 	with_gnu_ld=yes
   11371 	# version 8.0 and above of icpc choke on multiply defined symbols
   11372 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11373 	# earlier do not add the objects themselves.
   11374 	case `$CC -V 2>&1` in
   11375 	*"Version 7."*)
   11376   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11377   	  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'
   11378 	  ;;
   11379 	*)  # Version 8.0 or newer
   11380 	  tmp_idyn=
   11381 	  case $host_cpu in
   11382 	    ia64*) tmp_idyn=' -i_dynamic';;
   11383 	  esac
   11384   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11385 	  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'
   11386 	  ;;
   11387 	esac
   11388 	archive_cmds_need_lc_CXX=no
   11389 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11390 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11391 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11392 	;;
   11393       pgCC*)
   11394         # Portland Group C++ compiler
   11395 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11396   	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'
   11397 
   11398 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11399 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11400 	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'
   11401         ;;
   11402       cxx*)
   11403 	# Compaq C++
   11404 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11405 	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'
   11406 
   11407 	runpath_var=LD_RUN_PATH
   11408 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11409 	hardcode_libdir_separator_CXX=:
   11410 
   11411 	# Commands to make compiler produce verbose output that lists
   11412 	# what "hidden" libraries, object files and flags are used when
   11413 	# linking a shared library.
   11414 	#
   11415 	# There doesn't appear to be a way to prevent this compiler from
   11416 	# explicitly linking system object files so we need to strip them
   11417 	# from the output so that they don't get included in the library
   11418 	# dependencies.
   11419 	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'
   11420 	;;
   11421     esac
   11422     ;;
   11423   lynxos*)
   11424     # FIXME: insert proper C++ library support
   11425     ld_shlibs_CXX=no
   11426     ;;
   11427   m88k*)
   11428     # FIXME: insert proper C++ library support
   11429     ld_shlibs_CXX=no
   11430     ;;
   11431   mvs*)
   11432     case $cc_basename in
   11433       cxx*)
   11434 	# FIXME: insert proper C++ library support
   11435 	ld_shlibs_CXX=no
   11436 	;;
   11437       *)
   11438 	# FIXME: insert proper C++ library support
   11439 	ld_shlibs_CXX=no
   11440 	;;
   11441     esac
   11442     ;;
   11443   netbsd*)
   11444     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11445       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11446       wlarc=
   11447       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11448       hardcode_direct_CXX=yes
   11449       hardcode_shlibpath_var_CXX=no
   11450     fi
   11451     # Workaround some broken pre-1.5 toolchains
   11452     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11453     ;;
   11454   openbsd2*)
   11455     # C++ shared libraries are fairly broken
   11456     ld_shlibs_CXX=no
   11457     ;;
   11458   openbsd*)
   11459     hardcode_direct_CXX=yes
   11460     hardcode_shlibpath_var_CXX=no
   11461     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11462     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11463     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11464       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11465       export_dynamic_flag_spec_CXX='${wl}-E'
   11466       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11467     fi
   11468     output_verbose_link_cmd='echo'
   11469     ;;
   11470   osf3*)
   11471     case $cc_basename in
   11472       KCC*)
   11473 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11474 
   11475 	# KCC will only create a shared library if the output file
   11476 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11477 	# to its proper name (with version) after linking.
   11478 	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'
   11479 
   11480 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11481 	hardcode_libdir_separator_CXX=:
   11482 
   11483 	# Archives containing C++ object files must be created using
   11484 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11485 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11486 
   11487 	;;
   11488       RCC*)
   11489 	# Rational C++ 2.4.1
   11490 	# FIXME: insert proper C++ library support
   11491 	ld_shlibs_CXX=no
   11492 	;;
   11493       cxx*)
   11494 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11495 	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'
   11496 
   11497 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11498 	hardcode_libdir_separator_CXX=:
   11499 
   11500 	# Commands to make compiler produce verbose output that lists
   11501 	# what "hidden" libraries, object files and flags are used when
   11502 	# linking a shared library.
   11503 	#
   11504 	# There doesn't appear to be a way to prevent this compiler from
   11505 	# explicitly linking system object files so we need to strip them
   11506 	# from the output so that they don't get included in the library
   11507 	# dependencies.
   11508 	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'
   11509 	;;
   11510       *)
   11511 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11512 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11513 	  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'
   11514 
   11515 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11516 	  hardcode_libdir_separator_CXX=:
   11517 
   11518 	  # Commands to make compiler produce verbose output that lists
   11519 	  # what "hidden" libraries, object files and flags are used when
   11520 	  # linking a shared library.
   11521 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11522 
   11523 	else
   11524 	  # FIXME: insert proper C++ library support
   11525 	  ld_shlibs_CXX=no
   11526 	fi
   11527 	;;
   11528     esac
   11529     ;;
   11530   osf4* | osf5*)
   11531     case $cc_basename in
   11532       KCC*)
   11533 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11534 
   11535 	# KCC will only create a shared library if the output file
   11536 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11537 	# to its proper name (with version) after linking.
   11538 	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'
   11539 
   11540 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11541 	hardcode_libdir_separator_CXX=:
   11542 
   11543 	# Archives containing C++ object files must be created using
   11544 	# the KAI C++ compiler.
   11545 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11546 	;;
   11547       RCC*)
   11548 	# Rational C++ 2.4.1
   11549 	# FIXME: insert proper C++ library support
   11550 	ld_shlibs_CXX=no
   11551 	;;
   11552       cxx*)
   11553 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11554 	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'
   11555 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11556 	  echo "-hidden">> $lib.exp~
   11557 	  $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~
   11558 	  $rm $lib.exp'
   11559 
   11560 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11561 	hardcode_libdir_separator_CXX=:
   11562 
   11563 	# Commands to make compiler produce verbose output that lists
   11564 	# what "hidden" libraries, object files and flags are used when
   11565 	# linking a shared library.
   11566 	#
   11567 	# There doesn't appear to be a way to prevent this compiler from
   11568 	# explicitly linking system object files so we need to strip them
   11569 	# from the output so that they don't get included in the library
   11570 	# dependencies.
   11571 	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'
   11572 	;;
   11573       *)
   11574 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11575 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11576 	 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'
   11577 
   11578 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11579 	  hardcode_libdir_separator_CXX=:
   11580 
   11581 	  # Commands to make compiler produce verbose output that lists
   11582 	  # what "hidden" libraries, object files and flags are used when
   11583 	  # linking a shared library.
   11584 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11585 
   11586 	else
   11587 	  # FIXME: insert proper C++ library support
   11588 	  ld_shlibs_CXX=no
   11589 	fi
   11590 	;;
   11591     esac
   11592     ;;
   11593   psos*)
   11594     # FIXME: insert proper C++ library support
   11595     ld_shlibs_CXX=no
   11596     ;;
   11597   sunos4*)
   11598     case $cc_basename in
   11599       CC*)
   11600 	# Sun C++ 4.x
   11601 	# FIXME: insert proper C++ library support
   11602 	ld_shlibs_CXX=no
   11603 	;;
   11604       lcc*)
   11605 	# Lucid
   11606 	# FIXME: insert proper C++ library support
   11607 	ld_shlibs_CXX=no
   11608 	;;
   11609       *)
   11610 	# FIXME: insert proper C++ library support
   11611 	ld_shlibs_CXX=no
   11612 	;;
   11613     esac
   11614     ;;
   11615   solaris*)
   11616     case $cc_basename in
   11617       CC*)
   11618 	# Sun C++ 4.2, 5.x and Centerline C++
   11619         archive_cmds_need_lc_CXX=yes
   11620 	no_undefined_flag_CXX=' -zdefs'
   11621 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11622 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11623 	$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'
   11624 
   11625 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11626 	hardcode_shlibpath_var_CXX=no
   11627 	case $host_os in
   11628 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11629 	  *)
   11630 	    # The C++ compiler is used as linker so we must use $wl
   11631 	    # flag to pass the commands to the underlying system
   11632 	    # linker. We must also pass each convience library through
   11633 	    # to the system linker between allextract/defaultextract.
   11634 	    # The C++ compiler will combine linker options so we
   11635 	    # cannot just pass the convience library names through
   11636 	    # without $wl.
   11637 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11638 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
   11639 	    ;;
   11640 	esac
   11641 	link_all_deplibs_CXX=yes
   11642 
   11643 	output_verbose_link_cmd='echo'
   11644 
   11645 	# Archives containing C++ object files must be created using
   11646 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11647 	# necessary to make sure instantiated templates are included
   11648 	# in the archive.
   11649 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11650 	;;
   11651       gcx*)
   11652 	# Green Hills C++ Compiler
   11653 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11654 
   11655 	# The C++ compiler must be used to create the archive.
   11656 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11657 	;;
   11658       *)
   11659 	# GNU C++ compiler with Solaris linker
   11660 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11661 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11662 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11663 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11664 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11665 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11666 
   11667 	    # Commands to make compiler produce verbose output that lists
   11668 	    # what "hidden" libraries, object files and flags are used when
   11669 	    # linking a shared library.
   11670 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11671 	  else
   11672 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11673 	    # platform.
   11674 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11675 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11676 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11677 
   11678 	    # Commands to make compiler produce verbose output that lists
   11679 	    # what "hidden" libraries, object files and flags are used when
   11680 	    # linking a shared library.
   11681 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11682 	  fi
   11683 
   11684 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11685 	fi
   11686 	;;
   11687     esac
   11688     ;;
   11689   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11690     no_undefined_flag_CXX='${wl}-z,text'
   11691     archive_cmds_need_lc_CXX=no
   11692     hardcode_shlibpath_var_CXX=no
   11693     runpath_var='LD_RUN_PATH'
   11694 
   11695     case $cc_basename in
   11696       CC*)
   11697 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11698 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11699 	;;
   11700       *)
   11701 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11702 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11703 	;;
   11704     esac
   11705     ;;
   11706   sysv5* | sco3.2v5* | sco5v6*)
   11707     # Note: We can NOT use -z defs as we might desire, because we do not
   11708     # link with -lc, and that would cause any symbols used from libc to
   11709     # always be unresolved, which means just about no library would
   11710     # ever link correctly.  If we're not using GNU ld we use -z text
   11711     # though, which does catch some bad symbols but isn't as heavy-handed
   11712     # as -z defs.
   11713     # For security reasons, it is highly recommended that you always
   11714     # use absolute paths for naming shared libraries, and exclude the
   11715     # DT_RUNPATH tag from executables and libraries.  But doing so
   11716     # requires that you compile everything twice, which is a pain.
   11717     # So that behaviour is only enabled if SCOABSPATH is set to a
   11718     # non-empty value in the environment.  Most likely only useful for
   11719     # creating official distributions of packages.
   11720     # This is a hack until libtool officially supports absolute path
   11721     # names for shared libraries.
   11722     no_undefined_flag_CXX='${wl}-z,text'
   11723     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11724     archive_cmds_need_lc_CXX=no
   11725     hardcode_shlibpath_var_CXX=no
   11726     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11727     hardcode_libdir_separator_CXX=':'
   11728     link_all_deplibs_CXX=yes
   11729     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11730     runpath_var='LD_RUN_PATH'
   11731 
   11732     case $cc_basename in
   11733       CC*)
   11734 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11735 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11736 	;;
   11737       *)
   11738 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11739 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11740 	;;
   11741     esac
   11742     ;;
   11743   tandem*)
   11744     case $cc_basename in
   11745       NCC*)
   11746 	# NonStop-UX NCC 3.20
   11747 	# FIXME: insert proper C++ library support
   11748 	ld_shlibs_CXX=no
   11749 	;;
   11750       *)
   11751 	# FIXME: insert proper C++ library support
   11752 	ld_shlibs_CXX=no
   11753 	;;
   11754     esac
   11755     ;;
   11756   vxworks*)
   11757     # FIXME: insert proper C++ library support
   11758     ld_shlibs_CXX=no
   11759     ;;
   11760   *)
   11761     # FIXME: insert proper C++ library support
   11762     ld_shlibs_CXX=no
   11763     ;;
   11764 esac
   11765 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11766 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11767 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11768 
   11769 GCC_CXX="$GXX"
   11770 LD_CXX="$LD"
   11771 
   11772 
   11773 cat > conftest.$ac_ext <<EOF
   11774 class Foo
   11775 {
   11776 public:
   11777   Foo (void) { a = 0; }
   11778 private:
   11779   int a;
   11780 };
   11781 EOF
   11782 
   11783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11784   (eval $ac_compile) 2>&5
   11785   ac_status=$?
   11786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11787   (exit $ac_status); }; then
   11788   # Parse the compiler output and extract the necessary
   11789   # objects, libraries and library flags.
   11790 
   11791   # Sentinel used to keep track of whether or not we are before
   11792   # the conftest object file.
   11793   pre_test_object_deps_done=no
   11794 
   11795   # The `*' in the case matches for architectures that use `case' in
   11796   # $output_verbose_cmd can trigger glob expansion during the loop
   11797   # eval without this substitution.
   11798   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11799 
   11800   for p in `eval $output_verbose_link_cmd`; do
   11801     case $p in
   11802 
   11803     -L* | -R* | -l*)
   11804        # Some compilers place space between "-{L,R}" and the path.
   11805        # Remove the space.
   11806        if test $p = "-L" \
   11807 	  || test $p = "-R"; then
   11808 	 prev=$p
   11809 	 continue
   11810        else
   11811 	 prev=
   11812        fi
   11813 
   11814        if test "$pre_test_object_deps_done" = no; then
   11815 	 case $p in
   11816 	 -L* | -R*)
   11817 	   # Internal compiler library paths should come after those
   11818 	   # provided the user.  The postdeps already come after the
   11819 	   # user supplied libs so there is no need to process them.
   11820 	   if test -z "$compiler_lib_search_path_CXX"; then
   11821 	     compiler_lib_search_path_CXX="${prev}${p}"
   11822 	   else
   11823 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11824 	   fi
   11825 	   ;;
   11826 	 # The "-l" case would never come before the object being
   11827 	 # linked, so don't bother handling this case.
   11828 	 esac
   11829        else
   11830 	 if test -z "$postdeps_CXX"; then
   11831 	   postdeps_CXX="${prev}${p}"
   11832 	 else
   11833 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11834 	 fi
   11835        fi
   11836        ;;
   11837 
   11838     *.$objext)
   11839        # This assumes that the test object file only shows up
   11840        # once in the compiler output.
   11841        if test "$p" = "conftest.$objext"; then
   11842 	 pre_test_object_deps_done=yes
   11843 	 continue
   11844        fi
   11845 
   11846        if test "$pre_test_object_deps_done" = no; then
   11847 	 if test -z "$predep_objects_CXX"; then
   11848 	   predep_objects_CXX="$p"
   11849 	 else
   11850 	   predep_objects_CXX="$predep_objects_CXX $p"
   11851 	 fi
   11852        else
   11853 	 if test -z "$postdep_objects_CXX"; then
   11854 	   postdep_objects_CXX="$p"
   11855 	 else
   11856 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11857 	 fi
   11858        fi
   11859        ;;
   11860 
   11861     *) ;; # Ignore the rest.
   11862 
   11863     esac
   11864   done
   11865 
   11866   # Clean up.
   11867   rm -f a.out a.exe
   11868 else
   11869   echo "libtool.m4: error: problem compiling CXX test program"
   11870 fi
   11871 
   11872 $rm -f confest.$objext
   11873 
   11874 # PORTME: override above test on systems where it is broken
   11875 case $host_os in
   11876 interix3*)
   11877   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11878   # hack all around it, let's just trust "g++" to DTRT.
   11879   predep_objects_CXX=
   11880   postdep_objects_CXX=
   11881   postdeps_CXX=
   11882   ;;
   11883 
   11884 solaris*)
   11885   case $cc_basename in
   11886   CC*)
   11887     # Adding this requires a known-good setup of shared libraries for
   11888     # Sun compiler versions before 5.6, else PIC objects from an old
   11889     # archive will be linked into the output, leading to subtle bugs.
   11890     postdeps_CXX='-lCstd -lCrun'
   11891     ;;
   11892   esac
   11893   ;;
   11894 esac
   11895 
   11896 
   11897 case " $postdeps_CXX " in
   11898 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11899 esac
   11900 
   11901 lt_prog_compiler_wl_CXX=
   11902 lt_prog_compiler_pic_CXX=
   11903 lt_prog_compiler_static_CXX=
   11904 
   11905 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11906 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11907 
   11908   # C++ specific cases for pic, static, wl, etc.
   11909   if test "$GXX" = yes; then
   11910     lt_prog_compiler_wl_CXX='-Wl,'
   11911     lt_prog_compiler_static_CXX='-static'
   11912 
   11913     case $host_os in
   11914     aix*)
   11915       # All AIX code is PIC.
   11916       if test "$host_cpu" = ia64; then
   11917 	# AIX 5 now supports IA64 processor
   11918 	lt_prog_compiler_static_CXX='-Bstatic'
   11919       fi
   11920       ;;
   11921     amigaos*)
   11922       # FIXME: we need at least 68020 code to build shared libraries, but
   11923       # adding the `-m68020' flag to GCC prevents building anything better,
   11924       # like `-m68040'.
   11925       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11926       ;;
   11927     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11928       # PIC is the default for these OSes.
   11929       ;;
   11930     mingw* | os2* | pw32*)
   11931       # This hack is so that the source file can tell whether it is being
   11932       # built for inclusion in a dll (and should export symbols for example).
   11933       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11934       ;;
   11935     darwin* | rhapsody*)
   11936       # PIC is the default on this platform
   11937       # Common symbols not allowed in MH_DYLIB files
   11938       lt_prog_compiler_pic_CXX='-fno-common'
   11939       ;;
   11940     *djgpp*)
   11941       # DJGPP does not support shared libraries at all
   11942       lt_prog_compiler_pic_CXX=
   11943       ;;
   11944     interix3*)
   11945       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11946       # Instead, we relocate shared libraries at runtime.
   11947       ;;
   11948     sysv4*MP*)
   11949       if test -d /usr/nec; then
   11950 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11951       fi
   11952       ;;
   11953     hpux*)
   11954       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11955       # not for PA HP-UX.
   11956       case $host_cpu in
   11957       hppa*64*|ia64*)
   11958 	;;
   11959       *)
   11960 	lt_prog_compiler_pic_CXX='-fPIC'
   11961 	;;
   11962       esac
   11963       ;;
   11964     *)
   11965       lt_prog_compiler_pic_CXX='-fPIC'
   11966       ;;
   11967     esac
   11968   else
   11969     case $host_os in
   11970       aix4* | aix5*)
   11971 	# All AIX code is PIC.
   11972 	if test "$host_cpu" = ia64; then
   11973 	  # AIX 5 now supports IA64 processor
   11974 	  lt_prog_compiler_static_CXX='-Bstatic'
   11975 	else
   11976 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   11977 	fi
   11978 	;;
   11979       chorus*)
   11980 	case $cc_basename in
   11981 	cxch68*)
   11982 	  # Green Hills C++ Compiler
   11983 	  # _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"
   11984 	  ;;
   11985 	esac
   11986 	;;
   11987        darwin*)
   11988          # PIC is the default on this platform
   11989          # Common symbols not allowed in MH_DYLIB files
   11990          case $cc_basename in
   11991            xlc*)
   11992            lt_prog_compiler_pic_CXX='-qnocommon'
   11993            lt_prog_compiler_wl_CXX='-Wl,'
   11994            ;;
   11995          esac
   11996        ;;
   11997       dgux*)
   11998 	case $cc_basename in
   11999 	  ec++*)
   12000 	    lt_prog_compiler_pic_CXX='-KPIC'
   12001 	    ;;
   12002 	  ghcx*)
   12003 	    # Green Hills C++ Compiler
   12004 	    lt_prog_compiler_pic_CXX='-pic'
   12005 	    ;;
   12006 	  *)
   12007 	    ;;
   12008 	esac
   12009 	;;
   12010       freebsd* | kfreebsd*-gnu | dragonfly*)
   12011 	# FreeBSD uses GNU C++
   12012 	;;
   12013       hpux9* | hpux10* | hpux11*)
   12014 	case $cc_basename in
   12015 	  CC*)
   12016 	    lt_prog_compiler_wl_CXX='-Wl,'
   12017 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12018 	    if test "$host_cpu" != ia64; then
   12019 	      lt_prog_compiler_pic_CXX='+Z'
   12020 	    fi
   12021 	    ;;
   12022 	  aCC*)
   12023 	    lt_prog_compiler_wl_CXX='-Wl,'
   12024 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12025 	    case $host_cpu in
   12026 	    hppa*64*|ia64*)
   12027 	      # +Z the default
   12028 	      ;;
   12029 	    *)
   12030 	      lt_prog_compiler_pic_CXX='+Z'
   12031 	      ;;
   12032 	    esac
   12033 	    ;;
   12034 	  *)
   12035 	    ;;
   12036 	esac
   12037 	;;
   12038       interix*)
   12039 	# This is c89, which is MS Visual C++ (no shared libs)
   12040 	# Anyone wants to do a port?
   12041 	;;
   12042       irix5* | irix6* | nonstopux*)
   12043 	case $cc_basename in
   12044 	  CC*)
   12045 	    lt_prog_compiler_wl_CXX='-Wl,'
   12046 	    lt_prog_compiler_static_CXX='-non_shared'
   12047 	    # CC pic flag -KPIC is the default.
   12048 	    ;;
   12049 	  *)
   12050 	    ;;
   12051 	esac
   12052 	;;
   12053       linux*)
   12054 	case $cc_basename in
   12055 	  KCC*)
   12056 	    # KAI C++ Compiler
   12057 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12058 	    lt_prog_compiler_pic_CXX='-fPIC'
   12059 	    ;;
   12060 	  icpc* | ecpc*)
   12061 	    # Intel C++
   12062 	    lt_prog_compiler_wl_CXX='-Wl,'
   12063 	    lt_prog_compiler_pic_CXX='-KPIC'
   12064 	    lt_prog_compiler_static_CXX='-static'
   12065 	    ;;
   12066 	  pgCC*)
   12067 	    # Portland Group C++ compiler.
   12068 	    lt_prog_compiler_wl_CXX='-Wl,'
   12069 	    lt_prog_compiler_pic_CXX='-fpic'
   12070 	    lt_prog_compiler_static_CXX='-Bstatic'
   12071 	    ;;
   12072 	  cxx*)
   12073 	    # Compaq C++
   12074 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12075 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12076 	    lt_prog_compiler_pic_CXX=
   12077 	    lt_prog_compiler_static_CXX='-non_shared'
   12078 	    ;;
   12079 	  *)
   12080 	    ;;
   12081 	esac
   12082 	;;
   12083       lynxos*)
   12084 	;;
   12085       m88k*)
   12086 	;;
   12087       mvs*)
   12088 	case $cc_basename in
   12089 	  cxx*)
   12090 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12091 	    ;;
   12092 	  *)
   12093 	    ;;
   12094 	esac
   12095 	;;
   12096       netbsd*)
   12097 	;;
   12098       osf3* | osf4* | osf5*)
   12099 	case $cc_basename in
   12100 	  KCC*)
   12101 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12102 	    ;;
   12103 	  RCC*)
   12104 	    # Rational C++ 2.4.1
   12105 	    lt_prog_compiler_pic_CXX='-pic'
   12106 	    ;;
   12107 	  cxx*)
   12108 	    # Digital/Compaq C++
   12109 	    lt_prog_compiler_wl_CXX='-Wl,'
   12110 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12111 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12112 	    lt_prog_compiler_pic_CXX=
   12113 	    lt_prog_compiler_static_CXX='-non_shared'
   12114 	    ;;
   12115 	  *)
   12116 	    ;;
   12117 	esac
   12118 	;;
   12119       psos*)
   12120 	;;
   12121       solaris*)
   12122 	case $cc_basename in
   12123 	  CC*)
   12124 	    # Sun C++ 4.2, 5.x and Centerline C++
   12125 	    lt_prog_compiler_pic_CXX='-KPIC'
   12126 	    lt_prog_compiler_static_CXX='-Bstatic'
   12127 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12128 	    ;;
   12129 	  gcx*)
   12130 	    # Green Hills C++ Compiler
   12131 	    lt_prog_compiler_pic_CXX='-PIC'
   12132 	    ;;
   12133 	  *)
   12134 	    ;;
   12135 	esac
   12136 	;;
   12137       sunos4*)
   12138 	case $cc_basename in
   12139 	  CC*)
   12140 	    # Sun C++ 4.x
   12141 	    lt_prog_compiler_pic_CXX='-pic'
   12142 	    lt_prog_compiler_static_CXX='-Bstatic'
   12143 	    ;;
   12144 	  lcc*)
   12145 	    # Lucid
   12146 	    lt_prog_compiler_pic_CXX='-pic'
   12147 	    ;;
   12148 	  *)
   12149 	    ;;
   12150 	esac
   12151 	;;
   12152       tandem*)
   12153 	case $cc_basename in
   12154 	  NCC*)
   12155 	    # NonStop-UX NCC 3.20
   12156 	    lt_prog_compiler_pic_CXX='-KPIC'
   12157 	    ;;
   12158 	  *)
   12159 	    ;;
   12160 	esac
   12161 	;;
   12162       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12163 	case $cc_basename in
   12164 	  CC*)
   12165 	    lt_prog_compiler_wl_CXX='-Wl,'
   12166 	    lt_prog_compiler_pic_CXX='-KPIC'
   12167 	    lt_prog_compiler_static_CXX='-Bstatic'
   12168 	    ;;
   12169 	esac
   12170 	;;
   12171       vxworks*)
   12172 	;;
   12173       *)
   12174 	lt_prog_compiler_can_build_shared_CXX=no
   12175 	;;
   12176     esac
   12177   fi
   12178 
   12179 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12180 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12181 
   12182 #
   12183 # Check to make sure the PIC flag actually works.
   12184 #
   12185 if test -n "$lt_prog_compiler_pic_CXX"; then
   12186 
   12187 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12188 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12189 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12190   echo $ECHO_N "(cached) $ECHO_C" >&6
   12191 else
   12192   lt_prog_compiler_pic_works_CXX=no
   12193   ac_outfile=conftest.$ac_objext
   12194    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12195    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12196    # Insert the option either (1) after the last *FLAGS variable, or
   12197    # (2) before a word containing "conftest.", or (3) at the end.
   12198    # Note that $ac_compile itself does not contain backslashes and begins
   12199    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12200    # The option is referenced via a variable to avoid confusing sed.
   12201    lt_compile=`echo "$ac_compile" | $SED \
   12202    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12203    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12204    -e 's:$: $lt_compiler_flag:'`
   12205    (eval echo "\"\$as_me:12205: $lt_compile\"" >&5)
   12206    (eval "$lt_compile" 2>conftest.err)
   12207    ac_status=$?
   12208    cat conftest.err >&5
   12209    echo "$as_me:12209: \$? = $ac_status" >&5
   12210    if (exit $ac_status) && test -s "$ac_outfile"; then
   12211      # The compiler can only warn and ignore the option if not recognized
   12212      # So say no if there are warnings other than the usual output.
   12213      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12214      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12215      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12216        lt_prog_compiler_pic_works_CXX=yes
   12217      fi
   12218    fi
   12219    $rm conftest*
   12220 
   12221 fi
   12222 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12223 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12224 
   12225 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12226     case $lt_prog_compiler_pic_CXX in
   12227      "" | " "*) ;;
   12228      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12229      esac
   12230 else
   12231     lt_prog_compiler_pic_CXX=
   12232      lt_prog_compiler_can_build_shared_CXX=no
   12233 fi
   12234 
   12235 fi
   12236 case $host_os in
   12237   # For platforms which do not support PIC, -DPIC is meaningless:
   12238   *djgpp*)
   12239     lt_prog_compiler_pic_CXX=
   12240     ;;
   12241   *)
   12242     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12243     ;;
   12244 esac
   12245 
   12246 #
   12247 # Check to make sure the static flag actually works.
   12248 #
   12249 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12250 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12251 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12252 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12253   echo $ECHO_N "(cached) $ECHO_C" >&6
   12254 else
   12255   lt_prog_compiler_static_works_CXX=no
   12256    save_LDFLAGS="$LDFLAGS"
   12257    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12258    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12259    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12260      # The linker can only warn and ignore the option if not recognized
   12261      # So say no if there are warnings
   12262      if test -s conftest.err; then
   12263        # Append any errors to the config.log.
   12264        cat conftest.err 1>&5
   12265        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12266        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12267        if diff conftest.exp conftest.er2 >/dev/null; then
   12268          lt_prog_compiler_static_works_CXX=yes
   12269        fi
   12270      else
   12271        lt_prog_compiler_static_works_CXX=yes
   12272      fi
   12273    fi
   12274    $rm conftest*
   12275    LDFLAGS="$save_LDFLAGS"
   12276 
   12277 fi
   12278 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12279 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12280 
   12281 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12282     :
   12283 else
   12284     lt_prog_compiler_static_CXX=
   12285 fi
   12286 
   12287 
   12288 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12289 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12290 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12291   echo $ECHO_N "(cached) $ECHO_C" >&6
   12292 else
   12293   lt_cv_prog_compiler_c_o_CXX=no
   12294    $rm -r conftest 2>/dev/null
   12295    mkdir conftest
   12296    cd conftest
   12297    mkdir out
   12298    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12299 
   12300    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12301    # Insert the option either (1) after the last *FLAGS variable, or
   12302    # (2) before a word containing "conftest.", or (3) at the end.
   12303    # Note that $ac_compile itself does not contain backslashes and begins
   12304    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12305    lt_compile=`echo "$ac_compile" | $SED \
   12306    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12307    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12308    -e 's:$: $lt_compiler_flag:'`
   12309    (eval echo "\"\$as_me:12309: $lt_compile\"" >&5)
   12310    (eval "$lt_compile" 2>out/conftest.err)
   12311    ac_status=$?
   12312    cat out/conftest.err >&5
   12313    echo "$as_me:12313: \$? = $ac_status" >&5
   12314    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12315    then
   12316      # The compiler can only warn and ignore the option if not recognized
   12317      # So say no if there are warnings
   12318      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12319      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12320      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12321        lt_cv_prog_compiler_c_o_CXX=yes
   12322      fi
   12323    fi
   12324    chmod u+w . 2>&5
   12325    $rm conftest*
   12326    # SGI C++ compiler will create directory out/ii_files/ for
   12327    # template instantiation
   12328    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12329    $rm out/* && rmdir out
   12330    cd ..
   12331    rmdir conftest
   12332    $rm conftest*
   12333 
   12334 fi
   12335 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12336 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12337 
   12338 
   12339 hard_links="nottested"
   12340 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12341   # do not overwrite the value of need_locks provided by the user
   12342   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12343 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12344   hard_links=yes
   12345   $rm conftest*
   12346   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12347   touch conftest.a
   12348   ln conftest.a conftest.b 2>&5 || hard_links=no
   12349   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12350   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12351 echo "${ECHO_T}$hard_links" >&6; }
   12352   if test "$hard_links" = no; then
   12353     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12354 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12355     need_locks=warn
   12356   fi
   12357 else
   12358   need_locks=no
   12359 fi
   12360 
   12361 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12362 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12363 
   12364   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12365   case $host_os in
   12366   aix4* | aix5*)
   12367     # If we're using GNU nm, then we don't want the "-C" option.
   12368     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12369     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12370       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'
   12371     else
   12372       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'
   12373     fi
   12374     ;;
   12375   pw32*)
   12376     export_symbols_cmds_CXX="$ltdll_cmds"
   12377   ;;
   12378   cygwin* | mingw*)
   12379     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'
   12380   ;;
   12381   *)
   12382     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12383   ;;
   12384   esac
   12385 
   12386 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12387 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12388 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12389 
   12390 #
   12391 # Do we need to explicitly link libc?
   12392 #
   12393 case "x$archive_cmds_need_lc_CXX" in
   12394 x|xyes)
   12395   # Assume -lc should be added
   12396   archive_cmds_need_lc_CXX=yes
   12397 
   12398   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12399     case $archive_cmds_CXX in
   12400     *'~'*)
   12401       # FIXME: we may have to deal with multi-command sequences.
   12402       ;;
   12403     '$CC '*)
   12404       # Test whether the compiler implicitly links with -lc since on some
   12405       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12406       # to ld, don't add -lc before -lgcc.
   12407       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12408 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12409       $rm conftest*
   12410       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12411 
   12412       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12413   (eval $ac_compile) 2>&5
   12414   ac_status=$?
   12415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12416   (exit $ac_status); } 2>conftest.err; then
   12417         soname=conftest
   12418         lib=conftest
   12419         libobjs=conftest.$ac_objext
   12420         deplibs=
   12421         wl=$lt_prog_compiler_wl_CXX
   12422 	pic_flag=$lt_prog_compiler_pic_CXX
   12423         compiler_flags=-v
   12424         linker_flags=-v
   12425         verstring=
   12426         output_objdir=.
   12427         libname=conftest
   12428         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12429         allow_undefined_flag_CXX=
   12430         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12431   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12432   ac_status=$?
   12433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12434   (exit $ac_status); }
   12435         then
   12436 	  archive_cmds_need_lc_CXX=no
   12437         else
   12438 	  archive_cmds_need_lc_CXX=yes
   12439         fi
   12440         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12441       else
   12442         cat conftest.err 1>&5
   12443       fi
   12444       $rm conftest*
   12445       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12446 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12447       ;;
   12448     esac
   12449   fi
   12450   ;;
   12451 esac
   12452 
   12453 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12454 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12455 library_names_spec=
   12456 libname_spec='lib$name'
   12457 soname_spec=
   12458 shrext_cmds=".so"
   12459 postinstall_cmds=
   12460 postuninstall_cmds=
   12461 finish_cmds=
   12462 finish_eval=
   12463 shlibpath_var=
   12464 shlibpath_overrides_runpath=unknown
   12465 version_type=none
   12466 dynamic_linker="$host_os ld.so"
   12467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12468 if test "$GCC" = yes; then
   12469   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12470   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12471     # if the path contains ";" then we assume it to be the separator
   12472     # otherwise default to the standard path separator (i.e. ":") - it is
   12473     # assumed that no part of a normal pathname contains ";" but that should
   12474     # okay in the real world where ";" in dirpaths is itself problematic.
   12475     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12476   else
   12477     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12478   fi
   12479 else
   12480   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12481 fi
   12482 need_lib_prefix=unknown
   12483 hardcode_into_libs=no
   12484 
   12485 # when you set need_version to no, make sure it does not cause -set_version
   12486 # flags to be left without arguments
   12487 need_version=unknown
   12488 
   12489 case $host_os in
   12490 aix3*)
   12491   version_type=linux
   12492   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12493   shlibpath_var=LIBPATH
   12494 
   12495   # AIX 3 has no versioning support, so we append a major version to the name.
   12496   soname_spec='${libname}${release}${shared_ext}$major'
   12497   ;;
   12498 
   12499 aix4* | aix5*)
   12500   version_type=linux
   12501   need_lib_prefix=no
   12502   need_version=no
   12503   hardcode_into_libs=yes
   12504   if test "$host_cpu" = ia64; then
   12505     # AIX 5 supports IA64
   12506     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12507     shlibpath_var=LD_LIBRARY_PATH
   12508   else
   12509     # With GCC up to 2.95.x, collect2 would create an import file
   12510     # for dependence libraries.  The import file would start with
   12511     # the line `#! .'.  This would cause the generated library to
   12512     # depend on `.', always an invalid library.  This was fixed in
   12513     # development snapshots of GCC prior to 3.0.
   12514     case $host_os in
   12515       aix4 | aix4.[01] | aix4.[01].*)
   12516       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12517 	   echo ' yes '
   12518 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12519 	:
   12520       else
   12521 	can_build_shared=no
   12522       fi
   12523       ;;
   12524     esac
   12525     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12526     # soname into executable. Probably we can add versioning support to
   12527     # collect2, so additional links can be useful in future.
   12528     if test "$aix_use_runtimelinking" = yes; then
   12529       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12530       # instead of lib<name>.a to let people know that these are not
   12531       # typical AIX shared libraries.
   12532       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12533     else
   12534       # We preserve .a as extension for shared libraries through AIX4.2
   12535       # and later when we are not doing run time linking.
   12536       library_names_spec='${libname}${release}.a $libname.a'
   12537       soname_spec='${libname}${release}${shared_ext}$major'
   12538     fi
   12539     shlibpath_var=LIBPATH
   12540   fi
   12541   ;;
   12542 
   12543 amigaos*)
   12544   library_names_spec='$libname.ixlibrary $libname.a'
   12545   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12546   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'
   12547   ;;
   12548 
   12549 beos*)
   12550   library_names_spec='${libname}${shared_ext}'
   12551   dynamic_linker="$host_os ld.so"
   12552   shlibpath_var=LIBRARY_PATH
   12553   ;;
   12554 
   12555 bsdi[45]*)
   12556   version_type=linux
   12557   need_version=no
   12558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12559   soname_spec='${libname}${release}${shared_ext}$major'
   12560   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12561   shlibpath_var=LD_LIBRARY_PATH
   12562   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12563   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12564   # the default ld.so.conf also contains /usr/contrib/lib and
   12565   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12566   # libtool to hard-code these into programs
   12567   ;;
   12568 
   12569 cygwin* | mingw* | pw32*)
   12570   version_type=windows
   12571   shrext_cmds=".dll"
   12572   need_version=no
   12573   need_lib_prefix=no
   12574 
   12575   case $GCC,$host_os in
   12576   yes,cygwin* | yes,mingw* | yes,pw32*)
   12577     library_names_spec='$libname.dll.a'
   12578     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12579     postinstall_cmds='base_file=`basename \${file}`~
   12580       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12581       dldir=$destdir/`dirname \$dlpath`~
   12582       test -d \$dldir || mkdir -p \$dldir~
   12583       $install_prog $dir/$dlname \$dldir/$dlname~
   12584       chmod a+x \$dldir/$dlname'
   12585     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12586       dlpath=$dir/\$dldll~
   12587        $rm \$dlpath'
   12588     shlibpath_overrides_runpath=yes
   12589 
   12590     case $host_os in
   12591     cygwin*)
   12592       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12593       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12594       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12595       ;;
   12596     mingw*)
   12597       # MinGW DLLs use traditional 'lib' prefix
   12598       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12599       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12600       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12601         # It is most probably a Windows format PATH printed by
   12602         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12603         # path with ; separators, and with drive letters. We can handle the
   12604         # drive letters (cygwin fileutils understands them), so leave them,
   12605         # especially as we might pass files found there to a mingw objdump,
   12606         # which wouldn't understand a cygwinified path. Ahh.
   12607         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12608       else
   12609         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12610       fi
   12611       ;;
   12612     pw32*)
   12613       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12614       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12615       ;;
   12616     esac
   12617     ;;
   12618 
   12619   *)
   12620     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12621     ;;
   12622   esac
   12623   dynamic_linker='Win32 ld.exe'
   12624   # FIXME: first we should search . and the directory the executable is in
   12625   shlibpath_var=PATH
   12626   ;;
   12627 
   12628 darwin* | rhapsody*)
   12629   dynamic_linker="$host_os dyld"
   12630   version_type=darwin
   12631   need_lib_prefix=no
   12632   need_version=no
   12633   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12634   soname_spec='${libname}${release}${major}$shared_ext'
   12635   shlibpath_overrides_runpath=yes
   12636   shlibpath_var=DYLD_LIBRARY_PATH
   12637   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12638   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12639   if test "$GCC" = yes; then
   12640     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   12641   else
   12642     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12643   fi
   12644   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12645   ;;
   12646 
   12647 dgux*)
   12648   version_type=linux
   12649   need_lib_prefix=no
   12650   need_version=no
   12651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12652   soname_spec='${libname}${release}${shared_ext}$major'
   12653   shlibpath_var=LD_LIBRARY_PATH
   12654   ;;
   12655 
   12656 freebsd1*)
   12657   dynamic_linker=no
   12658   ;;
   12659 
   12660 kfreebsd*-gnu)
   12661   version_type=linux
   12662   need_lib_prefix=no
   12663   need_version=no
   12664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12665   soname_spec='${libname}${release}${shared_ext}$major'
   12666   shlibpath_var=LD_LIBRARY_PATH
   12667   shlibpath_overrides_runpath=no
   12668   hardcode_into_libs=yes
   12669   dynamic_linker='GNU ld.so'
   12670   ;;
   12671 
   12672 freebsd* | dragonfly*)
   12673   # DragonFly does not have aout.  When/if they implement a new
   12674   # versioning mechanism, adjust this.
   12675   if test -x /usr/bin/objformat; then
   12676     objformat=`/usr/bin/objformat`
   12677   else
   12678     case $host_os in
   12679     freebsd[123]*) objformat=aout ;;
   12680     *) objformat=elf ;;
   12681     esac
   12682   fi
   12683   version_type=freebsd-$objformat
   12684   case $version_type in
   12685     freebsd-elf*)
   12686       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12687       need_version=no
   12688       need_lib_prefix=no
   12689       ;;
   12690     freebsd-*)
   12691       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12692       need_version=yes
   12693       ;;
   12694   esac
   12695   shlibpath_var=LD_LIBRARY_PATH
   12696   case $host_os in
   12697   freebsd2*)
   12698     shlibpath_overrides_runpath=yes
   12699     ;;
   12700   freebsd3.[01]* | freebsdelf3.[01]*)
   12701     shlibpath_overrides_runpath=yes
   12702     hardcode_into_libs=yes
   12703     ;;
   12704   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12705   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12706     shlibpath_overrides_runpath=no
   12707     hardcode_into_libs=yes
   12708     ;;
   12709   freebsd*) # from 4.6 on
   12710     shlibpath_overrides_runpath=yes
   12711     hardcode_into_libs=yes
   12712     ;;
   12713   esac
   12714   ;;
   12715 
   12716 gnu*)
   12717   version_type=linux
   12718   need_lib_prefix=no
   12719   need_version=no
   12720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12721   soname_spec='${libname}${release}${shared_ext}$major'
   12722   shlibpath_var=LD_LIBRARY_PATH
   12723   hardcode_into_libs=yes
   12724   ;;
   12725 
   12726 hpux9* | hpux10* | hpux11*)
   12727   # Give a soname corresponding to the major version so that dld.sl refuses to
   12728   # link against other versions.
   12729   version_type=sunos
   12730   need_lib_prefix=no
   12731   need_version=no
   12732   case $host_cpu in
   12733   ia64*)
   12734     shrext_cmds='.so'
   12735     hardcode_into_libs=yes
   12736     dynamic_linker="$host_os dld.so"
   12737     shlibpath_var=LD_LIBRARY_PATH
   12738     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12739     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12740     soname_spec='${libname}${release}${shared_ext}$major'
   12741     if test "X$HPUX_IA64_MODE" = X32; then
   12742       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12743     else
   12744       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12745     fi
   12746     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12747     ;;
   12748    hppa*64*)
   12749      shrext_cmds='.sl'
   12750      hardcode_into_libs=yes
   12751      dynamic_linker="$host_os dld.sl"
   12752      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12753      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12754      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12755      soname_spec='${libname}${release}${shared_ext}$major'
   12756      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12757      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12758      ;;
   12759    *)
   12760     shrext_cmds='.sl'
   12761     dynamic_linker="$host_os dld.sl"
   12762     shlibpath_var=SHLIB_PATH
   12763     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12764     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12765     soname_spec='${libname}${release}${shared_ext}$major'
   12766     ;;
   12767   esac
   12768   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12769   postinstall_cmds='chmod 555 $lib'
   12770   ;;
   12771 
   12772 interix3*)
   12773   version_type=linux
   12774   need_lib_prefix=no
   12775   need_version=no
   12776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12777   soname_spec='${libname}${release}${shared_ext}$major'
   12778   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12779   shlibpath_var=LD_LIBRARY_PATH
   12780   shlibpath_overrides_runpath=no
   12781   hardcode_into_libs=yes
   12782   ;;
   12783 
   12784 irix5* | irix6* | nonstopux*)
   12785   case $host_os in
   12786     nonstopux*) version_type=nonstopux ;;
   12787     *)
   12788 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12789 		version_type=linux
   12790 	else
   12791 		version_type=irix
   12792 	fi ;;
   12793   esac
   12794   need_lib_prefix=no
   12795   need_version=no
   12796   soname_spec='${libname}${release}${shared_ext}$major'
   12797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12798   case $host_os in
   12799   irix5* | nonstopux*)
   12800     libsuff= shlibsuff=
   12801     ;;
   12802   *)
   12803     case $LD in # libtool.m4 will add one of these switches to LD
   12804     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12805       libsuff= shlibsuff= libmagic=32-bit;;
   12806     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12807       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12808     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12809       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12810     *) libsuff= shlibsuff= libmagic=never-match;;
   12811     esac
   12812     ;;
   12813   esac
   12814   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12815   shlibpath_overrides_runpath=no
   12816   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12817   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12818   hardcode_into_libs=yes
   12819   ;;
   12820 
   12821 # No shared lib support for Linux oldld, aout, or coff.
   12822 linux*oldld* | linux*aout* | linux*coff*)
   12823   dynamic_linker=no
   12824   ;;
   12825 
   12826 # This must be Linux ELF.
   12827 linux*)
   12828   version_type=linux
   12829   need_lib_prefix=no
   12830   need_version=no
   12831   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12832   soname_spec='${libname}${release}${shared_ext}$major'
   12833   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12834   shlibpath_var=LD_LIBRARY_PATH
   12835   shlibpath_overrides_runpath=no
   12836   # This implies no fast_install, which is unacceptable.
   12837   # Some rework will be needed to allow for fast_install
   12838   # before this can be enabled.
   12839   hardcode_into_libs=yes
   12840 
   12841   # Append ld.so.conf contents to the search path
   12842   if test -f /etc/ld.so.conf; then
   12843     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   12844     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12845   fi
   12846 
   12847   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12848   # powerpc, because MkLinux only supported shared libraries with the
   12849   # GNU dynamic linker.  Since this was broken with cross compilers,
   12850   # most powerpc-linux boxes support dynamic linking these days and
   12851   # people can always --disable-shared, the test was removed, and we
   12852   # assume the GNU/Linux dynamic linker is in use.
   12853   dynamic_linker='GNU/Linux ld.so'
   12854   ;;
   12855 
   12856 knetbsd*-gnu)
   12857   version_type=linux
   12858   need_lib_prefix=no
   12859   need_version=no
   12860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12861   soname_spec='${libname}${release}${shared_ext}$major'
   12862   shlibpath_var=LD_LIBRARY_PATH
   12863   shlibpath_overrides_runpath=no
   12864   hardcode_into_libs=yes
   12865   dynamic_linker='GNU ld.so'
   12866   ;;
   12867 
   12868 netbsd*)
   12869   version_type=sunos
   12870   need_lib_prefix=no
   12871   need_version=no
   12872   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12873     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12874     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12875     dynamic_linker='NetBSD (a.out) ld.so'
   12876   else
   12877     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12878     soname_spec='${libname}${release}${shared_ext}$major'
   12879     dynamic_linker='NetBSD ld.elf_so'
   12880   fi
   12881   shlibpath_var=LD_LIBRARY_PATH
   12882   shlibpath_overrides_runpath=yes
   12883   hardcode_into_libs=yes
   12884   ;;
   12885 
   12886 newsos6)
   12887   version_type=linux
   12888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12889   shlibpath_var=LD_LIBRARY_PATH
   12890   shlibpath_overrides_runpath=yes
   12891   ;;
   12892 
   12893 nto-qnx*)
   12894   version_type=linux
   12895   need_lib_prefix=no
   12896   need_version=no
   12897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12898   soname_spec='${libname}${release}${shared_ext}$major'
   12899   shlibpath_var=LD_LIBRARY_PATH
   12900   shlibpath_overrides_runpath=yes
   12901   ;;
   12902 
   12903 openbsd*)
   12904   version_type=sunos
   12905   sys_lib_dlsearch_path_spec="/usr/lib"
   12906   need_lib_prefix=no
   12907   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12908   case $host_os in
   12909     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12910     *)                         need_version=no  ;;
   12911   esac
   12912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12913   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12914   shlibpath_var=LD_LIBRARY_PATH
   12915   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12916     case $host_os in
   12917       openbsd2.[89] | openbsd2.[89].*)
   12918 	shlibpath_overrides_runpath=no
   12919 	;;
   12920       *)
   12921 	shlibpath_overrides_runpath=yes
   12922 	;;
   12923       esac
   12924   else
   12925     shlibpath_overrides_runpath=yes
   12926   fi
   12927   ;;
   12928 
   12929 os2*)
   12930   libname_spec='$name'
   12931   shrext_cmds=".dll"
   12932   need_lib_prefix=no
   12933   library_names_spec='$libname${shared_ext} $libname.a'
   12934   dynamic_linker='OS/2 ld.exe'
   12935   shlibpath_var=LIBPATH
   12936   ;;
   12937 
   12938 osf3* | osf4* | osf5*)
   12939   version_type=osf
   12940   need_lib_prefix=no
   12941   need_version=no
   12942   soname_spec='${libname}${release}${shared_ext}$major'
   12943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12944   shlibpath_var=LD_LIBRARY_PATH
   12945   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12946   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12947   ;;
   12948 
   12949 solaris*)
   12950   version_type=linux
   12951   need_lib_prefix=no
   12952   need_version=no
   12953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12954   soname_spec='${libname}${release}${shared_ext}$major'
   12955   shlibpath_var=LD_LIBRARY_PATH
   12956   shlibpath_overrides_runpath=yes
   12957   hardcode_into_libs=yes
   12958   # ldd complains unless libraries are executable
   12959   postinstall_cmds='chmod +x $lib'
   12960   ;;
   12961 
   12962 sunos4*)
   12963   version_type=sunos
   12964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12965   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12966   shlibpath_var=LD_LIBRARY_PATH
   12967   shlibpath_overrides_runpath=yes
   12968   if test "$with_gnu_ld" = yes; then
   12969     need_lib_prefix=no
   12970   fi
   12971   need_version=yes
   12972   ;;
   12973 
   12974 sysv4 | sysv4.3*)
   12975   version_type=linux
   12976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12977   soname_spec='${libname}${release}${shared_ext}$major'
   12978   shlibpath_var=LD_LIBRARY_PATH
   12979   case $host_vendor in
   12980     sni)
   12981       shlibpath_overrides_runpath=no
   12982       need_lib_prefix=no
   12983       export_dynamic_flag_spec='${wl}-Blargedynsym'
   12984       runpath_var=LD_RUN_PATH
   12985       ;;
   12986     siemens)
   12987       need_lib_prefix=no
   12988       ;;
   12989     motorola)
   12990       need_lib_prefix=no
   12991       need_version=no
   12992       shlibpath_overrides_runpath=no
   12993       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12994       ;;
   12995   esac
   12996   ;;
   12997 
   12998 sysv4*MP*)
   12999   if test -d /usr/nec ;then
   13000     version_type=linux
   13001     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13002     soname_spec='$libname${shared_ext}.$major'
   13003     shlibpath_var=LD_LIBRARY_PATH
   13004   fi
   13005   ;;
   13006 
   13007 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13008   version_type=freebsd-elf
   13009   need_lib_prefix=no
   13010   need_version=no
   13011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13012   soname_spec='${libname}${release}${shared_ext}$major'
   13013   shlibpath_var=LD_LIBRARY_PATH
   13014   hardcode_into_libs=yes
   13015   if test "$with_gnu_ld" = yes; then
   13016     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13017     shlibpath_overrides_runpath=no
   13018   else
   13019     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13020     shlibpath_overrides_runpath=yes
   13021     case $host_os in
   13022       sco3.2v5*)
   13023         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13024 	;;
   13025     esac
   13026   fi
   13027   sys_lib_dlsearch_path_spec='/usr/lib'
   13028   ;;
   13029 
   13030 uts4*)
   13031   version_type=linux
   13032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13033   soname_spec='${libname}${release}${shared_ext}$major'
   13034   shlibpath_var=LD_LIBRARY_PATH
   13035   ;;
   13036 
   13037 *)
   13038   dynamic_linker=no
   13039   ;;
   13040 esac
   13041 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13042 echo "${ECHO_T}$dynamic_linker" >&6; }
   13043 test "$dynamic_linker" = no && can_build_shared=no
   13044 
   13045 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13046 if test "$GCC" = yes; then
   13047   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13048 fi
   13049 
   13050 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13051 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13052 hardcode_action_CXX=
   13053 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13054    test -n "$runpath_var_CXX" || \
   13055    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13056 
   13057   # We can hardcode non-existant directories.
   13058   if test "$hardcode_direct_CXX" != no &&
   13059      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13060      # have to relink, otherwise we might link with an installed library
   13061      # when we should be linking with a yet-to-be-installed one
   13062      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13063      test "$hardcode_minus_L_CXX" != no; then
   13064     # Linking always hardcodes the temporary library directory.
   13065     hardcode_action_CXX=relink
   13066   else
   13067     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13068     hardcode_action_CXX=immediate
   13069   fi
   13070 else
   13071   # We cannot hardcode anything, or else we can only hardcode existing
   13072   # directories.
   13073   hardcode_action_CXX=unsupported
   13074 fi
   13075 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13076 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13077 
   13078 if test "$hardcode_action_CXX" = relink; then
   13079   # Fast installation is not supported
   13080   enable_fast_install=no
   13081 elif test "$shlibpath_overrides_runpath" = yes ||
   13082      test "$enable_shared" = no; then
   13083   # Fast installation is not necessary
   13084   enable_fast_install=needless
   13085 fi
   13086 
   13087 
   13088 # The else clause should only fire when bootstrapping the
   13089 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13090 # with your package, and you will get complaints that there are
   13091 # no rules to generate ltmain.sh.
   13092 if test -f "$ltmain"; then
   13093   # See if we are running on zsh, and set the options which allow our commands through
   13094   # without removal of \ escapes.
   13095   if test -n "${ZSH_VERSION+set}" ; then
   13096     setopt NO_GLOB_SUBST
   13097   fi
   13098   # Now quote all the things that may contain metacharacters while being
   13099   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13100   # variables and quote the copies for generation of the libtool script.
   13101   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13102     SED SHELL STRIP \
   13103     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13104     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13105     deplibs_check_method reload_flag reload_cmds need_locks \
   13106     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13107     lt_cv_sys_global_symbol_to_c_name_address \
   13108     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13109     old_postinstall_cmds old_postuninstall_cmds \
   13110     compiler_CXX \
   13111     CC_CXX \
   13112     LD_CXX \
   13113     lt_prog_compiler_wl_CXX \
   13114     lt_prog_compiler_pic_CXX \
   13115     lt_prog_compiler_static_CXX \
   13116     lt_prog_compiler_no_builtin_flag_CXX \
   13117     export_dynamic_flag_spec_CXX \
   13118     thread_safe_flag_spec_CXX \
   13119     whole_archive_flag_spec_CXX \
   13120     enable_shared_with_static_runtimes_CXX \
   13121     old_archive_cmds_CXX \
   13122     old_archive_from_new_cmds_CXX \
   13123     predep_objects_CXX \
   13124     postdep_objects_CXX \
   13125     predeps_CXX \
   13126     postdeps_CXX \
   13127     compiler_lib_search_path_CXX \
   13128     archive_cmds_CXX \
   13129     archive_expsym_cmds_CXX \
   13130     postinstall_cmds_CXX \
   13131     postuninstall_cmds_CXX \
   13132     old_archive_from_expsyms_cmds_CXX \
   13133     allow_undefined_flag_CXX \
   13134     no_undefined_flag_CXX \
   13135     export_symbols_cmds_CXX \
   13136     hardcode_libdir_flag_spec_CXX \
   13137     hardcode_libdir_flag_spec_ld_CXX \
   13138     hardcode_libdir_separator_CXX \
   13139     hardcode_automatic_CXX \
   13140     module_cmds_CXX \
   13141     module_expsym_cmds_CXX \
   13142     lt_cv_prog_compiler_c_o_CXX \
   13143     exclude_expsyms_CXX \
   13144     include_expsyms_CXX; do
   13145 
   13146     case $var in
   13147     old_archive_cmds_CXX | \
   13148     old_archive_from_new_cmds_CXX | \
   13149     archive_cmds_CXX | \
   13150     archive_expsym_cmds_CXX | \
   13151     module_cmds_CXX | \
   13152     module_expsym_cmds_CXX | \
   13153     old_archive_from_expsyms_cmds_CXX | \
   13154     export_symbols_cmds_CXX | \
   13155     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13156     postinstall_cmds | postuninstall_cmds | \
   13157     old_postinstall_cmds | old_postuninstall_cmds | \
   13158     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13159       # Double-quote double-evaled strings.
   13160       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13161       ;;
   13162     *)
   13163       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13164       ;;
   13165     esac
   13166   done
   13167 
   13168   case $lt_echo in
   13169   *'\$0 --fallback-echo"')
   13170     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13171     ;;
   13172   esac
   13173 
   13174 cfgfile="$ofile"
   13175 
   13176   cat <<__EOF__ >> "$cfgfile"
   13177 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13178 
   13179 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13180 
   13181 # Shell to use when invoking shell scripts.
   13182 SHELL=$lt_SHELL
   13183 
   13184 # Whether or not to build shared libraries.
   13185 build_libtool_libs=$enable_shared
   13186 
   13187 # Whether or not to build static libraries.
   13188 build_old_libs=$enable_static
   13189 
   13190 # Whether or not to add -lc for building shared libraries.
   13191 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13192 
   13193 # Whether or not to disallow shared libs when runtime libs are static
   13194 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13195 
   13196 # Whether or not to optimize for fast installation.
   13197 fast_install=$enable_fast_install
   13198 
   13199 # The host system.
   13200 host_alias=$host_alias
   13201 host=$host
   13202 host_os=$host_os
   13203 
   13204 # The build system.
   13205 build_alias=$build_alias
   13206 build=$build
   13207 build_os=$build_os
   13208 
   13209 # An echo program that does not interpret backslashes.
   13210 echo=$lt_echo
   13211 
   13212 # The archiver.
   13213 AR=$lt_AR
   13214 AR_FLAGS=$lt_AR_FLAGS
   13215 
   13216 # A C compiler.
   13217 LTCC=$lt_LTCC
   13218 
   13219 # LTCC compiler flags.
   13220 LTCFLAGS=$lt_LTCFLAGS
   13221 
   13222 # A language-specific compiler.
   13223 CC=$lt_compiler_CXX
   13224 
   13225 # Is the compiler the GNU C compiler?
   13226 with_gcc=$GCC_CXX
   13227 
   13228 # An ERE matcher.
   13229 EGREP=$lt_EGREP
   13230 
   13231 # The linker used to build libraries.
   13232 LD=$lt_LD_CXX
   13233 
   13234 # Whether we need hard or soft links.
   13235 LN_S=$lt_LN_S
   13236 
   13237 # A BSD-compatible nm program.
   13238 NM=$lt_NM
   13239 
   13240 # A symbol stripping program
   13241 STRIP=$lt_STRIP
   13242 
   13243 # Used to examine libraries when file_magic_cmd begins "file"
   13244 MAGIC_CMD=$MAGIC_CMD
   13245 
   13246 # Used on cygwin: DLL creation program.
   13247 DLLTOOL="$DLLTOOL"
   13248 
   13249 # Used on cygwin: object dumper.
   13250 OBJDUMP="$OBJDUMP"
   13251 
   13252 # Used on cygwin: assembler.
   13253 AS="$AS"
   13254 
   13255 # The name of the directory that contains temporary libtool files.
   13256 objdir=$objdir
   13257 
   13258 # How to create reloadable object files.
   13259 reload_flag=$lt_reload_flag
   13260 reload_cmds=$lt_reload_cmds
   13261 
   13262 # How to pass a linker flag through the compiler.
   13263 wl=$lt_lt_prog_compiler_wl_CXX
   13264 
   13265 # Object file suffix (normally "o").
   13266 objext="$ac_objext"
   13267 
   13268 # Old archive suffix (normally "a").
   13269 libext="$libext"
   13270 
   13271 # Shared library suffix (normally ".so").
   13272 shrext_cmds='$shrext_cmds'
   13273 
   13274 # Executable file suffix (normally "").
   13275 exeext="$exeext"
   13276 
   13277 # Additional compiler flags for building library objects.
   13278 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13279 pic_mode=$pic_mode
   13280 
   13281 # What is the maximum length of a command?
   13282 max_cmd_len=$lt_cv_sys_max_cmd_len
   13283 
   13284 # Does compiler simultaneously support -c and -o options?
   13285 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13286 
   13287 # Must we lock files when doing compilation?
   13288 need_locks=$lt_need_locks
   13289 
   13290 # Do we need the lib prefix for modules?
   13291 need_lib_prefix=$need_lib_prefix
   13292 
   13293 # Do we need a version for libraries?
   13294 need_version=$need_version
   13295 
   13296 # Whether dlopen is supported.
   13297 dlopen_support=$enable_dlopen
   13298 
   13299 # Whether dlopen of programs is supported.
   13300 dlopen_self=$enable_dlopen_self
   13301 
   13302 # Whether dlopen of statically linked programs is supported.
   13303 dlopen_self_static=$enable_dlopen_self_static
   13304 
   13305 # Compiler flag to prevent dynamic linking.
   13306 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13307 
   13308 # Compiler flag to turn off builtin functions.
   13309 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13310 
   13311 # Compiler flag to allow reflexive dlopens.
   13312 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13313 
   13314 # Compiler flag to generate shared objects directly from archives.
   13315 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13316 
   13317 # Compiler flag to generate thread-safe objects.
   13318 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13319 
   13320 # Library versioning type.
   13321 version_type=$version_type
   13322 
   13323 # Format of library name prefix.
   13324 libname_spec=$lt_libname_spec
   13325 
   13326 # List of archive names.  First name is the real one, the rest are links.
   13327 # The last name is the one that the linker finds with -lNAME.
   13328 library_names_spec=$lt_library_names_spec
   13329 
   13330 # The coded name of the library, if different from the real name.
   13331 soname_spec=$lt_soname_spec
   13332 
   13333 # Commands used to build and install an old-style archive.
   13334 RANLIB=$lt_RANLIB
   13335 old_archive_cmds=$lt_old_archive_cmds_CXX
   13336 old_postinstall_cmds=$lt_old_postinstall_cmds
   13337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13338 
   13339 # Create an old-style archive from a shared archive.
   13340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13341 
   13342 # Create a temporary old-style archive to link instead of a shared archive.
   13343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13344 
   13345 # Commands used to build and install a shared archive.
   13346 archive_cmds=$lt_archive_cmds_CXX
   13347 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13348 postinstall_cmds=$lt_postinstall_cmds
   13349 postuninstall_cmds=$lt_postuninstall_cmds
   13350 
   13351 # Commands used to build a loadable module (assumed same as above if empty)
   13352 module_cmds=$lt_module_cmds_CXX
   13353 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13354 
   13355 # Commands to strip libraries.
   13356 old_striplib=$lt_old_striplib
   13357 striplib=$lt_striplib
   13358 
   13359 # Dependencies to place before the objects being linked to create a
   13360 # shared library.
   13361 predep_objects=$lt_predep_objects_CXX
   13362 
   13363 # Dependencies to place after the objects being linked to create a
   13364 # shared library.
   13365 postdep_objects=$lt_postdep_objects_CXX
   13366 
   13367 # Dependencies to place before the objects being linked to create a
   13368 # shared library.
   13369 predeps=$lt_predeps_CXX
   13370 
   13371 # Dependencies to place after the objects being linked to create a
   13372 # shared library.
   13373 postdeps=$lt_postdeps_CXX
   13374 
   13375 # The library search path used internally by the compiler when linking
   13376 # a shared library.
   13377 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13378 
   13379 # Method to check whether dependent libraries are shared objects.
   13380 deplibs_check_method=$lt_deplibs_check_method
   13381 
   13382 # Command to use when deplibs_check_method == file_magic.
   13383 file_magic_cmd=$lt_file_magic_cmd
   13384 
   13385 # Flag that allows shared libraries with undefined symbols to be built.
   13386 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13387 
   13388 # Flag that forces no undefined symbols.
   13389 no_undefined_flag=$lt_no_undefined_flag_CXX
   13390 
   13391 # Commands used to finish a libtool library installation in a directory.
   13392 finish_cmds=$lt_finish_cmds
   13393 
   13394 # Same as above, but a single script fragment to be evaled but not shown.
   13395 finish_eval=$lt_finish_eval
   13396 
   13397 # Take the output of nm and produce a listing of raw symbols and C names.
   13398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13399 
   13400 # Transform the output of nm in a proper C declaration
   13401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13402 
   13403 # Transform the output of nm in a C name address pair
   13404 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13405 
   13406 # This is the shared library runtime path variable.
   13407 runpath_var=$runpath_var
   13408 
   13409 # This is the shared library path variable.
   13410 shlibpath_var=$shlibpath_var
   13411 
   13412 # Is shlibpath searched before the hard-coded library search path?
   13413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13414 
   13415 # How to hardcode a shared library path into an executable.
   13416 hardcode_action=$hardcode_action_CXX
   13417 
   13418 # Whether we should hardcode library paths into libraries.
   13419 hardcode_into_libs=$hardcode_into_libs
   13420 
   13421 # Flag to hardcode \$libdir into a binary during linking.
   13422 # This must work even if \$libdir does not exist.
   13423 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13424 
   13425 # If ld is used when linking, flag to hardcode \$libdir into
   13426 # a binary during linking. This must work even if \$libdir does
   13427 # not exist.
   13428 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13429 
   13430 # Whether we need a single -rpath flag with a separated argument.
   13431 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13432 
   13433 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13434 # resulting binary.
   13435 hardcode_direct=$hardcode_direct_CXX
   13436 
   13437 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13438 # resulting binary.
   13439 hardcode_minus_L=$hardcode_minus_L_CXX
   13440 
   13441 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13442 # the resulting binary.
   13443 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13444 
   13445 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13446 # and all subsequent libraries and executables linked against it.
   13447 hardcode_automatic=$hardcode_automatic_CXX
   13448 
   13449 # Variables whose values should be saved in libtool wrapper scripts and
   13450 # restored at relink time.
   13451 variables_saved_for_relink="$variables_saved_for_relink"
   13452 
   13453 # Whether libtool must link a program against all its dependency libraries.
   13454 link_all_deplibs=$link_all_deplibs_CXX
   13455 
   13456 # Compile-time system search path for libraries
   13457 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13458 
   13459 # Run-time system search path for libraries
   13460 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13461 
   13462 # Fix the shell variable \$srcfile for the compiler.
   13463 fix_srcfile_path="$fix_srcfile_path_CXX"
   13464 
   13465 # Set to yes if exported symbols are required.
   13466 always_export_symbols=$always_export_symbols_CXX
   13467 
   13468 # The commands to list exported symbols.
   13469 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13470 
   13471 # The commands to extract the exported symbol list from a shared archive.
   13472 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13473 
   13474 # Symbols that should not be listed in the preloaded symbols.
   13475 exclude_expsyms=$lt_exclude_expsyms_CXX
   13476 
   13477 # Symbols that must always be exported.
   13478 include_expsyms=$lt_include_expsyms_CXX
   13479 
   13480 # ### END LIBTOOL TAG CONFIG: $tagname
   13481 
   13482 __EOF__
   13483 
   13484 
   13485 else
   13486   # If there is no Makefile yet, we rely on a make rule to execute
   13487   # `config.status --recheck' to rerun these tests and create the
   13488   # libtool script then.
   13489   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13490   if test -f "$ltmain_in"; then
   13491     test -f Makefile && make "$ltmain"
   13492   fi
   13493 fi
   13494 
   13495 
   13496 ac_ext=c
   13497 ac_cpp='$CPP $CPPFLAGS'
   13498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13501 
   13502 CC=$lt_save_CC
   13503 LDCXX=$LD
   13504 LD=$lt_save_LD
   13505 GCC=$lt_save_GCC
   13506 with_gnu_ldcxx=$with_gnu_ld
   13507 with_gnu_ld=$lt_save_with_gnu_ld
   13508 lt_cv_path_LDCXX=$lt_cv_path_LD
   13509 lt_cv_path_LD=$lt_save_path_LD
   13510 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13511 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13512 
   13513 	else
   13514 	  tagname=""
   13515 	fi
   13516 	;;
   13517 
   13518       F77)
   13519 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13520 
   13521 ac_ext=f
   13522 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13523 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13524 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13525 
   13526 
   13527 archive_cmds_need_lc_F77=no
   13528 allow_undefined_flag_F77=
   13529 always_export_symbols_F77=no
   13530 archive_expsym_cmds_F77=
   13531 export_dynamic_flag_spec_F77=
   13532 hardcode_direct_F77=no
   13533 hardcode_libdir_flag_spec_F77=
   13534 hardcode_libdir_flag_spec_ld_F77=
   13535 hardcode_libdir_separator_F77=
   13536 hardcode_minus_L_F77=no
   13537 hardcode_automatic_F77=no
   13538 module_cmds_F77=
   13539 module_expsym_cmds_F77=
   13540 link_all_deplibs_F77=unknown
   13541 old_archive_cmds_F77=$old_archive_cmds
   13542 no_undefined_flag_F77=
   13543 whole_archive_flag_spec_F77=
   13544 enable_shared_with_static_runtimes_F77=no
   13545 
   13546 # Source file extension for f77 test sources.
   13547 ac_ext=f
   13548 
   13549 # Object file extension for compiled f77 test sources.
   13550 objext=o
   13551 objext_F77=$objext
   13552 
   13553 # Code to be used in simple compile tests
   13554 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13555 
   13556 # Code to be used in simple link tests
   13557 lt_simple_link_test_code="      program t\n      end\n"
   13558 
   13559 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13560 
   13561 # If no C compiler was specified, use CC.
   13562 LTCC=${LTCC-"$CC"}
   13563 
   13564 # If no C compiler flags were specified, use CFLAGS.
   13565 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13566 
   13567 # Allow CC to be a program name with arguments.
   13568 compiler=$CC
   13569 
   13570 
   13571 # save warnings/boilerplate of simple test code
   13572 ac_outfile=conftest.$ac_objext
   13573 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13574 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13575 _lt_compiler_boilerplate=`cat conftest.err`
   13576 $rm conftest*
   13577 
   13578 ac_outfile=conftest.$ac_objext
   13579 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13580 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13581 _lt_linker_boilerplate=`cat conftest.err`
   13582 $rm conftest*
   13583 
   13584 
   13585 # Allow CC to be a program name with arguments.
   13586 lt_save_CC="$CC"
   13587 CC=${F77-"f77"}
   13588 compiler=$CC
   13589 compiler_F77=$CC
   13590 for cc_temp in $compiler""; do
   13591   case $cc_temp in
   13592     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13593     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13594     \-*) ;;
   13595     *) break;;
   13596   esac
   13597 done
   13598 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13599 
   13600 
   13601 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13602 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13603 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13604 echo "${ECHO_T}$can_build_shared" >&6; }
   13605 
   13606 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13607 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13608 test "$can_build_shared" = "no" && enable_shared=no
   13609 
   13610 # On AIX, shared libraries and static libraries use the same namespace, and
   13611 # are all built from PIC.
   13612 case $host_os in
   13613 aix3*)
   13614   test "$enable_shared" = yes && enable_static=no
   13615   if test -n "$RANLIB"; then
   13616     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13617     postinstall_cmds='$RANLIB $lib'
   13618   fi
   13619   ;;
   13620 aix4* | aix5*)
   13621   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13622     test "$enable_shared" = yes && enable_static=no
   13623   fi
   13624   ;;
   13625 esac
   13626 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13627 echo "${ECHO_T}$enable_shared" >&6; }
   13628 
   13629 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13630 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13631 # Make sure either enable_shared or enable_static is yes.
   13632 test "$enable_shared" = yes || enable_static=yes
   13633 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13634 echo "${ECHO_T}$enable_static" >&6; }
   13635 
   13636 GCC_F77="$G77"
   13637 LD_F77="$LD"
   13638 
   13639 lt_prog_compiler_wl_F77=
   13640 lt_prog_compiler_pic_F77=
   13641 lt_prog_compiler_static_F77=
   13642 
   13643 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13644 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13645 
   13646   if test "$GCC" = yes; then
   13647     lt_prog_compiler_wl_F77='-Wl,'
   13648     lt_prog_compiler_static_F77='-static'
   13649 
   13650     case $host_os in
   13651       aix*)
   13652       # All AIX code is PIC.
   13653       if test "$host_cpu" = ia64; then
   13654 	# AIX 5 now supports IA64 processor
   13655 	lt_prog_compiler_static_F77='-Bstatic'
   13656       fi
   13657       ;;
   13658 
   13659     amigaos*)
   13660       # FIXME: we need at least 68020 code to build shared libraries, but
   13661       # adding the `-m68020' flag to GCC prevents building anything better,
   13662       # like `-m68040'.
   13663       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13664       ;;
   13665 
   13666     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13667       # PIC is the default for these OSes.
   13668       ;;
   13669 
   13670     mingw* | pw32* | os2*)
   13671       # This hack is so that the source file can tell whether it is being
   13672       # built for inclusion in a dll (and should export symbols for example).
   13673       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13674       ;;
   13675 
   13676     darwin* | rhapsody*)
   13677       # PIC is the default on this platform
   13678       # Common symbols not allowed in MH_DYLIB files
   13679       lt_prog_compiler_pic_F77='-fno-common'
   13680       ;;
   13681 
   13682     interix3*)
   13683       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13684       # Instead, we relocate shared libraries at runtime.
   13685       ;;
   13686 
   13687     msdosdjgpp*)
   13688       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13689       # on systems that don't support them.
   13690       lt_prog_compiler_can_build_shared_F77=no
   13691       enable_shared=no
   13692       ;;
   13693 
   13694     sysv4*MP*)
   13695       if test -d /usr/nec; then
   13696 	lt_prog_compiler_pic_F77=-Kconform_pic
   13697       fi
   13698       ;;
   13699 
   13700     hpux*)
   13701       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13702       # not for PA HP-UX.
   13703       case $host_cpu in
   13704       hppa*64*|ia64*)
   13705 	# +Z the default
   13706 	;;
   13707       *)
   13708 	lt_prog_compiler_pic_F77='-fPIC'
   13709 	;;
   13710       esac
   13711       ;;
   13712 
   13713     *)
   13714       lt_prog_compiler_pic_F77='-fPIC'
   13715       ;;
   13716     esac
   13717   else
   13718     # PORTME Check for flag to pass linker flags through the system compiler.
   13719     case $host_os in
   13720     aix*)
   13721       lt_prog_compiler_wl_F77='-Wl,'
   13722       if test "$host_cpu" = ia64; then
   13723 	# AIX 5 now supports IA64 processor
   13724 	lt_prog_compiler_static_F77='-Bstatic'
   13725       else
   13726 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13727       fi
   13728       ;;
   13729       darwin*)
   13730         # PIC is the default on this platform
   13731         # Common symbols not allowed in MH_DYLIB files
   13732        case $cc_basename in
   13733          xlc*)
   13734          lt_prog_compiler_pic_F77='-qnocommon'
   13735          lt_prog_compiler_wl_F77='-Wl,'
   13736          ;;
   13737        esac
   13738        ;;
   13739 
   13740     mingw* | pw32* | os2*)
   13741       # This hack is so that the source file can tell whether it is being
   13742       # built for inclusion in a dll (and should export symbols for example).
   13743       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13744       ;;
   13745 
   13746     hpux9* | hpux10* | hpux11*)
   13747       lt_prog_compiler_wl_F77='-Wl,'
   13748       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13749       # not for PA HP-UX.
   13750       case $host_cpu in
   13751       hppa*64*|ia64*)
   13752 	# +Z the default
   13753 	;;
   13754       *)
   13755 	lt_prog_compiler_pic_F77='+Z'
   13756 	;;
   13757       esac
   13758       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13759       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13760       ;;
   13761 
   13762     irix5* | irix6* | nonstopux*)
   13763       lt_prog_compiler_wl_F77='-Wl,'
   13764       # PIC (with -KPIC) is the default.
   13765       lt_prog_compiler_static_F77='-non_shared'
   13766       ;;
   13767 
   13768     newsos6)
   13769       lt_prog_compiler_pic_F77='-KPIC'
   13770       lt_prog_compiler_static_F77='-Bstatic'
   13771       ;;
   13772 
   13773     linux*)
   13774       case $cc_basename in
   13775       icc* | ecc*)
   13776 	lt_prog_compiler_wl_F77='-Wl,'
   13777 	lt_prog_compiler_pic_F77='-KPIC'
   13778 	lt_prog_compiler_static_F77='-static'
   13779         ;;
   13780       pgcc* | pgf77* | pgf90* | pgf95*)
   13781         # Portland Group compilers (*not* the Pentium gcc compiler,
   13782 	# which looks to be a dead project)
   13783 	lt_prog_compiler_wl_F77='-Wl,'
   13784 	lt_prog_compiler_pic_F77='-fpic'
   13785 	lt_prog_compiler_static_F77='-Bstatic'
   13786         ;;
   13787       ccc*)
   13788         lt_prog_compiler_wl_F77='-Wl,'
   13789         # All Alpha code is PIC.
   13790         lt_prog_compiler_static_F77='-non_shared'
   13791         ;;
   13792       esac
   13793       ;;
   13794 
   13795     osf3* | osf4* | osf5*)
   13796       lt_prog_compiler_wl_F77='-Wl,'
   13797       # All OSF/1 code is PIC.
   13798       lt_prog_compiler_static_F77='-non_shared'
   13799       ;;
   13800 
   13801     solaris*)
   13802       lt_prog_compiler_pic_F77='-KPIC'
   13803       lt_prog_compiler_static_F77='-Bstatic'
   13804       case $cc_basename in
   13805       f77* | f90* | f95*)
   13806 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13807       *)
   13808 	lt_prog_compiler_wl_F77='-Wl,';;
   13809       esac
   13810       ;;
   13811 
   13812     sunos4*)
   13813       lt_prog_compiler_wl_F77='-Qoption ld '
   13814       lt_prog_compiler_pic_F77='-PIC'
   13815       lt_prog_compiler_static_F77='-Bstatic'
   13816       ;;
   13817 
   13818     sysv4 | sysv4.2uw2* | sysv4.3*)
   13819       lt_prog_compiler_wl_F77='-Wl,'
   13820       lt_prog_compiler_pic_F77='-KPIC'
   13821       lt_prog_compiler_static_F77='-Bstatic'
   13822       ;;
   13823 
   13824     sysv4*MP*)
   13825       if test -d /usr/nec ;then
   13826 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13827 	lt_prog_compiler_static_F77='-Bstatic'
   13828       fi
   13829       ;;
   13830 
   13831     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13832       lt_prog_compiler_wl_F77='-Wl,'
   13833       lt_prog_compiler_pic_F77='-KPIC'
   13834       lt_prog_compiler_static_F77='-Bstatic'
   13835       ;;
   13836 
   13837     unicos*)
   13838       lt_prog_compiler_wl_F77='-Wl,'
   13839       lt_prog_compiler_can_build_shared_F77=no
   13840       ;;
   13841 
   13842     uts4*)
   13843       lt_prog_compiler_pic_F77='-pic'
   13844       lt_prog_compiler_static_F77='-Bstatic'
   13845       ;;
   13846 
   13847     *)
   13848       lt_prog_compiler_can_build_shared_F77=no
   13849       ;;
   13850     esac
   13851   fi
   13852 
   13853 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13854 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13855 
   13856 #
   13857 # Check to make sure the PIC flag actually works.
   13858 #
   13859 if test -n "$lt_prog_compiler_pic_F77"; then
   13860 
   13861 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13862 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13863 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13864   echo $ECHO_N "(cached) $ECHO_C" >&6
   13865 else
   13866   lt_prog_compiler_pic_works_F77=no
   13867   ac_outfile=conftest.$ac_objext
   13868    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13869    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13870    # Insert the option either (1) after the last *FLAGS variable, or
   13871    # (2) before a word containing "conftest.", or (3) at the end.
   13872    # Note that $ac_compile itself does not contain backslashes and begins
   13873    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13874    # The option is referenced via a variable to avoid confusing sed.
   13875    lt_compile=`echo "$ac_compile" | $SED \
   13876    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13877    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13878    -e 's:$: $lt_compiler_flag:'`
   13879    (eval echo "\"\$as_me:13879: $lt_compile\"" >&5)
   13880    (eval "$lt_compile" 2>conftest.err)
   13881    ac_status=$?
   13882    cat conftest.err >&5
   13883    echo "$as_me:13883: \$? = $ac_status" >&5
   13884    if (exit $ac_status) && test -s "$ac_outfile"; then
   13885      # The compiler can only warn and ignore the option if not recognized
   13886      # So say no if there are warnings other than the usual output.
   13887      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13888      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13889      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13890        lt_prog_compiler_pic_works_F77=yes
   13891      fi
   13892    fi
   13893    $rm conftest*
   13894 
   13895 fi
   13896 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13897 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13898 
   13899 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13900     case $lt_prog_compiler_pic_F77 in
   13901      "" | " "*) ;;
   13902      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13903      esac
   13904 else
   13905     lt_prog_compiler_pic_F77=
   13906      lt_prog_compiler_can_build_shared_F77=no
   13907 fi
   13908 
   13909 fi
   13910 case $host_os in
   13911   # For platforms which do not support PIC, -DPIC is meaningless:
   13912   *djgpp*)
   13913     lt_prog_compiler_pic_F77=
   13914     ;;
   13915   *)
   13916     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13917     ;;
   13918 esac
   13919 
   13920 #
   13921 # Check to make sure the static flag actually works.
   13922 #
   13923 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13924 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13925 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13926 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13927   echo $ECHO_N "(cached) $ECHO_C" >&6
   13928 else
   13929   lt_prog_compiler_static_works_F77=no
   13930    save_LDFLAGS="$LDFLAGS"
   13931    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13932    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13933    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13934      # The linker can only warn and ignore the option if not recognized
   13935      # So say no if there are warnings
   13936      if test -s conftest.err; then
   13937        # Append any errors to the config.log.
   13938        cat conftest.err 1>&5
   13939        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13940        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13941        if diff conftest.exp conftest.er2 >/dev/null; then
   13942          lt_prog_compiler_static_works_F77=yes
   13943        fi
   13944      else
   13945        lt_prog_compiler_static_works_F77=yes
   13946      fi
   13947    fi
   13948    $rm conftest*
   13949    LDFLAGS="$save_LDFLAGS"
   13950 
   13951 fi
   13952 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13953 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   13954 
   13955 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13956     :
   13957 else
   13958     lt_prog_compiler_static_F77=
   13959 fi
   13960 
   13961 
   13962 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13963 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   13964 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13965   echo $ECHO_N "(cached) $ECHO_C" >&6
   13966 else
   13967   lt_cv_prog_compiler_c_o_F77=no
   13968    $rm -r conftest 2>/dev/null
   13969    mkdir conftest
   13970    cd conftest
   13971    mkdir out
   13972    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13973 
   13974    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13975    # Insert the option either (1) after the last *FLAGS variable, or
   13976    # (2) before a word containing "conftest.", or (3) at the end.
   13977    # Note that $ac_compile itself does not contain backslashes and begins
   13978    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13979    lt_compile=`echo "$ac_compile" | $SED \
   13980    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13981    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13982    -e 's:$: $lt_compiler_flag:'`
   13983    (eval echo "\"\$as_me:13983: $lt_compile\"" >&5)
   13984    (eval "$lt_compile" 2>out/conftest.err)
   13985    ac_status=$?
   13986    cat out/conftest.err >&5
   13987    echo "$as_me:13987: \$? = $ac_status" >&5
   13988    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13989    then
   13990      # The compiler can only warn and ignore the option if not recognized
   13991      # So say no if there are warnings
   13992      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13993      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13994      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13995        lt_cv_prog_compiler_c_o_F77=yes
   13996      fi
   13997    fi
   13998    chmod u+w . 2>&5
   13999    $rm conftest*
   14000    # SGI C++ compiler will create directory out/ii_files/ for
   14001    # template instantiation
   14002    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14003    $rm out/* && rmdir out
   14004    cd ..
   14005    rmdir conftest
   14006    $rm conftest*
   14007 
   14008 fi
   14009 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14010 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14011 
   14012 
   14013 hard_links="nottested"
   14014 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14015   # do not overwrite the value of need_locks provided by the user
   14016   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14017 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14018   hard_links=yes
   14019   $rm conftest*
   14020   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14021   touch conftest.a
   14022   ln conftest.a conftest.b 2>&5 || hard_links=no
   14023   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14024   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14025 echo "${ECHO_T}$hard_links" >&6; }
   14026   if test "$hard_links" = no; then
   14027     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14028 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14029     need_locks=warn
   14030   fi
   14031 else
   14032   need_locks=no
   14033 fi
   14034 
   14035 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14036 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14037 
   14038   runpath_var=
   14039   allow_undefined_flag_F77=
   14040   enable_shared_with_static_runtimes_F77=no
   14041   archive_cmds_F77=
   14042   archive_expsym_cmds_F77=
   14043   old_archive_From_new_cmds_F77=
   14044   old_archive_from_expsyms_cmds_F77=
   14045   export_dynamic_flag_spec_F77=
   14046   whole_archive_flag_spec_F77=
   14047   thread_safe_flag_spec_F77=
   14048   hardcode_libdir_flag_spec_F77=
   14049   hardcode_libdir_flag_spec_ld_F77=
   14050   hardcode_libdir_separator_F77=
   14051   hardcode_direct_F77=no
   14052   hardcode_minus_L_F77=no
   14053   hardcode_shlibpath_var_F77=unsupported
   14054   link_all_deplibs_F77=unknown
   14055   hardcode_automatic_F77=no
   14056   module_cmds_F77=
   14057   module_expsym_cmds_F77=
   14058   always_export_symbols_F77=no
   14059   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14060   # include_expsyms should be a list of space-separated symbols to be *always*
   14061   # included in the symbol list
   14062   include_expsyms_F77=
   14063   # exclude_expsyms can be an extended regexp of symbols to exclude
   14064   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14065   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14066   # as well as any symbol that contains `d'.
   14067   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14068   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14069   # platforms (ab)use it in PIC code, but their linkers get confused if
   14070   # the symbol is explicitly referenced.  Since portable code cannot
   14071   # rely on this symbol name, it's probably fine to never include it in
   14072   # preloaded symbol tables.
   14073   extract_expsyms_cmds=
   14074   # Just being paranoid about ensuring that cc_basename is set.
   14075   for cc_temp in $compiler""; do
   14076   case $cc_temp in
   14077     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14078     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14079     \-*) ;;
   14080     *) break;;
   14081   esac
   14082 done
   14083 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14084 
   14085   case $host_os in
   14086   cygwin* | mingw* | pw32*)
   14087     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14088     # When not using gcc, we currently assume that we are using
   14089     # Microsoft Visual C++.
   14090     if test "$GCC" != yes; then
   14091       with_gnu_ld=no
   14092     fi
   14093     ;;
   14094   interix*)
   14095     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14096     with_gnu_ld=yes
   14097     ;;
   14098   openbsd*)
   14099     with_gnu_ld=no
   14100     ;;
   14101   esac
   14102 
   14103   ld_shlibs_F77=yes
   14104   if test "$with_gnu_ld" = yes; then
   14105     # If archive_cmds runs LD, not CC, wlarc should be empty
   14106     wlarc='${wl}'
   14107 
   14108     # Set some defaults for GNU ld with shared library support. These
   14109     # are reset later if shared libraries are not supported. Putting them
   14110     # here allows them to be overridden if necessary.
   14111     runpath_var=LD_RUN_PATH
   14112     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14113     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14114     # ancient GNU ld didn't support --whole-archive et. al.
   14115     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14116 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14117       else
   14118   	whole_archive_flag_spec_F77=
   14119     fi
   14120     supports_anon_versioning=no
   14121     case `$LD -v 2>/dev/null` in
   14122       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14123       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14124       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14125       *\ 2.11.*) ;; # other 2.11 versions
   14126       *) supports_anon_versioning=yes ;;
   14127     esac
   14128 
   14129     # See if GNU ld supports shared libraries.
   14130     case $host_os in
   14131     aix3* | aix4* | aix5*)
   14132       # On AIX/PPC, the GNU linker is very broken
   14133       if test "$host_cpu" != ia64; then
   14134 	ld_shlibs_F77=no
   14135 	cat <<EOF 1>&2
   14136 
   14137 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14138 *** to be unable to reliably create shared libraries on AIX.
   14139 *** Therefore, libtool is disabling shared libraries support.  If you
   14140 *** really care for shared libraries, you may want to modify your PATH
   14141 *** so that a non-GNU linker is found, and then restart.
   14142 
   14143 EOF
   14144       fi
   14145       ;;
   14146 
   14147     amigaos*)
   14148       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)'
   14149       hardcode_libdir_flag_spec_F77='-L$libdir'
   14150       hardcode_minus_L_F77=yes
   14151 
   14152       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14153       # that the semantics of dynamic libraries on AmigaOS, at least up
   14154       # to version 4, is to share data among multiple programs linked
   14155       # with the same dynamic library.  Since this doesn't match the
   14156       # behavior of shared libraries on other platforms, we can't use
   14157       # them.
   14158       ld_shlibs_F77=no
   14159       ;;
   14160 
   14161     beos*)
   14162       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14163 	allow_undefined_flag_F77=unsupported
   14164 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14165 	# support --undefined.  This deserves some investigation.  FIXME
   14166 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14167       else
   14168 	ld_shlibs_F77=no
   14169       fi
   14170       ;;
   14171 
   14172     cygwin* | mingw* | pw32*)
   14173       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14174       # as there is no search path for DLLs.
   14175       hardcode_libdir_flag_spec_F77='-L$libdir'
   14176       allow_undefined_flag_F77=unsupported
   14177       always_export_symbols_F77=no
   14178       enable_shared_with_static_runtimes_F77=yes
   14179       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14180 
   14181       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14182         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14183 	# If the export-symbols file already is a .def file (1st line
   14184 	# is EXPORTS), use it as is; otherwise, prepend...
   14185 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14186 	  cp $export_symbols $output_objdir/$soname.def;
   14187 	else
   14188 	  echo EXPORTS > $output_objdir/$soname.def;
   14189 	  cat $export_symbols >> $output_objdir/$soname.def;
   14190 	fi~
   14191 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14192       else
   14193 	ld_shlibs_F77=no
   14194       fi
   14195       ;;
   14196 
   14197     interix3*)
   14198       hardcode_direct_F77=no
   14199       hardcode_shlibpath_var_F77=no
   14200       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14201       export_dynamic_flag_spec_F77='${wl}-E'
   14202       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14203       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14204       # default) and relocated if they conflict, which is a slow very memory
   14205       # consuming and fragmenting process.  To avoid this, we pick a random,
   14206       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14207       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14208       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'
   14209       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'
   14210       ;;
   14211 
   14212     linux*)
   14213       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14214 	tmp_addflag=
   14215 	case $cc_basename,$host_cpu in
   14216 	pgcc*)				# Portland Group C compiler
   14217 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14218 	  tmp_addflag=' $pic_flag'
   14219 	  ;;
   14220 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14221 	  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'
   14222 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14223 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14224 	  tmp_addflag=' -i_dynamic' ;;
   14225 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14226 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14227 	ifc* | ifort*)			# Intel Fortran compiler
   14228 	  tmp_addflag=' -nofor_main' ;;
   14229 	esac
   14230 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14231 
   14232 	if test $supports_anon_versioning = yes; then
   14233 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14234   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14235   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14236 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14237 	fi
   14238       else
   14239 	ld_shlibs_F77=no
   14240       fi
   14241       ;;
   14242 
   14243     netbsd*)
   14244       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14245 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14246 	wlarc=
   14247       else
   14248 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14249 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14250       fi
   14251       ;;
   14252 
   14253     solaris*)
   14254       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14255 	ld_shlibs_F77=no
   14256 	cat <<EOF 1>&2
   14257 
   14258 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14259 *** create shared libraries on Solaris systems.  Therefore, libtool
   14260 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14261 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14262 *** your PATH or compiler configuration so that the native linker is
   14263 *** used, and then restart.
   14264 
   14265 EOF
   14266       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14267 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14268 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14269       else
   14270 	ld_shlibs_F77=no
   14271       fi
   14272       ;;
   14273 
   14274     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14275       case `$LD -v 2>&1` in
   14276         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14277 	ld_shlibs_F77=no
   14278 	cat <<_LT_EOF 1>&2
   14279 
   14280 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14281 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14282 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14283 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14284 *** your PATH or compiler configuration so that the native linker is
   14285 *** used, and then restart.
   14286 
   14287 _LT_EOF
   14288 	;;
   14289 	*)
   14290 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14291 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14292 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14293 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14294 	  else
   14295 	    ld_shlibs_F77=no
   14296 	  fi
   14297 	;;
   14298       esac
   14299       ;;
   14300 
   14301     sunos4*)
   14302       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14303       wlarc=
   14304       hardcode_direct_F77=yes
   14305       hardcode_shlibpath_var_F77=no
   14306       ;;
   14307 
   14308     *)
   14309       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14310 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14311 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14312       else
   14313 	ld_shlibs_F77=no
   14314       fi
   14315       ;;
   14316     esac
   14317 
   14318     if test "$ld_shlibs_F77" = no; then
   14319       runpath_var=
   14320       hardcode_libdir_flag_spec_F77=
   14321       export_dynamic_flag_spec_F77=
   14322       whole_archive_flag_spec_F77=
   14323     fi
   14324   else
   14325     # PORTME fill in a description of your system's linker (not GNU ld)
   14326     case $host_os in
   14327     aix3*)
   14328       allow_undefined_flag_F77=unsupported
   14329       always_export_symbols_F77=yes
   14330       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'
   14331       # Note: this linker hardcodes the directories in LIBPATH if there
   14332       # are no directories specified by -L.
   14333       hardcode_minus_L_F77=yes
   14334       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14335 	# Neither direct hardcoding nor static linking is supported with a
   14336 	# broken collect2.
   14337 	hardcode_direct_F77=unsupported
   14338       fi
   14339       ;;
   14340 
   14341     aix4* | aix5*)
   14342       if test "$host_cpu" = ia64; then
   14343 	# On IA64, the linker does run time linking by default, so we don't
   14344 	# have to do anything special.
   14345 	aix_use_runtimelinking=no
   14346 	exp_sym_flag='-Bexport'
   14347 	no_entry_flag=""
   14348       else
   14349 	# If we're using GNU nm, then we don't want the "-C" option.
   14350 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14351 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14352 	  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'
   14353 	else
   14354 	  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'
   14355 	fi
   14356 	aix_use_runtimelinking=no
   14357 
   14358 	# Test if we are trying to use run time linking or normal
   14359 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14360 	# need to do runtime linking.
   14361 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14362 	  for ld_flag in $LDFLAGS; do
   14363   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14364   	    aix_use_runtimelinking=yes
   14365   	    break
   14366   	  fi
   14367 	  done
   14368 	  ;;
   14369 	esac
   14370 
   14371 	exp_sym_flag='-bexport'
   14372 	no_entry_flag='-bnoentry'
   14373       fi
   14374 
   14375       # When large executables or shared objects are built, AIX ld can
   14376       # have problems creating the table of contents.  If linking a library
   14377       # or program results in "error TOC overflow" add -mminimal-toc to
   14378       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14379       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14380 
   14381       archive_cmds_F77=''
   14382       hardcode_direct_F77=yes
   14383       hardcode_libdir_separator_F77=':'
   14384       link_all_deplibs_F77=yes
   14385 
   14386       if test "$GCC" = yes; then
   14387 	case $host_os in aix4.[012]|aix4.[012].*)
   14388 	# We only want to do this on AIX 4.2 and lower, the check
   14389 	# below for broken collect2 doesn't work under 4.3+
   14390 	  collect2name=`${CC} -print-prog-name=collect2`
   14391 	  if test -f "$collect2name" && \
   14392   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14393 	  then
   14394   	  # We have reworked collect2
   14395   	  hardcode_direct_F77=yes
   14396 	  else
   14397   	  # We have old collect2
   14398   	  hardcode_direct_F77=unsupported
   14399   	  # It fails to find uninstalled libraries when the uninstalled
   14400   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14401   	  # to unsupported forces relinking
   14402   	  hardcode_minus_L_F77=yes
   14403   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14404   	  hardcode_libdir_separator_F77=
   14405 	  fi
   14406 	  ;;
   14407 	esac
   14408 	shared_flag='-shared'
   14409 	if test "$aix_use_runtimelinking" = yes; then
   14410 	  shared_flag="$shared_flag "'${wl}-G'
   14411 	fi
   14412       else
   14413 	# not using gcc
   14414 	if test "$host_cpu" = ia64; then
   14415   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14416   	# chokes on -Wl,-G. The following line is correct:
   14417 	  shared_flag='-G'
   14418 	else
   14419 	  if test "$aix_use_runtimelinking" = yes; then
   14420 	    shared_flag='${wl}-G'
   14421 	  else
   14422 	    shared_flag='${wl}-bM:SRE'
   14423 	  fi
   14424 	fi
   14425       fi
   14426 
   14427       # It seems that -bexpall does not export symbols beginning with
   14428       # underscore (_), so it is better to generate a list of symbols to export.
   14429       always_export_symbols_F77=yes
   14430       if test "$aix_use_runtimelinking" = yes; then
   14431 	# Warning - without using the other runtime loading flags (-brtl),
   14432 	# -berok will link without error, but may produce a broken library.
   14433 	allow_undefined_flag_F77='-berok'
   14434        # Determine the default libpath from the value encoded in an empty executable.
   14435        cat >conftest.$ac_ext <<_ACEOF
   14436       program main
   14437 
   14438       end
   14439 _ACEOF
   14440 rm -f conftest.$ac_objext conftest$ac_exeext
   14441 if { (ac_try="$ac_link"
   14442 case "(($ac_try" in
   14443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14444   *) ac_try_echo=$ac_try;;
   14445 esac
   14446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14447   (eval "$ac_link") 2>conftest.er1
   14448   ac_status=$?
   14449   grep -v '^ *+' conftest.er1 >conftest.err
   14450   rm -f conftest.er1
   14451   cat conftest.err >&5
   14452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14453   (exit $ac_status); } && {
   14454 	 test -z "$ac_f77_werror_flag" ||
   14455 	 test ! -s conftest.err
   14456        } && test -s conftest$ac_exeext &&
   14457        $as_test_x conftest$ac_exeext; then
   14458 
   14459 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14460 }'`
   14461 # Check for a 64-bit object if we didn't find anything.
   14462 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14463 }'`; fi
   14464 else
   14465   echo "$as_me: failed program was:" >&5
   14466 sed 's/^/| /' conftest.$ac_ext >&5
   14467 
   14468 
   14469 fi
   14470 
   14471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14472       conftest$ac_exeext conftest.$ac_ext
   14473 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14474 
   14475        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14476 	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"
   14477        else
   14478 	if test "$host_cpu" = ia64; then
   14479 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14480 	  allow_undefined_flag_F77="-z nodefs"
   14481 	  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"
   14482 	else
   14483 	 # Determine the default libpath from the value encoded in an empty executable.
   14484 	 cat >conftest.$ac_ext <<_ACEOF
   14485       program main
   14486 
   14487       end
   14488 _ACEOF
   14489 rm -f conftest.$ac_objext conftest$ac_exeext
   14490 if { (ac_try="$ac_link"
   14491 case "(($ac_try" in
   14492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14493   *) ac_try_echo=$ac_try;;
   14494 esac
   14495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14496   (eval "$ac_link") 2>conftest.er1
   14497   ac_status=$?
   14498   grep -v '^ *+' conftest.er1 >conftest.err
   14499   rm -f conftest.er1
   14500   cat conftest.err >&5
   14501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14502   (exit $ac_status); } && {
   14503 	 test -z "$ac_f77_werror_flag" ||
   14504 	 test ! -s conftest.err
   14505        } && test -s conftest$ac_exeext &&
   14506        $as_test_x conftest$ac_exeext; then
   14507 
   14508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14509 }'`
   14510 # Check for a 64-bit object if we didn't find anything.
   14511 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14512 }'`; fi
   14513 else
   14514   echo "$as_me: failed program was:" >&5
   14515 sed 's/^/| /' conftest.$ac_ext >&5
   14516 
   14517 
   14518 fi
   14519 
   14520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14521       conftest$ac_exeext conftest.$ac_ext
   14522 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14523 
   14524 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14525 	  # Warning - without using the other run time loading flags,
   14526 	  # -berok will link without error, but may produce a broken library.
   14527 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14528 	  allow_undefined_flag_F77=' ${wl}-berok'
   14529 	  # Exported symbols can be pulled into shared objects from archives
   14530 	  whole_archive_flag_spec_F77='$convenience'
   14531 	  archive_cmds_need_lc_F77=yes
   14532 	  # This is similar to how AIX traditionally builds its shared libraries.
   14533 	  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'
   14534 	fi
   14535       fi
   14536       ;;
   14537 
   14538     amigaos*)
   14539       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)'
   14540       hardcode_libdir_flag_spec_F77='-L$libdir'
   14541       hardcode_minus_L_F77=yes
   14542       # see comment about different semantics on the GNU ld section
   14543       ld_shlibs_F77=no
   14544       ;;
   14545 
   14546     bsdi[45]*)
   14547       export_dynamic_flag_spec_F77=-rdynamic
   14548       ;;
   14549 
   14550     cygwin* | mingw* | pw32*)
   14551       # When not using gcc, we currently assume that we are using
   14552       # Microsoft Visual C++.
   14553       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14554       # no search path for DLLs.
   14555       hardcode_libdir_flag_spec_F77=' '
   14556       allow_undefined_flag_F77=unsupported
   14557       # Tell ltmain to make .lib files, not .a files.
   14558       libext=lib
   14559       # Tell ltmain to make .dll files, not .so files.
   14560       shrext_cmds=".dll"
   14561       # FIXME: Setting linknames here is a bad hack.
   14562       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14563       # The linker will automatically build a .lib file if we build a DLL.
   14564       old_archive_From_new_cmds_F77='true'
   14565       # FIXME: Should let the user specify the lib program.
   14566       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14567       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14568       enable_shared_with_static_runtimes_F77=yes
   14569       ;;
   14570 
   14571     darwin* | rhapsody*)
   14572       case $host_os in
   14573         rhapsody* | darwin1.[012])
   14574          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14575          ;;
   14576        *) # Darwin 1.3 on
   14577          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14578            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14579          else
   14580            case ${MACOSX_DEPLOYMENT_TARGET} in
   14581              10.[012])
   14582                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14583                ;;
   14584              10.*)
   14585                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14586                ;;
   14587            esac
   14588          fi
   14589          ;;
   14590       esac
   14591       archive_cmds_need_lc_F77=no
   14592       hardcode_direct_F77=no
   14593       hardcode_automatic_F77=yes
   14594       hardcode_shlibpath_var_F77=unsupported
   14595       whole_archive_flag_spec_F77=''
   14596       link_all_deplibs_F77=yes
   14597     if test "$GCC" = yes ; then
   14598     	output_verbose_link_cmd='echo'
   14599         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14600       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14601       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14602       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14603       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}'
   14604     else
   14605       case $cc_basename in
   14606         xlc*)
   14607          output_verbose_link_cmd='echo'
   14608          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14609          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14610           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14611          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   14612           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}'
   14613           ;;
   14614        *)
   14615          ld_shlibs_F77=no
   14616           ;;
   14617       esac
   14618     fi
   14619       ;;
   14620 
   14621     dgux*)
   14622       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14623       hardcode_libdir_flag_spec_F77='-L$libdir'
   14624       hardcode_shlibpath_var_F77=no
   14625       ;;
   14626 
   14627     freebsd1*)
   14628       ld_shlibs_F77=no
   14629       ;;
   14630 
   14631     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14632     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14633     # does not break anything, and helps significantly (at the cost of a little
   14634     # extra space).
   14635     freebsd2.2*)
   14636       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14637       hardcode_libdir_flag_spec_F77='-R$libdir'
   14638       hardcode_direct_F77=yes
   14639       hardcode_shlibpath_var_F77=no
   14640       ;;
   14641 
   14642     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14643     freebsd2*)
   14644       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14645       hardcode_direct_F77=yes
   14646       hardcode_minus_L_F77=yes
   14647       hardcode_shlibpath_var_F77=no
   14648       ;;
   14649 
   14650     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14651     freebsd* | kfreebsd*-gnu | dragonfly*)
   14652       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14653       hardcode_libdir_flag_spec_F77='-R$libdir'
   14654       hardcode_direct_F77=yes
   14655       hardcode_shlibpath_var_F77=no
   14656       ;;
   14657 
   14658     hpux9*)
   14659       if test "$GCC" = yes; then
   14660 	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'
   14661       else
   14662 	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'
   14663       fi
   14664       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14665       hardcode_libdir_separator_F77=:
   14666       hardcode_direct_F77=yes
   14667 
   14668       # hardcode_minus_L: Not really in the search PATH,
   14669       # but as the default location of the library.
   14670       hardcode_minus_L_F77=yes
   14671       export_dynamic_flag_spec_F77='${wl}-E'
   14672       ;;
   14673 
   14674     hpux10*)
   14675       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14676 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14677       else
   14678 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14679       fi
   14680       if test "$with_gnu_ld" = no; then
   14681 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14682 	hardcode_libdir_separator_F77=:
   14683 
   14684 	hardcode_direct_F77=yes
   14685 	export_dynamic_flag_spec_F77='${wl}-E'
   14686 
   14687 	# hardcode_minus_L: Not really in the search PATH,
   14688 	# but as the default location of the library.
   14689 	hardcode_minus_L_F77=yes
   14690       fi
   14691       ;;
   14692 
   14693     hpux11*)
   14694       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14695 	case $host_cpu in
   14696 	hppa*64*)
   14697 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14698 	  ;;
   14699 	ia64*)
   14700 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14701 	  ;;
   14702 	*)
   14703 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14704 	  ;;
   14705 	esac
   14706       else
   14707 	case $host_cpu in
   14708 	hppa*64*)
   14709 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14710 	  ;;
   14711 	ia64*)
   14712 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14713 	  ;;
   14714 	*)
   14715 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14716 	  ;;
   14717 	esac
   14718       fi
   14719       if test "$with_gnu_ld" = no; then
   14720 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14721 	hardcode_libdir_separator_F77=:
   14722 
   14723 	case $host_cpu in
   14724 	hppa*64*|ia64*)
   14725 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14726 	  hardcode_direct_F77=no
   14727 	  hardcode_shlibpath_var_F77=no
   14728 	  ;;
   14729 	*)
   14730 	  hardcode_direct_F77=yes
   14731 	  export_dynamic_flag_spec_F77='${wl}-E'
   14732 
   14733 	  # hardcode_minus_L: Not really in the search PATH,
   14734 	  # but as the default location of the library.
   14735 	  hardcode_minus_L_F77=yes
   14736 	  ;;
   14737 	esac
   14738       fi
   14739       ;;
   14740 
   14741     irix5* | irix6* | nonstopux*)
   14742       if test "$GCC" = yes; then
   14743 	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'
   14744       else
   14745 	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'
   14746 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14747       fi
   14748       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14749       hardcode_libdir_separator_F77=:
   14750       link_all_deplibs_F77=yes
   14751       ;;
   14752 
   14753     netbsd*)
   14754       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14755 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14756       else
   14757 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14758       fi
   14759       hardcode_libdir_flag_spec_F77='-R$libdir'
   14760       hardcode_direct_F77=yes
   14761       hardcode_shlibpath_var_F77=no
   14762       ;;
   14763 
   14764     newsos6)
   14765       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14766       hardcode_direct_F77=yes
   14767       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14768       hardcode_libdir_separator_F77=:
   14769       hardcode_shlibpath_var_F77=no
   14770       ;;
   14771 
   14772     openbsd*)
   14773       hardcode_direct_F77=yes
   14774       hardcode_shlibpath_var_F77=no
   14775       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14776 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14777 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14778 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14779 	export_dynamic_flag_spec_F77='${wl}-E'
   14780       else
   14781        case $host_os in
   14782 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14783 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14784 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14785 	   ;;
   14786 	 *)
   14787 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14788 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14789 	   ;;
   14790        esac
   14791       fi
   14792       ;;
   14793 
   14794     os2*)
   14795       hardcode_libdir_flag_spec_F77='-L$libdir'
   14796       hardcode_minus_L_F77=yes
   14797       allow_undefined_flag_F77=unsupported
   14798       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'
   14799       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14800       ;;
   14801 
   14802     osf3*)
   14803       if test "$GCC" = yes; then
   14804 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14805 	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'
   14806       else
   14807 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14808 	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'
   14809       fi
   14810       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14811       hardcode_libdir_separator_F77=:
   14812       ;;
   14813 
   14814     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14815       if test "$GCC" = yes; then
   14816 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14817 	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'
   14818 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14819       else
   14820 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14821 	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'
   14822 	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~
   14823 	$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'
   14824 
   14825 	# Both c and cxx compiler support -rpath directly
   14826 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14827       fi
   14828       hardcode_libdir_separator_F77=:
   14829       ;;
   14830 
   14831     solaris*)
   14832       no_undefined_flag_F77=' -z text'
   14833       if test "$GCC" = yes; then
   14834 	wlarc='${wl}'
   14835 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14836 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14837 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14838       else
   14839 	wlarc=''
   14840 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14841 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14842   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14843       fi
   14844       hardcode_libdir_flag_spec_F77='-R$libdir'
   14845       hardcode_shlibpath_var_F77=no
   14846       case $host_os in
   14847       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14848       *)
   14849  	# The compiler driver will combine linker options so we
   14850  	# cannot just pass the convience library names through
   14851  	# without $wl, iff we do not link with $LD.
   14852  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14853  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14854  	case $wlarc in
   14855  	'')
   14856  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14857  	*)
   14858  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   14859  	esac ;;
   14860       esac
   14861       link_all_deplibs_F77=yes
   14862       ;;
   14863 
   14864     sunos4*)
   14865       if test "x$host_vendor" = xsequent; then
   14866 	# Use $CC to link under sequent, because it throws in some extra .o
   14867 	# files that make .init and .fini sections work.
   14868 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14869       else
   14870 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14871       fi
   14872       hardcode_libdir_flag_spec_F77='-L$libdir'
   14873       hardcode_direct_F77=yes
   14874       hardcode_minus_L_F77=yes
   14875       hardcode_shlibpath_var_F77=no
   14876       ;;
   14877 
   14878     sysv4)
   14879       case $host_vendor in
   14880 	sni)
   14881 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14882 	  hardcode_direct_F77=yes # is this really true???
   14883 	;;
   14884 	siemens)
   14885 	  ## LD is ld it makes a PLAMLIB
   14886 	  ## CC just makes a GrossModule.
   14887 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14888 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14889 	  hardcode_direct_F77=no
   14890         ;;
   14891 	motorola)
   14892 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14893 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14894 	;;
   14895       esac
   14896       runpath_var='LD_RUN_PATH'
   14897       hardcode_shlibpath_var_F77=no
   14898       ;;
   14899 
   14900     sysv4.3*)
   14901       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14902       hardcode_shlibpath_var_F77=no
   14903       export_dynamic_flag_spec_F77='-Bexport'
   14904       ;;
   14905 
   14906     sysv4*MP*)
   14907       if test -d /usr/nec; then
   14908 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14909 	hardcode_shlibpath_var_F77=no
   14910 	runpath_var=LD_RUN_PATH
   14911 	hardcode_runpath_var=yes
   14912 	ld_shlibs_F77=yes
   14913       fi
   14914       ;;
   14915 
   14916     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14917       no_undefined_flag_F77='${wl}-z,text'
   14918       archive_cmds_need_lc_F77=no
   14919       hardcode_shlibpath_var_F77=no
   14920       runpath_var='LD_RUN_PATH'
   14921 
   14922       if test "$GCC" = yes; then
   14923 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14924 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14925       else
   14926 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14927 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14928       fi
   14929       ;;
   14930 
   14931     sysv5* | sco3.2v5* | sco5v6*)
   14932       # Note: We can NOT use -z defs as we might desire, because we do not
   14933       # link with -lc, and that would cause any symbols used from libc to
   14934       # always be unresolved, which means just about no library would
   14935       # ever link correctly.  If we're not using GNU ld we use -z text
   14936       # though, which does catch some bad symbols but isn't as heavy-handed
   14937       # as -z defs.
   14938       no_undefined_flag_F77='${wl}-z,text'
   14939       allow_undefined_flag_F77='${wl}-z,nodefs'
   14940       archive_cmds_need_lc_F77=no
   14941       hardcode_shlibpath_var_F77=no
   14942       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14943       hardcode_libdir_separator_F77=':'
   14944       link_all_deplibs_F77=yes
   14945       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14946       runpath_var='LD_RUN_PATH'
   14947 
   14948       if test "$GCC" = yes; then
   14949 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14950 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14951       else
   14952 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14953 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14954       fi
   14955       ;;
   14956 
   14957     uts4*)
   14958       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14959       hardcode_libdir_flag_spec_F77='-L$libdir'
   14960       hardcode_shlibpath_var_F77=no
   14961       ;;
   14962 
   14963     *)
   14964       ld_shlibs_F77=no
   14965       ;;
   14966     esac
   14967   fi
   14968 
   14969 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14970 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   14971 test "$ld_shlibs_F77" = no && can_build_shared=no
   14972 
   14973 #
   14974 # Do we need to explicitly link libc?
   14975 #
   14976 case "x$archive_cmds_need_lc_F77" in
   14977 x|xyes)
   14978   # Assume -lc should be added
   14979   archive_cmds_need_lc_F77=yes
   14980 
   14981   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14982     case $archive_cmds_F77 in
   14983     *'~'*)
   14984       # FIXME: we may have to deal with multi-command sequences.
   14985       ;;
   14986     '$CC '*)
   14987       # Test whether the compiler implicitly links with -lc since on some
   14988       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14989       # to ld, don't add -lc before -lgcc.
   14990       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   14991 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   14992       $rm conftest*
   14993       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14994 
   14995       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14996   (eval $ac_compile) 2>&5
   14997   ac_status=$?
   14998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14999   (exit $ac_status); } 2>conftest.err; then
   15000         soname=conftest
   15001         lib=conftest
   15002         libobjs=conftest.$ac_objext
   15003         deplibs=
   15004         wl=$lt_prog_compiler_wl_F77
   15005 	pic_flag=$lt_prog_compiler_pic_F77
   15006         compiler_flags=-v
   15007         linker_flags=-v
   15008         verstring=
   15009         output_objdir=.
   15010         libname=conftest
   15011         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15012         allow_undefined_flag_F77=
   15013         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15014   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15015   ac_status=$?
   15016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15017   (exit $ac_status); }
   15018         then
   15019 	  archive_cmds_need_lc_F77=no
   15020         else
   15021 	  archive_cmds_need_lc_F77=yes
   15022         fi
   15023         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15024       else
   15025         cat conftest.err 1>&5
   15026       fi
   15027       $rm conftest*
   15028       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15029 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15030       ;;
   15031     esac
   15032   fi
   15033   ;;
   15034 esac
   15035 
   15036 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15037 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15038 library_names_spec=
   15039 libname_spec='lib$name'
   15040 soname_spec=
   15041 shrext_cmds=".so"
   15042 postinstall_cmds=
   15043 postuninstall_cmds=
   15044 finish_cmds=
   15045 finish_eval=
   15046 shlibpath_var=
   15047 shlibpath_overrides_runpath=unknown
   15048 version_type=none
   15049 dynamic_linker="$host_os ld.so"
   15050 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15051 if test "$GCC" = yes; then
   15052   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15053   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15054     # if the path contains ";" then we assume it to be the separator
   15055     # otherwise default to the standard path separator (i.e. ":") - it is
   15056     # assumed that no part of a normal pathname contains ";" but that should
   15057     # okay in the real world where ";" in dirpaths is itself problematic.
   15058     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15059   else
   15060     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15061   fi
   15062 else
   15063   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15064 fi
   15065 need_lib_prefix=unknown
   15066 hardcode_into_libs=no
   15067 
   15068 # when you set need_version to no, make sure it does not cause -set_version
   15069 # flags to be left without arguments
   15070 need_version=unknown
   15071 
   15072 case $host_os in
   15073 aix3*)
   15074   version_type=linux
   15075   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15076   shlibpath_var=LIBPATH
   15077 
   15078   # AIX 3 has no versioning support, so we append a major version to the name.
   15079   soname_spec='${libname}${release}${shared_ext}$major'
   15080   ;;
   15081 
   15082 aix4* | aix5*)
   15083   version_type=linux
   15084   need_lib_prefix=no
   15085   need_version=no
   15086   hardcode_into_libs=yes
   15087   if test "$host_cpu" = ia64; then
   15088     # AIX 5 supports IA64
   15089     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15090     shlibpath_var=LD_LIBRARY_PATH
   15091   else
   15092     # With GCC up to 2.95.x, collect2 would create an import file
   15093     # for dependence libraries.  The import file would start with
   15094     # the line `#! .'.  This would cause the generated library to
   15095     # depend on `.', always an invalid library.  This was fixed in
   15096     # development snapshots of GCC prior to 3.0.
   15097     case $host_os in
   15098       aix4 | aix4.[01] | aix4.[01].*)
   15099       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15100 	   echo ' yes '
   15101 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15102 	:
   15103       else
   15104 	can_build_shared=no
   15105       fi
   15106       ;;
   15107     esac
   15108     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15109     # soname into executable. Probably we can add versioning support to
   15110     # collect2, so additional links can be useful in future.
   15111     if test "$aix_use_runtimelinking" = yes; then
   15112       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15113       # instead of lib<name>.a to let people know that these are not
   15114       # typical AIX shared libraries.
   15115       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15116     else
   15117       # We preserve .a as extension for shared libraries through AIX4.2
   15118       # and later when we are not doing run time linking.
   15119       library_names_spec='${libname}${release}.a $libname.a'
   15120       soname_spec='${libname}${release}${shared_ext}$major'
   15121     fi
   15122     shlibpath_var=LIBPATH
   15123   fi
   15124   ;;
   15125 
   15126 amigaos*)
   15127   library_names_spec='$libname.ixlibrary $libname.a'
   15128   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15129   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'
   15130   ;;
   15131 
   15132 beos*)
   15133   library_names_spec='${libname}${shared_ext}'
   15134   dynamic_linker="$host_os ld.so"
   15135   shlibpath_var=LIBRARY_PATH
   15136   ;;
   15137 
   15138 bsdi[45]*)
   15139   version_type=linux
   15140   need_version=no
   15141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15142   soname_spec='${libname}${release}${shared_ext}$major'
   15143   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15144   shlibpath_var=LD_LIBRARY_PATH
   15145   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15146   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15147   # the default ld.so.conf also contains /usr/contrib/lib and
   15148   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15149   # libtool to hard-code these into programs
   15150   ;;
   15151 
   15152 cygwin* | mingw* | pw32*)
   15153   version_type=windows
   15154   shrext_cmds=".dll"
   15155   need_version=no
   15156   need_lib_prefix=no
   15157 
   15158   case $GCC,$host_os in
   15159   yes,cygwin* | yes,mingw* | yes,pw32*)
   15160     library_names_spec='$libname.dll.a'
   15161     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15162     postinstall_cmds='base_file=`basename \${file}`~
   15163       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15164       dldir=$destdir/`dirname \$dlpath`~
   15165       test -d \$dldir || mkdir -p \$dldir~
   15166       $install_prog $dir/$dlname \$dldir/$dlname~
   15167       chmod a+x \$dldir/$dlname'
   15168     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15169       dlpath=$dir/\$dldll~
   15170        $rm \$dlpath'
   15171     shlibpath_overrides_runpath=yes
   15172 
   15173     case $host_os in
   15174     cygwin*)
   15175       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15176       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15177       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15178       ;;
   15179     mingw*)
   15180       # MinGW DLLs use traditional 'lib' prefix
   15181       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15182       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15183       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15184         # It is most probably a Windows format PATH printed by
   15185         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15186         # path with ; separators, and with drive letters. We can handle the
   15187         # drive letters (cygwin fileutils understands them), so leave them,
   15188         # especially as we might pass files found there to a mingw objdump,
   15189         # which wouldn't understand a cygwinified path. Ahh.
   15190         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15191       else
   15192         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15193       fi
   15194       ;;
   15195     pw32*)
   15196       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15197       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15198       ;;
   15199     esac
   15200     ;;
   15201 
   15202   *)
   15203     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15204     ;;
   15205   esac
   15206   dynamic_linker='Win32 ld.exe'
   15207   # FIXME: first we should search . and the directory the executable is in
   15208   shlibpath_var=PATH
   15209   ;;
   15210 
   15211 darwin* | rhapsody*)
   15212   dynamic_linker="$host_os dyld"
   15213   version_type=darwin
   15214   need_lib_prefix=no
   15215   need_version=no
   15216   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15217   soname_spec='${libname}${release}${major}$shared_ext'
   15218   shlibpath_overrides_runpath=yes
   15219   shlibpath_var=DYLD_LIBRARY_PATH
   15220   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15221   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15222   if test "$GCC" = yes; then
   15223     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   15224   else
   15225     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15226   fi
   15227   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15228   ;;
   15229 
   15230 dgux*)
   15231   version_type=linux
   15232   need_lib_prefix=no
   15233   need_version=no
   15234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15235   soname_spec='${libname}${release}${shared_ext}$major'
   15236   shlibpath_var=LD_LIBRARY_PATH
   15237   ;;
   15238 
   15239 freebsd1*)
   15240   dynamic_linker=no
   15241   ;;
   15242 
   15243 kfreebsd*-gnu)
   15244   version_type=linux
   15245   need_lib_prefix=no
   15246   need_version=no
   15247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15248   soname_spec='${libname}${release}${shared_ext}$major'
   15249   shlibpath_var=LD_LIBRARY_PATH
   15250   shlibpath_overrides_runpath=no
   15251   hardcode_into_libs=yes
   15252   dynamic_linker='GNU ld.so'
   15253   ;;
   15254 
   15255 freebsd* | dragonfly*)
   15256   # DragonFly does not have aout.  When/if they implement a new
   15257   # versioning mechanism, adjust this.
   15258   if test -x /usr/bin/objformat; then
   15259     objformat=`/usr/bin/objformat`
   15260   else
   15261     case $host_os in
   15262     freebsd[123]*) objformat=aout ;;
   15263     *) objformat=elf ;;
   15264     esac
   15265   fi
   15266   version_type=freebsd-$objformat
   15267   case $version_type in
   15268     freebsd-elf*)
   15269       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15270       need_version=no
   15271       need_lib_prefix=no
   15272       ;;
   15273     freebsd-*)
   15274       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15275       need_version=yes
   15276       ;;
   15277   esac
   15278   shlibpath_var=LD_LIBRARY_PATH
   15279   case $host_os in
   15280   freebsd2*)
   15281     shlibpath_overrides_runpath=yes
   15282     ;;
   15283   freebsd3.[01]* | freebsdelf3.[01]*)
   15284     shlibpath_overrides_runpath=yes
   15285     hardcode_into_libs=yes
   15286     ;;
   15287   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15288   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15289     shlibpath_overrides_runpath=no
   15290     hardcode_into_libs=yes
   15291     ;;
   15292   freebsd*) # from 4.6 on
   15293     shlibpath_overrides_runpath=yes
   15294     hardcode_into_libs=yes
   15295     ;;
   15296   esac
   15297   ;;
   15298 
   15299 gnu*)
   15300   version_type=linux
   15301   need_lib_prefix=no
   15302   need_version=no
   15303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15304   soname_spec='${libname}${release}${shared_ext}$major'
   15305   shlibpath_var=LD_LIBRARY_PATH
   15306   hardcode_into_libs=yes
   15307   ;;
   15308 
   15309 hpux9* | hpux10* | hpux11*)
   15310   # Give a soname corresponding to the major version so that dld.sl refuses to
   15311   # link against other versions.
   15312   version_type=sunos
   15313   need_lib_prefix=no
   15314   need_version=no
   15315   case $host_cpu in
   15316   ia64*)
   15317     shrext_cmds='.so'
   15318     hardcode_into_libs=yes
   15319     dynamic_linker="$host_os dld.so"
   15320     shlibpath_var=LD_LIBRARY_PATH
   15321     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15322     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15323     soname_spec='${libname}${release}${shared_ext}$major'
   15324     if test "X$HPUX_IA64_MODE" = X32; then
   15325       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15326     else
   15327       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15328     fi
   15329     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15330     ;;
   15331    hppa*64*)
   15332      shrext_cmds='.sl'
   15333      hardcode_into_libs=yes
   15334      dynamic_linker="$host_os dld.sl"
   15335      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15336      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15337      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15338      soname_spec='${libname}${release}${shared_ext}$major'
   15339      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15340      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15341      ;;
   15342    *)
   15343     shrext_cmds='.sl'
   15344     dynamic_linker="$host_os dld.sl"
   15345     shlibpath_var=SHLIB_PATH
   15346     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15347     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15348     soname_spec='${libname}${release}${shared_ext}$major'
   15349     ;;
   15350   esac
   15351   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15352   postinstall_cmds='chmod 555 $lib'
   15353   ;;
   15354 
   15355 interix3*)
   15356   version_type=linux
   15357   need_lib_prefix=no
   15358   need_version=no
   15359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15360   soname_spec='${libname}${release}${shared_ext}$major'
   15361   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15362   shlibpath_var=LD_LIBRARY_PATH
   15363   shlibpath_overrides_runpath=no
   15364   hardcode_into_libs=yes
   15365   ;;
   15366 
   15367 irix5* | irix6* | nonstopux*)
   15368   case $host_os in
   15369     nonstopux*) version_type=nonstopux ;;
   15370     *)
   15371 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15372 		version_type=linux
   15373 	else
   15374 		version_type=irix
   15375 	fi ;;
   15376   esac
   15377   need_lib_prefix=no
   15378   need_version=no
   15379   soname_spec='${libname}${release}${shared_ext}$major'
   15380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15381   case $host_os in
   15382   irix5* | nonstopux*)
   15383     libsuff= shlibsuff=
   15384     ;;
   15385   *)
   15386     case $LD in # libtool.m4 will add one of these switches to LD
   15387     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15388       libsuff= shlibsuff= libmagic=32-bit;;
   15389     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15390       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15391     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15392       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15393     *) libsuff= shlibsuff= libmagic=never-match;;
   15394     esac
   15395     ;;
   15396   esac
   15397   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15398   shlibpath_overrides_runpath=no
   15399   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15400   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15401   hardcode_into_libs=yes
   15402   ;;
   15403 
   15404 # No shared lib support for Linux oldld, aout, or coff.
   15405 linux*oldld* | linux*aout* | linux*coff*)
   15406   dynamic_linker=no
   15407   ;;
   15408 
   15409 # This must be Linux ELF.
   15410 linux*)
   15411   version_type=linux
   15412   need_lib_prefix=no
   15413   need_version=no
   15414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15415   soname_spec='${libname}${release}${shared_ext}$major'
   15416   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15417   shlibpath_var=LD_LIBRARY_PATH
   15418   shlibpath_overrides_runpath=no
   15419   # This implies no fast_install, which is unacceptable.
   15420   # Some rework will be needed to allow for fast_install
   15421   # before this can be enabled.
   15422   hardcode_into_libs=yes
   15423 
   15424   # Append ld.so.conf contents to the search path
   15425   if test -f /etc/ld.so.conf; then
   15426     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   15427     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15428   fi
   15429 
   15430   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15431   # powerpc, because MkLinux only supported shared libraries with the
   15432   # GNU dynamic linker.  Since this was broken with cross compilers,
   15433   # most powerpc-linux boxes support dynamic linking these days and
   15434   # people can always --disable-shared, the test was removed, and we
   15435   # assume the GNU/Linux dynamic linker is in use.
   15436   dynamic_linker='GNU/Linux ld.so'
   15437   ;;
   15438 
   15439 knetbsd*-gnu)
   15440   version_type=linux
   15441   need_lib_prefix=no
   15442   need_version=no
   15443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15444   soname_spec='${libname}${release}${shared_ext}$major'
   15445   shlibpath_var=LD_LIBRARY_PATH
   15446   shlibpath_overrides_runpath=no
   15447   hardcode_into_libs=yes
   15448   dynamic_linker='GNU ld.so'
   15449   ;;
   15450 
   15451 netbsd*)
   15452   version_type=sunos
   15453   need_lib_prefix=no
   15454   need_version=no
   15455   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15456     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15457     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15458     dynamic_linker='NetBSD (a.out) ld.so'
   15459   else
   15460     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15461     soname_spec='${libname}${release}${shared_ext}$major'
   15462     dynamic_linker='NetBSD ld.elf_so'
   15463   fi
   15464   shlibpath_var=LD_LIBRARY_PATH
   15465   shlibpath_overrides_runpath=yes
   15466   hardcode_into_libs=yes
   15467   ;;
   15468 
   15469 newsos6)
   15470   version_type=linux
   15471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15472   shlibpath_var=LD_LIBRARY_PATH
   15473   shlibpath_overrides_runpath=yes
   15474   ;;
   15475 
   15476 nto-qnx*)
   15477   version_type=linux
   15478   need_lib_prefix=no
   15479   need_version=no
   15480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15481   soname_spec='${libname}${release}${shared_ext}$major'
   15482   shlibpath_var=LD_LIBRARY_PATH
   15483   shlibpath_overrides_runpath=yes
   15484   ;;
   15485 
   15486 openbsd*)
   15487   version_type=sunos
   15488   sys_lib_dlsearch_path_spec="/usr/lib"
   15489   need_lib_prefix=no
   15490   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15491   case $host_os in
   15492     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15493     *)                         need_version=no  ;;
   15494   esac
   15495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15496   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15497   shlibpath_var=LD_LIBRARY_PATH
   15498   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15499     case $host_os in
   15500       openbsd2.[89] | openbsd2.[89].*)
   15501 	shlibpath_overrides_runpath=no
   15502 	;;
   15503       *)
   15504 	shlibpath_overrides_runpath=yes
   15505 	;;
   15506       esac
   15507   else
   15508     shlibpath_overrides_runpath=yes
   15509   fi
   15510   ;;
   15511 
   15512 os2*)
   15513   libname_spec='$name'
   15514   shrext_cmds=".dll"
   15515   need_lib_prefix=no
   15516   library_names_spec='$libname${shared_ext} $libname.a'
   15517   dynamic_linker='OS/2 ld.exe'
   15518   shlibpath_var=LIBPATH
   15519   ;;
   15520 
   15521 osf3* | osf4* | osf5*)
   15522   version_type=osf
   15523   need_lib_prefix=no
   15524   need_version=no
   15525   soname_spec='${libname}${release}${shared_ext}$major'
   15526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15527   shlibpath_var=LD_LIBRARY_PATH
   15528   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15529   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15530   ;;
   15531 
   15532 solaris*)
   15533   version_type=linux
   15534   need_lib_prefix=no
   15535   need_version=no
   15536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15537   soname_spec='${libname}${release}${shared_ext}$major'
   15538   shlibpath_var=LD_LIBRARY_PATH
   15539   shlibpath_overrides_runpath=yes
   15540   hardcode_into_libs=yes
   15541   # ldd complains unless libraries are executable
   15542   postinstall_cmds='chmod +x $lib'
   15543   ;;
   15544 
   15545 sunos4*)
   15546   version_type=sunos
   15547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15548   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15549   shlibpath_var=LD_LIBRARY_PATH
   15550   shlibpath_overrides_runpath=yes
   15551   if test "$with_gnu_ld" = yes; then
   15552     need_lib_prefix=no
   15553   fi
   15554   need_version=yes
   15555   ;;
   15556 
   15557 sysv4 | sysv4.3*)
   15558   version_type=linux
   15559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15560   soname_spec='${libname}${release}${shared_ext}$major'
   15561   shlibpath_var=LD_LIBRARY_PATH
   15562   case $host_vendor in
   15563     sni)
   15564       shlibpath_overrides_runpath=no
   15565       need_lib_prefix=no
   15566       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15567       runpath_var=LD_RUN_PATH
   15568       ;;
   15569     siemens)
   15570       need_lib_prefix=no
   15571       ;;
   15572     motorola)
   15573       need_lib_prefix=no
   15574       need_version=no
   15575       shlibpath_overrides_runpath=no
   15576       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15577       ;;
   15578   esac
   15579   ;;
   15580 
   15581 sysv4*MP*)
   15582   if test -d /usr/nec ;then
   15583     version_type=linux
   15584     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15585     soname_spec='$libname${shared_ext}.$major'
   15586     shlibpath_var=LD_LIBRARY_PATH
   15587   fi
   15588   ;;
   15589 
   15590 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15591   version_type=freebsd-elf
   15592   need_lib_prefix=no
   15593   need_version=no
   15594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15595   soname_spec='${libname}${release}${shared_ext}$major'
   15596   shlibpath_var=LD_LIBRARY_PATH
   15597   hardcode_into_libs=yes
   15598   if test "$with_gnu_ld" = yes; then
   15599     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15600     shlibpath_overrides_runpath=no
   15601   else
   15602     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15603     shlibpath_overrides_runpath=yes
   15604     case $host_os in
   15605       sco3.2v5*)
   15606         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15607 	;;
   15608     esac
   15609   fi
   15610   sys_lib_dlsearch_path_spec='/usr/lib'
   15611   ;;
   15612 
   15613 uts4*)
   15614   version_type=linux
   15615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15616   soname_spec='${libname}${release}${shared_ext}$major'
   15617   shlibpath_var=LD_LIBRARY_PATH
   15618   ;;
   15619 
   15620 *)
   15621   dynamic_linker=no
   15622   ;;
   15623 esac
   15624 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15625 echo "${ECHO_T}$dynamic_linker" >&6; }
   15626 test "$dynamic_linker" = no && can_build_shared=no
   15627 
   15628 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15629 if test "$GCC" = yes; then
   15630   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15631 fi
   15632 
   15633 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15634 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15635 hardcode_action_F77=
   15636 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15637    test -n "$runpath_var_F77" || \
   15638    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15639 
   15640   # We can hardcode non-existant directories.
   15641   if test "$hardcode_direct_F77" != no &&
   15642      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15643      # have to relink, otherwise we might link with an installed library
   15644      # when we should be linking with a yet-to-be-installed one
   15645      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15646      test "$hardcode_minus_L_F77" != no; then
   15647     # Linking always hardcodes the temporary library directory.
   15648     hardcode_action_F77=relink
   15649   else
   15650     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15651     hardcode_action_F77=immediate
   15652   fi
   15653 else
   15654   # We cannot hardcode anything, or else we can only hardcode existing
   15655   # directories.
   15656   hardcode_action_F77=unsupported
   15657 fi
   15658 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15659 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15660 
   15661 if test "$hardcode_action_F77" = relink; then
   15662   # Fast installation is not supported
   15663   enable_fast_install=no
   15664 elif test "$shlibpath_overrides_runpath" = yes ||
   15665      test "$enable_shared" = no; then
   15666   # Fast installation is not necessary
   15667   enable_fast_install=needless
   15668 fi
   15669 
   15670 
   15671 # The else clause should only fire when bootstrapping the
   15672 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15673 # with your package, and you will get complaints that there are
   15674 # no rules to generate ltmain.sh.
   15675 if test -f "$ltmain"; then
   15676   # See if we are running on zsh, and set the options which allow our commands through
   15677   # without removal of \ escapes.
   15678   if test -n "${ZSH_VERSION+set}" ; then
   15679     setopt NO_GLOB_SUBST
   15680   fi
   15681   # Now quote all the things that may contain metacharacters while being
   15682   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15683   # variables and quote the copies for generation of the libtool script.
   15684   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15685     SED SHELL STRIP \
   15686     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15687     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15688     deplibs_check_method reload_flag reload_cmds need_locks \
   15689     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15690     lt_cv_sys_global_symbol_to_c_name_address \
   15691     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15692     old_postinstall_cmds old_postuninstall_cmds \
   15693     compiler_F77 \
   15694     CC_F77 \
   15695     LD_F77 \
   15696     lt_prog_compiler_wl_F77 \
   15697     lt_prog_compiler_pic_F77 \
   15698     lt_prog_compiler_static_F77 \
   15699     lt_prog_compiler_no_builtin_flag_F77 \
   15700     export_dynamic_flag_spec_F77 \
   15701     thread_safe_flag_spec_F77 \
   15702     whole_archive_flag_spec_F77 \
   15703     enable_shared_with_static_runtimes_F77 \
   15704     old_archive_cmds_F77 \
   15705     old_archive_from_new_cmds_F77 \
   15706     predep_objects_F77 \
   15707     postdep_objects_F77 \
   15708     predeps_F77 \
   15709     postdeps_F77 \
   15710     compiler_lib_search_path_F77 \
   15711     archive_cmds_F77 \
   15712     archive_expsym_cmds_F77 \
   15713     postinstall_cmds_F77 \
   15714     postuninstall_cmds_F77 \
   15715     old_archive_from_expsyms_cmds_F77 \
   15716     allow_undefined_flag_F77 \
   15717     no_undefined_flag_F77 \
   15718     export_symbols_cmds_F77 \
   15719     hardcode_libdir_flag_spec_F77 \
   15720     hardcode_libdir_flag_spec_ld_F77 \
   15721     hardcode_libdir_separator_F77 \
   15722     hardcode_automatic_F77 \
   15723     module_cmds_F77 \
   15724     module_expsym_cmds_F77 \
   15725     lt_cv_prog_compiler_c_o_F77 \
   15726     exclude_expsyms_F77 \
   15727     include_expsyms_F77; do
   15728 
   15729     case $var in
   15730     old_archive_cmds_F77 | \
   15731     old_archive_from_new_cmds_F77 | \
   15732     archive_cmds_F77 | \
   15733     archive_expsym_cmds_F77 | \
   15734     module_cmds_F77 | \
   15735     module_expsym_cmds_F77 | \
   15736     old_archive_from_expsyms_cmds_F77 | \
   15737     export_symbols_cmds_F77 | \
   15738     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15739     postinstall_cmds | postuninstall_cmds | \
   15740     old_postinstall_cmds | old_postuninstall_cmds | \
   15741     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15742       # Double-quote double-evaled strings.
   15743       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15744       ;;
   15745     *)
   15746       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15747       ;;
   15748     esac
   15749   done
   15750 
   15751   case $lt_echo in
   15752   *'\$0 --fallback-echo"')
   15753     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15754     ;;
   15755   esac
   15756 
   15757 cfgfile="$ofile"
   15758 
   15759   cat <<__EOF__ >> "$cfgfile"
   15760 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15761 
   15762 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15763 
   15764 # Shell to use when invoking shell scripts.
   15765 SHELL=$lt_SHELL
   15766 
   15767 # Whether or not to build shared libraries.
   15768 build_libtool_libs=$enable_shared
   15769 
   15770 # Whether or not to build static libraries.
   15771 build_old_libs=$enable_static
   15772 
   15773 # Whether or not to add -lc for building shared libraries.
   15774 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15775 
   15776 # Whether or not to disallow shared libs when runtime libs are static
   15777 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15778 
   15779 # Whether or not to optimize for fast installation.
   15780 fast_install=$enable_fast_install
   15781 
   15782 # The host system.
   15783 host_alias=$host_alias
   15784 host=$host
   15785 host_os=$host_os
   15786 
   15787 # The build system.
   15788 build_alias=$build_alias
   15789 build=$build
   15790 build_os=$build_os
   15791 
   15792 # An echo program that does not interpret backslashes.
   15793 echo=$lt_echo
   15794 
   15795 # The archiver.
   15796 AR=$lt_AR
   15797 AR_FLAGS=$lt_AR_FLAGS
   15798 
   15799 # A C compiler.
   15800 LTCC=$lt_LTCC
   15801 
   15802 # LTCC compiler flags.
   15803 LTCFLAGS=$lt_LTCFLAGS
   15804 
   15805 # A language-specific compiler.
   15806 CC=$lt_compiler_F77
   15807 
   15808 # Is the compiler the GNU C compiler?
   15809 with_gcc=$GCC_F77
   15810 
   15811 # An ERE matcher.
   15812 EGREP=$lt_EGREP
   15813 
   15814 # The linker used to build libraries.
   15815 LD=$lt_LD_F77
   15816 
   15817 # Whether we need hard or soft links.
   15818 LN_S=$lt_LN_S
   15819 
   15820 # A BSD-compatible nm program.
   15821 NM=$lt_NM
   15822 
   15823 # A symbol stripping program
   15824 STRIP=$lt_STRIP
   15825 
   15826 # Used to examine libraries when file_magic_cmd begins "file"
   15827 MAGIC_CMD=$MAGIC_CMD
   15828 
   15829 # Used on cygwin: DLL creation program.
   15830 DLLTOOL="$DLLTOOL"
   15831 
   15832 # Used on cygwin: object dumper.
   15833 OBJDUMP="$OBJDUMP"
   15834 
   15835 # Used on cygwin: assembler.
   15836 AS="$AS"
   15837 
   15838 # The name of the directory that contains temporary libtool files.
   15839 objdir=$objdir
   15840 
   15841 # How to create reloadable object files.
   15842 reload_flag=$lt_reload_flag
   15843 reload_cmds=$lt_reload_cmds
   15844 
   15845 # How to pass a linker flag through the compiler.
   15846 wl=$lt_lt_prog_compiler_wl_F77
   15847 
   15848 # Object file suffix (normally "o").
   15849 objext="$ac_objext"
   15850 
   15851 # Old archive suffix (normally "a").
   15852 libext="$libext"
   15853 
   15854 # Shared library suffix (normally ".so").
   15855 shrext_cmds='$shrext_cmds'
   15856 
   15857 # Executable file suffix (normally "").
   15858 exeext="$exeext"
   15859 
   15860 # Additional compiler flags for building library objects.
   15861 pic_flag=$lt_lt_prog_compiler_pic_F77
   15862 pic_mode=$pic_mode
   15863 
   15864 # What is the maximum length of a command?
   15865 max_cmd_len=$lt_cv_sys_max_cmd_len
   15866 
   15867 # Does compiler simultaneously support -c and -o options?
   15868 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15869 
   15870 # Must we lock files when doing compilation?
   15871 need_locks=$lt_need_locks
   15872 
   15873 # Do we need the lib prefix for modules?
   15874 need_lib_prefix=$need_lib_prefix
   15875 
   15876 # Do we need a version for libraries?
   15877 need_version=$need_version
   15878 
   15879 # Whether dlopen is supported.
   15880 dlopen_support=$enable_dlopen
   15881 
   15882 # Whether dlopen of programs is supported.
   15883 dlopen_self=$enable_dlopen_self
   15884 
   15885 # Whether dlopen of statically linked programs is supported.
   15886 dlopen_self_static=$enable_dlopen_self_static
   15887 
   15888 # Compiler flag to prevent dynamic linking.
   15889 link_static_flag=$lt_lt_prog_compiler_static_F77
   15890 
   15891 # Compiler flag to turn off builtin functions.
   15892 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15893 
   15894 # Compiler flag to allow reflexive dlopens.
   15895 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15896 
   15897 # Compiler flag to generate shared objects directly from archives.
   15898 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15899 
   15900 # Compiler flag to generate thread-safe objects.
   15901 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15902 
   15903 # Library versioning type.
   15904 version_type=$version_type
   15905 
   15906 # Format of library name prefix.
   15907 libname_spec=$lt_libname_spec
   15908 
   15909 # List of archive names.  First name is the real one, the rest are links.
   15910 # The last name is the one that the linker finds with -lNAME.
   15911 library_names_spec=$lt_library_names_spec
   15912 
   15913 # The coded name of the library, if different from the real name.
   15914 soname_spec=$lt_soname_spec
   15915 
   15916 # Commands used to build and install an old-style archive.
   15917 RANLIB=$lt_RANLIB
   15918 old_archive_cmds=$lt_old_archive_cmds_F77
   15919 old_postinstall_cmds=$lt_old_postinstall_cmds
   15920 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15921 
   15922 # Create an old-style archive from a shared archive.
   15923 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15924 
   15925 # Create a temporary old-style archive to link instead of a shared archive.
   15926 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15927 
   15928 # Commands used to build and install a shared archive.
   15929 archive_cmds=$lt_archive_cmds_F77
   15930 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15931 postinstall_cmds=$lt_postinstall_cmds
   15932 postuninstall_cmds=$lt_postuninstall_cmds
   15933 
   15934 # Commands used to build a loadable module (assumed same as above if empty)
   15935 module_cmds=$lt_module_cmds_F77
   15936 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15937 
   15938 # Commands to strip libraries.
   15939 old_striplib=$lt_old_striplib
   15940 striplib=$lt_striplib
   15941 
   15942 # Dependencies to place before the objects being linked to create a
   15943 # shared library.
   15944 predep_objects=$lt_predep_objects_F77
   15945 
   15946 # Dependencies to place after the objects being linked to create a
   15947 # shared library.
   15948 postdep_objects=$lt_postdep_objects_F77
   15949 
   15950 # Dependencies to place before the objects being linked to create a
   15951 # shared library.
   15952 predeps=$lt_predeps_F77
   15953 
   15954 # Dependencies to place after the objects being linked to create a
   15955 # shared library.
   15956 postdeps=$lt_postdeps_F77
   15957 
   15958 # The library search path used internally by the compiler when linking
   15959 # a shared library.
   15960 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15961 
   15962 # Method to check whether dependent libraries are shared objects.
   15963 deplibs_check_method=$lt_deplibs_check_method
   15964 
   15965 # Command to use when deplibs_check_method == file_magic.
   15966 file_magic_cmd=$lt_file_magic_cmd
   15967 
   15968 # Flag that allows shared libraries with undefined symbols to be built.
   15969 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15970 
   15971 # Flag that forces no undefined symbols.
   15972 no_undefined_flag=$lt_no_undefined_flag_F77
   15973 
   15974 # Commands used to finish a libtool library installation in a directory.
   15975 finish_cmds=$lt_finish_cmds
   15976 
   15977 # Same as above, but a single script fragment to be evaled but not shown.
   15978 finish_eval=$lt_finish_eval
   15979 
   15980 # Take the output of nm and produce a listing of raw symbols and C names.
   15981 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15982 
   15983 # Transform the output of nm in a proper C declaration
   15984 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15985 
   15986 # Transform the output of nm in a C name address pair
   15987 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15988 
   15989 # This is the shared library runtime path variable.
   15990 runpath_var=$runpath_var
   15991 
   15992 # This is the shared library path variable.
   15993 shlibpath_var=$shlibpath_var
   15994 
   15995 # Is shlibpath searched before the hard-coded library search path?
   15996 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15997 
   15998 # How to hardcode a shared library path into an executable.
   15999 hardcode_action=$hardcode_action_F77
   16000 
   16001 # Whether we should hardcode library paths into libraries.
   16002 hardcode_into_libs=$hardcode_into_libs
   16003 
   16004 # Flag to hardcode \$libdir into a binary during linking.
   16005 # This must work even if \$libdir does not exist.
   16006 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16007 
   16008 # If ld is used when linking, flag to hardcode \$libdir into
   16009 # a binary during linking. This must work even if \$libdir does
   16010 # not exist.
   16011 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16012 
   16013 # Whether we need a single -rpath flag with a separated argument.
   16014 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16015 
   16016 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16017 # resulting binary.
   16018 hardcode_direct=$hardcode_direct_F77
   16019 
   16020 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16021 # resulting binary.
   16022 hardcode_minus_L=$hardcode_minus_L_F77
   16023 
   16024 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16025 # the resulting binary.
   16026 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16027 
   16028 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16029 # and all subsequent libraries and executables linked against it.
   16030 hardcode_automatic=$hardcode_automatic_F77
   16031 
   16032 # Variables whose values should be saved in libtool wrapper scripts and
   16033 # restored at relink time.
   16034 variables_saved_for_relink="$variables_saved_for_relink"
   16035 
   16036 # Whether libtool must link a program against all its dependency libraries.
   16037 link_all_deplibs=$link_all_deplibs_F77
   16038 
   16039 # Compile-time system search path for libraries
   16040 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16041 
   16042 # Run-time system search path for libraries
   16043 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16044 
   16045 # Fix the shell variable \$srcfile for the compiler.
   16046 fix_srcfile_path="$fix_srcfile_path_F77"
   16047 
   16048 # Set to yes if exported symbols are required.
   16049 always_export_symbols=$always_export_symbols_F77
   16050 
   16051 # The commands to list exported symbols.
   16052 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16053 
   16054 # The commands to extract the exported symbol list from a shared archive.
   16055 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16056 
   16057 # Symbols that should not be listed in the preloaded symbols.
   16058 exclude_expsyms=$lt_exclude_expsyms_F77
   16059 
   16060 # Symbols that must always be exported.
   16061 include_expsyms=$lt_include_expsyms_F77
   16062 
   16063 # ### END LIBTOOL TAG CONFIG: $tagname
   16064 
   16065 __EOF__
   16066 
   16067 
   16068 else
   16069   # If there is no Makefile yet, we rely on a make rule to execute
   16070   # `config.status --recheck' to rerun these tests and create the
   16071   # libtool script then.
   16072   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16073   if test -f "$ltmain_in"; then
   16074     test -f Makefile && make "$ltmain"
   16075   fi
   16076 fi
   16077 
   16078 
   16079 ac_ext=c
   16080 ac_cpp='$CPP $CPPFLAGS'
   16081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16084 
   16085 CC="$lt_save_CC"
   16086 
   16087 	else
   16088 	  tagname=""
   16089 	fi
   16090 	;;
   16091 
   16092       GCJ)
   16093 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16094 
   16095 
   16096 # Source file extension for Java test sources.
   16097 ac_ext=java
   16098 
   16099 # Object file extension for compiled Java test sources.
   16100 objext=o
   16101 objext_GCJ=$objext
   16102 
   16103 # Code to be used in simple compile tests
   16104 lt_simple_compile_test_code="class foo {}\n"
   16105 
   16106 # Code to be used in simple link tests
   16107 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16108 
   16109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16110 
   16111 # If no C compiler was specified, use CC.
   16112 LTCC=${LTCC-"$CC"}
   16113 
   16114 # If no C compiler flags were specified, use CFLAGS.
   16115 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16116 
   16117 # Allow CC to be a program name with arguments.
   16118 compiler=$CC
   16119 
   16120 
   16121 # save warnings/boilerplate of simple test code
   16122 ac_outfile=conftest.$ac_objext
   16123 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16124 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16125 _lt_compiler_boilerplate=`cat conftest.err`
   16126 $rm conftest*
   16127 
   16128 ac_outfile=conftest.$ac_objext
   16129 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16130 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16131 _lt_linker_boilerplate=`cat conftest.err`
   16132 $rm conftest*
   16133 
   16134 
   16135 # Allow CC to be a program name with arguments.
   16136 lt_save_CC="$CC"
   16137 CC=${GCJ-"gcj"}
   16138 compiler=$CC
   16139 compiler_GCJ=$CC
   16140 for cc_temp in $compiler""; do
   16141   case $cc_temp in
   16142     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16143     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16144     \-*) ;;
   16145     *) break;;
   16146   esac
   16147 done
   16148 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16149 
   16150 
   16151 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16152 archive_cmds_need_lc_GCJ=no
   16153 
   16154 old_archive_cmds_GCJ=$old_archive_cmds
   16155 
   16156 
   16157 lt_prog_compiler_no_builtin_flag_GCJ=
   16158 
   16159 if test "$GCC" = yes; then
   16160   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16161 
   16162 
   16163 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16164 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16165 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16166   echo $ECHO_N "(cached) $ECHO_C" >&6
   16167 else
   16168   lt_cv_prog_compiler_rtti_exceptions=no
   16169   ac_outfile=conftest.$ac_objext
   16170    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16171    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16172    # Insert the option either (1) after the last *FLAGS variable, or
   16173    # (2) before a word containing "conftest.", or (3) at the end.
   16174    # Note that $ac_compile itself does not contain backslashes and begins
   16175    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16176    # The option is referenced via a variable to avoid confusing sed.
   16177    lt_compile=`echo "$ac_compile" | $SED \
   16178    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16179    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16180    -e 's:$: $lt_compiler_flag:'`
   16181    (eval echo "\"\$as_me:16181: $lt_compile\"" >&5)
   16182    (eval "$lt_compile" 2>conftest.err)
   16183    ac_status=$?
   16184    cat conftest.err >&5
   16185    echo "$as_me:16185: \$? = $ac_status" >&5
   16186    if (exit $ac_status) && test -s "$ac_outfile"; then
   16187      # The compiler can only warn and ignore the option if not recognized
   16188      # So say no if there are warnings other than the usual output.
   16189      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16190      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16191      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16192        lt_cv_prog_compiler_rtti_exceptions=yes
   16193      fi
   16194    fi
   16195    $rm conftest*
   16196 
   16197 fi
   16198 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16199 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16200 
   16201 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16202     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16203 else
   16204     :
   16205 fi
   16206 
   16207 fi
   16208 
   16209 lt_prog_compiler_wl_GCJ=
   16210 lt_prog_compiler_pic_GCJ=
   16211 lt_prog_compiler_static_GCJ=
   16212 
   16213 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16214 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16215 
   16216   if test "$GCC" = yes; then
   16217     lt_prog_compiler_wl_GCJ='-Wl,'
   16218     lt_prog_compiler_static_GCJ='-static'
   16219 
   16220     case $host_os in
   16221       aix*)
   16222       # All AIX code is PIC.
   16223       if test "$host_cpu" = ia64; then
   16224 	# AIX 5 now supports IA64 processor
   16225 	lt_prog_compiler_static_GCJ='-Bstatic'
   16226       fi
   16227       ;;
   16228 
   16229     amigaos*)
   16230       # FIXME: we need at least 68020 code to build shared libraries, but
   16231       # adding the `-m68020' flag to GCC prevents building anything better,
   16232       # like `-m68040'.
   16233       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16234       ;;
   16235 
   16236     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16237       # PIC is the default for these OSes.
   16238       ;;
   16239 
   16240     mingw* | pw32* | os2*)
   16241       # This hack is so that the source file can tell whether it is being
   16242       # built for inclusion in a dll (and should export symbols for example).
   16243       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16244       ;;
   16245 
   16246     darwin* | rhapsody*)
   16247       # PIC is the default on this platform
   16248       # Common symbols not allowed in MH_DYLIB files
   16249       lt_prog_compiler_pic_GCJ='-fno-common'
   16250       ;;
   16251 
   16252     interix3*)
   16253       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16254       # Instead, we relocate shared libraries at runtime.
   16255       ;;
   16256 
   16257     msdosdjgpp*)
   16258       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16259       # on systems that don't support them.
   16260       lt_prog_compiler_can_build_shared_GCJ=no
   16261       enable_shared=no
   16262       ;;
   16263 
   16264     sysv4*MP*)
   16265       if test -d /usr/nec; then
   16266 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16267       fi
   16268       ;;
   16269 
   16270     hpux*)
   16271       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16272       # not for PA HP-UX.
   16273       case $host_cpu in
   16274       hppa*64*|ia64*)
   16275 	# +Z the default
   16276 	;;
   16277       *)
   16278 	lt_prog_compiler_pic_GCJ='-fPIC'
   16279 	;;
   16280       esac
   16281       ;;
   16282 
   16283     *)
   16284       lt_prog_compiler_pic_GCJ='-fPIC'
   16285       ;;
   16286     esac
   16287   else
   16288     # PORTME Check for flag to pass linker flags through the system compiler.
   16289     case $host_os in
   16290     aix*)
   16291       lt_prog_compiler_wl_GCJ='-Wl,'
   16292       if test "$host_cpu" = ia64; then
   16293 	# AIX 5 now supports IA64 processor
   16294 	lt_prog_compiler_static_GCJ='-Bstatic'
   16295       else
   16296 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16297       fi
   16298       ;;
   16299       darwin*)
   16300         # PIC is the default on this platform
   16301         # Common symbols not allowed in MH_DYLIB files
   16302        case $cc_basename in
   16303          xlc*)
   16304          lt_prog_compiler_pic_GCJ='-qnocommon'
   16305          lt_prog_compiler_wl_GCJ='-Wl,'
   16306          ;;
   16307        esac
   16308        ;;
   16309 
   16310     mingw* | pw32* | os2*)
   16311       # This hack is so that the source file can tell whether it is being
   16312       # built for inclusion in a dll (and should export symbols for example).
   16313       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16314       ;;
   16315 
   16316     hpux9* | hpux10* | hpux11*)
   16317       lt_prog_compiler_wl_GCJ='-Wl,'
   16318       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16319       # not for PA HP-UX.
   16320       case $host_cpu in
   16321       hppa*64*|ia64*)
   16322 	# +Z the default
   16323 	;;
   16324       *)
   16325 	lt_prog_compiler_pic_GCJ='+Z'
   16326 	;;
   16327       esac
   16328       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16329       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16330       ;;
   16331 
   16332     irix5* | irix6* | nonstopux*)
   16333       lt_prog_compiler_wl_GCJ='-Wl,'
   16334       # PIC (with -KPIC) is the default.
   16335       lt_prog_compiler_static_GCJ='-non_shared'
   16336       ;;
   16337 
   16338     newsos6)
   16339       lt_prog_compiler_pic_GCJ='-KPIC'
   16340       lt_prog_compiler_static_GCJ='-Bstatic'
   16341       ;;
   16342 
   16343     linux*)
   16344       case $cc_basename in
   16345       icc* | ecc*)
   16346 	lt_prog_compiler_wl_GCJ='-Wl,'
   16347 	lt_prog_compiler_pic_GCJ='-KPIC'
   16348 	lt_prog_compiler_static_GCJ='-static'
   16349         ;;
   16350       pgcc* | pgf77* | pgf90* | pgf95*)
   16351         # Portland Group compilers (*not* the Pentium gcc compiler,
   16352 	# which looks to be a dead project)
   16353 	lt_prog_compiler_wl_GCJ='-Wl,'
   16354 	lt_prog_compiler_pic_GCJ='-fpic'
   16355 	lt_prog_compiler_static_GCJ='-Bstatic'
   16356         ;;
   16357       ccc*)
   16358         lt_prog_compiler_wl_GCJ='-Wl,'
   16359         # All Alpha code is PIC.
   16360         lt_prog_compiler_static_GCJ='-non_shared'
   16361         ;;
   16362       esac
   16363       ;;
   16364 
   16365     osf3* | osf4* | osf5*)
   16366       lt_prog_compiler_wl_GCJ='-Wl,'
   16367       # All OSF/1 code is PIC.
   16368       lt_prog_compiler_static_GCJ='-non_shared'
   16369       ;;
   16370 
   16371     solaris*)
   16372       lt_prog_compiler_pic_GCJ='-KPIC'
   16373       lt_prog_compiler_static_GCJ='-Bstatic'
   16374       case $cc_basename in
   16375       f77* | f90* | f95*)
   16376 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16377       *)
   16378 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16379       esac
   16380       ;;
   16381 
   16382     sunos4*)
   16383       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16384       lt_prog_compiler_pic_GCJ='-PIC'
   16385       lt_prog_compiler_static_GCJ='-Bstatic'
   16386       ;;
   16387 
   16388     sysv4 | sysv4.2uw2* | sysv4.3*)
   16389       lt_prog_compiler_wl_GCJ='-Wl,'
   16390       lt_prog_compiler_pic_GCJ='-KPIC'
   16391       lt_prog_compiler_static_GCJ='-Bstatic'
   16392       ;;
   16393 
   16394     sysv4*MP*)
   16395       if test -d /usr/nec ;then
   16396 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16397 	lt_prog_compiler_static_GCJ='-Bstatic'
   16398       fi
   16399       ;;
   16400 
   16401     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16402       lt_prog_compiler_wl_GCJ='-Wl,'
   16403       lt_prog_compiler_pic_GCJ='-KPIC'
   16404       lt_prog_compiler_static_GCJ='-Bstatic'
   16405       ;;
   16406 
   16407     unicos*)
   16408       lt_prog_compiler_wl_GCJ='-Wl,'
   16409       lt_prog_compiler_can_build_shared_GCJ=no
   16410       ;;
   16411 
   16412     uts4*)
   16413       lt_prog_compiler_pic_GCJ='-pic'
   16414       lt_prog_compiler_static_GCJ='-Bstatic'
   16415       ;;
   16416 
   16417     *)
   16418       lt_prog_compiler_can_build_shared_GCJ=no
   16419       ;;
   16420     esac
   16421   fi
   16422 
   16423 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16424 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16425 
   16426 #
   16427 # Check to make sure the PIC flag actually works.
   16428 #
   16429 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16430 
   16431 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16432 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16433 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16434   echo $ECHO_N "(cached) $ECHO_C" >&6
   16435 else
   16436   lt_prog_compiler_pic_works_GCJ=no
   16437   ac_outfile=conftest.$ac_objext
   16438    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16439    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16440    # Insert the option either (1) after the last *FLAGS variable, or
   16441    # (2) before a word containing "conftest.", or (3) at the end.
   16442    # Note that $ac_compile itself does not contain backslashes and begins
   16443    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16444    # The option is referenced via a variable to avoid confusing sed.
   16445    lt_compile=`echo "$ac_compile" | $SED \
   16446    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16447    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16448    -e 's:$: $lt_compiler_flag:'`
   16449    (eval echo "\"\$as_me:16449: $lt_compile\"" >&5)
   16450    (eval "$lt_compile" 2>conftest.err)
   16451    ac_status=$?
   16452    cat conftest.err >&5
   16453    echo "$as_me:16453: \$? = $ac_status" >&5
   16454    if (exit $ac_status) && test -s "$ac_outfile"; then
   16455      # The compiler can only warn and ignore the option if not recognized
   16456      # So say no if there are warnings other than the usual output.
   16457      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16458      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16459      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16460        lt_prog_compiler_pic_works_GCJ=yes
   16461      fi
   16462    fi
   16463    $rm conftest*
   16464 
   16465 fi
   16466 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16467 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16468 
   16469 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16470     case $lt_prog_compiler_pic_GCJ in
   16471      "" | " "*) ;;
   16472      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16473      esac
   16474 else
   16475     lt_prog_compiler_pic_GCJ=
   16476      lt_prog_compiler_can_build_shared_GCJ=no
   16477 fi
   16478 
   16479 fi
   16480 case $host_os in
   16481   # For platforms which do not support PIC, -DPIC is meaningless:
   16482   *djgpp*)
   16483     lt_prog_compiler_pic_GCJ=
   16484     ;;
   16485   *)
   16486     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16487     ;;
   16488 esac
   16489 
   16490 #
   16491 # Check to make sure the static flag actually works.
   16492 #
   16493 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16494 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16495 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16496 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16497   echo $ECHO_N "(cached) $ECHO_C" >&6
   16498 else
   16499   lt_prog_compiler_static_works_GCJ=no
   16500    save_LDFLAGS="$LDFLAGS"
   16501    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16502    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16503    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16504      # The linker can only warn and ignore the option if not recognized
   16505      # So say no if there are warnings
   16506      if test -s conftest.err; then
   16507        # Append any errors to the config.log.
   16508        cat conftest.err 1>&5
   16509        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16510        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16511        if diff conftest.exp conftest.er2 >/dev/null; then
   16512          lt_prog_compiler_static_works_GCJ=yes
   16513        fi
   16514      else
   16515        lt_prog_compiler_static_works_GCJ=yes
   16516      fi
   16517    fi
   16518    $rm conftest*
   16519    LDFLAGS="$save_LDFLAGS"
   16520 
   16521 fi
   16522 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16523 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16524 
   16525 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16526     :
   16527 else
   16528     lt_prog_compiler_static_GCJ=
   16529 fi
   16530 
   16531 
   16532 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16533 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16534 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16535   echo $ECHO_N "(cached) $ECHO_C" >&6
   16536 else
   16537   lt_cv_prog_compiler_c_o_GCJ=no
   16538    $rm -r conftest 2>/dev/null
   16539    mkdir conftest
   16540    cd conftest
   16541    mkdir out
   16542    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16543 
   16544    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16545    # Insert the option either (1) after the last *FLAGS variable, or
   16546    # (2) before a word containing "conftest.", or (3) at the end.
   16547    # Note that $ac_compile itself does not contain backslashes and begins
   16548    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16549    lt_compile=`echo "$ac_compile" | $SED \
   16550    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16551    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16552    -e 's:$: $lt_compiler_flag:'`
   16553    (eval echo "\"\$as_me:16553: $lt_compile\"" >&5)
   16554    (eval "$lt_compile" 2>out/conftest.err)
   16555    ac_status=$?
   16556    cat out/conftest.err >&5
   16557    echo "$as_me:16557: \$? = $ac_status" >&5
   16558    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16559    then
   16560      # The compiler can only warn and ignore the option if not recognized
   16561      # So say no if there are warnings
   16562      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16563      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16564      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16565        lt_cv_prog_compiler_c_o_GCJ=yes
   16566      fi
   16567    fi
   16568    chmod u+w . 2>&5
   16569    $rm conftest*
   16570    # SGI C++ compiler will create directory out/ii_files/ for
   16571    # template instantiation
   16572    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16573    $rm out/* && rmdir out
   16574    cd ..
   16575    rmdir conftest
   16576    $rm conftest*
   16577 
   16578 fi
   16579 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16580 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16581 
   16582 
   16583 hard_links="nottested"
   16584 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16585   # do not overwrite the value of need_locks provided by the user
   16586   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16587 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16588   hard_links=yes
   16589   $rm conftest*
   16590   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16591   touch conftest.a
   16592   ln conftest.a conftest.b 2>&5 || hard_links=no
   16593   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16594   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16595 echo "${ECHO_T}$hard_links" >&6; }
   16596   if test "$hard_links" = no; then
   16597     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16598 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16599     need_locks=warn
   16600   fi
   16601 else
   16602   need_locks=no
   16603 fi
   16604 
   16605 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16606 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16607 
   16608   runpath_var=
   16609   allow_undefined_flag_GCJ=
   16610   enable_shared_with_static_runtimes_GCJ=no
   16611   archive_cmds_GCJ=
   16612   archive_expsym_cmds_GCJ=
   16613   old_archive_From_new_cmds_GCJ=
   16614   old_archive_from_expsyms_cmds_GCJ=
   16615   export_dynamic_flag_spec_GCJ=
   16616   whole_archive_flag_spec_GCJ=
   16617   thread_safe_flag_spec_GCJ=
   16618   hardcode_libdir_flag_spec_GCJ=
   16619   hardcode_libdir_flag_spec_ld_GCJ=
   16620   hardcode_libdir_separator_GCJ=
   16621   hardcode_direct_GCJ=no
   16622   hardcode_minus_L_GCJ=no
   16623   hardcode_shlibpath_var_GCJ=unsupported
   16624   link_all_deplibs_GCJ=unknown
   16625   hardcode_automatic_GCJ=no
   16626   module_cmds_GCJ=
   16627   module_expsym_cmds_GCJ=
   16628   always_export_symbols_GCJ=no
   16629   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16630   # include_expsyms should be a list of space-separated symbols to be *always*
   16631   # included in the symbol list
   16632   include_expsyms_GCJ=
   16633   # exclude_expsyms can be an extended regexp of symbols to exclude
   16634   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16635   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16636   # as well as any symbol that contains `d'.
   16637   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16638   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16639   # platforms (ab)use it in PIC code, but their linkers get confused if
   16640   # the symbol is explicitly referenced.  Since portable code cannot
   16641   # rely on this symbol name, it's probably fine to never include it in
   16642   # preloaded symbol tables.
   16643   extract_expsyms_cmds=
   16644   # Just being paranoid about ensuring that cc_basename is set.
   16645   for cc_temp in $compiler""; do
   16646   case $cc_temp in
   16647     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16648     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16649     \-*) ;;
   16650     *) break;;
   16651   esac
   16652 done
   16653 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16654 
   16655   case $host_os in
   16656   cygwin* | mingw* | pw32*)
   16657     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16658     # When not using gcc, we currently assume that we are using
   16659     # Microsoft Visual C++.
   16660     if test "$GCC" != yes; then
   16661       with_gnu_ld=no
   16662     fi
   16663     ;;
   16664   interix*)
   16665     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16666     with_gnu_ld=yes
   16667     ;;
   16668   openbsd*)
   16669     with_gnu_ld=no
   16670     ;;
   16671   esac
   16672 
   16673   ld_shlibs_GCJ=yes
   16674   if test "$with_gnu_ld" = yes; then
   16675     # If archive_cmds runs LD, not CC, wlarc should be empty
   16676     wlarc='${wl}'
   16677 
   16678     # Set some defaults for GNU ld with shared library support. These
   16679     # are reset later if shared libraries are not supported. Putting them
   16680     # here allows them to be overridden if necessary.
   16681     runpath_var=LD_RUN_PATH
   16682     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16683     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16684     # ancient GNU ld didn't support --whole-archive et. al.
   16685     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16686 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16687       else
   16688   	whole_archive_flag_spec_GCJ=
   16689     fi
   16690     supports_anon_versioning=no
   16691     case `$LD -v 2>/dev/null` in
   16692       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16693       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16694       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16695       *\ 2.11.*) ;; # other 2.11 versions
   16696       *) supports_anon_versioning=yes ;;
   16697     esac
   16698 
   16699     # See if GNU ld supports shared libraries.
   16700     case $host_os in
   16701     aix3* | aix4* | aix5*)
   16702       # On AIX/PPC, the GNU linker is very broken
   16703       if test "$host_cpu" != ia64; then
   16704 	ld_shlibs_GCJ=no
   16705 	cat <<EOF 1>&2
   16706 
   16707 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16708 *** to be unable to reliably create shared libraries on AIX.
   16709 *** Therefore, libtool is disabling shared libraries support.  If you
   16710 *** really care for shared libraries, you may want to modify your PATH
   16711 *** so that a non-GNU linker is found, and then restart.
   16712 
   16713 EOF
   16714       fi
   16715       ;;
   16716 
   16717     amigaos*)
   16718       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)'
   16719       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16720       hardcode_minus_L_GCJ=yes
   16721 
   16722       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16723       # that the semantics of dynamic libraries on AmigaOS, at least up
   16724       # to version 4, is to share data among multiple programs linked
   16725       # with the same dynamic library.  Since this doesn't match the
   16726       # behavior of shared libraries on other platforms, we can't use
   16727       # them.
   16728       ld_shlibs_GCJ=no
   16729       ;;
   16730 
   16731     beos*)
   16732       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16733 	allow_undefined_flag_GCJ=unsupported
   16734 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16735 	# support --undefined.  This deserves some investigation.  FIXME
   16736 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16737       else
   16738 	ld_shlibs_GCJ=no
   16739       fi
   16740       ;;
   16741 
   16742     cygwin* | mingw* | pw32*)
   16743       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16744       # as there is no search path for DLLs.
   16745       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16746       allow_undefined_flag_GCJ=unsupported
   16747       always_export_symbols_GCJ=no
   16748       enable_shared_with_static_runtimes_GCJ=yes
   16749       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16750 
   16751       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16752         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16753 	# If the export-symbols file already is a .def file (1st line
   16754 	# is EXPORTS), use it as is; otherwise, prepend...
   16755 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16756 	  cp $export_symbols $output_objdir/$soname.def;
   16757 	else
   16758 	  echo EXPORTS > $output_objdir/$soname.def;
   16759 	  cat $export_symbols >> $output_objdir/$soname.def;
   16760 	fi~
   16761 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16762       else
   16763 	ld_shlibs_GCJ=no
   16764       fi
   16765       ;;
   16766 
   16767     interix3*)
   16768       hardcode_direct_GCJ=no
   16769       hardcode_shlibpath_var_GCJ=no
   16770       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16771       export_dynamic_flag_spec_GCJ='${wl}-E'
   16772       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16773       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16774       # default) and relocated if they conflict, which is a slow very memory
   16775       # consuming and fragmenting process.  To avoid this, we pick a random,
   16776       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16777       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16778       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'
   16779       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'
   16780       ;;
   16781 
   16782     linux*)
   16783       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16784 	tmp_addflag=
   16785 	case $cc_basename,$host_cpu in
   16786 	pgcc*)				# Portland Group C compiler
   16787 	  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'
   16788 	  tmp_addflag=' $pic_flag'
   16789 	  ;;
   16790 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16791 	  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'
   16792 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16793 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16794 	  tmp_addflag=' -i_dynamic' ;;
   16795 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16796 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16797 	ifc* | ifort*)			# Intel Fortran compiler
   16798 	  tmp_addflag=' -nofor_main' ;;
   16799 	esac
   16800 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16801 
   16802 	if test $supports_anon_versioning = yes; then
   16803 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16804   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16805   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16806 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16807 	fi
   16808       else
   16809 	ld_shlibs_GCJ=no
   16810       fi
   16811       ;;
   16812 
   16813     netbsd*)
   16814       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16815 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16816 	wlarc=
   16817       else
   16818 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16819 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16820       fi
   16821       ;;
   16822 
   16823     solaris*)
   16824       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16825 	ld_shlibs_GCJ=no
   16826 	cat <<EOF 1>&2
   16827 
   16828 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16829 *** create shared libraries on Solaris systems.  Therefore, libtool
   16830 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16831 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16832 *** your PATH or compiler configuration so that the native linker is
   16833 *** used, and then restart.
   16834 
   16835 EOF
   16836       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16837 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16838 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16839       else
   16840 	ld_shlibs_GCJ=no
   16841       fi
   16842       ;;
   16843 
   16844     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16845       case `$LD -v 2>&1` in
   16846         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16847 	ld_shlibs_GCJ=no
   16848 	cat <<_LT_EOF 1>&2
   16849 
   16850 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16851 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16852 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16853 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16854 *** your PATH or compiler configuration so that the native linker is
   16855 *** used, and then restart.
   16856 
   16857 _LT_EOF
   16858 	;;
   16859 	*)
   16860 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16861 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16862 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16863 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16864 	  else
   16865 	    ld_shlibs_GCJ=no
   16866 	  fi
   16867 	;;
   16868       esac
   16869       ;;
   16870 
   16871     sunos4*)
   16872       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16873       wlarc=
   16874       hardcode_direct_GCJ=yes
   16875       hardcode_shlibpath_var_GCJ=no
   16876       ;;
   16877 
   16878     *)
   16879       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16880 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16881 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16882       else
   16883 	ld_shlibs_GCJ=no
   16884       fi
   16885       ;;
   16886     esac
   16887 
   16888     if test "$ld_shlibs_GCJ" = no; then
   16889       runpath_var=
   16890       hardcode_libdir_flag_spec_GCJ=
   16891       export_dynamic_flag_spec_GCJ=
   16892       whole_archive_flag_spec_GCJ=
   16893     fi
   16894   else
   16895     # PORTME fill in a description of your system's linker (not GNU ld)
   16896     case $host_os in
   16897     aix3*)
   16898       allow_undefined_flag_GCJ=unsupported
   16899       always_export_symbols_GCJ=yes
   16900       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'
   16901       # Note: this linker hardcodes the directories in LIBPATH if there
   16902       # are no directories specified by -L.
   16903       hardcode_minus_L_GCJ=yes
   16904       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16905 	# Neither direct hardcoding nor static linking is supported with a
   16906 	# broken collect2.
   16907 	hardcode_direct_GCJ=unsupported
   16908       fi
   16909       ;;
   16910 
   16911     aix4* | aix5*)
   16912       if test "$host_cpu" = ia64; then
   16913 	# On IA64, the linker does run time linking by default, so we don't
   16914 	# have to do anything special.
   16915 	aix_use_runtimelinking=no
   16916 	exp_sym_flag='-Bexport'
   16917 	no_entry_flag=""
   16918       else
   16919 	# If we're using GNU nm, then we don't want the "-C" option.
   16920 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16921 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16922 	  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'
   16923 	else
   16924 	  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'
   16925 	fi
   16926 	aix_use_runtimelinking=no
   16927 
   16928 	# Test if we are trying to use run time linking or normal
   16929 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16930 	# need to do runtime linking.
   16931 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16932 	  for ld_flag in $LDFLAGS; do
   16933   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16934   	    aix_use_runtimelinking=yes
   16935   	    break
   16936   	  fi
   16937 	  done
   16938 	  ;;
   16939 	esac
   16940 
   16941 	exp_sym_flag='-bexport'
   16942 	no_entry_flag='-bnoentry'
   16943       fi
   16944 
   16945       # When large executables or shared objects are built, AIX ld can
   16946       # have problems creating the table of contents.  If linking a library
   16947       # or program results in "error TOC overflow" add -mminimal-toc to
   16948       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16949       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16950 
   16951       archive_cmds_GCJ=''
   16952       hardcode_direct_GCJ=yes
   16953       hardcode_libdir_separator_GCJ=':'
   16954       link_all_deplibs_GCJ=yes
   16955 
   16956       if test "$GCC" = yes; then
   16957 	case $host_os in aix4.[012]|aix4.[012].*)
   16958 	# We only want to do this on AIX 4.2 and lower, the check
   16959 	# below for broken collect2 doesn't work under 4.3+
   16960 	  collect2name=`${CC} -print-prog-name=collect2`
   16961 	  if test -f "$collect2name" && \
   16962   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16963 	  then
   16964   	  # We have reworked collect2
   16965   	  hardcode_direct_GCJ=yes
   16966 	  else
   16967   	  # We have old collect2
   16968   	  hardcode_direct_GCJ=unsupported
   16969   	  # It fails to find uninstalled libraries when the uninstalled
   16970   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16971   	  # to unsupported forces relinking
   16972   	  hardcode_minus_L_GCJ=yes
   16973   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16974   	  hardcode_libdir_separator_GCJ=
   16975 	  fi
   16976 	  ;;
   16977 	esac
   16978 	shared_flag='-shared'
   16979 	if test "$aix_use_runtimelinking" = yes; then
   16980 	  shared_flag="$shared_flag "'${wl}-G'
   16981 	fi
   16982       else
   16983 	# not using gcc
   16984 	if test "$host_cpu" = ia64; then
   16985   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16986   	# chokes on -Wl,-G. The following line is correct:
   16987 	  shared_flag='-G'
   16988 	else
   16989 	  if test "$aix_use_runtimelinking" = yes; then
   16990 	    shared_flag='${wl}-G'
   16991 	  else
   16992 	    shared_flag='${wl}-bM:SRE'
   16993 	  fi
   16994 	fi
   16995       fi
   16996 
   16997       # It seems that -bexpall does not export symbols beginning with
   16998       # underscore (_), so it is better to generate a list of symbols to export.
   16999       always_export_symbols_GCJ=yes
   17000       if test "$aix_use_runtimelinking" = yes; then
   17001 	# Warning - without using the other runtime loading flags (-brtl),
   17002 	# -berok will link without error, but may produce a broken library.
   17003 	allow_undefined_flag_GCJ='-berok'
   17004        # Determine the default libpath from the value encoded in an empty executable.
   17005        cat >conftest.$ac_ext <<_ACEOF
   17006 /* confdefs.h.  */
   17007 _ACEOF
   17008 cat confdefs.h >>conftest.$ac_ext
   17009 cat >>conftest.$ac_ext <<_ACEOF
   17010 /* end confdefs.h.  */
   17011 
   17012 int
   17013 main ()
   17014 {
   17015 
   17016   ;
   17017   return 0;
   17018 }
   17019 _ACEOF
   17020 rm -f conftest.$ac_objext conftest$ac_exeext
   17021 if { (ac_try="$ac_link"
   17022 case "(($ac_try" in
   17023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17024   *) ac_try_echo=$ac_try;;
   17025 esac
   17026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17027   (eval "$ac_link") 2>conftest.er1
   17028   ac_status=$?
   17029   grep -v '^ *+' conftest.er1 >conftest.err
   17030   rm -f conftest.er1
   17031   cat conftest.err >&5
   17032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17033   (exit $ac_status); } && {
   17034 	 test -z "$ac_c_werror_flag" ||
   17035 	 test ! -s conftest.err
   17036        } && test -s conftest$ac_exeext &&
   17037        $as_test_x conftest$ac_exeext; then
   17038 
   17039 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17040 }'`
   17041 # Check for a 64-bit object if we didn't find anything.
   17042 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17043 }'`; fi
   17044 else
   17045   echo "$as_me: failed program was:" >&5
   17046 sed 's/^/| /' conftest.$ac_ext >&5
   17047 
   17048 
   17049 fi
   17050 
   17051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17052       conftest$ac_exeext conftest.$ac_ext
   17053 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17054 
   17055        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17056 	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"
   17057        else
   17058 	if test "$host_cpu" = ia64; then
   17059 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17060 	  allow_undefined_flag_GCJ="-z nodefs"
   17061 	  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"
   17062 	else
   17063 	 # Determine the default libpath from the value encoded in an empty executable.
   17064 	 cat >conftest.$ac_ext <<_ACEOF
   17065 /* confdefs.h.  */
   17066 _ACEOF
   17067 cat confdefs.h >>conftest.$ac_ext
   17068 cat >>conftest.$ac_ext <<_ACEOF
   17069 /* end confdefs.h.  */
   17070 
   17071 int
   17072 main ()
   17073 {
   17074 
   17075   ;
   17076   return 0;
   17077 }
   17078 _ACEOF
   17079 rm -f conftest.$ac_objext conftest$ac_exeext
   17080 if { (ac_try="$ac_link"
   17081 case "(($ac_try" in
   17082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17083   *) ac_try_echo=$ac_try;;
   17084 esac
   17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17086   (eval "$ac_link") 2>conftest.er1
   17087   ac_status=$?
   17088   grep -v '^ *+' conftest.er1 >conftest.err
   17089   rm -f conftest.er1
   17090   cat conftest.err >&5
   17091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17092   (exit $ac_status); } && {
   17093 	 test -z "$ac_c_werror_flag" ||
   17094 	 test ! -s conftest.err
   17095        } && test -s conftest$ac_exeext &&
   17096        $as_test_x conftest$ac_exeext; then
   17097 
   17098 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17099 }'`
   17100 # Check for a 64-bit object if we didn't find anything.
   17101 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17102 }'`; fi
   17103 else
   17104   echo "$as_me: failed program was:" >&5
   17105 sed 's/^/| /' conftest.$ac_ext >&5
   17106 
   17107 
   17108 fi
   17109 
   17110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17111       conftest$ac_exeext conftest.$ac_ext
   17112 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17113 
   17114 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17115 	  # Warning - without using the other run time loading flags,
   17116 	  # -berok will link without error, but may produce a broken library.
   17117 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17118 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17119 	  # Exported symbols can be pulled into shared objects from archives
   17120 	  whole_archive_flag_spec_GCJ='$convenience'
   17121 	  archive_cmds_need_lc_GCJ=yes
   17122 	  # This is similar to how AIX traditionally builds its shared libraries.
   17123 	  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'
   17124 	fi
   17125       fi
   17126       ;;
   17127 
   17128     amigaos*)
   17129       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)'
   17130       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17131       hardcode_minus_L_GCJ=yes
   17132       # see comment about different semantics on the GNU ld section
   17133       ld_shlibs_GCJ=no
   17134       ;;
   17135 
   17136     bsdi[45]*)
   17137       export_dynamic_flag_spec_GCJ=-rdynamic
   17138       ;;
   17139 
   17140     cygwin* | mingw* | pw32*)
   17141       # When not using gcc, we currently assume that we are using
   17142       # Microsoft Visual C++.
   17143       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17144       # no search path for DLLs.
   17145       hardcode_libdir_flag_spec_GCJ=' '
   17146       allow_undefined_flag_GCJ=unsupported
   17147       # Tell ltmain to make .lib files, not .a files.
   17148       libext=lib
   17149       # Tell ltmain to make .dll files, not .so files.
   17150       shrext_cmds=".dll"
   17151       # FIXME: Setting linknames here is a bad hack.
   17152       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17153       # The linker will automatically build a .lib file if we build a DLL.
   17154       old_archive_From_new_cmds_GCJ='true'
   17155       # FIXME: Should let the user specify the lib program.
   17156       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17157       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17158       enable_shared_with_static_runtimes_GCJ=yes
   17159       ;;
   17160 
   17161     darwin* | rhapsody*)
   17162       case $host_os in
   17163         rhapsody* | darwin1.[012])
   17164          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17165          ;;
   17166        *) # Darwin 1.3 on
   17167          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17168            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17169          else
   17170            case ${MACOSX_DEPLOYMENT_TARGET} in
   17171              10.[012])
   17172                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17173                ;;
   17174              10.*)
   17175                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17176                ;;
   17177            esac
   17178          fi
   17179          ;;
   17180       esac
   17181       archive_cmds_need_lc_GCJ=no
   17182       hardcode_direct_GCJ=no
   17183       hardcode_automatic_GCJ=yes
   17184       hardcode_shlibpath_var_GCJ=unsupported
   17185       whole_archive_flag_spec_GCJ=''
   17186       link_all_deplibs_GCJ=yes
   17187     if test "$GCC" = yes ; then
   17188     	output_verbose_link_cmd='echo'
   17189         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17190       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17191       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17192       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17193       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}'
   17194     else
   17195       case $cc_basename in
   17196         xlc*)
   17197          output_verbose_link_cmd='echo'
   17198          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17199          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17200           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17201          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17202           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}'
   17203           ;;
   17204        *)
   17205          ld_shlibs_GCJ=no
   17206           ;;
   17207       esac
   17208     fi
   17209       ;;
   17210 
   17211     dgux*)
   17212       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17213       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17214       hardcode_shlibpath_var_GCJ=no
   17215       ;;
   17216 
   17217     freebsd1*)
   17218       ld_shlibs_GCJ=no
   17219       ;;
   17220 
   17221     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17222     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17223     # does not break anything, and helps significantly (at the cost of a little
   17224     # extra space).
   17225     freebsd2.2*)
   17226       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17227       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17228       hardcode_direct_GCJ=yes
   17229       hardcode_shlibpath_var_GCJ=no
   17230       ;;
   17231 
   17232     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17233     freebsd2*)
   17234       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17235       hardcode_direct_GCJ=yes
   17236       hardcode_minus_L_GCJ=yes
   17237       hardcode_shlibpath_var_GCJ=no
   17238       ;;
   17239 
   17240     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17241     freebsd* | kfreebsd*-gnu | dragonfly*)
   17242       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17243       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17244       hardcode_direct_GCJ=yes
   17245       hardcode_shlibpath_var_GCJ=no
   17246       ;;
   17247 
   17248     hpux9*)
   17249       if test "$GCC" = yes; then
   17250 	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'
   17251       else
   17252 	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'
   17253       fi
   17254       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17255       hardcode_libdir_separator_GCJ=:
   17256       hardcode_direct_GCJ=yes
   17257 
   17258       # hardcode_minus_L: Not really in the search PATH,
   17259       # but as the default location of the library.
   17260       hardcode_minus_L_GCJ=yes
   17261       export_dynamic_flag_spec_GCJ='${wl}-E'
   17262       ;;
   17263 
   17264     hpux10*)
   17265       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17266 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17267       else
   17268 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17269       fi
   17270       if test "$with_gnu_ld" = no; then
   17271 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17272 	hardcode_libdir_separator_GCJ=:
   17273 
   17274 	hardcode_direct_GCJ=yes
   17275 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17276 
   17277 	# hardcode_minus_L: Not really in the search PATH,
   17278 	# but as the default location of the library.
   17279 	hardcode_minus_L_GCJ=yes
   17280       fi
   17281       ;;
   17282 
   17283     hpux11*)
   17284       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17285 	case $host_cpu in
   17286 	hppa*64*)
   17287 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17288 	  ;;
   17289 	ia64*)
   17290 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17291 	  ;;
   17292 	*)
   17293 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17294 	  ;;
   17295 	esac
   17296       else
   17297 	case $host_cpu in
   17298 	hppa*64*)
   17299 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17300 	  ;;
   17301 	ia64*)
   17302 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17303 	  ;;
   17304 	*)
   17305 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17306 	  ;;
   17307 	esac
   17308       fi
   17309       if test "$with_gnu_ld" = no; then
   17310 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17311 	hardcode_libdir_separator_GCJ=:
   17312 
   17313 	case $host_cpu in
   17314 	hppa*64*|ia64*)
   17315 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17316 	  hardcode_direct_GCJ=no
   17317 	  hardcode_shlibpath_var_GCJ=no
   17318 	  ;;
   17319 	*)
   17320 	  hardcode_direct_GCJ=yes
   17321 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17322 
   17323 	  # hardcode_minus_L: Not really in the search PATH,
   17324 	  # but as the default location of the library.
   17325 	  hardcode_minus_L_GCJ=yes
   17326 	  ;;
   17327 	esac
   17328       fi
   17329       ;;
   17330 
   17331     irix5* | irix6* | nonstopux*)
   17332       if test "$GCC" = yes; then
   17333 	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'
   17334       else
   17335 	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'
   17336 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17337       fi
   17338       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17339       hardcode_libdir_separator_GCJ=:
   17340       link_all_deplibs_GCJ=yes
   17341       ;;
   17342 
   17343     netbsd*)
   17344       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17345 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17346       else
   17347 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17348       fi
   17349       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17350       hardcode_direct_GCJ=yes
   17351       hardcode_shlibpath_var_GCJ=no
   17352       ;;
   17353 
   17354     newsos6)
   17355       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17356       hardcode_direct_GCJ=yes
   17357       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17358       hardcode_libdir_separator_GCJ=:
   17359       hardcode_shlibpath_var_GCJ=no
   17360       ;;
   17361 
   17362     openbsd*)
   17363       hardcode_direct_GCJ=yes
   17364       hardcode_shlibpath_var_GCJ=no
   17365       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17366 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17367 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17368 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17369 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17370       else
   17371        case $host_os in
   17372 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17373 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17374 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17375 	   ;;
   17376 	 *)
   17377 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17378 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17379 	   ;;
   17380        esac
   17381       fi
   17382       ;;
   17383 
   17384     os2*)
   17385       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17386       hardcode_minus_L_GCJ=yes
   17387       allow_undefined_flag_GCJ=unsupported
   17388       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'
   17389       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17390       ;;
   17391 
   17392     osf3*)
   17393       if test "$GCC" = yes; then
   17394 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17395 	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'
   17396       else
   17397 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17398 	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'
   17399       fi
   17400       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17401       hardcode_libdir_separator_GCJ=:
   17402       ;;
   17403 
   17404     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17405       if test "$GCC" = yes; then
   17406 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17407 	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'
   17408 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17409       else
   17410 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17411 	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'
   17412 	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~
   17413 	$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'
   17414 
   17415 	# Both c and cxx compiler support -rpath directly
   17416 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17417       fi
   17418       hardcode_libdir_separator_GCJ=:
   17419       ;;
   17420 
   17421     solaris*)
   17422       no_undefined_flag_GCJ=' -z text'
   17423       if test "$GCC" = yes; then
   17424 	wlarc='${wl}'
   17425 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17426 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17427 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17428       else
   17429 	wlarc=''
   17430 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17431 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17432   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17433       fi
   17434       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17435       hardcode_shlibpath_var_GCJ=no
   17436       case $host_os in
   17437       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17438       *)
   17439  	# The compiler driver will combine linker options so we
   17440  	# cannot just pass the convience library names through
   17441  	# without $wl, iff we do not link with $LD.
   17442  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17443  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17444  	case $wlarc in
   17445  	'')
   17446  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17447  	*)
   17448  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
   17449  	esac ;;
   17450       esac
   17451       link_all_deplibs_GCJ=yes
   17452       ;;
   17453 
   17454     sunos4*)
   17455       if test "x$host_vendor" = xsequent; then
   17456 	# Use $CC to link under sequent, because it throws in some extra .o
   17457 	# files that make .init and .fini sections work.
   17458 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17459       else
   17460 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17461       fi
   17462       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17463       hardcode_direct_GCJ=yes
   17464       hardcode_minus_L_GCJ=yes
   17465       hardcode_shlibpath_var_GCJ=no
   17466       ;;
   17467 
   17468     sysv4)
   17469       case $host_vendor in
   17470 	sni)
   17471 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17472 	  hardcode_direct_GCJ=yes # is this really true???
   17473 	;;
   17474 	siemens)
   17475 	  ## LD is ld it makes a PLAMLIB
   17476 	  ## CC just makes a GrossModule.
   17477 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17478 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17479 	  hardcode_direct_GCJ=no
   17480         ;;
   17481 	motorola)
   17482 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17483 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17484 	;;
   17485       esac
   17486       runpath_var='LD_RUN_PATH'
   17487       hardcode_shlibpath_var_GCJ=no
   17488       ;;
   17489 
   17490     sysv4.3*)
   17491       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17492       hardcode_shlibpath_var_GCJ=no
   17493       export_dynamic_flag_spec_GCJ='-Bexport'
   17494       ;;
   17495 
   17496     sysv4*MP*)
   17497       if test -d /usr/nec; then
   17498 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17499 	hardcode_shlibpath_var_GCJ=no
   17500 	runpath_var=LD_RUN_PATH
   17501 	hardcode_runpath_var=yes
   17502 	ld_shlibs_GCJ=yes
   17503       fi
   17504       ;;
   17505 
   17506     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17507       no_undefined_flag_GCJ='${wl}-z,text'
   17508       archive_cmds_need_lc_GCJ=no
   17509       hardcode_shlibpath_var_GCJ=no
   17510       runpath_var='LD_RUN_PATH'
   17511 
   17512       if test "$GCC" = yes; then
   17513 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17514 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17515       else
   17516 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17517 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17518       fi
   17519       ;;
   17520 
   17521     sysv5* | sco3.2v5* | sco5v6*)
   17522       # Note: We can NOT use -z defs as we might desire, because we do not
   17523       # link with -lc, and that would cause any symbols used from libc to
   17524       # always be unresolved, which means just about no library would
   17525       # ever link correctly.  If we're not using GNU ld we use -z text
   17526       # though, which does catch some bad symbols but isn't as heavy-handed
   17527       # as -z defs.
   17528       no_undefined_flag_GCJ='${wl}-z,text'
   17529       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17530       archive_cmds_need_lc_GCJ=no
   17531       hardcode_shlibpath_var_GCJ=no
   17532       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17533       hardcode_libdir_separator_GCJ=':'
   17534       link_all_deplibs_GCJ=yes
   17535       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17536       runpath_var='LD_RUN_PATH'
   17537 
   17538       if test "$GCC" = yes; then
   17539 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17540 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17541       else
   17542 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17543 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17544       fi
   17545       ;;
   17546 
   17547     uts4*)
   17548       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17549       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17550       hardcode_shlibpath_var_GCJ=no
   17551       ;;
   17552 
   17553     *)
   17554       ld_shlibs_GCJ=no
   17555       ;;
   17556     esac
   17557   fi
   17558 
   17559 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17560 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17561 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17562 
   17563 #
   17564 # Do we need to explicitly link libc?
   17565 #
   17566 case "x$archive_cmds_need_lc_GCJ" in
   17567 x|xyes)
   17568   # Assume -lc should be added
   17569   archive_cmds_need_lc_GCJ=yes
   17570 
   17571   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17572     case $archive_cmds_GCJ in
   17573     *'~'*)
   17574       # FIXME: we may have to deal with multi-command sequences.
   17575       ;;
   17576     '$CC '*)
   17577       # Test whether the compiler implicitly links with -lc since on some
   17578       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17579       # to ld, don't add -lc before -lgcc.
   17580       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17581 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17582       $rm conftest*
   17583       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17584 
   17585       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17586   (eval $ac_compile) 2>&5
   17587   ac_status=$?
   17588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17589   (exit $ac_status); } 2>conftest.err; then
   17590         soname=conftest
   17591         lib=conftest
   17592         libobjs=conftest.$ac_objext
   17593         deplibs=
   17594         wl=$lt_prog_compiler_wl_GCJ
   17595 	pic_flag=$lt_prog_compiler_pic_GCJ
   17596         compiler_flags=-v
   17597         linker_flags=-v
   17598         verstring=
   17599         output_objdir=.
   17600         libname=conftest
   17601         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17602         allow_undefined_flag_GCJ=
   17603         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17604   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17605   ac_status=$?
   17606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17607   (exit $ac_status); }
   17608         then
   17609 	  archive_cmds_need_lc_GCJ=no
   17610         else
   17611 	  archive_cmds_need_lc_GCJ=yes
   17612         fi
   17613         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17614       else
   17615         cat conftest.err 1>&5
   17616       fi
   17617       $rm conftest*
   17618       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17619 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17620       ;;
   17621     esac
   17622   fi
   17623   ;;
   17624 esac
   17625 
   17626 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17627 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17628 library_names_spec=
   17629 libname_spec='lib$name'
   17630 soname_spec=
   17631 shrext_cmds=".so"
   17632 postinstall_cmds=
   17633 postuninstall_cmds=
   17634 finish_cmds=
   17635 finish_eval=
   17636 shlibpath_var=
   17637 shlibpath_overrides_runpath=unknown
   17638 version_type=none
   17639 dynamic_linker="$host_os ld.so"
   17640 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17641 if test "$GCC" = yes; then
   17642   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17643   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17644     # if the path contains ";" then we assume it to be the separator
   17645     # otherwise default to the standard path separator (i.e. ":") - it is
   17646     # assumed that no part of a normal pathname contains ";" but that should
   17647     # okay in the real world where ";" in dirpaths is itself problematic.
   17648     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17649   else
   17650     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17651   fi
   17652 else
   17653   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17654 fi
   17655 need_lib_prefix=unknown
   17656 hardcode_into_libs=no
   17657 
   17658 # when you set need_version to no, make sure it does not cause -set_version
   17659 # flags to be left without arguments
   17660 need_version=unknown
   17661 
   17662 case $host_os in
   17663 aix3*)
   17664   version_type=linux
   17665   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17666   shlibpath_var=LIBPATH
   17667 
   17668   # AIX 3 has no versioning support, so we append a major version to the name.
   17669   soname_spec='${libname}${release}${shared_ext}$major'
   17670   ;;
   17671 
   17672 aix4* | aix5*)
   17673   version_type=linux
   17674   need_lib_prefix=no
   17675   need_version=no
   17676   hardcode_into_libs=yes
   17677   if test "$host_cpu" = ia64; then
   17678     # AIX 5 supports IA64
   17679     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17680     shlibpath_var=LD_LIBRARY_PATH
   17681   else
   17682     # With GCC up to 2.95.x, collect2 would create an import file
   17683     # for dependence libraries.  The import file would start with
   17684     # the line `#! .'.  This would cause the generated library to
   17685     # depend on `.', always an invalid library.  This was fixed in
   17686     # development snapshots of GCC prior to 3.0.
   17687     case $host_os in
   17688       aix4 | aix4.[01] | aix4.[01].*)
   17689       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17690 	   echo ' yes '
   17691 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17692 	:
   17693       else
   17694 	can_build_shared=no
   17695       fi
   17696       ;;
   17697     esac
   17698     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17699     # soname into executable. Probably we can add versioning support to
   17700     # collect2, so additional links can be useful in future.
   17701     if test "$aix_use_runtimelinking" = yes; then
   17702       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17703       # instead of lib<name>.a to let people know that these are not
   17704       # typical AIX shared libraries.
   17705       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17706     else
   17707       # We preserve .a as extension for shared libraries through AIX4.2
   17708       # and later when we are not doing run time linking.
   17709       library_names_spec='${libname}${release}.a $libname.a'
   17710       soname_spec='${libname}${release}${shared_ext}$major'
   17711     fi
   17712     shlibpath_var=LIBPATH
   17713   fi
   17714   ;;
   17715 
   17716 amigaos*)
   17717   library_names_spec='$libname.ixlibrary $libname.a'
   17718   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17719   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'
   17720   ;;
   17721 
   17722 beos*)
   17723   library_names_spec='${libname}${shared_ext}'
   17724   dynamic_linker="$host_os ld.so"
   17725   shlibpath_var=LIBRARY_PATH
   17726   ;;
   17727 
   17728 bsdi[45]*)
   17729   version_type=linux
   17730   need_version=no
   17731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17732   soname_spec='${libname}${release}${shared_ext}$major'
   17733   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17734   shlibpath_var=LD_LIBRARY_PATH
   17735   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17736   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17737   # the default ld.so.conf also contains /usr/contrib/lib and
   17738   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17739   # libtool to hard-code these into programs
   17740   ;;
   17741 
   17742 cygwin* | mingw* | pw32*)
   17743   version_type=windows
   17744   shrext_cmds=".dll"
   17745   need_version=no
   17746   need_lib_prefix=no
   17747 
   17748   case $GCC,$host_os in
   17749   yes,cygwin* | yes,mingw* | yes,pw32*)
   17750     library_names_spec='$libname.dll.a'
   17751     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17752     postinstall_cmds='base_file=`basename \${file}`~
   17753       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17754       dldir=$destdir/`dirname \$dlpath`~
   17755       test -d \$dldir || mkdir -p \$dldir~
   17756       $install_prog $dir/$dlname \$dldir/$dlname~
   17757       chmod a+x \$dldir/$dlname'
   17758     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17759       dlpath=$dir/\$dldll~
   17760        $rm \$dlpath'
   17761     shlibpath_overrides_runpath=yes
   17762 
   17763     case $host_os in
   17764     cygwin*)
   17765       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17766       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17767       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17768       ;;
   17769     mingw*)
   17770       # MinGW DLLs use traditional 'lib' prefix
   17771       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17772       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17773       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17774         # It is most probably a Windows format PATH printed by
   17775         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17776         # path with ; separators, and with drive letters. We can handle the
   17777         # drive letters (cygwin fileutils understands them), so leave them,
   17778         # especially as we might pass files found there to a mingw objdump,
   17779         # which wouldn't understand a cygwinified path. Ahh.
   17780         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17781       else
   17782         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17783       fi
   17784       ;;
   17785     pw32*)
   17786       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17787       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17788       ;;
   17789     esac
   17790     ;;
   17791 
   17792   *)
   17793     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17794     ;;
   17795   esac
   17796   dynamic_linker='Win32 ld.exe'
   17797   # FIXME: first we should search . and the directory the executable is in
   17798   shlibpath_var=PATH
   17799   ;;
   17800 
   17801 darwin* | rhapsody*)
   17802   dynamic_linker="$host_os dyld"
   17803   version_type=darwin
   17804   need_lib_prefix=no
   17805   need_version=no
   17806   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17807   soname_spec='${libname}${release}${major}$shared_ext'
   17808   shlibpath_overrides_runpath=yes
   17809   shlibpath_var=DYLD_LIBRARY_PATH
   17810   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17811   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17812   if test "$GCC" = yes; then
   17813     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   17814   else
   17815     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17816   fi
   17817   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17818   ;;
   17819 
   17820 dgux*)
   17821   version_type=linux
   17822   need_lib_prefix=no
   17823   need_version=no
   17824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17825   soname_spec='${libname}${release}${shared_ext}$major'
   17826   shlibpath_var=LD_LIBRARY_PATH
   17827   ;;
   17828 
   17829 freebsd1*)
   17830   dynamic_linker=no
   17831   ;;
   17832 
   17833 kfreebsd*-gnu)
   17834   version_type=linux
   17835   need_lib_prefix=no
   17836   need_version=no
   17837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17838   soname_spec='${libname}${release}${shared_ext}$major'
   17839   shlibpath_var=LD_LIBRARY_PATH
   17840   shlibpath_overrides_runpath=no
   17841   hardcode_into_libs=yes
   17842   dynamic_linker='GNU ld.so'
   17843   ;;
   17844 
   17845 freebsd* | dragonfly*)
   17846   # DragonFly does not have aout.  When/if they implement a new
   17847   # versioning mechanism, adjust this.
   17848   if test -x /usr/bin/objformat; then
   17849     objformat=`/usr/bin/objformat`
   17850   else
   17851     case $host_os in
   17852     freebsd[123]*) objformat=aout ;;
   17853     *) objformat=elf ;;
   17854     esac
   17855   fi
   17856   version_type=freebsd-$objformat
   17857   case $version_type in
   17858     freebsd-elf*)
   17859       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17860       need_version=no
   17861       need_lib_prefix=no
   17862       ;;
   17863     freebsd-*)
   17864       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17865       need_version=yes
   17866       ;;
   17867   esac
   17868   shlibpath_var=LD_LIBRARY_PATH
   17869   case $host_os in
   17870   freebsd2*)
   17871     shlibpath_overrides_runpath=yes
   17872     ;;
   17873   freebsd3.[01]* | freebsdelf3.[01]*)
   17874     shlibpath_overrides_runpath=yes
   17875     hardcode_into_libs=yes
   17876     ;;
   17877   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17878   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17879     shlibpath_overrides_runpath=no
   17880     hardcode_into_libs=yes
   17881     ;;
   17882   freebsd*) # from 4.6 on
   17883     shlibpath_overrides_runpath=yes
   17884     hardcode_into_libs=yes
   17885     ;;
   17886   esac
   17887   ;;
   17888 
   17889 gnu*)
   17890   version_type=linux
   17891   need_lib_prefix=no
   17892   need_version=no
   17893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17894   soname_spec='${libname}${release}${shared_ext}$major'
   17895   shlibpath_var=LD_LIBRARY_PATH
   17896   hardcode_into_libs=yes
   17897   ;;
   17898 
   17899 hpux9* | hpux10* | hpux11*)
   17900   # Give a soname corresponding to the major version so that dld.sl refuses to
   17901   # link against other versions.
   17902   version_type=sunos
   17903   need_lib_prefix=no
   17904   need_version=no
   17905   case $host_cpu in
   17906   ia64*)
   17907     shrext_cmds='.so'
   17908     hardcode_into_libs=yes
   17909     dynamic_linker="$host_os dld.so"
   17910     shlibpath_var=LD_LIBRARY_PATH
   17911     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17912     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17913     soname_spec='${libname}${release}${shared_ext}$major'
   17914     if test "X$HPUX_IA64_MODE" = X32; then
   17915       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17916     else
   17917       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17918     fi
   17919     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17920     ;;
   17921    hppa*64*)
   17922      shrext_cmds='.sl'
   17923      hardcode_into_libs=yes
   17924      dynamic_linker="$host_os dld.sl"
   17925      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17926      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17927      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17928      soname_spec='${libname}${release}${shared_ext}$major'
   17929      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17930      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17931      ;;
   17932    *)
   17933     shrext_cmds='.sl'
   17934     dynamic_linker="$host_os dld.sl"
   17935     shlibpath_var=SHLIB_PATH
   17936     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17937     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17938     soname_spec='${libname}${release}${shared_ext}$major'
   17939     ;;
   17940   esac
   17941   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17942   postinstall_cmds='chmod 555 $lib'
   17943   ;;
   17944 
   17945 interix3*)
   17946   version_type=linux
   17947   need_lib_prefix=no
   17948   need_version=no
   17949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17950   soname_spec='${libname}${release}${shared_ext}$major'
   17951   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17952   shlibpath_var=LD_LIBRARY_PATH
   17953   shlibpath_overrides_runpath=no
   17954   hardcode_into_libs=yes
   17955   ;;
   17956 
   17957 irix5* | irix6* | nonstopux*)
   17958   case $host_os in
   17959     nonstopux*) version_type=nonstopux ;;
   17960     *)
   17961 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17962 		version_type=linux
   17963 	else
   17964 		version_type=irix
   17965 	fi ;;
   17966   esac
   17967   need_lib_prefix=no
   17968   need_version=no
   17969   soname_spec='${libname}${release}${shared_ext}$major'
   17970   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17971   case $host_os in
   17972   irix5* | nonstopux*)
   17973     libsuff= shlibsuff=
   17974     ;;
   17975   *)
   17976     case $LD in # libtool.m4 will add one of these switches to LD
   17977     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17978       libsuff= shlibsuff= libmagic=32-bit;;
   17979     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17980       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17981     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17982       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17983     *) libsuff= shlibsuff= libmagic=never-match;;
   17984     esac
   17985     ;;
   17986   esac
   17987   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17988   shlibpath_overrides_runpath=no
   17989   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   17990   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   17991   hardcode_into_libs=yes
   17992   ;;
   17993 
   17994 # No shared lib support for Linux oldld, aout, or coff.
   17995 linux*oldld* | linux*aout* | linux*coff*)
   17996   dynamic_linker=no
   17997   ;;
   17998 
   17999 # This must be Linux ELF.
   18000 linux*)
   18001   version_type=linux
   18002   need_lib_prefix=no
   18003   need_version=no
   18004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18005   soname_spec='${libname}${release}${shared_ext}$major'
   18006   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18007   shlibpath_var=LD_LIBRARY_PATH
   18008   shlibpath_overrides_runpath=no
   18009   # This implies no fast_install, which is unacceptable.
   18010   # Some rework will be needed to allow for fast_install
   18011   # before this can be enabled.
   18012   hardcode_into_libs=yes
   18013 
   18014   # Append ld.so.conf contents to the search path
   18015   if test -f /etc/ld.so.conf; then
   18016     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18017     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18018   fi
   18019 
   18020   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18021   # powerpc, because MkLinux only supported shared libraries with the
   18022   # GNU dynamic linker.  Since this was broken with cross compilers,
   18023   # most powerpc-linux boxes support dynamic linking these days and
   18024   # people can always --disable-shared, the test was removed, and we
   18025   # assume the GNU/Linux dynamic linker is in use.
   18026   dynamic_linker='GNU/Linux ld.so'
   18027   ;;
   18028 
   18029 knetbsd*-gnu)
   18030   version_type=linux
   18031   need_lib_prefix=no
   18032   need_version=no
   18033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18034   soname_spec='${libname}${release}${shared_ext}$major'
   18035   shlibpath_var=LD_LIBRARY_PATH
   18036   shlibpath_overrides_runpath=no
   18037   hardcode_into_libs=yes
   18038   dynamic_linker='GNU ld.so'
   18039   ;;
   18040 
   18041 netbsd*)
   18042   version_type=sunos
   18043   need_lib_prefix=no
   18044   need_version=no
   18045   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18046     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18047     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18048     dynamic_linker='NetBSD (a.out) ld.so'
   18049   else
   18050     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18051     soname_spec='${libname}${release}${shared_ext}$major'
   18052     dynamic_linker='NetBSD ld.elf_so'
   18053   fi
   18054   shlibpath_var=LD_LIBRARY_PATH
   18055   shlibpath_overrides_runpath=yes
   18056   hardcode_into_libs=yes
   18057   ;;
   18058 
   18059 newsos6)
   18060   version_type=linux
   18061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18062   shlibpath_var=LD_LIBRARY_PATH
   18063   shlibpath_overrides_runpath=yes
   18064   ;;
   18065 
   18066 nto-qnx*)
   18067   version_type=linux
   18068   need_lib_prefix=no
   18069   need_version=no
   18070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18071   soname_spec='${libname}${release}${shared_ext}$major'
   18072   shlibpath_var=LD_LIBRARY_PATH
   18073   shlibpath_overrides_runpath=yes
   18074   ;;
   18075 
   18076 openbsd*)
   18077   version_type=sunos
   18078   sys_lib_dlsearch_path_spec="/usr/lib"
   18079   need_lib_prefix=no
   18080   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18081   case $host_os in
   18082     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18083     *)                         need_version=no  ;;
   18084   esac
   18085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18086   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18087   shlibpath_var=LD_LIBRARY_PATH
   18088   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18089     case $host_os in
   18090       openbsd2.[89] | openbsd2.[89].*)
   18091 	shlibpath_overrides_runpath=no
   18092 	;;
   18093       *)
   18094 	shlibpath_overrides_runpath=yes
   18095 	;;
   18096       esac
   18097   else
   18098     shlibpath_overrides_runpath=yes
   18099   fi
   18100   ;;
   18101 
   18102 os2*)
   18103   libname_spec='$name'
   18104   shrext_cmds=".dll"
   18105   need_lib_prefix=no
   18106   library_names_spec='$libname${shared_ext} $libname.a'
   18107   dynamic_linker='OS/2 ld.exe'
   18108   shlibpath_var=LIBPATH
   18109   ;;
   18110 
   18111 osf3* | osf4* | osf5*)
   18112   version_type=osf
   18113   need_lib_prefix=no
   18114   need_version=no
   18115   soname_spec='${libname}${release}${shared_ext}$major'
   18116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18117   shlibpath_var=LD_LIBRARY_PATH
   18118   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18119   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18120   ;;
   18121 
   18122 solaris*)
   18123   version_type=linux
   18124   need_lib_prefix=no
   18125   need_version=no
   18126   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18127   soname_spec='${libname}${release}${shared_ext}$major'
   18128   shlibpath_var=LD_LIBRARY_PATH
   18129   shlibpath_overrides_runpath=yes
   18130   hardcode_into_libs=yes
   18131   # ldd complains unless libraries are executable
   18132   postinstall_cmds='chmod +x $lib'
   18133   ;;
   18134 
   18135 sunos4*)
   18136   version_type=sunos
   18137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18138   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18139   shlibpath_var=LD_LIBRARY_PATH
   18140   shlibpath_overrides_runpath=yes
   18141   if test "$with_gnu_ld" = yes; then
   18142     need_lib_prefix=no
   18143   fi
   18144   need_version=yes
   18145   ;;
   18146 
   18147 sysv4 | sysv4.3*)
   18148   version_type=linux
   18149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18150   soname_spec='${libname}${release}${shared_ext}$major'
   18151   shlibpath_var=LD_LIBRARY_PATH
   18152   case $host_vendor in
   18153     sni)
   18154       shlibpath_overrides_runpath=no
   18155       need_lib_prefix=no
   18156       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18157       runpath_var=LD_RUN_PATH
   18158       ;;
   18159     siemens)
   18160       need_lib_prefix=no
   18161       ;;
   18162     motorola)
   18163       need_lib_prefix=no
   18164       need_version=no
   18165       shlibpath_overrides_runpath=no
   18166       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18167       ;;
   18168   esac
   18169   ;;
   18170 
   18171 sysv4*MP*)
   18172   if test -d /usr/nec ;then
   18173     version_type=linux
   18174     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18175     soname_spec='$libname${shared_ext}.$major'
   18176     shlibpath_var=LD_LIBRARY_PATH
   18177   fi
   18178   ;;
   18179 
   18180 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18181   version_type=freebsd-elf
   18182   need_lib_prefix=no
   18183   need_version=no
   18184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18185   soname_spec='${libname}${release}${shared_ext}$major'
   18186   shlibpath_var=LD_LIBRARY_PATH
   18187   hardcode_into_libs=yes
   18188   if test "$with_gnu_ld" = yes; then
   18189     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18190     shlibpath_overrides_runpath=no
   18191   else
   18192     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18193     shlibpath_overrides_runpath=yes
   18194     case $host_os in
   18195       sco3.2v5*)
   18196         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18197 	;;
   18198     esac
   18199   fi
   18200   sys_lib_dlsearch_path_spec='/usr/lib'
   18201   ;;
   18202 
   18203 uts4*)
   18204   version_type=linux
   18205   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18206   soname_spec='${libname}${release}${shared_ext}$major'
   18207   shlibpath_var=LD_LIBRARY_PATH
   18208   ;;
   18209 
   18210 *)
   18211   dynamic_linker=no
   18212   ;;
   18213 esac
   18214 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18215 echo "${ECHO_T}$dynamic_linker" >&6; }
   18216 test "$dynamic_linker" = no && can_build_shared=no
   18217 
   18218 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18219 if test "$GCC" = yes; then
   18220   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18221 fi
   18222 
   18223 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18224 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18225 hardcode_action_GCJ=
   18226 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18227    test -n "$runpath_var_GCJ" || \
   18228    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18229 
   18230   # We can hardcode non-existant directories.
   18231   if test "$hardcode_direct_GCJ" != no &&
   18232      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18233      # have to relink, otherwise we might link with an installed library
   18234      # when we should be linking with a yet-to-be-installed one
   18235      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18236      test "$hardcode_minus_L_GCJ" != no; then
   18237     # Linking always hardcodes the temporary library directory.
   18238     hardcode_action_GCJ=relink
   18239   else
   18240     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18241     hardcode_action_GCJ=immediate
   18242   fi
   18243 else
   18244   # We cannot hardcode anything, or else we can only hardcode existing
   18245   # directories.
   18246   hardcode_action_GCJ=unsupported
   18247 fi
   18248 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18249 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18250 
   18251 if test "$hardcode_action_GCJ" = relink; then
   18252   # Fast installation is not supported
   18253   enable_fast_install=no
   18254 elif test "$shlibpath_overrides_runpath" = yes ||
   18255      test "$enable_shared" = no; then
   18256   # Fast installation is not necessary
   18257   enable_fast_install=needless
   18258 fi
   18259 
   18260 
   18261 # The else clause should only fire when bootstrapping the
   18262 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18263 # with your package, and you will get complaints that there are
   18264 # no rules to generate ltmain.sh.
   18265 if test -f "$ltmain"; then
   18266   # See if we are running on zsh, and set the options which allow our commands through
   18267   # without removal of \ escapes.
   18268   if test -n "${ZSH_VERSION+set}" ; then
   18269     setopt NO_GLOB_SUBST
   18270   fi
   18271   # Now quote all the things that may contain metacharacters while being
   18272   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18273   # variables and quote the copies for generation of the libtool script.
   18274   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18275     SED SHELL STRIP \
   18276     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18277     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18278     deplibs_check_method reload_flag reload_cmds need_locks \
   18279     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18280     lt_cv_sys_global_symbol_to_c_name_address \
   18281     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18282     old_postinstall_cmds old_postuninstall_cmds \
   18283     compiler_GCJ \
   18284     CC_GCJ \
   18285     LD_GCJ \
   18286     lt_prog_compiler_wl_GCJ \
   18287     lt_prog_compiler_pic_GCJ \
   18288     lt_prog_compiler_static_GCJ \
   18289     lt_prog_compiler_no_builtin_flag_GCJ \
   18290     export_dynamic_flag_spec_GCJ \
   18291     thread_safe_flag_spec_GCJ \
   18292     whole_archive_flag_spec_GCJ \
   18293     enable_shared_with_static_runtimes_GCJ \
   18294     old_archive_cmds_GCJ \
   18295     old_archive_from_new_cmds_GCJ \
   18296     predep_objects_GCJ \
   18297     postdep_objects_GCJ \
   18298     predeps_GCJ \
   18299     postdeps_GCJ \
   18300     compiler_lib_search_path_GCJ \
   18301     archive_cmds_GCJ \
   18302     archive_expsym_cmds_GCJ \
   18303     postinstall_cmds_GCJ \
   18304     postuninstall_cmds_GCJ \
   18305     old_archive_from_expsyms_cmds_GCJ \
   18306     allow_undefined_flag_GCJ \
   18307     no_undefined_flag_GCJ \
   18308     export_symbols_cmds_GCJ \
   18309     hardcode_libdir_flag_spec_GCJ \
   18310     hardcode_libdir_flag_spec_ld_GCJ \
   18311     hardcode_libdir_separator_GCJ \
   18312     hardcode_automatic_GCJ \
   18313     module_cmds_GCJ \
   18314     module_expsym_cmds_GCJ \
   18315     lt_cv_prog_compiler_c_o_GCJ \
   18316     exclude_expsyms_GCJ \
   18317     include_expsyms_GCJ; do
   18318 
   18319     case $var in
   18320     old_archive_cmds_GCJ | \
   18321     old_archive_from_new_cmds_GCJ | \
   18322     archive_cmds_GCJ | \
   18323     archive_expsym_cmds_GCJ | \
   18324     module_cmds_GCJ | \
   18325     module_expsym_cmds_GCJ | \
   18326     old_archive_from_expsyms_cmds_GCJ | \
   18327     export_symbols_cmds_GCJ | \
   18328     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18329     postinstall_cmds | postuninstall_cmds | \
   18330     old_postinstall_cmds | old_postuninstall_cmds | \
   18331     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18332       # Double-quote double-evaled strings.
   18333       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18334       ;;
   18335     *)
   18336       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18337       ;;
   18338     esac
   18339   done
   18340 
   18341   case $lt_echo in
   18342   *'\$0 --fallback-echo"')
   18343     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18344     ;;
   18345   esac
   18346 
   18347 cfgfile="$ofile"
   18348 
   18349   cat <<__EOF__ >> "$cfgfile"
   18350 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18351 
   18352 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18353 
   18354 # Shell to use when invoking shell scripts.
   18355 SHELL=$lt_SHELL
   18356 
   18357 # Whether or not to build shared libraries.
   18358 build_libtool_libs=$enable_shared
   18359 
   18360 # Whether or not to build static libraries.
   18361 build_old_libs=$enable_static
   18362 
   18363 # Whether or not to add -lc for building shared libraries.
   18364 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18365 
   18366 # Whether or not to disallow shared libs when runtime libs are static
   18367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18368 
   18369 # Whether or not to optimize for fast installation.
   18370 fast_install=$enable_fast_install
   18371 
   18372 # The host system.
   18373 host_alias=$host_alias
   18374 host=$host
   18375 host_os=$host_os
   18376 
   18377 # The build system.
   18378 build_alias=$build_alias
   18379 build=$build
   18380 build_os=$build_os
   18381 
   18382 # An echo program that does not interpret backslashes.
   18383 echo=$lt_echo
   18384 
   18385 # The archiver.
   18386 AR=$lt_AR
   18387 AR_FLAGS=$lt_AR_FLAGS
   18388 
   18389 # A C compiler.
   18390 LTCC=$lt_LTCC
   18391 
   18392 # LTCC compiler flags.
   18393 LTCFLAGS=$lt_LTCFLAGS
   18394 
   18395 # A language-specific compiler.
   18396 CC=$lt_compiler_GCJ
   18397 
   18398 # Is the compiler the GNU C compiler?
   18399 with_gcc=$GCC_GCJ
   18400 
   18401 # An ERE matcher.
   18402 EGREP=$lt_EGREP
   18403 
   18404 # The linker used to build libraries.
   18405 LD=$lt_LD_GCJ
   18406 
   18407 # Whether we need hard or soft links.
   18408 LN_S=$lt_LN_S
   18409 
   18410 # A BSD-compatible nm program.
   18411 NM=$lt_NM
   18412 
   18413 # A symbol stripping program
   18414 STRIP=$lt_STRIP
   18415 
   18416 # Used to examine libraries when file_magic_cmd begins "file"
   18417 MAGIC_CMD=$MAGIC_CMD
   18418 
   18419 # Used on cygwin: DLL creation program.
   18420 DLLTOOL="$DLLTOOL"
   18421 
   18422 # Used on cygwin: object dumper.
   18423 OBJDUMP="$OBJDUMP"
   18424 
   18425 # Used on cygwin: assembler.
   18426 AS="$AS"
   18427 
   18428 # The name of the directory that contains temporary libtool files.
   18429 objdir=$objdir
   18430 
   18431 # How to create reloadable object files.
   18432 reload_flag=$lt_reload_flag
   18433 reload_cmds=$lt_reload_cmds
   18434 
   18435 # How to pass a linker flag through the compiler.
   18436 wl=$lt_lt_prog_compiler_wl_GCJ
   18437 
   18438 # Object file suffix (normally "o").
   18439 objext="$ac_objext"
   18440 
   18441 # Old archive suffix (normally "a").
   18442 libext="$libext"
   18443 
   18444 # Shared library suffix (normally ".so").
   18445 shrext_cmds='$shrext_cmds'
   18446 
   18447 # Executable file suffix (normally "").
   18448 exeext="$exeext"
   18449 
   18450 # Additional compiler flags for building library objects.
   18451 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18452 pic_mode=$pic_mode
   18453 
   18454 # What is the maximum length of a command?
   18455 max_cmd_len=$lt_cv_sys_max_cmd_len
   18456 
   18457 # Does compiler simultaneously support -c and -o options?
   18458 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18459 
   18460 # Must we lock files when doing compilation?
   18461 need_locks=$lt_need_locks
   18462 
   18463 # Do we need the lib prefix for modules?
   18464 need_lib_prefix=$need_lib_prefix
   18465 
   18466 # Do we need a version for libraries?
   18467 need_version=$need_version
   18468 
   18469 # Whether dlopen is supported.
   18470 dlopen_support=$enable_dlopen
   18471 
   18472 # Whether dlopen of programs is supported.
   18473 dlopen_self=$enable_dlopen_self
   18474 
   18475 # Whether dlopen of statically linked programs is supported.
   18476 dlopen_self_static=$enable_dlopen_self_static
   18477 
   18478 # Compiler flag to prevent dynamic linking.
   18479 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18480 
   18481 # Compiler flag to turn off builtin functions.
   18482 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18483 
   18484 # Compiler flag to allow reflexive dlopens.
   18485 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18486 
   18487 # Compiler flag to generate shared objects directly from archives.
   18488 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18489 
   18490 # Compiler flag to generate thread-safe objects.
   18491 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18492 
   18493 # Library versioning type.
   18494 version_type=$version_type
   18495 
   18496 # Format of library name prefix.
   18497 libname_spec=$lt_libname_spec
   18498 
   18499 # List of archive names.  First name is the real one, the rest are links.
   18500 # The last name is the one that the linker finds with -lNAME.
   18501 library_names_spec=$lt_library_names_spec
   18502 
   18503 # The coded name of the library, if different from the real name.
   18504 soname_spec=$lt_soname_spec
   18505 
   18506 # Commands used to build and install an old-style archive.
   18507 RANLIB=$lt_RANLIB
   18508 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18509 old_postinstall_cmds=$lt_old_postinstall_cmds
   18510 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18511 
   18512 # Create an old-style archive from a shared archive.
   18513 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18514 
   18515 # Create a temporary old-style archive to link instead of a shared archive.
   18516 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18517 
   18518 # Commands used to build and install a shared archive.
   18519 archive_cmds=$lt_archive_cmds_GCJ
   18520 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18521 postinstall_cmds=$lt_postinstall_cmds
   18522 postuninstall_cmds=$lt_postuninstall_cmds
   18523 
   18524 # Commands used to build a loadable module (assumed same as above if empty)
   18525 module_cmds=$lt_module_cmds_GCJ
   18526 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18527 
   18528 # Commands to strip libraries.
   18529 old_striplib=$lt_old_striplib
   18530 striplib=$lt_striplib
   18531 
   18532 # Dependencies to place before the objects being linked to create a
   18533 # shared library.
   18534 predep_objects=$lt_predep_objects_GCJ
   18535 
   18536 # Dependencies to place after the objects being linked to create a
   18537 # shared library.
   18538 postdep_objects=$lt_postdep_objects_GCJ
   18539 
   18540 # Dependencies to place before the objects being linked to create a
   18541 # shared library.
   18542 predeps=$lt_predeps_GCJ
   18543 
   18544 # Dependencies to place after the objects being linked to create a
   18545 # shared library.
   18546 postdeps=$lt_postdeps_GCJ
   18547 
   18548 # The library search path used internally by the compiler when linking
   18549 # a shared library.
   18550 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18551 
   18552 # Method to check whether dependent libraries are shared objects.
   18553 deplibs_check_method=$lt_deplibs_check_method
   18554 
   18555 # Command to use when deplibs_check_method == file_magic.
   18556 file_magic_cmd=$lt_file_magic_cmd
   18557 
   18558 # Flag that allows shared libraries with undefined symbols to be built.
   18559 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18560 
   18561 # Flag that forces no undefined symbols.
   18562 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18563 
   18564 # Commands used to finish a libtool library installation in a directory.
   18565 finish_cmds=$lt_finish_cmds
   18566 
   18567 # Same as above, but a single script fragment to be evaled but not shown.
   18568 finish_eval=$lt_finish_eval
   18569 
   18570 # Take the output of nm and produce a listing of raw symbols and C names.
   18571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18572 
   18573 # Transform the output of nm in a proper C declaration
   18574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18575 
   18576 # Transform the output of nm in a C name address pair
   18577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18578 
   18579 # This is the shared library runtime path variable.
   18580 runpath_var=$runpath_var
   18581 
   18582 # This is the shared library path variable.
   18583 shlibpath_var=$shlibpath_var
   18584 
   18585 # Is shlibpath searched before the hard-coded library search path?
   18586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18587 
   18588 # How to hardcode a shared library path into an executable.
   18589 hardcode_action=$hardcode_action_GCJ
   18590 
   18591 # Whether we should hardcode library paths into libraries.
   18592 hardcode_into_libs=$hardcode_into_libs
   18593 
   18594 # Flag to hardcode \$libdir into a binary during linking.
   18595 # This must work even if \$libdir does not exist.
   18596 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18597 
   18598 # If ld is used when linking, flag to hardcode \$libdir into
   18599 # a binary during linking. This must work even if \$libdir does
   18600 # not exist.
   18601 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18602 
   18603 # Whether we need a single -rpath flag with a separated argument.
   18604 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18605 
   18606 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18607 # resulting binary.
   18608 hardcode_direct=$hardcode_direct_GCJ
   18609 
   18610 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18611 # resulting binary.
   18612 hardcode_minus_L=$hardcode_minus_L_GCJ
   18613 
   18614 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18615 # the resulting binary.
   18616 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18617 
   18618 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18619 # and all subsequent libraries and executables linked against it.
   18620 hardcode_automatic=$hardcode_automatic_GCJ
   18621 
   18622 # Variables whose values should be saved in libtool wrapper scripts and
   18623 # restored at relink time.
   18624 variables_saved_for_relink="$variables_saved_for_relink"
   18625 
   18626 # Whether libtool must link a program against all its dependency libraries.
   18627 link_all_deplibs=$link_all_deplibs_GCJ
   18628 
   18629 # Compile-time system search path for libraries
   18630 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18631 
   18632 # Run-time system search path for libraries
   18633 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18634 
   18635 # Fix the shell variable \$srcfile for the compiler.
   18636 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18637 
   18638 # Set to yes if exported symbols are required.
   18639 always_export_symbols=$always_export_symbols_GCJ
   18640 
   18641 # The commands to list exported symbols.
   18642 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18643 
   18644 # The commands to extract the exported symbol list from a shared archive.
   18645 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18646 
   18647 # Symbols that should not be listed in the preloaded symbols.
   18648 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18649 
   18650 # Symbols that must always be exported.
   18651 include_expsyms=$lt_include_expsyms_GCJ
   18652 
   18653 # ### END LIBTOOL TAG CONFIG: $tagname
   18654 
   18655 __EOF__
   18656 
   18657 
   18658 else
   18659   # If there is no Makefile yet, we rely on a make rule to execute
   18660   # `config.status --recheck' to rerun these tests and create the
   18661   # libtool script then.
   18662   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18663   if test -f "$ltmain_in"; then
   18664     test -f Makefile && make "$ltmain"
   18665   fi
   18666 fi
   18667 
   18668 
   18669 ac_ext=c
   18670 ac_cpp='$CPP $CPPFLAGS'
   18671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18674 
   18675 CC="$lt_save_CC"
   18676 
   18677 	else
   18678 	  tagname=""
   18679 	fi
   18680 	;;
   18681 
   18682       RC)
   18683 
   18684 
   18685 # Source file extension for RC test sources.
   18686 ac_ext=rc
   18687 
   18688 # Object file extension for compiled RC test sources.
   18689 objext=o
   18690 objext_RC=$objext
   18691 
   18692 # Code to be used in simple compile tests
   18693 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18694 
   18695 # Code to be used in simple link tests
   18696 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18697 
   18698 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18699 
   18700 # If no C compiler was specified, use CC.
   18701 LTCC=${LTCC-"$CC"}
   18702 
   18703 # If no C compiler flags were specified, use CFLAGS.
   18704 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18705 
   18706 # Allow CC to be a program name with arguments.
   18707 compiler=$CC
   18708 
   18709 
   18710 # save warnings/boilerplate of simple test code
   18711 ac_outfile=conftest.$ac_objext
   18712 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18713 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18714 _lt_compiler_boilerplate=`cat conftest.err`
   18715 $rm conftest*
   18716 
   18717 ac_outfile=conftest.$ac_objext
   18718 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18719 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18720 _lt_linker_boilerplate=`cat conftest.err`
   18721 $rm conftest*
   18722 
   18723 
   18724 # Allow CC to be a program name with arguments.
   18725 lt_save_CC="$CC"
   18726 CC=${RC-"windres"}
   18727 compiler=$CC
   18728 compiler_RC=$CC
   18729 for cc_temp in $compiler""; do
   18730   case $cc_temp in
   18731     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18732     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18733     \-*) ;;
   18734     *) break;;
   18735   esac
   18736 done
   18737 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18738 
   18739 lt_cv_prog_compiler_c_o_RC=yes
   18740 
   18741 # The else clause should only fire when bootstrapping the
   18742 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18743 # with your package, and you will get complaints that there are
   18744 # no rules to generate ltmain.sh.
   18745 if test -f "$ltmain"; then
   18746   # See if we are running on zsh, and set the options which allow our commands through
   18747   # without removal of \ escapes.
   18748   if test -n "${ZSH_VERSION+set}" ; then
   18749     setopt NO_GLOB_SUBST
   18750   fi
   18751   # Now quote all the things that may contain metacharacters while being
   18752   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18753   # variables and quote the copies for generation of the libtool script.
   18754   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18755     SED SHELL STRIP \
   18756     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18757     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18758     deplibs_check_method reload_flag reload_cmds need_locks \
   18759     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18760     lt_cv_sys_global_symbol_to_c_name_address \
   18761     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18762     old_postinstall_cmds old_postuninstall_cmds \
   18763     compiler_RC \
   18764     CC_RC \
   18765     LD_RC \
   18766     lt_prog_compiler_wl_RC \
   18767     lt_prog_compiler_pic_RC \
   18768     lt_prog_compiler_static_RC \
   18769     lt_prog_compiler_no_builtin_flag_RC \
   18770     export_dynamic_flag_spec_RC \
   18771     thread_safe_flag_spec_RC \
   18772     whole_archive_flag_spec_RC \
   18773     enable_shared_with_static_runtimes_RC \
   18774     old_archive_cmds_RC \
   18775     old_archive_from_new_cmds_RC \
   18776     predep_objects_RC \
   18777     postdep_objects_RC \
   18778     predeps_RC \
   18779     postdeps_RC \
   18780     compiler_lib_search_path_RC \
   18781     archive_cmds_RC \
   18782     archive_expsym_cmds_RC \
   18783     postinstall_cmds_RC \
   18784     postuninstall_cmds_RC \
   18785     old_archive_from_expsyms_cmds_RC \
   18786     allow_undefined_flag_RC \
   18787     no_undefined_flag_RC \
   18788     export_symbols_cmds_RC \
   18789     hardcode_libdir_flag_spec_RC \
   18790     hardcode_libdir_flag_spec_ld_RC \
   18791     hardcode_libdir_separator_RC \
   18792     hardcode_automatic_RC \
   18793     module_cmds_RC \
   18794     module_expsym_cmds_RC \
   18795     lt_cv_prog_compiler_c_o_RC \
   18796     exclude_expsyms_RC \
   18797     include_expsyms_RC; do
   18798 
   18799     case $var in
   18800     old_archive_cmds_RC | \
   18801     old_archive_from_new_cmds_RC | \
   18802     archive_cmds_RC | \
   18803     archive_expsym_cmds_RC | \
   18804     module_cmds_RC | \
   18805     module_expsym_cmds_RC | \
   18806     old_archive_from_expsyms_cmds_RC | \
   18807     export_symbols_cmds_RC | \
   18808     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18809     postinstall_cmds | postuninstall_cmds | \
   18810     old_postinstall_cmds | old_postuninstall_cmds | \
   18811     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18812       # Double-quote double-evaled strings.
   18813       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18814       ;;
   18815     *)
   18816       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18817       ;;
   18818     esac
   18819   done
   18820 
   18821   case $lt_echo in
   18822   *'\$0 --fallback-echo"')
   18823     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18824     ;;
   18825   esac
   18826 
   18827 cfgfile="$ofile"
   18828 
   18829   cat <<__EOF__ >> "$cfgfile"
   18830 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18831 
   18832 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18833 
   18834 # Shell to use when invoking shell scripts.
   18835 SHELL=$lt_SHELL
   18836 
   18837 # Whether or not to build shared libraries.
   18838 build_libtool_libs=$enable_shared
   18839 
   18840 # Whether or not to build static libraries.
   18841 build_old_libs=$enable_static
   18842 
   18843 # Whether or not to add -lc for building shared libraries.
   18844 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18845 
   18846 # Whether or not to disallow shared libs when runtime libs are static
   18847 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18848 
   18849 # Whether or not to optimize for fast installation.
   18850 fast_install=$enable_fast_install
   18851 
   18852 # The host system.
   18853 host_alias=$host_alias
   18854 host=$host
   18855 host_os=$host_os
   18856 
   18857 # The build system.
   18858 build_alias=$build_alias
   18859 build=$build
   18860 build_os=$build_os
   18861 
   18862 # An echo program that does not interpret backslashes.
   18863 echo=$lt_echo
   18864 
   18865 # The archiver.
   18866 AR=$lt_AR
   18867 AR_FLAGS=$lt_AR_FLAGS
   18868 
   18869 # A C compiler.
   18870 LTCC=$lt_LTCC
   18871 
   18872 # LTCC compiler flags.
   18873 LTCFLAGS=$lt_LTCFLAGS
   18874 
   18875 # A language-specific compiler.
   18876 CC=$lt_compiler_RC
   18877 
   18878 # Is the compiler the GNU C compiler?
   18879 with_gcc=$GCC_RC
   18880 
   18881 # An ERE matcher.
   18882 EGREP=$lt_EGREP
   18883 
   18884 # The linker used to build libraries.
   18885 LD=$lt_LD_RC
   18886 
   18887 # Whether we need hard or soft links.
   18888 LN_S=$lt_LN_S
   18889 
   18890 # A BSD-compatible nm program.
   18891 NM=$lt_NM
   18892 
   18893 # A symbol stripping program
   18894 STRIP=$lt_STRIP
   18895 
   18896 # Used to examine libraries when file_magic_cmd begins "file"
   18897 MAGIC_CMD=$MAGIC_CMD
   18898 
   18899 # Used on cygwin: DLL creation program.
   18900 DLLTOOL="$DLLTOOL"
   18901 
   18902 # Used on cygwin: object dumper.
   18903 OBJDUMP="$OBJDUMP"
   18904 
   18905 # Used on cygwin: assembler.
   18906 AS="$AS"
   18907 
   18908 # The name of the directory that contains temporary libtool files.
   18909 objdir=$objdir
   18910 
   18911 # How to create reloadable object files.
   18912 reload_flag=$lt_reload_flag
   18913 reload_cmds=$lt_reload_cmds
   18914 
   18915 # How to pass a linker flag through the compiler.
   18916 wl=$lt_lt_prog_compiler_wl_RC
   18917 
   18918 # Object file suffix (normally "o").
   18919 objext="$ac_objext"
   18920 
   18921 # Old archive suffix (normally "a").
   18922 libext="$libext"
   18923 
   18924 # Shared library suffix (normally ".so").
   18925 shrext_cmds='$shrext_cmds'
   18926 
   18927 # Executable file suffix (normally "").
   18928 exeext="$exeext"
   18929 
   18930 # Additional compiler flags for building library objects.
   18931 pic_flag=$lt_lt_prog_compiler_pic_RC
   18932 pic_mode=$pic_mode
   18933 
   18934 # What is the maximum length of a command?
   18935 max_cmd_len=$lt_cv_sys_max_cmd_len
   18936 
   18937 # Does compiler simultaneously support -c and -o options?
   18938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18939 
   18940 # Must we lock files when doing compilation?
   18941 need_locks=$lt_need_locks
   18942 
   18943 # Do we need the lib prefix for modules?
   18944 need_lib_prefix=$need_lib_prefix
   18945 
   18946 # Do we need a version for libraries?
   18947 need_version=$need_version
   18948 
   18949 # Whether dlopen is supported.
   18950 dlopen_support=$enable_dlopen
   18951 
   18952 # Whether dlopen of programs is supported.
   18953 dlopen_self=$enable_dlopen_self
   18954 
   18955 # Whether dlopen of statically linked programs is supported.
   18956 dlopen_self_static=$enable_dlopen_self_static
   18957 
   18958 # Compiler flag to prevent dynamic linking.
   18959 link_static_flag=$lt_lt_prog_compiler_static_RC
   18960 
   18961 # Compiler flag to turn off builtin functions.
   18962 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18963 
   18964 # Compiler flag to allow reflexive dlopens.
   18965 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18966 
   18967 # Compiler flag to generate shared objects directly from archives.
   18968 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18969 
   18970 # Compiler flag to generate thread-safe objects.
   18971 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18972 
   18973 # Library versioning type.
   18974 version_type=$version_type
   18975 
   18976 # Format of library name prefix.
   18977 libname_spec=$lt_libname_spec
   18978 
   18979 # List of archive names.  First name is the real one, the rest are links.
   18980 # The last name is the one that the linker finds with -lNAME.
   18981 library_names_spec=$lt_library_names_spec
   18982 
   18983 # The coded name of the library, if different from the real name.
   18984 soname_spec=$lt_soname_spec
   18985 
   18986 # Commands used to build and install an old-style archive.
   18987 RANLIB=$lt_RANLIB
   18988 old_archive_cmds=$lt_old_archive_cmds_RC
   18989 old_postinstall_cmds=$lt_old_postinstall_cmds
   18990 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18991 
   18992 # Create an old-style archive from a shared archive.
   18993 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   18994 
   18995 # Create a temporary old-style archive to link instead of a shared archive.
   18996 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   18997 
   18998 # Commands used to build and install a shared archive.
   18999 archive_cmds=$lt_archive_cmds_RC
   19000 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19001 postinstall_cmds=$lt_postinstall_cmds
   19002 postuninstall_cmds=$lt_postuninstall_cmds
   19003 
   19004 # Commands used to build a loadable module (assumed same as above if empty)
   19005 module_cmds=$lt_module_cmds_RC
   19006 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19007 
   19008 # Commands to strip libraries.
   19009 old_striplib=$lt_old_striplib
   19010 striplib=$lt_striplib
   19011 
   19012 # Dependencies to place before the objects being linked to create a
   19013 # shared library.
   19014 predep_objects=$lt_predep_objects_RC
   19015 
   19016 # Dependencies to place after the objects being linked to create a
   19017 # shared library.
   19018 postdep_objects=$lt_postdep_objects_RC
   19019 
   19020 # Dependencies to place before the objects being linked to create a
   19021 # shared library.
   19022 predeps=$lt_predeps_RC
   19023 
   19024 # Dependencies to place after the objects being linked to create a
   19025 # shared library.
   19026 postdeps=$lt_postdeps_RC
   19027 
   19028 # The library search path used internally by the compiler when linking
   19029 # a shared library.
   19030 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19031 
   19032 # Method to check whether dependent libraries are shared objects.
   19033 deplibs_check_method=$lt_deplibs_check_method
   19034 
   19035 # Command to use when deplibs_check_method == file_magic.
   19036 file_magic_cmd=$lt_file_magic_cmd
   19037 
   19038 # Flag that allows shared libraries with undefined symbols to be built.
   19039 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19040 
   19041 # Flag that forces no undefined symbols.
   19042 no_undefined_flag=$lt_no_undefined_flag_RC
   19043 
   19044 # Commands used to finish a libtool library installation in a directory.
   19045 finish_cmds=$lt_finish_cmds
   19046 
   19047 # Same as above, but a single script fragment to be evaled but not shown.
   19048 finish_eval=$lt_finish_eval
   19049 
   19050 # Take the output of nm and produce a listing of raw symbols and C names.
   19051 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19052 
   19053 # Transform the output of nm in a proper C declaration
   19054 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19055 
   19056 # Transform the output of nm in a C name address pair
   19057 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19058 
   19059 # This is the shared library runtime path variable.
   19060 runpath_var=$runpath_var
   19061 
   19062 # This is the shared library path variable.
   19063 shlibpath_var=$shlibpath_var
   19064 
   19065 # Is shlibpath searched before the hard-coded library search path?
   19066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19067 
   19068 # How to hardcode a shared library path into an executable.
   19069 hardcode_action=$hardcode_action_RC
   19070 
   19071 # Whether we should hardcode library paths into libraries.
   19072 hardcode_into_libs=$hardcode_into_libs
   19073 
   19074 # Flag to hardcode \$libdir into a binary during linking.
   19075 # This must work even if \$libdir does not exist.
   19076 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19077 
   19078 # If ld is used when linking, flag to hardcode \$libdir into
   19079 # a binary during linking. This must work even if \$libdir does
   19080 # not exist.
   19081 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19082 
   19083 # Whether we need a single -rpath flag with a separated argument.
   19084 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19085 
   19086 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19087 # resulting binary.
   19088 hardcode_direct=$hardcode_direct_RC
   19089 
   19090 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19091 # resulting binary.
   19092 hardcode_minus_L=$hardcode_minus_L_RC
   19093 
   19094 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19095 # the resulting binary.
   19096 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19097 
   19098 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19099 # and all subsequent libraries and executables linked against it.
   19100 hardcode_automatic=$hardcode_automatic_RC
   19101 
   19102 # Variables whose values should be saved in libtool wrapper scripts and
   19103 # restored at relink time.
   19104 variables_saved_for_relink="$variables_saved_for_relink"
   19105 
   19106 # Whether libtool must link a program against all its dependency libraries.
   19107 link_all_deplibs=$link_all_deplibs_RC
   19108 
   19109 # Compile-time system search path for libraries
   19110 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19111 
   19112 # Run-time system search path for libraries
   19113 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19114 
   19115 # Fix the shell variable \$srcfile for the compiler.
   19116 fix_srcfile_path="$fix_srcfile_path_RC"
   19117 
   19118 # Set to yes if exported symbols are required.
   19119 always_export_symbols=$always_export_symbols_RC
   19120 
   19121 # The commands to list exported symbols.
   19122 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19123 
   19124 # The commands to extract the exported symbol list from a shared archive.
   19125 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19126 
   19127 # Symbols that should not be listed in the preloaded symbols.
   19128 exclude_expsyms=$lt_exclude_expsyms_RC
   19129 
   19130 # Symbols that must always be exported.
   19131 include_expsyms=$lt_include_expsyms_RC
   19132 
   19133 # ### END LIBTOOL TAG CONFIG: $tagname
   19134 
   19135 __EOF__
   19136 
   19137 
   19138 else
   19139   # If there is no Makefile yet, we rely on a make rule to execute
   19140   # `config.status --recheck' to rerun these tests and create the
   19141   # libtool script then.
   19142   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19143   if test -f "$ltmain_in"; then
   19144     test -f Makefile && make "$ltmain"
   19145   fi
   19146 fi
   19147 
   19148 
   19149 ac_ext=c
   19150 ac_cpp='$CPP $CPPFLAGS'
   19151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19154 
   19155 CC="$lt_save_CC"
   19156 
   19157 	;;
   19158 
   19159       *)
   19160 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19161 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19162    { (exit 1); exit 1; }; }
   19163 	;;
   19164       esac
   19165 
   19166       # Append the new tag name to the list of available tags.
   19167       if test -n "$tagname" ; then
   19168       available_tags="$available_tags $tagname"
   19169     fi
   19170     fi
   19171   done
   19172   IFS="$lt_save_ifs"
   19173 
   19174   # Now substitute the updated list of available tags.
   19175   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19176     mv "${ofile}T" "$ofile"
   19177     chmod +x "$ofile"
   19178   else
   19179     rm -f "${ofile}T"
   19180     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19181 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19182    { (exit 1); exit 1; }; }
   19183   fi
   19184 fi
   19185 
   19186 
   19187 
   19188 # This can be used to rebuild libtool when needed
   19189 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19190 
   19191 # Always use our own libtool.
   19192 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19193 
   19194 # Prevent multiple expansion
   19195 
   19196 
   19197 
   19198 
   19199 
   19200 
   19201 
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 
   19213 
   19214 
   19215 
   19216 # Check for X
   19217 
   19218 
   19219 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19220 	if test -n "$ac_tool_prefix"; then
   19221   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19222 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19225 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19226   echo $ECHO_N "(cached) $ECHO_C" >&6
   19227 else
   19228   case $PKG_CONFIG in
   19229   [\\/]* | ?:[\\/]*)
   19230   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19231   ;;
   19232   *)
   19233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19234 for as_dir in $PATH
   19235 do
   19236   IFS=$as_save_IFS
   19237   test -z "$as_dir" && as_dir=.
   19238   for ac_exec_ext in '' $ac_executable_extensions; do
   19239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19240     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19242     break 2
   19243   fi
   19244 done
   19245 done
   19246 IFS=$as_save_IFS
   19247 
   19248   ;;
   19249 esac
   19250 fi
   19251 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19252 if test -n "$PKG_CONFIG"; then
   19253   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19254 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   19255 else
   19256   { echo "$as_me:$LINENO: result: no" >&5
   19257 echo "${ECHO_T}no" >&6; }
   19258 fi
   19259 
   19260 
   19261 fi
   19262 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19263   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19264   # Extract the first word of "pkg-config", so it can be a program name with args.
   19265 set dummy pkg-config; ac_word=$2
   19266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19268 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19269   echo $ECHO_N "(cached) $ECHO_C" >&6
   19270 else
   19271   case $ac_pt_PKG_CONFIG in
   19272   [\\/]* | ?:[\\/]*)
   19273   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19274   ;;
   19275   *)
   19276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19277 for as_dir in $PATH
   19278 do
   19279   IFS=$as_save_IFS
   19280   test -z "$as_dir" && as_dir=.
   19281   for ac_exec_ext in '' $ac_executable_extensions; do
   19282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19283     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19284     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19285     break 2
   19286   fi
   19287 done
   19288 done
   19289 IFS=$as_save_IFS
   19290 
   19291   ;;
   19292 esac
   19293 fi
   19294 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19295 if test -n "$ac_pt_PKG_CONFIG"; then
   19296   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19297 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   19298 else
   19299   { echo "$as_me:$LINENO: result: no" >&5
   19300 echo "${ECHO_T}no" >&6; }
   19301 fi
   19302 
   19303   if test "x$ac_pt_PKG_CONFIG" = x; then
   19304     PKG_CONFIG=""
   19305   else
   19306     case $cross_compiling:$ac_tool_warned in
   19307 yes:)
   19308 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19309 whose name does not start with the host triplet.  If you think this
   19310 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19311 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19312 whose name does not start with the host triplet.  If you think this
   19313 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19314 ac_tool_warned=yes ;;
   19315 esac
   19316     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19317   fi
   19318 else
   19319   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19320 fi
   19321 
   19322 fi
   19323 if test -n "$PKG_CONFIG"; then
   19324 	_pkg_min_version=0.9.0
   19325 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19326 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   19327 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19328 		{ echo "$as_me:$LINENO: result: yes" >&5
   19329 echo "${ECHO_T}yes" >&6; }
   19330 	else
   19331 		{ echo "$as_me:$LINENO: result: no" >&5
   19332 echo "${ECHO_T}no" >&6; }
   19333 		PKG_CONFIG=""
   19334 	fi
   19335 
   19336 fi
   19337 
   19338 pkg_failed=no
   19339 { echo "$as_me:$LINENO: checking for X" >&5
   19340 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
   19341 
   19342 if test -n "$PKG_CONFIG"; then
   19343     if test -n "$X_CFLAGS"; then
   19344         pkg_cv_X_CFLAGS="$X_CFLAGS"
   19345     else
   19346         if test -n "$PKG_CONFIG" && \
   19347     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   19348   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   19349   ac_status=$?
   19350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19351   (exit $ac_status); }; then
   19352   pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   19353 else
   19354   pkg_failed=yes
   19355 fi
   19356     fi
   19357 else
   19358 	pkg_failed=untried
   19359 fi
   19360 if test -n "$PKG_CONFIG"; then
   19361     if test -n "$X_LIBS"; then
   19362         pkg_cv_X_LIBS="$X_LIBS"
   19363     else
   19364         if test -n "$PKG_CONFIG" && \
   19365     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   19366   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   19367   ac_status=$?
   19368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19369   (exit $ac_status); }; then
   19370   pkg_cv_X_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   19371 else
   19372   pkg_failed=yes
   19373 fi
   19374     fi
   19375 else
   19376 	pkg_failed=untried
   19377 fi
   19378 
   19379 
   19380 
   19381 if test $pkg_failed = yes; then
   19382 
   19383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19384         _pkg_short_errors_supported=yes
   19385 else
   19386         _pkg_short_errors_supported=no
   19387 fi
   19388         if test $_pkg_short_errors_supported = yes; then
   19389 	        X_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
   19390         else
   19391 	        X_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
   19392         fi
   19393 	# Put the nasty error message in config.log where it belongs
   19394 	echo "$X_PKG_ERRORS" >&5
   19395 
   19396 	{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
   19397 
   19398 $X_PKG_ERRORS
   19399 
   19400 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19401 installed software in a non-standard prefix.
   19402 
   19403 Alternatively, you may set the environment variables X_CFLAGS
   19404 and X_LIBS to avoid the need to call pkg-config.
   19405 See the pkg-config man page for more details.
   19406 " >&5
   19407 echo "$as_me: error: Package requirements (x11) were not met:
   19408 
   19409 $X_PKG_ERRORS
   19410 
   19411 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19412 installed software in a non-standard prefix.
   19413 
   19414 Alternatively, you may set the environment variables X_CFLAGS
   19415 and X_LIBS to avoid the need to call pkg-config.
   19416 See the pkg-config man page for more details.
   19417 " >&2;}
   19418    { (exit 1); exit 1; }; }
   19419 elif test $pkg_failed = untried; then
   19420 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19421 is in your PATH or set the PKG_CONFIG environment variable to the full
   19422 path to pkg-config.
   19423 
   19424 Alternatively, you may set the environment variables X_CFLAGS
   19425 and X_LIBS to avoid the need to call pkg-config.
   19426 See the pkg-config man page for more details.
   19427 
   19428 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19429 See \`config.log' for more details." >&5
   19430 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19431 is in your PATH or set the PKG_CONFIG environment variable to the full
   19432 path to pkg-config.
   19433 
   19434 Alternatively, you may set the environment variables X_CFLAGS
   19435 and X_LIBS to avoid the need to call pkg-config.
   19436 See the pkg-config man page for more details.
   19437 
   19438 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19439 See \`config.log' for more details." >&2;}
   19440    { (exit 1); exit 1; }; }
   19441 else
   19442 	X_CFLAGS=$pkg_cv_X_CFLAGS
   19443 	X_LIBS=$pkg_cv_X_LIBS
   19444         { echo "$as_me:$LINENO: result: yes" >&5
   19445 echo "${ECHO_T}yes" >&6; }
   19446 	:
   19447 fi
   19448 
   19449 X_REQUIRES="x11"
   19450 X_NON_PKG_CFLAGS=""
   19451 X_NON_PKG_LIBS=""
   19452 
   19453 
   19454 
   19455 
   19456 
   19457 # Check render configuration, strip extra digits from package version to
   19458 # find the required protocol version
   19459 
   19460 if test "$VERSION" = "" ; then
   19461        VERSION=$PACKAGE_VERSION;
   19462 fi
   19463 RENDER_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   19464 
   19465 
   19466 pkg_failed=no
   19467 { echo "$as_me:$LINENO: checking for RENDER" >&5
   19468 echo $ECHO_N "checking for RENDER... $ECHO_C" >&6; }
   19469 
   19470 if test -n "$PKG_CONFIG"; then
   19471     if test -n "$RENDER_CFLAGS"; then
   19472         pkg_cv_RENDER_CFLAGS="$RENDER_CFLAGS"
   19473     else
   19474         if test -n "$PKG_CONFIG" && \
   19475     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"renderproto >= \$RENDER_VERSION\"") >&5
   19476   ($PKG_CONFIG --exists --print-errors "renderproto >= $RENDER_VERSION") 2>&5
   19477   ac_status=$?
   19478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19479   (exit $ac_status); }; then
   19480   pkg_cv_RENDER_CFLAGS=`$PKG_CONFIG --cflags "renderproto >= $RENDER_VERSION" 2>/dev/null`
   19481 else
   19482   pkg_failed=yes
   19483 fi
   19484     fi
   19485 else
   19486 	pkg_failed=untried
   19487 fi
   19488 if test -n "$PKG_CONFIG"; then
   19489     if test -n "$RENDER_LIBS"; then
   19490         pkg_cv_RENDER_LIBS="$RENDER_LIBS"
   19491     else
   19492         if test -n "$PKG_CONFIG" && \
   19493     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"renderproto >= \$RENDER_VERSION\"") >&5
   19494   ($PKG_CONFIG --exists --print-errors "renderproto >= $RENDER_VERSION") 2>&5
   19495   ac_status=$?
   19496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19497   (exit $ac_status); }; then
   19498   pkg_cv_RENDER_LIBS=`$PKG_CONFIG --libs "renderproto >= $RENDER_VERSION" 2>/dev/null`
   19499 else
   19500   pkg_failed=yes
   19501 fi
   19502     fi
   19503 else
   19504 	pkg_failed=untried
   19505 fi
   19506 
   19507 
   19508 
   19509 if test $pkg_failed = yes; then
   19510 
   19511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19512         _pkg_short_errors_supported=yes
   19513 else
   19514         _pkg_short_errors_supported=no
   19515 fi
   19516         if test $_pkg_short_errors_supported = yes; then
   19517 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "renderproto >= $RENDER_VERSION"`
   19518         else
   19519 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "renderproto >= $RENDER_VERSION"`
   19520         fi
   19521 	# Put the nasty error message in config.log where it belongs
   19522 	echo "$RENDER_PKG_ERRORS" >&5
   19523 
   19524 	{ { echo "$as_me:$LINENO: error: Package requirements (renderproto >= $RENDER_VERSION) were not met:
   19525 
   19526 $RENDER_PKG_ERRORS
   19527 
   19528 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19529 installed software in a non-standard prefix.
   19530 
   19531 Alternatively, you may set the environment variables RENDER_CFLAGS
   19532 and RENDER_LIBS to avoid the need to call pkg-config.
   19533 See the pkg-config man page for more details.
   19534 " >&5
   19535 echo "$as_me: error: Package requirements (renderproto >= $RENDER_VERSION) were not met:
   19536 
   19537 $RENDER_PKG_ERRORS
   19538 
   19539 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19540 installed software in a non-standard prefix.
   19541 
   19542 Alternatively, you may set the environment variables RENDER_CFLAGS
   19543 and RENDER_LIBS to avoid the need to call pkg-config.
   19544 See the pkg-config man page for more details.
   19545 " >&2;}
   19546    { (exit 1); exit 1; }; }
   19547 elif test $pkg_failed = untried; then
   19548 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19549 is in your PATH or set the PKG_CONFIG environment variable to the full
   19550 path to pkg-config.
   19551 
   19552 Alternatively, you may set the environment variables RENDER_CFLAGS
   19553 and RENDER_LIBS to avoid the need to call pkg-config.
   19554 See the pkg-config man page for more details.
   19555 
   19556 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19557 See \`config.log' for more details." >&5
   19558 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19559 is in your PATH or set the PKG_CONFIG environment variable to the full
   19560 path to pkg-config.
   19561 
   19562 Alternatively, you may set the environment variables RENDER_CFLAGS
   19563 and RENDER_LIBS to avoid the need to call pkg-config.
   19564 See the pkg-config man page for more details.
   19565 
   19566 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19567 See \`config.log' for more details." >&2;}
   19568    { (exit 1); exit 1; }; }
   19569 else
   19570 	RENDER_CFLAGS=$pkg_cv_RENDER_CFLAGS
   19571 	RENDER_LIBS=$pkg_cv_RENDER_LIBS
   19572         { echo "$as_me:$LINENO: result: yes" >&5
   19573 echo "${ECHO_T}yes" >&6; }
   19574 	:
   19575 fi
   19576 
   19577 
   19578 
   19579 
   19580 # Check whether --enable-malloc0returnsnull was given.
   19581 if test "${enable_malloc0returnsnull+set}" = set; then
   19582   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   19583 else
   19584   MALLOC_ZERO_RETURNS_NULL=auto
   19585 fi
   19586 
   19587 
   19588 { echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   19589 echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
   19590 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   19591 	if test "$cross_compiling" = yes; then
   19592   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   19593 See \`config.log' for more details." >&5
   19594 echo "$as_me: error: cannot run test program while cross compiling
   19595 See \`config.log' for more details." >&2;}
   19596    { (exit 1); exit 1; }; }
   19597 else
   19598   cat >conftest.$ac_ext <<_ACEOF
   19599 
   19600 char *malloc();
   19601 char *realloc();
   19602 char *calloc();
   19603 main() {
   19604     char *m0, *r0, *c0, *p;
   19605     m0 = malloc(0);
   19606     p = malloc(10);
   19607     r0 = realloc(p,0);
   19608     c0 = calloc(0);
   19609     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   19610 }
   19611 _ACEOF
   19612 rm -f conftest$ac_exeext
   19613 if { (ac_try="$ac_link"
   19614 case "(($ac_try" in
   19615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19616   *) ac_try_echo=$ac_try;;
   19617 esac
   19618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19619   (eval "$ac_link") 2>&5
   19620   ac_status=$?
   19621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19622   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   19623   { (case "(($ac_try" in
   19624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19625   *) ac_try_echo=$ac_try;;
   19626 esac
   19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19628   (eval "$ac_try") 2>&5
   19629   ac_status=$?
   19630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19631   (exit $ac_status); }; }; then
   19632   MALLOC_ZERO_RETURNS_NULL=yes
   19633 else
   19634   echo "$as_me: program exited with status $ac_status" >&5
   19635 echo "$as_me: failed program was:" >&5
   19636 sed 's/^/| /' conftest.$ac_ext >&5
   19637 
   19638 ( exit $ac_status )
   19639 MALLOC_ZERO_RETURNS_NULL=no
   19640 fi
   19641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   19642 fi
   19643 
   19644 
   19645 fi
   19646 { echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   19647 echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
   19648 
   19649 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   19650 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   19651 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   19652 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   19653 else
   19654 	MALLOC_ZERO_CFLAGS=""
   19655 	XMALLOC_ZERO_CFLAGS=""
   19656 	XTMALLOC_ZERO_CFLAGS=""
   19657 fi
   19658 
   19659 
   19660 
   19661 
   19662 
   19663 
   19664 
   19665 # Check whether --with-release-version was given.
   19666 if test "${with_release_version+set}" = set; then
   19667   withval=$with_release_version; RELEASE_VERSION="$withval"
   19668 else
   19669   RELEASE_VERSION=""
   19670 fi
   19671 
   19672 	if test "x$RELEASE_VERSION" != "x"; then
   19673 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   19674 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   19675 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   19676 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   19677 	fi
   19678 
   19679 cat >>confdefs.h <<_ACEOF
   19680 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19681 _ACEOF
   19682 
   19683 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
   19684 	if test "x$PVM" = "x"; then
   19685 		PVM="0"
   19686 	fi
   19687 
   19688 cat >>confdefs.h <<_ACEOF
   19689 #define PACKAGE_VERSION_MINOR $PVM
   19690 _ACEOF
   19691 
   19692 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
   19693 	if test "x$PVP" = "x"; then
   19694 		PVP="0"
   19695 	fi
   19696 
   19697 cat >>confdefs.h <<_ACEOF
   19698 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   19699 _ACEOF
   19700 
   19701 
   19702 
   19703 ac_config_files="$ac_config_files Makefile src/Makefile xrender.pc"
   19704 
   19705 cat >confcache <<\_ACEOF
   19706 # This file is a shell script that caches the results of configure
   19707 # tests run on this system so they can be shared between configure
   19708 # scripts and configure runs, see configure's option --config-cache.
   19709 # It is not useful on other systems.  If it contains results you don't
   19710 # want to keep, you may remove or edit it.
   19711 #
   19712 # config.status only pays attention to the cache file if you give it
   19713 # the --recheck option to rerun configure.
   19714 #
   19715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19717 # following values.
   19718 
   19719 _ACEOF
   19720 
   19721 # The following way of writing the cache mishandles newlines in values,
   19722 # but we know of no workaround that is simple, portable, and efficient.
   19723 # So, we kill variables containing newlines.
   19724 # Ultrix sh set writes to stderr and can't be redirected directly,
   19725 # and sets the high bit in the cache file unless we assign to the vars.
   19726 (
   19727   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19728     eval ac_val=\$$ac_var
   19729     case $ac_val in #(
   19730     *${as_nl}*)
   19731       case $ac_var in #(
   19732       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   19733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   19734       esac
   19735       case $ac_var in #(
   19736       _ | IFS | as_nl) ;; #(
   19737       *) $as_unset $ac_var ;;
   19738       esac ;;
   19739     esac
   19740   done
   19741 
   19742   (set) 2>&1 |
   19743     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19744     *${as_nl}ac_space=\ *)
   19745       # `set' does not quote correctly, so add quotes (double-quote
   19746       # substitution turns \\\\ into \\, and sed turns \\ into \).
   19747       sed -n \
   19748 	"s/'/'\\\\''/g;
   19749 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19750       ;; #(
   19751     *)
   19752       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19753       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19754       ;;
   19755     esac |
   19756     sort
   19757 ) |
   19758   sed '
   19759      /^ac_cv_env_/b end
   19760      t clear
   19761      :clear
   19762      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19763      t end
   19764      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19765      :end' >>confcache
   19766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19767   if test -w "$cache_file"; then
   19768     test "x$cache_file" != "x/dev/null" &&
   19769       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   19770 echo "$as_me: updating cache $cache_file" >&6;}
   19771     cat confcache >$cache_file
   19772   else
   19773     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   19774 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19775   fi
   19776 fi
   19777 rm -f confcache
   19778 
   19779 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19780 # Let make expand exec_prefix.
   19781 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19782 
   19783 DEFS=-DHAVE_CONFIG_H
   19784 
   19785 ac_libobjs=
   19786 ac_ltlibobjs=
   19787 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19788   # 1. Remove the extension, and $U if already installed.
   19789   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19790   ac_i=`echo "$ac_i" | sed "$ac_script"`
   19791   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19792   #    will be set to the directory where LIBOBJS objects are built.
   19793   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19794   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   19795 done
   19796 LIBOBJS=$ac_libobjs
   19797 
   19798 LTLIBOBJS=$ac_ltlibobjs
   19799 
   19800 
   19801 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19802   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   19803 Usually this means the macro was only invoked conditionally." >&5
   19804 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   19805 Usually this means the macro was only invoked conditionally." >&2;}
   19806    { (exit 1); exit 1; }; }
   19807 fi
   19808 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19809   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   19810 Usually this means the macro was only invoked conditionally." >&5
   19811 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   19812 Usually this means the macro was only invoked conditionally." >&2;}
   19813    { (exit 1); exit 1; }; }
   19814 fi
   19815 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19816   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   19817 Usually this means the macro was only invoked conditionally." >&5
   19818 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   19819 Usually this means the macro was only invoked conditionally." >&2;}
   19820    { (exit 1); exit 1; }; }
   19821 fi
   19822 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   19823   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   19824 Usually this means the macro was only invoked conditionally." >&5
   19825 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   19826 Usually this means the macro was only invoked conditionally." >&2;}
   19827    { (exit 1); exit 1; }; }
   19828 fi
   19829 
   19830 : ${CONFIG_STATUS=./config.status}
   19831 ac_clean_files_save=$ac_clean_files
   19832 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19833 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   19834 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19835 cat >$CONFIG_STATUS <<_ACEOF
   19836 #! $SHELL
   19837 # Generated by $as_me.
   19838 # Run this file to recreate the current configuration.
   19839 # Compiler output produced by configure, useful for debugging
   19840 # configure, is in config.log if it exists.
   19841 
   19842 debug=false
   19843 ac_cs_recheck=false
   19844 ac_cs_silent=false
   19845 SHELL=\${CONFIG_SHELL-$SHELL}
   19846 _ACEOF
   19847 
   19848 cat >>$CONFIG_STATUS <<\_ACEOF
   19849 ## --------------------- ##
   19850 ## M4sh Initialization.  ##
   19851 ## --------------------- ##
   19852 
   19853 # Be more Bourne compatible
   19854 DUALCASE=1; export DUALCASE # for MKS sh
   19855 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   19856   emulate sh
   19857   NULLCMD=:
   19858   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19859   # is contrary to our usage.  Disable this feature.
   19860   alias -g '${1+"$@"}'='"$@"'
   19861   setopt NO_GLOB_SUBST
   19862 else
   19863   case `(set -o) 2>/dev/null` in
   19864   *posix*) set -o posix ;;
   19865 esac
   19866 
   19867 fi
   19868 
   19869 
   19870 
   19871 
   19872 # PATH needs CR
   19873 # Avoid depending upon Character Ranges.
   19874 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19875 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19876 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19877 as_cr_digits='0123456789'
   19878 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19879 
   19880 # The user is always right.
   19881 if test "${PATH_SEPARATOR+set}" != set; then
   19882   echo "#! /bin/sh" >conf$$.sh
   19883   echo  "exit 0"   >>conf$$.sh
   19884   chmod +x conf$$.sh
   19885   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   19886     PATH_SEPARATOR=';'
   19887   else
   19888     PATH_SEPARATOR=:
   19889   fi
   19890   rm -f conf$$.sh
   19891 fi
   19892 
   19893 # Support unset when possible.
   19894 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   19895   as_unset=unset
   19896 else
   19897   as_unset=false
   19898 fi
   19899 
   19900 
   19901 # IFS
   19902 # We need space, tab and new line, in precisely that order.  Quoting is
   19903 # there to prevent editors from complaining about space-tab.
   19904 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19905 # splitting by setting IFS to empty value.)
   19906 as_nl='
   19907 '
   19908 IFS=" ""	$as_nl"
   19909 
   19910 # Find who we are.  Look in the path if we contain no directory separator.
   19911 case $0 in
   19912   *[\\/]* ) as_myself=$0 ;;
   19913   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19914 for as_dir in $PATH
   19915 do
   19916   IFS=$as_save_IFS
   19917   test -z "$as_dir" && as_dir=.
   19918   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19919 done
   19920 IFS=$as_save_IFS
   19921 
   19922      ;;
   19923 esac
   19924 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19925 # in which case we are not to be found in the path.
   19926 if test "x$as_myself" = x; then
   19927   as_myself=$0
   19928 fi
   19929 if test ! -f "$as_myself"; then
   19930   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19931   { (exit 1); exit 1; }
   19932 fi
   19933 
   19934 # Work around bugs in pre-3.0 UWIN ksh.
   19935 for as_var in ENV MAIL MAILPATH
   19936 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   19937 done
   19938 PS1='$ '
   19939 PS2='> '
   19940 PS4='+ '
   19941 
   19942 # NLS nuisances.
   19943 for as_var in \
   19944   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   19945   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   19946   LC_TELEPHONE LC_TIME
   19947 do
   19948   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   19949     eval $as_var=C; export $as_var
   19950   else
   19951     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   19952   fi
   19953 done
   19954 
   19955 # Required to use basename.
   19956 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19957    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19958   as_expr=expr
   19959 else
   19960   as_expr=false
   19961 fi
   19962 
   19963 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19964   as_basename=basename
   19965 else
   19966   as_basename=false
   19967 fi
   19968 
   19969 
   19970 # Name of the executable.
   19971 as_me=`$as_basename -- "$0" ||
   19972 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19973 	 X"$0" : 'X\(//\)$' \| \
   19974 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19975 echo X/"$0" |
   19976     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19977 	    s//\1/
   19978 	    q
   19979 	  }
   19980 	  /^X\/\(\/\/\)$/{
   19981 	    s//\1/
   19982 	    q
   19983 	  }
   19984 	  /^X\/\(\/\).*/{
   19985 	    s//\1/
   19986 	    q
   19987 	  }
   19988 	  s/.*/./; q'`
   19989 
   19990 # CDPATH.
   19991 $as_unset CDPATH
   19992 
   19993 
   19994 
   19995   as_lineno_1=$LINENO
   19996   as_lineno_2=$LINENO
   19997   test "x$as_lineno_1" != "x$as_lineno_2" &&
   19998   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   19999 
   20000   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   20001   # uniformly replaced by the line number.  The first 'sed' inserts a
   20002   # line-number line after each line using $LINENO; the second 'sed'
   20003   # does the real work.  The second script uses 'N' to pair each
   20004   # line-number line with the line containing $LINENO, and appends
   20005   # trailing '-' during substitution so that $LINENO is not a special
   20006   # case at line end.
   20007   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   20008   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   20009   # E. McMahon (1931-1989) for sed's syntax.  :-)
   20010   sed -n '
   20011     p
   20012     /[$]LINENO/=
   20013   ' <$as_myself |
   20014     sed '
   20015       s/[$]LINENO.*/&-/
   20016       t lineno
   20017       b
   20018       :lineno
   20019       N
   20020       :loop
   20021       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   20022       t loop
   20023       s/-\n.*//
   20024     ' >$as_me.lineno &&
   20025   chmod +x "$as_me.lineno" ||
   20026     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   20027    { (exit 1); exit 1; }; }
   20028 
   20029   # Don't try to exec as it changes $[0], causing all sort of problems
   20030   # (the dirname of $[0] is not the place where we might find the
   20031   # original and so on.  Autoconf is especially sensitive to this).
   20032   . "./$as_me.lineno"
   20033   # Exit status is that of the last command.
   20034   exit
   20035 }
   20036 
   20037 
   20038 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20039   as_dirname=dirname
   20040 else
   20041   as_dirname=false
   20042 fi
   20043 
   20044 ECHO_C= ECHO_N= ECHO_T=
   20045 case `echo -n x` in
   20046 -n*)
   20047   case `echo 'x\c'` in
   20048   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20049   *)   ECHO_C='\c';;
   20050   esac;;
   20051 *)
   20052   ECHO_N='-n';;
   20053 esac
   20054 
   20055 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20056    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20057   as_expr=expr
   20058 else
   20059   as_expr=false
   20060 fi
   20061 
   20062 rm -f conf$$ conf$$.exe conf$$.file
   20063 if test -d conf$$.dir; then
   20064   rm -f conf$$.dir/conf$$.file
   20065 else
   20066   rm -f conf$$.dir
   20067   mkdir conf$$.dir
   20068 fi
   20069 echo >conf$$.file
   20070 if ln -s conf$$.file conf$$ 2>/dev/null; then
   20071   as_ln_s='ln -s'
   20072   # ... but there are two gotchas:
   20073   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20074   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20075   # In both cases, we have to default to `cp -p'.
   20076   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20077     as_ln_s='cp -p'
   20078 elif ln conf$$.file conf$$ 2>/dev/null; then
   20079   as_ln_s=ln
   20080 else
   20081   as_ln_s='cp -p'
   20082 fi
   20083 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20084 rmdir conf$$.dir 2>/dev/null
   20085 
   20086 if mkdir -p . 2>/dev/null; then
   20087   as_mkdir_p=:
   20088 else
   20089   test -d ./-p && rmdir ./-p
   20090   as_mkdir_p=false
   20091 fi
   20092 
   20093 if test -x / >/dev/null 2>&1; then
   20094   as_test_x='test -x'
   20095 else
   20096   if ls -dL / >/dev/null 2>&1; then
   20097     as_ls_L_option=L
   20098   else
   20099     as_ls_L_option=
   20100   fi
   20101   as_test_x='
   20102     eval sh -c '\''
   20103       if test -d "$1"; then
   20104         test -d "$1/.";
   20105       else
   20106 	case $1 in
   20107         -*)set "./$1";;
   20108 	esac;
   20109 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   20110 	???[sx]*):;;*)false;;esac;fi
   20111     '\'' sh
   20112   '
   20113 fi
   20114 as_executable_p=$as_test_x
   20115 
   20116 # Sed expression to map a string onto a valid CPP name.
   20117 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20118 
   20119 # Sed expression to map a string onto a valid variable name.
   20120 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20121 
   20122 
   20123 exec 6>&1
   20124 
   20125 # Save the log message, to keep $[0] and so on meaningful, and to
   20126 # report actual input values of CONFIG_FILES etc. instead of their
   20127 # values after options handling.
   20128 ac_log="
   20129 This file was extended by libXrender $as_me 0.9.4, which was
   20130 generated by GNU Autoconf 2.61.  Invocation command line was
   20131 
   20132   CONFIG_FILES    = $CONFIG_FILES
   20133   CONFIG_HEADERS  = $CONFIG_HEADERS
   20134   CONFIG_LINKS    = $CONFIG_LINKS
   20135   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20136   $ $0 $@
   20137 
   20138 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20139 "
   20140 
   20141 _ACEOF
   20142 
   20143 cat >>$CONFIG_STATUS <<_ACEOF
   20144 # Files that config.status was made for.
   20145 config_files="$ac_config_files"
   20146 config_headers="$ac_config_headers"
   20147 config_commands="$ac_config_commands"
   20148 
   20149 _ACEOF
   20150 
   20151 cat >>$CONFIG_STATUS <<\_ACEOF
   20152 ac_cs_usage="\
   20153 \`$as_me' instantiates files from templates according to the
   20154 current configuration.
   20155 
   20156 Usage: $0 [OPTIONS] [FILE]...
   20157 
   20158   -h, --help       print this help, then exit
   20159   -V, --version    print version number and configuration settings, then exit
   20160   -q, --quiet      do not print progress messages
   20161   -d, --debug      don't remove temporary files
   20162       --recheck    update $as_me by reconfiguring in the same conditions
   20163   --file=FILE[:TEMPLATE]
   20164 		   instantiate the configuration file FILE
   20165   --header=FILE[:TEMPLATE]
   20166 		   instantiate the configuration header FILE
   20167 
   20168 Configuration files:
   20169 $config_files
   20170 
   20171 Configuration headers:
   20172 $config_headers
   20173 
   20174 Configuration commands:
   20175 $config_commands
   20176 
   20177 Report bugs to <bug-autoconf (at] gnu.org>."
   20178 
   20179 _ACEOF
   20180 cat >>$CONFIG_STATUS <<_ACEOF
   20181 ac_cs_version="\\
   20182 libXrender config.status 0.9.4
   20183 configured by $0, generated by GNU Autoconf 2.61,
   20184   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   20185 
   20186 Copyright (C) 2006 Free Software Foundation, Inc.
   20187 This config.status script is free software; the Free Software Foundation
   20188 gives unlimited permission to copy, distribute and modify it."
   20189 
   20190 ac_pwd='$ac_pwd'
   20191 srcdir='$srcdir'
   20192 INSTALL='$INSTALL'
   20193 MKDIR_P='$MKDIR_P'
   20194 _ACEOF
   20195 
   20196 cat >>$CONFIG_STATUS <<\_ACEOF
   20197 # If no file are specified by the user, then we need to provide default
   20198 # value.  By we need to know if files were specified by the user.
   20199 ac_need_defaults=:
   20200 while test $# != 0
   20201 do
   20202   case $1 in
   20203   --*=*)
   20204     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20205     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20206     ac_shift=:
   20207     ;;
   20208   *)
   20209     ac_option=$1
   20210     ac_optarg=$2
   20211     ac_shift=shift
   20212     ;;
   20213   esac
   20214 
   20215   case $ac_option in
   20216   # Handling of the options.
   20217   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20218     ac_cs_recheck=: ;;
   20219   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20220     echo "$ac_cs_version"; exit ;;
   20221   --debug | --debu | --deb | --de | --d | -d )
   20222     debug=: ;;
   20223   --file | --fil | --fi | --f )
   20224     $ac_shift
   20225     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   20226     ac_need_defaults=false;;
   20227   --header | --heade | --head | --hea )
   20228     $ac_shift
   20229     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   20230     ac_need_defaults=false;;
   20231   --he | --h)
   20232     # Conflict between --help and --header
   20233     { echo "$as_me: error: ambiguous option: $1
   20234 Try \`$0 --help' for more information." >&2
   20235    { (exit 1); exit 1; }; };;
   20236   --help | --hel | -h )
   20237     echo "$ac_cs_usage"; exit ;;
   20238   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20239   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20240     ac_cs_silent=: ;;
   20241 
   20242   # This is an error.
   20243   -*) { echo "$as_me: error: unrecognized option: $1
   20244 Try \`$0 --help' for more information." >&2
   20245    { (exit 1); exit 1; }; } ;;
   20246 
   20247   *) ac_config_targets="$ac_config_targets $1"
   20248      ac_need_defaults=false ;;
   20249 
   20250   esac
   20251   shift
   20252 done
   20253 
   20254 ac_configure_extra_args=
   20255 
   20256 if $ac_cs_silent; then
   20257   exec 6>/dev/null
   20258   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20259 fi
   20260 
   20261 _ACEOF
   20262 cat >>$CONFIG_STATUS <<_ACEOF
   20263 if \$ac_cs_recheck; then
   20264   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   20265   CONFIG_SHELL=$SHELL
   20266   export CONFIG_SHELL
   20267   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20268 fi
   20269 
   20270 _ACEOF
   20271 cat >>$CONFIG_STATUS <<\_ACEOF
   20272 exec 5>>config.log
   20273 {
   20274   echo
   20275   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20276 ## Running $as_me. ##
   20277 _ASBOX
   20278   echo "$ac_log"
   20279 } >&5
   20280 
   20281 _ACEOF
   20282 cat >>$CONFIG_STATUS <<_ACEOF
   20283 #
   20284 # INIT-COMMANDS
   20285 #
   20286 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20287 
   20288 _ACEOF
   20289 
   20290 cat >>$CONFIG_STATUS <<\_ACEOF
   20291 
   20292 # Handling of arguments.
   20293 for ac_config_target in $ac_config_targets
   20294 do
   20295   case $ac_config_target in
   20296     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20297     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20298     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20299     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20300     "xrender.pc") CONFIG_FILES="$CONFIG_FILES xrender.pc" ;;
   20301 
   20302   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   20303 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   20304    { (exit 1); exit 1; }; };;
   20305   esac
   20306 done
   20307 
   20308 
   20309 # If the user did not use the arguments to specify the items to instantiate,
   20310 # then the envvar interface is used.  Set only those that are not.
   20311 # We use the long form for the default assignment because of an extremely
   20312 # bizarre bug on SunOS 4.1.3.
   20313 if $ac_need_defaults; then
   20314   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20315   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20316   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20317 fi
   20318 
   20319 # Have a temporary directory for convenience.  Make it in the build tree
   20320 # simply because there is no reason against having it here, and in addition,
   20321 # creating and moving files from /tmp can sometimes cause problems.
   20322 # Hook for its removal unless debugging.
   20323 # Note that there is a small window in which the directory will not be cleaned:
   20324 # after its creation but before its name has been assigned to `$tmp'.
   20325 $debug ||
   20326 {
   20327   tmp=
   20328   trap 'exit_status=$?
   20329   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   20330 ' 0
   20331   trap '{ (exit 1); exit 1; }' 1 2 13 15
   20332 }
   20333 # Create a (secure) tmp directory for tmp files.
   20334 
   20335 {
   20336   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20337   test -n "$tmp" && test -d "$tmp"
   20338 }  ||
   20339 {
   20340   tmp=./conf$$-$RANDOM
   20341   (umask 077 && mkdir "$tmp")
   20342 } ||
   20343 {
   20344    echo "$me: cannot create a temporary directory in ." >&2
   20345    { (exit 1); exit 1; }
   20346 }
   20347 
   20348 #
   20349 # Set up the sed scripts for CONFIG_FILES section.
   20350 #
   20351 
   20352 # No need to generate the scripts if there are no CONFIG_FILES.
   20353 # This happens for instance when ./config.status config.h
   20354 if test -n "$CONFIG_FILES"; then
   20355 
   20356 _ACEOF
   20357 
   20358 
   20359 
   20360 ac_delim='%!_!# '
   20361 for ac_last_try in false false false false false :; do
   20362   cat >conf$$subs.sed <<_ACEOF
   20363 SHELL!$SHELL$ac_delim
   20364 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   20365 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   20366 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   20367 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   20368 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   20369 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   20370 exec_prefix!$exec_prefix$ac_delim
   20371 prefix!$prefix$ac_delim
   20372 program_transform_name!$program_transform_name$ac_delim
   20373 bindir!$bindir$ac_delim
   20374 sbindir!$sbindir$ac_delim
   20375 libexecdir!$libexecdir$ac_delim
   20376 datarootdir!$datarootdir$ac_delim
   20377 datadir!$datadir$ac_delim
   20378 sysconfdir!$sysconfdir$ac_delim
   20379 sharedstatedir!$sharedstatedir$ac_delim
   20380 localstatedir!$localstatedir$ac_delim
   20381 includedir!$includedir$ac_delim
   20382 oldincludedir!$oldincludedir$ac_delim
   20383 docdir!$docdir$ac_delim
   20384 infodir!$infodir$ac_delim
   20385 htmldir!$htmldir$ac_delim
   20386 dvidir!$dvidir$ac_delim
   20387 pdfdir!$pdfdir$ac_delim
   20388 psdir!$psdir$ac_delim
   20389 libdir!$libdir$ac_delim
   20390 localedir!$localedir$ac_delim
   20391 mandir!$mandir$ac_delim
   20392 DEFS!$DEFS$ac_delim
   20393 ECHO_C!$ECHO_C$ac_delim
   20394 ECHO_N!$ECHO_N$ac_delim
   20395 ECHO_T!$ECHO_T$ac_delim
   20396 LIBS!$LIBS$ac_delim
   20397 build_alias!$build_alias$ac_delim
   20398 host_alias!$host_alias$ac_delim
   20399 target_alias!$target_alias$ac_delim
   20400 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   20401 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   20402 INSTALL_DATA!$INSTALL_DATA$ac_delim
   20403 am__isrc!$am__isrc$ac_delim
   20404 CYGPATH_W!$CYGPATH_W$ac_delim
   20405 PACKAGE!$PACKAGE$ac_delim
   20406 VERSION!$VERSION$ac_delim
   20407 ACLOCAL!$ACLOCAL$ac_delim
   20408 AUTOCONF!$AUTOCONF$ac_delim
   20409 AUTOMAKE!$AUTOMAKE$ac_delim
   20410 AUTOHEADER!$AUTOHEADER$ac_delim
   20411 MAKEINFO!$MAKEINFO$ac_delim
   20412 install_sh!$install_sh$ac_delim
   20413 STRIP!$STRIP$ac_delim
   20414 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   20415 mkdir_p!$mkdir_p$ac_delim
   20416 AWK!$AWK$ac_delim
   20417 SET_MAKE!$SET_MAKE$ac_delim
   20418 am__leading_dot!$am__leading_dot$ac_delim
   20419 AMTAR!$AMTAR$ac_delim
   20420 am__tar!$am__tar$ac_delim
   20421 am__untar!$am__untar$ac_delim
   20422 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   20423 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   20424 MAINT!$MAINT$ac_delim
   20425 CC!$CC$ac_delim
   20426 CFLAGS!$CFLAGS$ac_delim
   20427 LDFLAGS!$LDFLAGS$ac_delim
   20428 CPPFLAGS!$CPPFLAGS$ac_delim
   20429 ac_ct_CC!$ac_ct_CC$ac_delim
   20430 EXEEXT!$EXEEXT$ac_delim
   20431 OBJEXT!$OBJEXT$ac_delim
   20432 DEPDIR!$DEPDIR$ac_delim
   20433 am__include!$am__include$ac_delim
   20434 am__quote!$am__quote$ac_delim
   20435 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   20436 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   20437 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   20438 CCDEPMODE!$CCDEPMODE$ac_delim
   20439 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   20440 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   20441 build!$build$ac_delim
   20442 build_cpu!$build_cpu$ac_delim
   20443 build_vendor!$build_vendor$ac_delim
   20444 build_os!$build_os$ac_delim
   20445 host!$host$ac_delim
   20446 host_cpu!$host_cpu$ac_delim
   20447 host_vendor!$host_vendor$ac_delim
   20448 host_os!$host_os$ac_delim
   20449 GREP!$GREP$ac_delim
   20450 EGREP!$EGREP$ac_delim
   20451 LN_S!$LN_S$ac_delim
   20452 ECHO!$ECHO$ac_delim
   20453 AR!$AR$ac_delim
   20454 RANLIB!$RANLIB$ac_delim
   20455 CPP!$CPP$ac_delim
   20456 CXX!$CXX$ac_delim
   20457 CXXFLAGS!$CXXFLAGS$ac_delim
   20458 ac_ct_CXX!$ac_ct_CXX$ac_delim
   20459 CXXDEPMODE!$CXXDEPMODE$ac_delim
   20460 _ACEOF
   20461 
   20462   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   20463     break
   20464   elif $ac_last_try; then
   20465     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20466 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20467    { (exit 1); exit 1; }; }
   20468   else
   20469     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20470   fi
   20471 done
   20472 
   20473 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20474 if test -n "$ac_eof"; then
   20475   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20476   ac_eof=`expr $ac_eof + 1`
   20477 fi
   20478 
   20479 cat >>$CONFIG_STATUS <<_ACEOF
   20480 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   20481 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20482 _ACEOF
   20483 sed '
   20484 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20485 s/^/s,@/; s/!/@,|#_!!_#|/
   20486 :n
   20487 t n
   20488 s/'"$ac_delim"'$/,g/; t
   20489 s/$/\\/; p
   20490 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20491 ' >>$CONFIG_STATUS <conf$$subs.sed
   20492 rm -f conf$$subs.sed
   20493 cat >>$CONFIG_STATUS <<_ACEOF
   20494 CEOF$ac_eof
   20495 _ACEOF
   20496 
   20497 
   20498 ac_delim='%!_!# '
   20499 for ac_last_try in false false false false false :; do
   20500   cat >conf$$subs.sed <<_ACEOF
   20501 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   20502 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   20503 CXXCPP!$CXXCPP$ac_delim
   20504 F77!$F77$ac_delim
   20505 FFLAGS!$FFLAGS$ac_delim
   20506 ac_ct_F77!$ac_ct_F77$ac_delim
   20507 LIBTOOL!$LIBTOOL$ac_delim
   20508 PKG_CONFIG!$PKG_CONFIG$ac_delim
   20509 X_CFLAGS!$X_CFLAGS$ac_delim
   20510 X_LIBS!$X_LIBS$ac_delim
   20511 X_REQUIRES!$X_REQUIRES$ac_delim
   20512 X_NON_PKG_CFLAGS!$X_NON_PKG_CFLAGS$ac_delim
   20513 X_NON_PKG_LIBS!$X_NON_PKG_LIBS$ac_delim
   20514 RENDER_VERSION!$RENDER_VERSION$ac_delim
   20515 RENDER_CFLAGS!$RENDER_CFLAGS$ac_delim
   20516 RENDER_LIBS!$RENDER_LIBS$ac_delim
   20517 MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
   20518 XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
   20519 XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
   20520 LIBOBJS!$LIBOBJS$ac_delim
   20521 LTLIBOBJS!$LTLIBOBJS$ac_delim
   20522 _ACEOF
   20523 
   20524   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
   20525     break
   20526   elif $ac_last_try; then
   20527     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20528 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20529    { (exit 1); exit 1; }; }
   20530   else
   20531     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20532   fi
   20533 done
   20534 
   20535 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20536 if test -n "$ac_eof"; then
   20537   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20538   ac_eof=`expr $ac_eof + 1`
   20539 fi
   20540 
   20541 cat >>$CONFIG_STATUS <<_ACEOF
   20542 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   20543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   20544 _ACEOF
   20545 sed '
   20546 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20547 s/^/s,@/; s/!/@,|#_!!_#|/
   20548 :n
   20549 t n
   20550 s/'"$ac_delim"'$/,g/; t
   20551 s/$/\\/; p
   20552 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20553 ' >>$CONFIG_STATUS <conf$$subs.sed
   20554 rm -f conf$$subs.sed
   20555 cat >>$CONFIG_STATUS <<_ACEOF
   20556 :end
   20557 s/|#_!!_#|//g
   20558 CEOF$ac_eof
   20559 _ACEOF
   20560 
   20561 
   20562 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   20563 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   20564 # trailing colons and then remove the whole line if VPATH becomes empty
   20565 # (actually we leave an empty line to preserve line numbers).
   20566 if test "x$srcdir" = x.; then
   20567   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   20568 s/:*\$(srcdir):*/:/
   20569 s/:*\${srcdir}:*/:/
   20570 s/:*@srcdir@:*/:/
   20571 s/^\([^=]*=[	 ]*\):*/\1/
   20572 s/:*$//
   20573 s/^[^=]*=[	 ]*$//
   20574 }'
   20575 fi
   20576 
   20577 cat >>$CONFIG_STATUS <<\_ACEOF
   20578 fi # test -n "$CONFIG_FILES"
   20579 
   20580 
   20581 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   20582 do
   20583   case $ac_tag in
   20584   :[FHLC]) ac_mode=$ac_tag; continue;;
   20585   esac
   20586   case $ac_mode$ac_tag in
   20587   :[FHL]*:*);;
   20588   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   20589 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   20590    { (exit 1); exit 1; }; };;
   20591   :[FH]-) ac_tag=-:-;;
   20592   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20593   esac
   20594   ac_save_IFS=$IFS
   20595   IFS=:
   20596   set x $ac_tag
   20597   IFS=$ac_save_IFS
   20598   shift
   20599   ac_file=$1
   20600   shift
   20601 
   20602   case $ac_mode in
   20603   :L) ac_source=$1;;
   20604   :[FH])
   20605     ac_file_inputs=
   20606     for ac_f
   20607     do
   20608       case $ac_f in
   20609       -) ac_f="$tmp/stdin";;
   20610       *) # Look for the file first in the build tree, then in the source tree
   20611 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20612 	 # because $ac_f cannot contain `:'.
   20613 	 test -f "$ac_f" ||
   20614 	   case $ac_f in
   20615 	   [\\/$]*) false;;
   20616 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20617 	   esac ||
   20618 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   20619 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   20620    { (exit 1); exit 1; }; };;
   20621       esac
   20622       ac_file_inputs="$ac_file_inputs $ac_f"
   20623     done
   20624 
   20625     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20626     # use $as_me), people would be surprised to read:
   20627     #    /* config.h.  Generated by config.status.  */
   20628     configure_input="Generated from "`IFS=:
   20629 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   20630     if test x"$ac_file" != x-; then
   20631       configure_input="$ac_file.  $configure_input"
   20632       { echo "$as_me:$LINENO: creating $ac_file" >&5
   20633 echo "$as_me: creating $ac_file" >&6;}
   20634     fi
   20635 
   20636     case $ac_tag in
   20637     *:-:* | *:-) cat >"$tmp/stdin";;
   20638     esac
   20639     ;;
   20640   esac
   20641 
   20642   ac_dir=`$as_dirname -- "$ac_file" ||
   20643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20644 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20645 	 X"$ac_file" : 'X\(//\)$' \| \
   20646 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20647 echo X"$ac_file" |
   20648     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20649 	    s//\1/
   20650 	    q
   20651 	  }
   20652 	  /^X\(\/\/\)[^/].*/{
   20653 	    s//\1/
   20654 	    q
   20655 	  }
   20656 	  /^X\(\/\/\)$/{
   20657 	    s//\1/
   20658 	    q
   20659 	  }
   20660 	  /^X\(\/\).*/{
   20661 	    s//\1/
   20662 	    q
   20663 	  }
   20664 	  s/.*/./; q'`
   20665   { as_dir="$ac_dir"
   20666   case $as_dir in #(
   20667   -*) as_dir=./$as_dir;;
   20668   esac
   20669   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   20670     as_dirs=
   20671     while :; do
   20672       case $as_dir in #(
   20673       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   20674       *) as_qdir=$as_dir;;
   20675       esac
   20676       as_dirs="'$as_qdir' $as_dirs"
   20677       as_dir=`$as_dirname -- "$as_dir" ||
   20678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20679 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20680 	 X"$as_dir" : 'X\(//\)$' \| \
   20681 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20682 echo X"$as_dir" |
   20683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20684 	    s//\1/
   20685 	    q
   20686 	  }
   20687 	  /^X\(\/\/\)[^/].*/{
   20688 	    s//\1/
   20689 	    q
   20690 	  }
   20691 	  /^X\(\/\/\)$/{
   20692 	    s//\1/
   20693 	    q
   20694 	  }
   20695 	  /^X\(\/\).*/{
   20696 	    s//\1/
   20697 	    q
   20698 	  }
   20699 	  s/.*/./; q'`
   20700       test -d "$as_dir" && break
   20701     done
   20702     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20703   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   20704 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   20705    { (exit 1); exit 1; }; }; }
   20706   ac_builddir=.
   20707 
   20708 case "$ac_dir" in
   20709 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20710 *)
   20711   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   20712   # A ".." for each directory in $ac_dir_suffix.
   20713   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   20714   case $ac_top_builddir_sub in
   20715   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20716   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20717   esac ;;
   20718 esac
   20719 ac_abs_top_builddir=$ac_pwd
   20720 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20721 # for backward compatibility:
   20722 ac_top_builddir=$ac_top_build_prefix
   20723 
   20724 case $srcdir in
   20725   .)  # We are building in place.
   20726     ac_srcdir=.
   20727     ac_top_srcdir=$ac_top_builddir_sub
   20728     ac_abs_top_srcdir=$ac_pwd ;;
   20729   [\\/]* | ?:[\\/]* )  # Absolute name.
   20730     ac_srcdir=$srcdir$ac_dir_suffix;
   20731     ac_top_srcdir=$srcdir
   20732     ac_abs_top_srcdir=$srcdir ;;
   20733   *) # Relative name.
   20734     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20735     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20736     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20737 esac
   20738 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20739 
   20740 
   20741   case $ac_mode in
   20742   :F)
   20743   #
   20744   # CONFIG_FILE
   20745   #
   20746 
   20747   case $INSTALL in
   20748   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20749   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20750   esac
   20751   ac_MKDIR_P=$MKDIR_P
   20752   case $MKDIR_P in
   20753   [\\/$]* | ?:[\\/]* ) ;;
   20754   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20755   esac
   20756 _ACEOF
   20757 
   20758 cat >>$CONFIG_STATUS <<\_ACEOF
   20759 # If the template does not know about datarootdir, expand it.
   20760 # FIXME: This hack should be removed a few years after 2.60.
   20761 ac_datarootdir_hack=; ac_datarootdir_seen=
   20762 
   20763 case `sed -n '/datarootdir/ {
   20764   p
   20765   q
   20766 }
   20767 /@datadir@/p
   20768 /@docdir@/p
   20769 /@infodir@/p
   20770 /@localedir@/p
   20771 /@mandir@/p
   20772 ' $ac_file_inputs` in
   20773 *datarootdir*) ac_datarootdir_seen=yes;;
   20774 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20775   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20776 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20777 _ACEOF
   20778 cat >>$CONFIG_STATUS <<_ACEOF
   20779   ac_datarootdir_hack='
   20780   s&@datadir@&$datadir&g
   20781   s&@docdir@&$docdir&g
   20782   s&@infodir@&$infodir&g
   20783   s&@localedir@&$localedir&g
   20784   s&@mandir@&$mandir&g
   20785     s&\\\${datarootdir}&$datarootdir&g' ;;
   20786 esac
   20787 _ACEOF
   20788 
   20789 # Neutralize VPATH when `$srcdir' = `.'.
   20790 # Shell code in configure.ac might set extrasub.
   20791 # FIXME: do we really want to maintain this feature?
   20792 cat >>$CONFIG_STATUS <<_ACEOF
   20793   sed "$ac_vpsub
   20794 $extrasub
   20795 _ACEOF
   20796 cat >>$CONFIG_STATUS <<\_ACEOF
   20797 :t
   20798 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20799 s&@configure_input@&$configure_input&;t t
   20800 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20801 s&@srcdir@&$ac_srcdir&;t t
   20802 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20803 s&@top_srcdir@&$ac_top_srcdir&;t t
   20804 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20805 s&@builddir@&$ac_builddir&;t t
   20806 s&@abs_builddir@&$ac_abs_builddir&;t t
   20807 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20808 s&@INSTALL@&$ac_INSTALL&;t t
   20809 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20810 $ac_datarootdir_hack
   20811 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   20812 
   20813 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20814   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   20815   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   20816   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20817 which seems to be undefined.  Please make sure it is defined." >&5
   20818 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20819 which seems to be undefined.  Please make sure it is defined." >&2;}
   20820 
   20821   rm -f "$tmp/stdin"
   20822   case $ac_file in
   20823   -) cat "$tmp/out"; rm -f "$tmp/out";;
   20824   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   20825   esac
   20826  ;;
   20827   :H)
   20828   #
   20829   # CONFIG_HEADER
   20830   #
   20831 _ACEOF
   20832 
   20833 # Transform confdefs.h into a sed script `conftest.defines', that
   20834 # substitutes the proper values into config.h.in to produce config.h.
   20835 rm -f conftest.defines conftest.tail
   20836 # First, append a space to every undef/define line, to ease matching.
   20837 echo 's/$/ /' >conftest.defines
   20838 # Then, protect against being on the right side of a sed subst, or in
   20839 # an unquoted here document, in config.status.  If some macros were
   20840 # called several times there might be several #defines for the same
   20841 # symbol, which is useless.  But do not sort them, since the last
   20842 # AC_DEFINE must be honored.
   20843 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20844 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   20845 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   20846 # PARAMS is the parameter list in the macro definition--in most cases, it's
   20847 # just an empty string.
   20848 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   20849 ac_dB='\\)[	 (].*,\\1define\\2'
   20850 ac_dC=' '
   20851 ac_dD=' ,'
   20852 
   20853 uniq confdefs.h |
   20854   sed -n '
   20855 	t rset
   20856 	:rset
   20857 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   20858 	t ok
   20859 	d
   20860 	:ok
   20861 	s/[\\&,]/\\&/g
   20862 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   20863 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   20864   ' >>conftest.defines
   20865 
   20866 # Remove the space that was appended to ease matching.
   20867 # Then replace #undef with comments.  This is necessary, for
   20868 # example, in the case of _POSIX_SOURCE, which is predefined and required
   20869 # on some systems where configure will not decide to define it.
   20870 # (The regexp can be short, since the line contains either #define or #undef.)
   20871 echo 's/ $//
   20872 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   20873 
   20874 # Break up conftest.defines:
   20875 ac_max_sed_lines=50
   20876 
   20877 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   20878 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   20879 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   20880 # et cetera.
   20881 ac_in='$ac_file_inputs'
   20882 ac_out='"$tmp/out1"'
   20883 ac_nxt='"$tmp/out2"'
   20884 
   20885 while :
   20886 do
   20887   # Write a here document:
   20888     cat >>$CONFIG_STATUS <<_ACEOF
   20889     # First, check the format of the line:
   20890     cat >"\$tmp/defines.sed" <<\\CEOF
   20891 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   20892 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   20893 b
   20894 :def
   20895 _ACEOF
   20896   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   20897   echo 'CEOF
   20898     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   20899   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   20900   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   20901   grep . conftest.tail >/dev/null || break
   20902   rm -f conftest.defines
   20903   mv conftest.tail conftest.defines
   20904 done
   20905 rm -f conftest.defines conftest.tail
   20906 
   20907 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   20908 cat >>$CONFIG_STATUS <<\_ACEOF
   20909   if test x"$ac_file" != x-; then
   20910     echo "/* $configure_input  */" >"$tmp/config.h"
   20911     cat "$ac_result" >>"$tmp/config.h"
   20912     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   20913       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   20914 echo "$as_me: $ac_file is unchanged" >&6;}
   20915     else
   20916       rm -f $ac_file
   20917       mv "$tmp/config.h" $ac_file
   20918     fi
   20919   else
   20920     echo "/* $configure_input  */"
   20921     cat "$ac_result"
   20922   fi
   20923   rm -f "$tmp/out12"
   20924 # Compute $ac_file's index in $config_headers.
   20925 _am_stamp_count=1
   20926 for _am_header in $config_headers :; do
   20927   case $_am_header in
   20928     $ac_file | $ac_file:* )
   20929       break ;;
   20930     * )
   20931       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20932   esac
   20933 done
   20934 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   20935 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20936 	 X$ac_file : 'X\(//\)[^/]' \| \
   20937 	 X$ac_file : 'X\(//\)$' \| \
   20938 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   20939 echo X$ac_file |
   20940     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20941 	    s//\1/
   20942 	    q
   20943 	  }
   20944 	  /^X\(\/\/\)[^/].*/{
   20945 	    s//\1/
   20946 	    q
   20947 	  }
   20948 	  /^X\(\/\/\)$/{
   20949 	    s//\1/
   20950 	    q
   20951 	  }
   20952 	  /^X\(\/\).*/{
   20953 	    s//\1/
   20954 	    q
   20955 	  }
   20956 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20957  ;;
   20958 
   20959   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   20960 echo "$as_me: executing $ac_file commands" >&6;}
   20961  ;;
   20962   esac
   20963 
   20964 
   20965   case $ac_file$ac_mode in
   20966     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   20967   # Strip MF so we end up with the name of the file.
   20968   mf=`echo "$mf" | sed -e 's/:.*$//'`
   20969   # Check whether this is an Automake generated Makefile or not.
   20970   # We used to match only the files named `Makefile.in', but
   20971   # some people rename them; so instead we look at the file content.
   20972   # Grep'ing the first line is not enough: some people post-process
   20973   # each Makefile.in and add a new line on top of each file to say so.
   20974   # Grep'ing the whole file is not good either: AIX grep has a line
   20975   # limit of 2048, but all sed's we know have understand at least 4000.
   20976   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   20977     dirpart=`$as_dirname -- "$mf" ||
   20978 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20979 	 X"$mf" : 'X\(//\)[^/]' \| \
   20980 	 X"$mf" : 'X\(//\)$' \| \
   20981 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20982 echo X"$mf" |
   20983     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20984 	    s//\1/
   20985 	    q
   20986 	  }
   20987 	  /^X\(\/\/\)[^/].*/{
   20988 	    s//\1/
   20989 	    q
   20990 	  }
   20991 	  /^X\(\/\/\)$/{
   20992 	    s//\1/
   20993 	    q
   20994 	  }
   20995 	  /^X\(\/\).*/{
   20996 	    s//\1/
   20997 	    q
   20998 	  }
   20999 	  s/.*/./; q'`
   21000   else
   21001     continue
   21002   fi
   21003   # Extract the definition of DEPDIR, am__include, and am__quote
   21004   # from the Makefile without running `make'.
   21005   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21006   test -z "$DEPDIR" && continue
   21007   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21008   test -z "am__include" && continue
   21009   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21010   # When using ansi2knr, U may be empty or an underscore; expand it
   21011   U=`sed -n 's/^U = //p' < "$mf"`
   21012   # Find all dependency output files, they are included files with
   21013   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21014   # simplest approach to changing $(DEPDIR) to its actual value in the
   21015   # expansion.
   21016   for file in `sed -n "
   21017     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21018        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   21019     # Make sure the directory exists.
   21020     test -f "$dirpart/$file" && continue
   21021     fdir=`$as_dirname -- "$file" ||
   21022 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21023 	 X"$file" : 'X\(//\)[^/]' \| \
   21024 	 X"$file" : 'X\(//\)$' \| \
   21025 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21026 echo X"$file" |
   21027     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21028 	    s//\1/
   21029 	    q
   21030 	  }
   21031 	  /^X\(\/\/\)[^/].*/{
   21032 	    s//\1/
   21033 	    q
   21034 	  }
   21035 	  /^X\(\/\/\)$/{
   21036 	    s//\1/
   21037 	    q
   21038 	  }
   21039 	  /^X\(\/\).*/{
   21040 	    s//\1/
   21041 	    q
   21042 	  }
   21043 	  s/.*/./; q'`
   21044     { as_dir=$dirpart/$fdir
   21045   case $as_dir in #(
   21046   -*) as_dir=./$as_dir;;
   21047   esac
   21048   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21049     as_dirs=
   21050     while :; do
   21051       case $as_dir in #(
   21052       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21053       *) as_qdir=$as_dir;;
   21054       esac
   21055       as_dirs="'$as_qdir' $as_dirs"
   21056       as_dir=`$as_dirname -- "$as_dir" ||
   21057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21058 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21059 	 X"$as_dir" : 'X\(//\)$' \| \
   21060 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21061 echo X"$as_dir" |
   21062     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21063 	    s//\1/
   21064 	    q
   21065 	  }
   21066 	  /^X\(\/\/\)[^/].*/{
   21067 	    s//\1/
   21068 	    q
   21069 	  }
   21070 	  /^X\(\/\/\)$/{
   21071 	    s//\1/
   21072 	    q
   21073 	  }
   21074 	  /^X\(\/\).*/{
   21075 	    s//\1/
   21076 	    q
   21077 	  }
   21078 	  s/.*/./; q'`
   21079       test -d "$as_dir" && break
   21080     done
   21081     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21082   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21083 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21084    { (exit 1); exit 1; }; }; }
   21085     # echo "creating $dirpart/$file"
   21086     echo '# dummy' > "$dirpart/$file"
   21087   done
   21088 done
   21089  ;;
   21090 
   21091   esac
   21092 done # for ac_tag
   21093 
   21094 
   21095 { (exit 0); exit 0; }
   21096 _ACEOF
   21097 chmod +x $CONFIG_STATUS
   21098 ac_clean_files=$ac_clean_files_save
   21099 
   21100 
   21101 # configure is writing to config.log, and then calls config.status.
   21102 # config.status does its own redirection, appending to config.log.
   21103 # Unfortunately, on DOS this fails, as config.log is still kept open
   21104 # by configure, so config.status won't be able to write to it; its
   21105 # output is simply discarded.  So we exec the FD to /dev/null,
   21106 # effectively closing config.log, so it can be properly (re)opened and
   21107 # appended to by config.status.  When coming back to configure, we
   21108 # need to make the FD available again.
   21109 if test "$no_create" != yes; then
   21110   ac_cs_success=:
   21111   ac_config_status_args=
   21112   test "$silent" = yes &&
   21113     ac_config_status_args="$ac_config_status_args --quiet"
   21114   exec 5>/dev/null
   21115   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21116   exec 5>>config.log
   21117   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21118   # would make configure fail if this is the last instruction.
   21119   $ac_cs_success || { (exit 1); exit 1; }
   21120 fi
   21121 
   21122 
   21123